perf: Replace node ID by depth in TMLedgerNode

This commit is contained in:
Bart
2026-02-11 15:55:16 -05:00
parent 9f17d10348
commit 2d78d41f7b
7 changed files with 108 additions and 49 deletions

View File

@@ -244,7 +244,8 @@ message TMGetObjectByHash {
message TMLedgerNode {
required bytes nodedata = 1;
optional bytes nodeid = 2; // missing for ledger base data
optional bytes nodeid = 2 [deprecated = true];
optional uint32 nodedepth = 3; // missing for ledger base data
}
enum TMLedgerInfoType {

View File

@@ -15,6 +15,7 @@
// Add new amendments to the top of this list.
// Keep it sorted in reverse chronological order.
XRPL_FIX (LedgerNodeDepth, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FIX (PermissionedDomainInvariant, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FIX (ExpiredNFTokenOfferRemoval, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FIX (BatchInnerSigs, Supported::yes, VoteBehavior::DefaultNo)