mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
In normal operation, InboundLedgers::findCreate never returns null, but during system shutdown, it will return null. Since this only happens in system shutdown, when findCreate returns null the calling function stops what it was doing and returns. During testing, an issue where destroying the application object and creating a new one caused problems with a static PathTable. This table is now cleared when re-initialized.
Newest Style
Each folder contains a single module following the newest style:
- One class per header
- As much implementation hidden as possible
- All major interfaces are abstract
- Every class is documented
- Each module focuses on solving one problem