mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-08 03:06:43 +00:00
chore: add documentation markers for pr-description
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user