AddrV2Version is the protocol version which added two new messages.
BaseEncoding encodes all messages in the default format specified for the Bitcoin wire protocol.
BIP0031Version is the protocol version AFTER which a pong message and nonce field in ping were added (pver > BIP0031Version).
BIP0035Version is the protocol version which added the mempool message (pver >= BIP0035Version).
BIP0037Version is the protocol version which added new connection bloom filtering related messages and extended the version message with a relay flag (pver >= BIP0037Version).
BIP0111Version is the protocol version which added the SFNodeBloom service flag.
BloomUpdateAll indicates if the filter matches any data element in a public key script, the outpoint is serialized and inserted into the filter.
BloomUpdateNone indicates the filter is not adjusted when a match is found.
BloomUpdateP2PubkeyOnly indicates if the filter matches a data element in a public key script and the script is of the standard pay-to-pubkey or multisig, the outpoint is serialized and inserted into the filter.
CFCheckptInterval is the gap (in number of blocks) between each filter header checkpoint.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
Commands used in bitcoin message headers which describe the type of message.
CommandSize is the fixed size of all commands in the common bitcoin message header.
DefaultUserAgent for wire in the stack.
FeeFilterVersion is the protocol version which added a new feefilter message.
GCSFilterRegular is the regular filter type.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
These constants define the various supported inventory vector types.
InvWitnessFlag denotes that the inventory vector type is requesting, or sending a version which includes witness data.
MainNet represents the main bitcoin network.
MaxAddrPerMsg is the maximum number of addresses that can be in a single bitcoin addr message (MsgAddr).
MaxBlockHeaderPayload is the maximum number of bytes a block header can be.
MaxBlockHeadersPerMsg is the maximum number of block headers that can be in a single bitcoin headers message.
MaxBlockLocatorsPerMsg is the maximum number of block locator hashes allowed per message.
MaxBlockPayload is the maximum bytes a block message can be in bytes.
MaxBlocksPerMsg is the maximum number of blocks allowed per message.
MaxCFHeaderPayload is the maximum byte size of a committed filter header.
MaxCFHeadersPerMsg is the maximum number of committed filter headers that can be in a single bitcoin cfheaders message.
MaxCFilterDataSize is the maximum byte size of a committed filter.
MaxFilterAddDataSize is the maximum byte size of a data element to add to the Bloom filter.
MaxFilterLoadFilterSize is the maximum size in bytes a filter may be.
MaxFilterLoadHashFuncs is the maximum number of hash functions to load into the Bloom filter.
MaxGetCFiltersReqRange the maximum number of filters that may be requested in a getcfheaders message.
MaxInvPerMsg is the maximum number of inventory vectors that can be in a single bitcoin inv message.
32MB.
MaxPrevOutIndex is the maximum index the index field of a previous outpoint can be.
MaxTxInSequenceNum is the maximum sequence number the sequence field of a transaction input can be.
MaxUserAgentLen is the maximum allowed length for the user agent field in a version message (MsgVersion).
MaxV2AddrPerMsg is the maximum number of version 2 addresses that will exist in a single addrv2 message (MsgAddrV2).
MaxVarIntPayload is the maximum payload size for a variable length integer.
MessageHeaderSize is the number of bytes in a bitcoin message header.
MinTxOutPayload is the minimum payload size for a transaction output.
MultipleAddressVersion is the protocol version which added multiple addresses per message (pver >= MultipleAddressVersion).
NetAddressTimeVersion is the protocol version which added the timestamp field (pver >= NetAddressTimeVersion).
ProtocolVersion is the latest protocol version this package supports.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
These constants define the various supported reject codes.
RejectVersion is the protocol version which added a new reject message.
SendHeadersVersion is the protocol version which added a new sendheaders message.
SequenceLockTimeDisabled is a flag that if set on a transaction input's sequence number, the sequence number will not be interpreted as a relative locktime.
SequenceLockTimeGranularity is the defined time based granularity for seconds-based relative time locks.
SequenceLockTimeIsSeconds is a flag that if set on a transaction input's sequence number, the relative locktime has units of 512 seconds.
SequenceLockTimeMask is a mask that extracts the relative locktime when masked against the transaction input sequence number.
SFNode2X is a flag used to indicate a peer is running the Segwit2X software.
SFNodeBit5 is a flag used to indicate a peer supports a service defined by bit 5.
SFNodeBloom is a flag used to indicate a peer supports bloom filtering.
SFNodeCF is a flag used to indicate a peer supports committed filters (CFs).
SFNodeGetUTXO is a flag used to indicate a peer supports the getutxos and utxos commands (BIP0064).
SFNodeNetwork is a flag used to indicate a peer is a full node.
SFNodeWitness is a flag used to indicate a peer supports blocks and transactions including witness data (BIP0144).
SFNodeXthin is a flag used to indicate a peer supports xthin blocks.
SimNet represents the simulation test network.
TestNet represents the regression test network.
TestNet3 represents the test network (version 3).
TorV2EncodedSize is the size of a torv2 address encoded in base32 with the ".onion" suffix.
TorV3EncodedSize is the size of a torv3 address encoded in base32 with the ".onion" suffix.
TorV3Size is the size of a torv3 address in bytes.
TxFlagMarker is the first byte of the FLAG field in a bitcoin tx message.
TxVersion is the current latest supported transaction version.
WitnessEncoding encodes all messages other than transaction messages using the default Bitcoin wire protocol specification.
WitnessFlag is a flag specific to witness encoding.