btcfossilizer

command
v0.2.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

The command btcfossilizer starts an HTTP server with a batch fossilizer on a Bitcoin blockchain.

Usage

The following flags are available:

	$ btcfossilizer -h
	Usage of btcfossilizer:
       -archive
         	whether to archive completed batches (requires path) (default true)
       -bcyapikey string
         	BlockCypher API key
       -callbacktimeout duration
         	callback requests timeout (default 10s)
       -exitbatch
         	whether to do a batch on exit (default true)
       -fee int
         	transaction fee (satoshis) (default 15000)
       -fsync
         	whether to fsync after saving a pending hash (requires path)
       -http string
         	HTTP address (default ":6000")
       -interval duration
         	batch interval (default 10m0s)
       -limiterinterval duration
         	BlockCypher API limiter interval (default 1m0s)
       -limitersize int
         	BlockCypher API limiter size (default 2)
       -maxleaves int
         	maximum number of leaves in a Merkle tree (default 32768)
       -path string
         	an optional path to store files
       -tlscert string
         	TLS certificate file
       -tlskey string
         	TLS private key file
       -wif string
         	wallet import format key
       -workers int
         	number of result workers (default 8)

Env

BTCFOSSILIZER_WIF="xxx" // wallet import format key

Docker

A Docker image is available. To create a container, run:

	$ docker run -p 6000:6000 stratumn/btcfossilizer btcfossilizer \
             -wif "your WIF key"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL