mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Don't dump blockchain data during initial parsing
This commit is contained in:
parent
3c1e236ed0
commit
b623092afb
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,8 @@ public class ExportJsonFilesService implements DaoSetupService {
|
|||
}
|
||||
|
||||
public void maybeExportToJson() {
|
||||
if (dumpBlockchainData) {
|
||||
if (dumpBlockchainData &&
|
||||
daoStateService.isParseBlockChainComplete()) {
|
||||
// We store the data we need once we write the data to disk (in the thread) locally.
|
||||
// Access to daoStateService is single threaded, we must not access daoStateService from the thread.
|
||||
List<JsonTxOutput> allJsonTxOutputs = new ArrayList<>();
|
||||
|
|
Loading…
Add table
Reference in a new issue