Documentation ¶
Index ¶
Constants ¶
View Source
const FeatureSet = 1 << 0
FeatureSet denotes the version bit for legacy messages support.
View Source
const FeatureSetName = "Legacy-Gossip"
FeatureSetName is the name of the legacy feature set.
View Source
const ( // The transaction payload + requested transaction hash gossipping packet. // In reality most of this packets won't take up their full 1604 bytes as the // signature message fragment of the tx is truncated. MessageTypeTransactionAndRequest message.Type = 2 )
View Source
const (
// The amount of bytes used for the requested transaction hash.
RequestedTransactionHashMsgBytesLength = 49
)
Variables ¶
View Source
var ( TransactionAndRequestMessageDefinition = &message.Definition{ ID: MessageTypeTransactionAndRequest, MaxBytesLength: RequestedTransactionHashMsgBytesLength + consts.NonSigTxPartBytesLength + consts.SigDataMaxBytesLength, VariableLength: true, } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.