mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
Replace the old ltEXPORTED_TXN + ttEXPORT_FINALIZE (validation-based sigs, TxQ injection) approach with a retriable ttEXPORT that collects validator signatures via TMProposeSet during consensus. Added: - terRETRY_EXPORT: keeps tx in retry set across ledger boundaries - tecEXPORT_EXPIRED (200): LLS expiry frees sequence cleanly - sfExportResult (OBJECT 98): signed export result in tx metadata - ExportSigCollector: minimal thread-safe sig tracker - Proposal sig attachment (RCLConsensus) + harvesting (PeerImp) - exportSignatures field in TMProposeSet (ripple.proto) - Metadata plumbing (TxMeta, ApplyViewImpl, ApplyStateTable) - Hook xport() now emits ttEXPORT via normal emitted txn path Removed: - ttEXPORT_FINALIZE (type 90) pseudo-tx and Change::applyExportFinalize - ltEXPORTED_TXN ledger entry and exportedDir/exportedTxn keylets - ExportSignatureCollector (replaced by ExportSigCollector) - TxQ export injection (quorum check + rawTxInsert) - Validation-based export signing in RCLConsensus - Application::getExportSignatureCollector Verified on 5-node testnet: golden path (same-ledger finalization with ExportResult in metadata), degraded path (tecEXPORT_EXPIRED on sub-quorum), and hook xport() path (emitted ttEXPORT with shadow ticket creation).
Proto
This holds protocol buffers source code. The protoc tool stores the output of the .proto files in the build directory.