Skip to content

Add Designate contract#1950

Merged
shargon merged 12 commits intoneo-project:masterfrom
ZhangTao1596:designate-contract
Sep 23, 2020
Merged

Add Designate contract#1950
shargon merged 12 commits intoneo-project:masterfrom
ZhangTao1596:designate-contract

Conversation

@ZhangTao1596
Copy link

Add designate contract so that we can add more roles in the future.

  • Add DesignateContract
  • Move oracle node list from OracleContract to DesignateContract
  • Add StateValidator node list

@erikzhang @shargon @Tommo-L

Copy link
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks a good design for designating roles on the blockchain, such as the idea of running stateroots on other nodes.
Perhaps this is a good generic change even if we keep stateroort on CN.

@shargon
Copy link
Member

shargon commented Sep 22, 2020

I like the idea, it's more extensible.

@shargon shargon merged commit 98abed0 into neo-project:master Sep 23, 2020
@ZhangTao1596 ZhangTao1596 deleted the designate-contract branch September 24, 2020 05:57
ShawnYun pushed a commit to ShawnYun/neo that referenced this pull request Jan 8, 2021
* add designate contract

* format

* fix

* Some checks

* reorganize file

* Remove empty line

* Update DesignateContract.cs

* ArgumentOutOfRangeException

* Update DesignateContract.cs

* Remove OracleContract.Lists.cs

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: erikzhang <erik@neo.org>
cloud8little pushed a commit to cloud8little/neo that referenced this pull request Jan 24, 2021
* add designate contract

* format

* fix

* Some checks

* reorganize file

* Remove empty line

* Update DesignateContract.cs

* ArgumentOutOfRangeException

* Update DesignateContract.cs

* Remove OracleContract.Lists.cs

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: erikzhang <erik@neo.org>
ixje added a commit to CityOfZion/neo-mamba that referenced this pull request Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants