Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Wait for block events to backfill in core.App.Start #318
In this PR, the order of initialization is:
The main difference is that we won't send orders to/receive orders from any peers until after backfilling has been completed. This is important because if we are behind on blocks we would have a different picture of which orders are valid/invalid compared to our peers.
@fabioberger this PR will still result in the RPC server starting before backfilling is finished. This is due to the fact that it is started asynchronously outside of
fabioberger left a comment •
I like this approach a lot. I will add the latest block number to the