Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

set_proposed_producers_ex (WTMSig Block Signing) Support #570

Merged
merged 8 commits into from
Aug 9, 2019

Conversation

b1bart
Copy link
Contributor

@b1bart b1bart commented Jul 29, 2019

Change Description

This PR adds support for the set_proposed_producers_ex intrinsic enabled by the WTMSig consensus upgrade to EOSIO: EOSIO/eos#7404

This also fixes attempts to fix an ABI generation issue with variants where certain types were not getting included in the resulting ABI during ABI generation

API Changes

  • API Changes

A new overload is presented for set_proposed_producers which takes a new data structure producer_authority. This data structure represents a Weighted-Threshold Multi-Signature block signing authority which is a superset of what was expressible with a producer_key. The original data structure and function signature remain valid so, this should be a backwards-compatible change for any existing use cases.

new method:

in eosio/privileged.hpp

std::optional<uint64_t> set_proposed_producers( const std::vector<producer_authority>& prods);

Documentation Additions

  • Documentation Additions

See comment strings on new methods and data structures.

@b1bart b1bart merged commit 80c2ba6 into develop Aug 9, 2019
@b1bart b1bart deleted the feature/set_proposed_producers_ex branch August 9, 2019 13:31
rise-worlds pushed a commit to potato-coin/eosio.cdt that referenced this pull request Jul 14, 2020
…s_ex

set_proposed_producers_ex (WTMSig Block Signing) Support
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants