Imports github.com/alexcesaro/log github.com/alexcesaro/log/golog github.com/btcsuite/btcd/chaincfg github.com/btcsuite/btcd/wire github.com/jessevdk/go-flags Standard library imports bufio encoding/base32 encoding/json fmt net os os/signal strconv strings sync time