Fork of Trezor Blockbook.
 
 
 
 
 
 
Go to file
Martin Boehm 7da714bec4 Generalize erc20transfers to tokentransfers in api 2018-12-20 13:18:38 +01:00
api Generalize erc20transfers to tokentransfers in api 2018-12-20 13:18:38 +01:00
bchain Use txids returned from pendingTransactions subscriptionfor mempool 2018-12-19 12:03:19 +01:00
build fix build error 2018-11-18 04:53:54 +09:00
common Add websocket implementation WIP 2018-12-10 00:26:04 +01:00
configs Change Ethereum Testnet Ropsten shortcut 2018-12-17 15:08:48 +01:00
contrib/scripts WIP: sync integration tests 2018-09-20 09:39:13 +02:00
db Notify on mempool erc20 transfer transaction 2018-12-19 10:06:25 +01:00
docs Introduce BitcoinType and EthereumType distinction of blockchains 2018-11-15 16:16:01 +01:00
server Refactor tx api 2018-12-19 13:59:18 +01:00
static Generalize erc20transfers to tokentransfers in api 2018-12-20 13:18:38 +01:00
tests Fix unit and integration tests 2018-12-19 10:35:22 +01:00
.gitignore Ignore generated identifiers of docker images in git 2018-07-31 15:44:43 +02:00
.gitlab-ci.yml Restrict CI jobs by branch/schedule 2018-10-16 13:01:10 +02:00
CONTRIBUTING.md Update CONTRIBUTING documentation 2018-10-10 14:54:33 +02:00
COPYING Add license file 2018-05-31 12:53:27 +02:00
Gopkg.lock Bump geth dependency to v1.8.17 2018-11-15 16:16:01 +01:00
Gopkg.toml Remove gorilla/handlers from Gopkg.toml 2018-06-29 14:18:40 +02:00
Makefile Build makes sure that images are rebuilt after change of docker defs 2018-10-17 13:04:03 +02:00
README.md Added Go Report Card icon 2018-10-22 10:49:57 +02:00
blockbook.go Notify on mempool erc20 transfer transaction 2018-12-19 10:06:25 +01:00

README.md

Go Report Card

Blockbook

WARNING: Blockbook is currently in the state of heavy development. We may implement at any time backwards incompatible changes that require full reindexation of the database. Also, do not expect this documentation to be always up to date.

Blockbook is back-end service for Trezor wallet. Main features of Blockbook are:

  • create missing indexes in the blockchain - index of addresses and address balances
  • allow fast searches in the index of addresses
  • implement parts Insight socket.io interface as required by Trezor wallet
  • support of multiple coins
  • simple blockchain explorer for implemented coins
  • scripts for easy creation of debian packages for backend and blockbook

Build and installation instructions

Officially supported platform is Debian Linux and AMD64 architecture.

Memory and disk requirements for initial synchronization of Bitcoin mainnet are around 32 GB RAM and over 150 GB of disk size. After initial synchronization, fully synchronized instance takes around 10 GB RAM. Other coins should have lower requirements depending on size of their block chain. Note that fast SSD disks are highly recommended.

User installation guide is here.

Developer build guide is here.

Contribution guide is here.

Implemented coins

The most significant coins implemented by Blockbook are:

  • Bitcoin, Bcash, Bgold, ZCash, Dash, Litecoin

Incomplete, experimental support is for:

  • Ethereum, Ethereum Classic

Testnets for some coins are also supported, for example:

  • Bitcoin Testnet, Bcash Testnet, ZCash Testnet, Ethereum Testnet Ropsten

List of all implemented coins is in the registry of ports.

Data storage in RocksDB

Blockbook stores data the key-value store RocksDB. Database format is described here.