cculianu / Fulcrum

A fast & nimble SPV Server for BCH, BTC, and LTC
Other
325 stars 73 forks source link

Add RPC method: `blockchain.header.get` #211

Closed cculianu closed 8 months ago

cculianu commented 8 months ago

This method allows clients to retrieve a particular header by its hash (or height, alternatively). The result is a dictionary containing keys "height" and "hex". "hex" is the header's 80-byte contents.

Implements the suggestion #191.