mirror of
https://github.com/monero-project/monero.git
synced 2025-07-30 06:28:40 -04:00
Merge pull request #3181
e3f0980a
daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
This commit is contained in:
commit
bdf0339dda
4 changed files with 6 additions and 6 deletions
|
@ -79,7 +79,7 @@ namespace cryptonote
|
|||
typedef t_cryptonote_protocol_handler<t_core> cryptonote_protocol_handler;
|
||||
typedef CORE_SYNC_DATA payload_type;
|
||||
|
||||
t_cryptonote_protocol_handler(t_core& rcore, nodetool::i_p2p_endpoint<connection_context>* p_net_layout);
|
||||
t_cryptonote_protocol_handler(t_core& rcore, nodetool::i_p2p_endpoint<connection_context>* p_net_layout, bool offline = false);
|
||||
|
||||
BEGIN_INVOKE_MAP2(cryptonote_protocol_handler)
|
||||
HANDLE_NOTIFY_T2(NOTIFY_NEW_BLOCK, &cryptonote_protocol_handler::handle_notify_new_block)
|
||||
|
|
|
@ -61,10 +61,10 @@ namespace cryptonote
|
|||
|
||||
//-----------------------------------------------------------------------------------------------------------------------
|
||||
template<class t_core>
|
||||
t_cryptonote_protocol_handler<t_core>::t_cryptonote_protocol_handler(t_core& rcore, nodetool::i_p2p_endpoint<connection_context>* p_net_layout):m_core(rcore),
|
||||
t_cryptonote_protocol_handler<t_core>::t_cryptonote_protocol_handler(t_core& rcore, nodetool::i_p2p_endpoint<connection_context>* p_net_layout, bool offline):m_core(rcore),
|
||||
m_p2p(p_net_layout),
|
||||
m_syncronized_connections_count(0),
|
||||
m_synchronized(false),
|
||||
m_synchronized(offline),
|
||||
m_stopping(false)
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue