ADD: Churn tracker
Current
There are 5 churn epochs, but nobody knows which one we're on, so nodes get confused when they can't leave.
Desired
Add a churn tracker.
On /network
endpoint, add churn_epoch = 0|1|2|3|4|5
- 0 means not churning
- 1-5 means each of the churn cycles
- When finished the churn cycle, then reset back to 0
Churn code https://gitlab.com/thorchain/thornode/-/blob/develop/x/thorchain/manager_validator_v92.go#L37
Edited by THORChain