diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-07-09 10:07:47 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-07-22 22:55:11 +0300 |
commit | 62fe6aa87e4cdd8b06207abc1387c68d7bfc04c1 (patch) | |
tree | 93b7d18a4ca1be760b3ba50eaaa727883d2b99c8 /src/net.h | |
parent | f7c19e829eca10ce8b4acafc61264f8bb9b922f3 (diff) | |
download | bitcoin-62fe6aa87e4cdd8b06207abc1387c68d7bfc04c1.tar.xz |
net: Add -networkactive option
The `setnetworkactive' RPC command is already present.
This new option allows to start the client with disabled p2p network
activity for testing or reindexing.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,7 +181,7 @@ public: } } - CConnman(uint64_t seed0, uint64_t seed1); + CConnman(uint64_t seed0, uint64_t seed1, bool network_active = true); ~CConnman(); bool Start(CScheduler& scheduler, const Options& options); |