Imports github.com/btcsuite/btcd/chaincfg github.com/btcsuite/btcd/wire github.com/btcsuite/btcutil github.com/btcsuite/go-flags github.com/btcsuite/btclog github.com/btcsuite/btcd/database/ldb github.com/btcsuite/btcd/database Standard library imports errors fmt os path/filepath strconv