Skip to content

Add Blockchain RPC methods#5

Merged
ValuedMammal merged 6 commits into
bitcoindevkit:masterfrom
tvpeter:feat/blockchain-rpc-methods
Feb 11, 2026
Merged

Add Blockchain RPC methods#5
ValuedMammal merged 6 commits into
bitcoindevkit:masterfrom
tvpeter:feat/blockchain-rpc-methods

Conversation

@tvpeter

@tvpeter tvpeter commented Nov 18, 2025

Copy link
Copy Markdown
Collaborator

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:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature
  • [] I've updated CHANGELOG.md

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

3 participants