Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EBIP002Version is the protocol version which start support // transaction filtering through txfilter message. EBIP002Version uint32 = 10002 )
Release version numbers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceFlag ¶
type ServiceFlag uint64
ServiceFlag identifies services supported by a peer.
const ( // SFNodeNetwork is a flag used to indicate a peer is a full node. SFNodeNetwork ServiceFlag = 1 << iota // SFTxFiltering is a flag used to indicate a peer supports transaction // filtering. SFTxFiltering // SFNodeBloom is a flag used to indicate a peer supports bloom // filtering. SFNodeBloom )
func (ServiceFlag) String ¶
func (f ServiceFlag) String() string
String returns the ServiceFlag in human-readable form.
Click to show internal directories.
Click to hide internal directories.