mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-02 08:16:42 +00:00
Additional support for HookDefinition, HookState, ImportVLSequence at fixPreviousTxnID Amendment
This commit is contained in:
@@ -135,8 +135,16 @@ STLedgerEntry::getJson(JsonOptions options) const
|
||||
bool
|
||||
STLedgerEntry::isThreadedType(Rules const& rules) const
|
||||
{
|
||||
static constexpr std::array<LedgerEntryType, 5> newPreviousTxnIDTypes = {
|
||||
ltDIR_NODE, ltAMENDMENTS, ltFEE_SETTINGS, ltNEGATIVE_UNL, ltAMM};
|
||||
static constexpr std::array<LedgerEntryType, 8> newPreviousTxnIDTypes = {
|
||||
ltDIR_NODE,
|
||||
ltAMENDMENTS,
|
||||
ltFEE_SETTINGS,
|
||||
ltNEGATIVE_UNL,
|
||||
ltAMM,
|
||||
ltHOOK_STATE,
|
||||
ltHOOK_DEFINITION,
|
||||
ltIMPORT_VLSEQ,
|
||||
};
|
||||
// Exclude PrevTxnID/PrevTxnLgrSeq if the fixPreviousTxnID amendment is not
|
||||
// enabled and the ledger object type is in the above set
|
||||
bool const excludePrevTxnID = !rules.enabled(fixPreviousTxnID) &&
|
||||
|
||||
Reference in New Issue
Block a user