Sign inSign up

bsvb/block-headers-service

By bsvb

•Updated 12 months ago

A headers only peer on the Bitcoin p2p network, with a private web API to allow Merkle root validati

Image
0

8.5K

bsvb/block-headers-service repository overview

⁠Block Headers Service


⁠How to use this image


⁠starting new instance

docker run bsvb/block-headers-service:

⁠run with volume

docker run -v bhs-data:/app/data bsvb/block-headers-service:

⁠run with preloaded database

You can load prepared database containing 750k headers already imported. To use it run the docker with --preloaded argument:

docker run -v bhs-data:/app/data bsvb/block-headers-service: --preloaded

⁠clean start

If you use docker volume the data is persisted between runs. If you would like to run application in a clean environment with the same volume as previously, you can start it with --clean argument:

docker run -v bhs-data:/app/data bsvb/block-headers-service: --clean

⁠clean preloaded start

If you use docker volume the data is persisted between runs. If you have already some data in database, but would like to run in preloaded mode and don't want to recreate a volume you can run the image providing both --clean and --preloaded arguments

docker run -v bhs-data:/app/data bsvb/block-headers-service: --clean --preloaded

Tag summary

Content type

Image

Digest

sha256:5ecfe6e4f…

Size

76.3 MB

Last updated

about 1 year ago

docker pull bsvb/block-headers-service