Ensure tests are runnable

This commit is contained in:
Jakub Matys 2018-10-01 14:49:05 +02:00
parent 7b5ae679f2
commit 1bdb06f2ff
2 changed files with 4 additions and 5 deletions

View File

@ -138,7 +138,7 @@ func makeRocksDB(parser bchain.BlockChainParser, m *common.Metrics, is *common.I
return nil, nil, err return nil, nil, err
} }
d, err := db.NewRocksDB(p, 100000, parser, m) d, err := db.NewRocksDB(p, 1<<17, 1<<14, parser, m)
if err != nil { if err != nil {
return nil, nil, err return nil, nil, err
} }

View File

@ -1,16 +1,15 @@
{ {
"bcash": { "bcash": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync", "rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync",
"EstimateSmartFee", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"] "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"]
}, },
"bcash_testnet": { "bcash_testnet": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync", "rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync",
"EstimateSmartFee", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"] "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"]
}, },
"bitcoin": { "bitcoin": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync", "rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync",
"EstimateSmartFee", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"], "EstimateSmartFee", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"]
"sync": ["ConnectBlocksParallel"]
}, },
"bitcoin_testnet": { "bitcoin_testnet": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync", "rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "GetTransactionForMempool", "MempoolSync",