Imports github.com/decred/dcrd/chaincfg/chainhash Standard library imports bytes crypto/rand encoding/binary errors fmt io math net strconv strings time unicode/utf8