bcoin-org/bcoin

Error while running testnet node

andrijac opened this issue · 2 comments

After rebooting VM, I tried to run my testnet node again:
bcoin --network=testnet --index-address=true --index-tx=true

I'm getting this:

[info] (blockstore) Opening FileBlockStore...
[info] (chain) Chain is loading.
[info] (chain) Checkpoints are enabled.
[info] (chaindb) Opening ChainDB...
[info] (chaindb) ChainDB successfully loaded.
[info] (chaindb) Chain State: hash=000000000000001360a475bd873acc404aa40961d89da8293dd265afdc2f5c02 tx=65969529 coin=29005455 value=20992047.74962723.
[info] (chain) Chain Height: 2440676
[debug] (chain) Memory: rss=57mb, js-heap=15/30mb native-heap=27mb
[warning] (chain) P2SH has been activated.
[warning] (chain) BIP34 has been activated.
[warning] (chain) BIP66 has been activated.
[warning] (chain) BIP65 has been activated.
[warning] (chain) CSV has been activated.
[warning] (chain) Segwit has been activated.
[debug] (chain) Memory: rss=57mb, js-heap=15/30mb native-heap=27mb
[info] (mempool) Mempool loaded (maxsize=97656.25kb).
[info] (miner) Miner loaded (flags=mined by bcoin).
[warning] (miner) No reward address is set for miner!
[info] (net) Pool loaded (maxpeers=8).
[info] (txindexer) Indexer is loading.
[info] (addrindexer) Indexer is loading.
[info] (wallet) Opening WalletDB...
Error: Corruption: no meta-nextfile entry in descriptor

At the same time, mainnet node works fine.

I have no idea what to do :)
Please help

Try adding --no-wallet to your bcoin command. If runs normally it most likely means your wallet DB is corrupted and needs to be deleted and restored from seed phrase.

Awesome, thanks, that worked