Build and freeze transaction events in bulk

This commit is contained in:
eyck committed 2026-11-14 17:38:02 +01:00
1 parent e78c65a36c
commit 75fa1a4f31
10 files changed
+146 -22

No files matched your search

@@ -82,6 +82,9 @@ class TxStream extends AbstractTxStream {
try {
int blockId = 0;
for (byte[] chunk : getChunks()) loader.parseTx(this, blockId++, chunk);
finishEvents();
for (com.minres.scviewer.database.IHierNode child : getChildNodes())
((TxGenerator) child).finishEvents();
return Boolean.TRUE;
} catch (InputFormatException | IOException e) {
throw new IllegalStateException("Cannot parse stream " + getFullName(), e);