Update README

pull/1/head
Martin Boehm 2018-02-07 22:51:19 +01:00
parent 207351d4ec
commit dc04a292cc
1 changed files with 8 additions and 1 deletions

View File

@ -55,9 +55,16 @@ go build
## Usage
```
$GOPATH/bin/blockbook --help
./blockbook --help
```
## Example command
To run blockbook with fast synchronization, connection to ZeroMQ and providing https and socket.io interface, with database in local directory *data* and connected to local bitcoind at http://localhost:8332 with user rpc/rpc:
```
./blockbook -sync -parse -httpserver=127.0.0.1:8333 -socketio=127.0.01:8334 -certfile=server/testcert -zeromq=tcp://127.0.0.1:28332
```
Blockbook logs only to stderr, logging to files is disabled. Verbosity of logs can be tuned by command line parameters *-v* and *-vmodule*, details at https://godoc.org/github.com/golang/glog
# Data storage in RocksDB
Blockbook stores data the key-value store RocksDB. Data are stored in binary form to save space.