Skip to content

Commit e0ea3db

Browse files
authored
Merge pull request #450 from evoskuil/version3
Drop peers reporting NODE_XTHIN services by default (diamond hard fork).
2 parents ad24310 + 55d2bd9 commit e0ea3db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/bs.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ protocol_maximum = 70013
2929
protocol_minimum = 31402
3030
# The services exposed by network connections, defaults to 9 (full node, witness).
3131
services = 9
32-
# The advertised services that cause a peer to be dropped, defaults to 0 (none).
33-
invalid_services = 0
32+
# The advertised services that cause a peer to be dropped, defaults to 176.
33+
invalid_services = 176
3434
# The magic number for message headers, defaults to 3652501241 (use 118034699 for testnet).
3535
identifier = 3652501241
3636
# Validate the checksum of network messages, defaults to false.

src/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ options_metadata parser::load_settings()
202202
(
203203
"network.invalid_services",
204204
value<uint64_t>(&configured.network.invalid_services),
205-
"The advertised services that cause a peer to be dropped, defaults to 160."
205+
"The advertised services that cause a peer to be dropped, defaults to 176."
206206
)
207207
(
208208
"network.validate_checksum",

0 commit comments

Comments
 (0)