diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-11-19 13:33:34 +0100 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2016-10-24 10:23:58 +0000 |
commit | b2b33d9017cd7bc92099338773313fdf4572dc4a (patch) | |
tree | a99ace8f2586c6d9e0973b9c7c6a71188d5527ce /src/rpc/client.cpp | |
parent | 32efa79e0e63b6d3f055326b2e6b794815d408ad (diff) |
Overhaul network activity toggle
- Rename RPC command "togglenetwork" to "setnetworkactive (true|false)"
- Add simple test case
- GUI toggle added to connections icon in statusbar
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index c14d9d6747..66648b6853 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -107,6 +107,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "prioritisetransaction", 2 }, { "setban", 2 }, { "setban", 3 }, + { "setnetworkactive", 0 }, { "getmempoolancestors", 1 }, { "getmempooldescendants", 1 }, }; |