lukso-network / lukso-orchestrator

Orchestrating the dance of vanguard and pandora.
Apache License 2.0
6 stars 7 forks source link

Provide `minimalConsensusInfo` endpoint for pandora client #11

Closed blazejkrzak closed 3 years ago

blazejkrzak commented 3 years ago

Handler for:

pan > orc : get validator list (committee) of epoch(s):
   (OVER PUSH, WSS/IPC; `orc_subscribe`; params; ['minimalConsensusInfo', {fromEpoch: number}]
   -> {... "result":"0xcd0c3e8af590364c09d0fa6a1210faf5"}}
   notification: {..., "method":"orc_subscription","params": {"subscription":"0xcd0c3e8af590364c09d0fa6a1210faf5","result": {
     "epoch": 0,
     "validatorList": ["BLS_KEY1", "BLS_KEY2", ...], // turn 0-31
     "epochTimeStart": 1615845764,
     "slotTimeDuration": 6
}})) // fires for each information set