LoadCommittee() gets the ValidatorSet that is authorized to come to Consensus agreement on the Proposal for a specific height/chainId
(rootChainId, rootHeight uint64)
| 210 | |
| 211 | // LoadCommittee() gets the ValidatorSet that is authorized to come to Consensus agreement on the Proposal for a specific height/chainId |
| 212 | func (c *Controller) LoadCommittee(rootChainId, rootHeight uint64) (lib.ValidatorSet, lib.ErrorI) { |
| 213 | return c.RCManager.GetValidatorSet(rootChainId, c.Config.ChainId, rootHeight) |
| 214 | } |
| 215 | |
| 216 | // LoadRootChainOrderBook() gets the order book from the root-chain |
| 217 | func (c *Controller) LoadRootChainOrderBook(rootChainId, rootHeight uint64) (*lib.OrderBook, lib.ErrorI) { |
no test coverage detected