lightchain icon indicating copy to clipboard operation
lightchain copied to clipboard

Refactor node booting process, each node should spawn in a separate goroutine

Open EnchanterIO opened this issue 7 years ago • 0 comments

Instead of a blocking call, nodes that depend on each other should use a channel for communication indicating when they are fully booted so the dependent nodes can boot as well. The same applies to shutdown, we should first shutdown the ABCI, then wait till it's full shutdown and then flush the ethereum changes to disk etc.

EnchanterIO avatar Mar 06 '19 10:03 EnchanterIO