Update README

This commit is contained in:
Martin Boehm 2023-06-20 21:06:46 +02:00
parent b7f7b29b64
commit fc52acbde4
3 changed files with 19 additions and 18 deletions

View File

@ -4,12 +4,12 @@
**Blockbook** is back-end service for Trezor wallet. Main features of **Blockbook** are: **Blockbook** is back-end service for Trezor wallet. Main features of **Blockbook** are:
- index of addresses and address balances of the connected block chain - index of addresses and address balances of the connected block chain
- fast index search - fast index search
- simple blockchain explorer - simple blockchain explorer
- websocket, API and legacy Bitcore Insight compatible socket.io interfaces - websocket, API and legacy Bitcore Insight compatible socket.io interfaces
- support of multiple coins (Bitcoin and Ethereum type) with easy extensibility to other coins - support of multiple coins (Bitcoin and Ethereum type) with easy extensibility to other coins
- scripts for easy creation of debian packages for backend and blockbook - scripts for easy creation of debian packages for backend and blockbook
## Build and installation instructions ## Build and installation instructions
@ -19,7 +19,7 @@ Memory and disk requirements for initial synchronization of **Bitcoin mainnet**
Other coins should have lower requirements, depending on the size of their block chain. Note that fast SSD disks are highly Other coins should have lower requirements, depending on the size of their block chain. Note that fast SSD disks are highly
recommended. recommended.
User installation guide is [here](https://wiki.trezor.io/User_manual:Running_a_local_instance_of_Trezor_Wallet_backend_(Blockbook)). User installation guide is [here](<https://wiki.trezor.io/User_manual:Running_a_local_instance_of_Trezor_Wallet_backend_(Blockbook)>).
Developer build guide is [here](/docs/build.md). Developer build guide is [here](/docs/build.md).
@ -29,12 +29,13 @@ Contribution guide is [here](CONTRIBUTING.md).
Blockbook currently supports over 30 coins. The Trezor team implemented Blockbook currently supports over 30 coins. The Trezor team implemented
- Bitcoin, Bitcoin Cash, Zcash, Dash, Litecoin, Bitcoin Gold, Ethereum, Ethereum Classic, Dogecoin, Namecoin, Vertcoin, DigiByte, Liquid - Bitcoin, Bitcoin Cash, Zcash, Dash, Litecoin, Bitcoin Gold, Ethereum, Ethereum Classic, Dogecoin, Namecoin, Vertcoin, DigiByte, Liquid
the rest of coins were implemented by the community. the rest of coins were implemented by the community.
Testnets for some coins are also supported, for example: Testnets for some coins are also supported, for example:
- Bitcoin Testnet, Bitcoin Cash Testnet, ZCash Testnet, Ethereum Testnet Ropsten
- Bitcoin Testnet, Bitcoin Cash Testnet, ZCash Testnet, Ethereum Testnets (Goerli, Sepolia)
List of all implemented coins is in [the registry of ports](/docs/ports.md). List of all implemented coins is in [the registry of ports](/docs/ports.md).
@ -44,8 +45,8 @@ List of all implemented coins is in [the registry of ports](/docs/ports.md).
How to reduce memory footprint of the initial sync: How to reduce memory footprint of the initial sync:
- disable rocksdb cache by parameter `-dbcache=0`, the default size is 500MB - disable rocksdb cache by parameter `-dbcache=0`, the default size is 500MB
- run blockbook with parameter `-workers=1`. This disables bulk import mode, which caches a lot of data in memory (not in rocksdb cache). It will run about twice as slowly but especially for smaller blockchains it is no problem at all. - run blockbook with parameter `-workers=1`. This disables bulk import mode, which caches a lot of data in memory (not in rocksdb cache). It will run about twice as slowly but especially for smaller blockchains it is no problem at all.
Please add your experience to this [issue](https://github.com/trezor/blockbook/issues/43). Please add your experience to this [issue](https://github.com/trezor/blockbook/issues/43).

View File

@ -242,7 +242,7 @@ func writeMarkdown(output string, slice PortInfoSlice) error {
header := []string{"coin", "blockbook public", "blockbook internal", "backend rpc", "backend service ports (zmq)"} header := []string{"coin", "blockbook public", "blockbook internal", "backend rpc", "backend service ports (zmq)"}
writeTable(&buf, header, slice) writeTable(&buf, header, slice)
fmt.Fprintf(&buf, "\n> NOTE: This document is generated from coin definitions in `configs/coins`.\n") fmt.Fprintf(&buf, "\n> NOTE: This document is generated from coin definitions in `configs/coins` using command `go run contrib/scripts/check-and-generate-port-registry.go -w`.\n")
out := os.Stdout out := os.Stdout
if output != "stdout" { if output != "stdout" {

View File

@ -77,4 +77,4 @@
| Qtum Testnet | 19188 | 19088 | 18088 | 48388 | | Qtum Testnet | 19188 | 19088 | 18088 | 48388 |
| Omotenashicoin Testnet | 19189 | 19089 | 18089 | 48389 | | Omotenashicoin Testnet | 19189 | 19089 | 18089 | 48389 |
> NOTE: This document is generated from coin definitions in `configs/coins`. > NOTE: This document is generated from coin definitions in `configs/coins` using command `go run contrib/scripts/check-and-generate-port-registry.go -w`.