Bump blockbook version to v0.2.0 and index version to 4

pull/105/head
Martin Boehm 2018-12-20 16:16:51 +01:00
parent a7b8994419
commit e24115da83
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{
"version": "0.1.1",
"version": "0.2.0",
"backend_install_path": "/opt/coins/nodes",
"backend_data_path": "/opt/coins/data",
"blockbook_install_path": "/opt/coins/blockbook",

View File

@ -19,12 +19,14 @@ import (
"github.com/tecbot/gorocksdb"
)
const dbVersion = 4
const packedHeightBytes = 4
const maxAddrDescLen = 1024
// iterator creates snapshot, which takes lots of resources
// when doing huge scan, it is better to close it and reopen from time to time to free the resources
const refreshIterator = 5000000
const packedHeightBytes = 4
const dbVersion = 3
const maxAddrDescLen = 1024
// RepairRocksDB calls RocksDb db repair function
func RepairRocksDB(name string) error {