mirror of https://github.com/hyperledger/besu
Fixes race condition between `NodeAddedListener` and `FullBlockImportStep` (#56)
Fixes race condition between attaching the NodeAddedListener and some state from post marked block being persisted. We now prepare and cleanup the listener only once each, on start and stop respectively. Other changes: Start the Pruner before FullSyncDownloader. Luckily the downloader took enough time to start downloading that this wasn't an issue but it's safer this way. Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>pull/87/head
parent
fad9bf9c34
commit
c6ad0f7705
Loading…
Reference in new issue