mirror of
https://github.com/monero-project/monero.git
synced 2025-07-29 09:08:42 -04:00
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)
This commit is contained in:
commit
960c215801
54 changed files with 4236 additions and 841 deletions
|
@ -56,6 +56,7 @@ namespace cryptonote
|
|||
std::string ip;
|
||||
std::string port;
|
||||
uint16_t rpc_port;
|
||||
uint32_t rpc_credits_per_hash;
|
||||
|
||||
std::string peer_id;
|
||||
|
||||
|
@ -94,6 +95,7 @@ namespace cryptonote
|
|||
KV_SERIALIZE(ip)
|
||||
KV_SERIALIZE(port)
|
||||
KV_SERIALIZE(rpc_port)
|
||||
KV_SERIALIZE(rpc_credits_per_hash)
|
||||
KV_SERIALIZE(peer_id)
|
||||
KV_SERIALIZE(recv_count)
|
||||
KV_SERIALIZE(recv_idle_time)
|
||||
|
|
|
@ -246,6 +246,7 @@ namespace cryptonote
|
|||
cnx.port = std::to_string(cntxt.m_remote_address.as<epee::net_utils::ipv4_network_address>().port());
|
||||
}
|
||||
cnx.rpc_port = cntxt.m_rpc_port;
|
||||
cnx.rpc_credits_per_hash = cntxt.m_rpc_credits_per_hash;
|
||||
|
||||
std::stringstream peer_id_str;
|
||||
peer_id_str << std::hex << std::setw(16) << peer_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue