diff --git a/src/ripple/app/consensus/RCLConsensus.cpp b/src/ripple/app/consensus/RCLConsensus.cpp index e63c3b20d..7595e5435 100644 --- a/src/ripple/app/consensus/RCLConsensus.cpp +++ b/src/ripple/app/consensus/RCLConsensus.cpp @@ -874,6 +874,7 @@ RCLConsensus::Adaptor::validate( handleNewValidation(app_, v, "local"); + //@@start validate-sign-exports // Sign pending exports and collect signatures for ephemeral broadcasting auto exportSigs = signPendingExports(*ledger.ledger_, app_, j_); @@ -904,6 +905,7 @@ RCLConsensus::Adaptor::validate( << " signatures with validation for seq=" << ledger.seq(); } + //@@end validate-sign-exports app_.overlay().broadcast(val); // Publish to all our subscribers: diff --git a/src/ripple/app/misc/impl/TxQ.cpp b/src/ripple/app/misc/impl/TxQ.cpp index 7071680bb..dc667e13b 100644 --- a/src/ripple/app/misc/impl/TxQ.cpp +++ b/src/ripple/app/misc/impl/TxQ.cpp @@ -1629,6 +1629,7 @@ TxQ::accept(Application& app, OpenView& view) continue; } + //@@start txq-export-quorum-check // Check if we have quorum for this export using ephemeral // signatures collected via validation messages auto& collector = app.getExportSignatureCollector(); @@ -1706,6 +1707,7 @@ TxQ::accept(Application& app, OpenView& view) app.getHashRouter().setFlags(txID, SF_EMITTED); view.rawTxInsert(txID, std::move(s), nullptr); ledgerChanged = true; + //@@end txq-export-quorum-check } catch (std::exception& e) diff --git a/src/ripple/protocol/impl/LedgerFormats.cpp b/src/ripple/protocol/impl/LedgerFormats.cpp index dd98f05bb..afd456b2f 100644 --- a/src/ripple/protocol/impl/LedgerFormats.cpp +++ b/src/ripple/protocol/impl/LedgerFormats.cpp @@ -381,6 +381,7 @@ LedgerFormats::LedgerFormats() }, commonFields); + //@@start lt-exported-txn-format // Signatures are collected ephemerally via TMValidation messages // (ExportSignatureCollector), not stored on-ledger. add(jss::ExportedTxn, @@ -392,6 +393,7 @@ LedgerFormats::LedgerFormats() {sfTransactionHash, soeREQUIRED}, }, commonFields); + //@@end lt-exported-txn-format // clang-format on }