Bump blockbook version to v0.2.0 and index version to 4
This commit is contained in:
parent
a7b8994419
commit
e24115da83
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.1.1",
|
"version": "0.2.0",
|
||||||
"backend_install_path": "/opt/coins/nodes",
|
"backend_install_path": "/opt/coins/nodes",
|
||||||
"backend_data_path": "/opt/coins/data",
|
"backend_data_path": "/opt/coins/data",
|
||||||
"blockbook_install_path": "/opt/coins/blockbook",
|
"blockbook_install_path": "/opt/coins/blockbook",
|
||||||
|
|||||||
@ -19,12 +19,14 @@ import (
|
|||||||
"github.com/tecbot/gorocksdb"
|
"github.com/tecbot/gorocksdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const dbVersion = 4
|
||||||
|
|
||||||
|
const packedHeightBytes = 4
|
||||||
|
const maxAddrDescLen = 1024
|
||||||
|
|
||||||
// iterator creates snapshot, which takes lots of resources
|
// 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
|
// when doing huge scan, it is better to close it and reopen from time to time to free the resources
|
||||||
const refreshIterator = 5000000
|
const refreshIterator = 5000000
|
||||||
const packedHeightBytes = 4
|
|
||||||
const dbVersion = 3
|
|
||||||
const maxAddrDescLen = 1024
|
|
||||||
|
|
||||||
// RepairRocksDB calls RocksDb db repair function
|
// RepairRocksDB calls RocksDb db repair function
|
||||||
func RepairRocksDB(name string) error {
|
func RepairRocksDB(name string) error {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user