Skip to content

Commit ae754b3

Browse files
committed
Merge #5: Add Blockchain RPC methods
06526db feat(client): Update json-rpc & switch to bitreq (Vihiga Tyonum) 6ff6641 feat(client): Remove Auth::None and update Error (Vihiga Tyonum) 160a130 test: Use `corepc-node` for integration tests (Vihiga Tyonum) 3374d27 feat(client): Add v28 module (valued mammal) 5367165 test: Add client integration tests (Vihiga Tyonum) 9a9779b feat(client): Add RPC methods (Vihiga Tyonum) Pull request description: ### Description This PR adds the following methods for versions 28, 29, and 30 of bitcoind: - `getblock` - `getbestblockhash` - `getblock` (verbosity = 1) - `getblockcount` - `getblockhash` - `getblockfilter` - `getblockheader` - `getblockheader` (verbose = true) - `getrawmempool` - `getrawtransaction` Also in this PR - Update `corepc-types` to v0.11.0 - Uses `corepc-node` for integration tests - Re-export `corepc-types`, `jsonrpc` crates - Update `jsonrpc` to v0.19.0 and switched from `minreq_http` to `bitreq_http` Fixes #4 Fixes #19 Fixes #20 ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [x] I've added tests for the new feature * [x] I've added docs for the new feature * [] I've updated `CHANGELOG.md` ACKs for top commit: ValuedMammal: reACK 06526db Tree-SHA512: 00b1a090923cbdffa9dd9c0f0af47d770aed5b66bb6997d142f2dcb9f6c11cb3aeae6f4bdfeed3fcf91b4999bc24d19a2e58538bb5323806c4a815dda670fe99
2 parents 9c19d8d + 06526db commit ae754b3

File tree

7 files changed

+1166
-86
lines changed

7 files changed

+1166
-86
lines changed

0 commit comments

Comments
 (0)