mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Path finding fixes:
Track path finding and order book creation time and latency. Use a ledger snapshot for path finding. You can't call getCurrentLedger from an unlocked context. Pathfinding called from the transaction sign function held the master lock.
This commit is contained in:
@@ -56,6 +56,8 @@ const char* Job::toString(JobType t)
|
||||
case jtRPC: return "rpc";
|
||||
case jtACCEPTLEDGER: return "acceptLedger";
|
||||
case jtTXN_PROC: return "processTransaction";
|
||||
case jtOB_SETUP: return "orderBookSetup";
|
||||
case jtPATH_FIND: return "pathFind";
|
||||
default: assert(false); return "unknown";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user