Documentation ¶
Index ¶
Constants ¶
View Source
const VersionAuxpow = (1 << 8)
VersionAuxpow marks that block contains Auxpow
Variables ¶
View Source
var ( // ErrChecksumMismatch describes an error where decoding failed due // to a bad checksum. ErrChecksumMismatch = errors.New("checksum mismatch") // ErrInvalidFormat describes an error where decoding failed due to invalid version ErrInvalidFormat = errors.New("invalid format: version and/or checksum bytes missing") )
Functions ¶
func CheckDecode ¶
CheckDecode decodes a string that was encoded with CheckEncode and verifies the checksum.
func DecodeTransactions ¶
func DecodeTransactions(r io.Reader, pver uint32, enc wire.MessageEncoding, blk *wire.MsgBlock) error
DecodeTransactions decodes transactions from input stream using wire
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.