Skip to content

Draft: `get_active_witnesses` and `get_witness_schedule` extended.

Andrzej Lisak requested to merge abw_wso_related_api_extended into develop

These calls are in various APIs: database_api (actual implementation), condenser_api, wallet_bridge_api (and as a result in wallet as well). The extension is a future bool parameter which when set makes the calls return data from future witness schedule object.

Also fixed problem with value of next_shuffle_block_num returned from get_witness_schedule - since the value was from active schedule, it was effectively in the past. The fix always takes that value from the object that is actually being shuffled, that is, future schedule after HF26.

Needs test-tools!99 (merged)

Most likely to be replaced by !743 (merged).

Edited by Andrzej Lisak

Merge request reports