iotaledger / inx-tendercoo

INX-Tendercoo enables a committee of validators to operate as a distributed Coordinator using Tendermint Core BFT consensus.
Apache License 2.0
1 stars 0 forks source link

Fix: Update NodeStatus #61

Closed Wollac closed 1 year ago

Wollac commented 1 year ago

NodeBridge.NodeStatus() can only be used properly in the run stage of plugin initialization, since it requires the INX core plugin to be running. Previously, NodeStatus was also used in the provide stage of plugin initialization which led to unexpected behavior.

This is fixed in the current PR, by no longer providing the Tendermint node. Instead the entire creation and configuration happens in a background worker. This worker performs the following steps: