From 41dca087b73a3627107603694f5a982ea2a53189 Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Mon, 28 Sep 2020 16:58:31 -0700 Subject: [trivial] Extract connection type doc into file where it is used. This slightly reduces the size of the binary. --- src/rpc/net.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/rpc') diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 431199d4f6..9b725b786d 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -29,6 +29,15 @@ #include +const std::vector CONNECTION_TYPE_DOC{ + "outbound-full-relay (default automatic connections)", + "block-relay-only (does not relay transactions or addresses)", + "inbound (initiated by the peer)", + "manual (added via addnode RPC or -addnode/-connect configuration options)", + "addr-fetch (short-lived automatic connection for soliciting addresses)", + "feeler (short-lived automatic connection for testing addresses)" +}; + static RPCHelpMan getconnectioncount() { return RPCHelpMan{"getconnectioncount", -- cgit v1.2.3