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.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
Commands used in message headers which describe the type of message.
CommandSize is the fixed size of all commands in the common Decred message header.
DefaultPkScriptVersion is the default pkScript version, referring to extended Decred script.
DefaultUserAgent for wire in the stack.
FeeFilterVersion is the protocol version which added a new feefilter message.
GCSFilterExtended is the extended filter type.
GCSFilterRegular is the regular filter type.
InitialProcotolVersion is the initial protocol version for the network.
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.
MainNet represents the main Decred 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 Decred headers message.
MaxBlockLocatorsPerMsg is the maximum number of block locator hashes allowed per message.
1.25MB.
Not actually 1MB which would be 1024 * 1024.
MaxBlockSizeVersion is the protocol version which increased the original blocksize.
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 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.
MaxFilterTypesPerMsg is the maximum number of filter types allowed per message.
MaxInvPerMsg is the maximum number of inventory vectors that can be in a single Decred inv message.
32MB.
MaxMSBlocksAtHeadPerMsg is the maximum number of block hashes allowed per message.
8 * 5.
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).
MaxVarIntPayload is the maximum payload size for a variable length integer.
MessageHeaderSize is the number of bytes in a Decred message header.
NodeBloomVersion is the protocol version which added the SFNodeBloom service flag.
NodeCFVersion is the protocol version which adds the SFNodeCF service flag and the cfheaders, cfilter, cftypes, getcfheaders, getcfilter and getcftypes messages.
NoExpiryValue is the value of expiry that indicates the transaction has no expiry.
NullBlockHeight is the null value for an input witness.
NullBlockIndex is the null transaction index in a block for an input witness.
NullValueIn is a null value for an input witness.
ProtocolVersion is the latest protocol version this package supports.
RegTest represents the regression test network.
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.
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.
SFNodeBloom is a flag used to indiciate a peer supports bloom filtering.
SFNodeCF is a flag used to indicate a peer supports committed filters (CFs).
SFNodeNetwork is a flag used to indicate a peer is a full node.
SimNet represents the simulation test network.
TestNet2 represents the 2nd test network.
TxSerializeFull indicates a transaction be serialized with the prefix and all witness data.
TxSerializeNoWitness indicates a transaction be serialized with only the prefix.
TxSerializeOnlyWitness indicates a transaction be serialized with only the witness data.
TxSerializeWitnessSigning indicates a transaction be serialized with only the witness scripts.
TxSerializeWitnessValueSigning indicates a transaction be serialized with only the witness input values and scripts.
TxTreeRegular is the value for a normal transaction tree for a transaction's location in a block.
TxTreeStake is the value for a stake transaction tree for a transaction's location in a block.
TxTreeUnknown is the value returned for a transaction tree that is unknown.
TxVersion is the current latest supported transaction version.