GetValidators retrieves the Validators at a given block.
(number rpc.BlockNumber)
| 58 | |
| 59 | // GetValidators retrieves the Validators at a given block. |
| 60 | func (api *API) GetValidators(number rpc.BlockNumber) ([]common.Address, error) { |
| 61 | return api.dpor.ValidatorsOf(uint64(number)) |
| 62 | } |
| 63 | |
| 64 | // GetRNodes retrieves current RNodes. |
| 65 | func (api *API) GetRNodes() ([]common.Address, error) { |
no test coverage detected