chain: use correct pruned node service bit
This commit is contained in:
parent
50978fcf79
commit
61d3b2da6d
1 changed files with 4 additions and 2 deletions
|
@ -37,8 +37,10 @@ const (
|
|||
requiredServices = wire.SFNodeNetwork | wire.SFNodeWitness
|
||||
|
||||
// prunedNodeService is the service bit signaled by pruned nodes on the
|
||||
// network.
|
||||
prunedNodeService wire.ServiceFlag = 1 << 11
|
||||
// network. Note that this service bit can also be signaled by full
|
||||
// nodes, except that they also signal wire.SFNodeNetwork, where as
|
||||
// pruned nodes don't.
|
||||
prunedNodeService wire.ServiceFlag = 1 << 10
|
||||
)
|
||||
|
||||
// queryPeer represents a Bitcoin network peer that we'll query for blocks.
|
||||
|
|
Loading…
Add table
Reference in a new issue