mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
* Move lock protection to where it is needed. * Use gcd to reduce problem to lowest terms. * Use improved overflow avoidance to retain as much precision as possible. * Detect overflow if it can be shown that the final result will not fit in a uint64_t.
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