Skip to content

Commit 27df193

Browse files
committed
Always set NODE_NETWORK_LIMITED bit
The current pruning implementation does ensure to always conform to BIP159
1 parent 7caba38 commit 27df193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ namespace { // Variables internal to initialization process only
816816
int nMaxConnections;
817817
int nUserMaxConnections;
818818
int nFD;
819-
ServiceFlags nLocalServices = NODE_NETWORK;
819+
ServiceFlags nLocalServices = ServiceFlags(NODE_NETWORK | NODE_NETWORK_LIMITED);
820820

821821
} // namespace
822822

0 commit comments

Comments
 (0)