lightninglabs / lightning-dev-site

Lightning Network Daemon Developer Site
25 stars 40 forks source link

btcd fails to run due to leveldb missing #48

Closed cbarraford closed 6 years ago

cbarraford commented 6 years ago

I get to the following place in the documentation and a get the panic, which is outlined in https://github.com/Roasbeef/btcd/issues/27.

btcd --testnet --txindex --rpcuser=cbarraford --rpcpass=password                                                  2 ↵ 

No where in the installation doc does it mention a requirement of leveldb needing to be installed. Is that a mistake of the documentation or did i compile something wrong on my local box?

cbarraford commented 6 years ago

failure was due to some bad data files in the block database folder. Rm'ing all the files in the testnet (~/Library/Application Support/Btcd/data/testnet/blocks_ffldb)