mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +00:00
Validators Work
Conflicts: src/ripple_app/ledger/LedgerMaster.cpp
This commit is contained in:
@@ -191,7 +191,7 @@ public:
|
||||
{
|
||||
#if RIPPLE_USE_NEW_VALIDATORS
|
||||
bassert (! isStopping());
|
||||
m_thread.call (&Logic::add, &m_logic, source);
|
||||
//m_thread.call (&Logic::add, &m_logic, source);
|
||||
#else
|
||||
delete source;
|
||||
#endif
|
||||
@@ -201,7 +201,7 @@ public:
|
||||
{
|
||||
#if RIPPLE_USE_NEW_VALIDATORS
|
||||
bassert (! isStopping());
|
||||
m_thread.call (&Logic::addStatic, &m_logic, source);
|
||||
//m_thread.call (&Logic::addStatic, &m_logic, source);
|
||||
#else
|
||||
delete source;
|
||||
#endif
|
||||
@@ -215,6 +215,14 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
void ledgerClosed (RippleLedgerHash const& ledgerHash)
|
||||
{
|
||||
#if RIPPLE_USE_NEW_VALIDATORS
|
||||
if (! isStopping())
|
||||
m_thread.call (&Logic::ledgerClosed, &m_logic, ledgerHash);
|
||||
#endif
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
void onDeadlineTimer (DeadlineTimer& timer)
|
||||
|
||||
Reference in New Issue
Block a user