Build and freeze transaction events in bulk
This commit is contained in:
1 parent
e78c65a36c
commit
75fa1a4f31
10 files changed
+146
-22
No files matched your search
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user