rust-lightning/lightning-block-sync/src
Jeffrey Czyz b2f16ad821
Parse RPC errors as JSON content
Bitcoin Core's JSON RPC server returns errors as HTTP error responses
with JSON content in the body. Parse this content as JSON to give a more
meaningful error. Otherwise, "binary" is given because the content
contains ASCII control characters.
2021-05-26 10:57:39 -07:00
..
convert.rs Implement BlockSource for REST and RPC clients 2021-02-04 07:38:42 -08:00
http.rs Define an HttpError for returning error contents 2021-05-26 10:51:16 -07:00
init.rs Enforce no missing docs in all crates (+ add docs that were missing) 2021-03-18 11:28:23 -04:00
lib.rs Expose AsyncBlockSourceResult and BlockSourceResult as pub 2021-03-26 14:54:19 -04:00
poll.rs Remove Send and Sync from core crate 2021-04-29 21:07:28 +02:00
rest.rs Return more error details on http's read_response 2021-05-13 13:18:26 -04:00
rpc.rs Parse RPC errors as JSON content 2021-05-26 10:57:39 -07:00
test_utils.rs Utility for syncing a set of chain listeners 2021-02-26 00:54:43 -06:00
utils.rs Implement BlockSource for REST and RPC clients 2021-02-04 07:38:42 -08:00