core, rpc: add GetCommittee method

Closes #1414
This commit is contained in:
Anna Shaleva 2020-09-21 15:34:04 +03:00
parent dbfdfd8e9b
commit 770c8d774c
7 changed files with 74 additions and 0 deletions

View file

@ -26,6 +26,7 @@ type Blockchainer interface {
Close()
HeaderHeight() uint32
GetBlock(hash util.Uint256) (*block.Block, error)
GetCommittee() (keys.PublicKeys, error)
GetContractState(hash util.Uint160) *state.Contract
GetContractScriptHash(id int32) (util.Uint160, error)
GetEnrollments() ([]state.Validator, error)