chore: add documentation markers for pr-description

This commit is contained in:
Nicholas Dudfield
2026-01-28 14:50:56 +07:00
parent 8500e86f57
commit 38af0626e0
3 changed files with 6 additions and 0 deletions

View File

@@ -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:

View File

@@ -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)

View File

@@ -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
}