Commit Graph

7 Commits

Author SHA1 Message Date
Vito
f012e3d305 feat: Add sfDust field on RippleState
Introduces the sfDust NUMBER field (id 18) on ltRIPPLE_STATE, a
sub-quantum residual for the trust-line credit path. Together with
sfBalance it forms the trust line's extended balance.

kSmdNeedsAsset is deliberately omitted: that flag rounds the field to
the asset's representable precision via associateAsset(), which is the
opposite of sfDust's purpose (it exists to hold value finer than that
precision).

No writer or consumer of the field yet; that lands in follow-ups.

Additive-only:
- New sfields.macro entry with rationale
- ltRIPPLE_STATE gains an SoeDefault sfDust slot
- Regenerated RippleState.h getters/setters + hasDust
- LedgerEntry.h.mako gains a conditional STNumber.h include so any
  NUMBER-bearing ledger entry pulls STNumber directly (avoids
  transitively relying on STLedgerEntry.h)
- RippleStateTests round-trip and nullopt coverage for sfDust
- .cspell.config.yaml picks up 'recognise*'/'renormalise*' used in
  follow-up docs and code
2026-08-12 18:33:27 +02:00
Ayaz Salikhov
73b6852a12 style: Unify style for all Doxygen comments (#7776) 2026-07-13 10:40:40 +00:00
Vito Tumas
109b649106 refactor: Use STLedgerEntry type aliases instead of std::shared_ptr (#7282) 2026-06-01 15:27:13 +00:00
Ayaz Salikhov
ac33fb32a7 chore: Pin Python packages for codegen using uv (#7329) 2026-05-26 18:35:38 +00:00
Jingchen
a761b0d43c chore: Upgrade mako version (#7108) 2026-05-11 16:32:08 +00:00
Alex Kremer
8995564ed6 refactor: Enable clang-tidy readability-identifier-naming check (#6571) 2026-05-03 10:31:53 +00:00
Sergey Kuznetsov
d52d735543 chore: Move codegen venv setup into build stage (#6617)
Co-authored-by: JCW <a1q123456@users.noreply.github.com>
Co-authored-by: Bart <bthomee@users.noreply.github.com>
2026-04-15 18:50:49 +00:00