Skip to content

2140-dev/block-dn-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

block-dn Client

This is a client implementation for a subset of the block-dn endpoints. block-dn is a server that allows for Bitcoin light clients to sync to the blockchain in a fast and privacy preserving way.

Routes available

/: The root HTML of the server, suitable for web rendering.

/status: The status of the server, including sync height, genesis block, etc.

headers/<start_block>: Returns up to 100_000 block headers.

filters/<start_block>: Returns up to 2_000 compact block filters.

sp/tweak-data/<start_block>: Returns up to 2_000 blocks of BIP-352 partial secrets.

block/<block_hash>: Fetch a block by its hash.

Getting Started

Download all filters from height 700_000 up to the current height.

cargo run --example taproot --release

About

A client for `block-dn` bitcoin block data servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published