diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-03-31 13:35:16 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-03-31 13:35:16 -0500 |
commit | ccc3726d86b60a7fc2401e940eadda63ef99cb54 (patch) | |
tree | 7dd0431501f78343e984fab97b795be9ed63ce93 /src/rpc/core_rpc_server.h | |
parent | Merge pull request #6214 (diff) | |
parent | rpc: add --rpc-payment-allow-free-loopback (diff) | |
download | monero-ccc3726d86b60a7fc2401e940eadda63ef99cb54.tar.xz |
Merge pull request #6260
320bc84 rpc: add --rpc-payment-allow-free-loopback (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r-- | src/rpc/core_rpc_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h index 3b8e9c20a..d82ab6af4 100644 --- a/src/rpc/core_rpc_server.h +++ b/src/rpc/core_rpc_server.h @@ -75,6 +75,7 @@ namespace cryptonote static const command_line::arg_descriptor<std::string> arg_rpc_payment_address; static const command_line::arg_descriptor<uint64_t> arg_rpc_payment_difficulty; static const command_line::arg_descriptor<uint64_t> arg_rpc_payment_credits; + static const command_line::arg_descriptor<bool> arg_rpc_payment_allow_free_loopback; typedef epee::net_utils::connection_context_base connection_context; @@ -287,6 +288,7 @@ private: std::map<std::string, uint64_t> m_host_fails_score; std::unique_ptr<rpc_payment> m_rpc_payment; bool disable_rpc_ban; + bool m_rpc_payment_allow_free_loopback; }; } |