Implement BlockSource for REST and RPC clients
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 12 Jan 2021 07:33:42 +0000 (23:33 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 4 Feb 2021 15:38:42 +0000 (07:38 -0800)
commit85fdfaaa9c4421d8fbeb89202508ea7477730eb0
treebeee52ec9b4b4180bef2fe06450d32fc01708c8c
parent6ca3b8ed496290cd9b6c49525d57a887a735a914
Implement BlockSource for REST and RPC clients

Interprets HTTP responses as either binary or JSON format, which are
then converted to the appropriate data types.
lightning-block-sync/Cargo.toml
lightning-block-sync/src/convert.rs [new file with mode: 0644]
lightning-block-sync/src/lib.rs
lightning-block-sync/src/rest.rs
lightning-block-sync/src/rpc.rs
lightning-block-sync/src/utils.rs [new file with mode: 0644]