diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-10-25 13:38:21 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-25 13:38:21 -0500 |
| commit | 960c2158010d30a375207310a36a7a942b9285d2 (patch) | |
| tree | 46d25ec0db661fd62fd1a683dea3b1ecbf620089 /src/cryptonote_basic | |
| parent | cc46f05f1f21da4061588ffd317afa13aa379b91 (diff) | |
| parent | ffa46026b5360decf5343b85fb267d026f41e760 (diff) | |
| download | monzero-core-960c2158010d30a375207310a36a7a942b9285d2.tar.gz monzero-core-960c2158010d30a375207310a36a7a942b9285d2.tar.xz monzero-core-960c2158010d30a375207310a36a7a942b9285d2.zip | |
Merge pull request #5357
b3a9a4d add a quick early out to get_blocks.bin when up to date (moneromooo-monero)
2899379 daemon, wallet: new pay for RPC use system (moneromooo-monero)
ffa4602 simplewallet: add public_nodes command (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic')
| -rw-r--r-- | src/cryptonote_basic/connection_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h index 5e8f6685d..a682bebf2 100644 --- a/src/cryptonote_basic/connection_context.h +++ b/src/cryptonote_basic/connection_context.h @@ -43,7 +43,7 @@ namespace cryptonote { cryptonote_connection_context(): m_state(state_before_handshake), m_remote_blockchain_height(0), m_last_response_height(0), m_last_request_time(boost::date_time::not_a_date_time), m_callback_request_count(0), - m_last_known_hash(crypto::null_hash), m_pruning_seed(0), m_rpc_port(0), m_anchor(false) {} + m_last_known_hash(crypto::null_hash), m_pruning_seed(0), m_rpc_port(0), m_rpc_credits_per_hash(0), m_anchor(false) {} enum state { @@ -64,6 +64,7 @@ namespace cryptonote crypto::hash m_last_known_hash; uint32_t m_pruning_seed; uint16_t m_rpc_port; + uint32_t m_rpc_credits_per_hash; bool m_anchor; //size_t m_score; TODO: add score calculations }; |
