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