{"repo":"guggero/block-dn","free":true,"listed":false,"github":"https://github.com/guggero/block-dn","clone":"git clone https://github.com/guggero/block-dn.git","description":"Process BIP-157/158 cfilters for distribution over a CDN","language":"Go","stars":24,"topics":["bitcoin","cdn"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"block-dn Process BIP-157/158 cfilters and Bitcoin blocks for distribution over a CDN. Read the API documentation at block-dn.org. How to install Make sure you have at least Go 1.24.9 and make installed. Then run the following commands: How to run If you built from source as described above, the binary should now be in the $GOPATH/bin directory. Depending on your installation, that should be included in your $PATH (if not, make sure to add it). You can then just run (example for testnet4): How to run in Docker The latest tagged version is always also available as a Docker image that can be run with: Configuration flags The following configuration flags are available (run block-dn --help to see this on your machine): SP tweak data file format With --index-sp-tweak-data enabled, the server builds and serves BIP-0352 Silent Payments tweak keys (the 33-byte compressed public key tweak = input hash·A of every eligible transaction) as compact binary files, available through the /sp/tweaks/ / endpoint. Every response — whether it comes from a sealed file on disk or from the server's in-memory tail — starts with an 18-byte header, followed by one record per block, in ascending height order: A block without eligible transactions is encoded as a single zero byte. Each file covers 2'000 blocks, so a block's record is found by walking the counts from the file's start height. The dust limit in the URL selects one of the pre-computed filter levels (0, 600, 1000 or 3750 satoshis): a transact","default_branch":null,"files":null,"tree":[],"storefront":"/r/guggero","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guggero/block-dn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}