Imports github.com/decred/dcrd/blockchain github.com/decred/dcrd/blockchain/stake github.com/decred/dcrd/chaincfg/chainhash github.com/decred/dcrd/dcrutil github.com/decred/dcrd/rpcclient github.com/decred/dcrd/wire github.com/jessevdk/go-flags Standard library imports bufio encoding/json fmt io io/ioutil net os path/filepath strings