mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-18 21:32:30 +01:00
wire: add NodeNetworkLimitedBlockThreshold const
NodeNetworkLimitedBlockThreshold is a constant representing how many blocks from tip a node signaling NODE_NETWORK_LIMITED must serve.
This commit is contained in:
parent
80f5a0ffdf
commit
1012f1e4ba
@ -151,6 +151,12 @@ func (f ServiceFlag) String() string {
|
||||
return s
|
||||
}
|
||||
|
||||
const (
|
||||
// NodeNetworkLimitedBlockThreshold is the number of blocks that a node
|
||||
// broadcasting SFNodeNetworkLimited MUST be able to serve from the tip.
|
||||
NodeNetworkLimitedBlockThreshold = 288
|
||||
)
|
||||
|
||||
// BitcoinNet represents which bitcoin network a message belongs to.
|
||||
type BitcoinNet uint32
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user