Remove depth, do not include node ID for leaf nodes

This commit is contained in:
Bart
2026-02-13 17:05:05 -05:00
parent b2371c4c02
commit 832a7e7e4a
8 changed files with 70 additions and 44 deletions

View File

@@ -244,8 +244,7 @@ message TMGetObjectByHash {
message TMLedgerNode {
required bytes nodedata = 1;
optional bytes nodeid = 2; // Used when fixLedgerNodeDepth is not active.
optional uint32 nodedepth = 3; // Used when fixLedgerNodeDepth is active.
optional bytes nodeid = 2; // missing for ledger base data
}
enum TMLedgerInfoType {

View File

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