diff options
author | Martin Zumsande <mzumsande@gmail.com> | 2023-08-15 12:02:14 -0400 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2023-08-22 13:28:15 -0400 |
commit | a9a1d69391596f57851f545fae12f8851149d2c3 (patch) | |
tree | 0db551032f05a88bcd5d8969ca2f6d13895092b6 /src/test/fuzz/rpc.cpp | |
parent | 6ce5e8f4758e6fccf59b3980af417ec6c75e383e (diff) | |
download | bitcoin-a9a1d69391596f57851f545fae12f8851149d2c3.tar.xz |
rpc: add test-only sendmsgtopeer rpc
This rpc can be used when we want a node to send a message, but
cannot use a python P2P object, for example for testing of low-level
net transport behavior.
Diffstat (limited to 'src/test/fuzz/rpc.cpp')
-rw-r--r-- | src/test/fuzz/rpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/fuzz/rpc.cpp b/src/test/fuzz/rpc.cpp index 9e76c7be3e..24ec0e4a73 100644 --- a/src/test/fuzz/rpc.cpp +++ b/src/test/fuzz/rpc.cpp @@ -158,6 +158,7 @@ const std::vector<std::string> RPC_COMMANDS_SAFE_FOR_FUZZING{ "reconsiderblock", "scanblocks", "scantxoutset", + "sendmsgtopeer", // when no peers are connected, no p2p message is sent "sendrawtransaction", "setmocktime", "setnetworkactive", |