Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the committee to block a member from the committee #2695

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

erikzhang
Copy link
Member

No description provided.

@erikzhang
Copy link
Member Author

@neo-project/core

@roman-khimov
Copy link
Contributor

Seems somewhat weird, but blocked account is blocked account. If we have blocking/unblocking capability the policy should be enforced by all of the components.

@superboyiii superboyiii mentioned this pull request Apr 15, 2022
18 tasks
Copy link
Member

@shargon shargon left a comment

Choose a reason for hiding this comment

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

I'm a little concern about how much time it could expend with a lot of registered accounts

@superboyiii could you test it?

@ProDog

This comment was marked as outdated.

@ProDog

This comment was marked as outdated.

@ProDog
Copy link
Contributor

ProDog commented Apr 17, 2022

If the newly registered consensus address is blocked, everything is normal, the next committee becomes consensus, and the number of committees will not change.

Before block:

Candidates:
02c93fda004baccb675652854aae4543ccb5bb246714078bff48de2ac5368ff788      20000000
02eaf215286a48c2748bf74a49d204aedb3b8cf2e84aaea0a0c019d8c98a3ca3a7      5000000
0357f0a6b00a17fea94f2205928c1ad745f6d6d013ad7b23ea2617b83e96e361ea      15000000
03950dcace27cf4093b16a5c7a23d5bbfcd3e6ac5a0d5c0204a219c232a6bd54a0      30000000
03e7565a5e9c20a638ac0f734f616ca05b6b35eb5e0a5e6f658dbb1832348ca4b6      20000000
03e95734dbea832081b60d92dd17d404ee1296bf53f9cd853eb309ee78c84476f1      10000000
Committee:
0357f0a6b00a17fea94f2205928c1ad745f6d6d013ad7b23ea2617b83e96e361ea
03950dcace27cf4093b16a5c7a23d5bbfcd3e6ac5a0d5c0204a219c232a6bd54a0
02c93fda004baccb675652854aae4543ccb5bb246714078bff48de2ac5368ff788
03e7565a5e9c20a638ac0f734f616ca05b6b35eb5e0a5e6f658dbb1832348ca4b6
03e95734dbea832081b60d92dd17d404ee1296bf53f9cd853eb309ee78c84476f1
Next validators:
0357f0a6b00a17fea94f2205928c1ad745f6d6d013ad7b23ea2617b83e96e361ea
03950dcace27cf4093b16a5c7a23d5bbfcd3e6ac5a0d5c0204a219c232a6bd54a0
03e7565a5e9c20a638ac0f734f616ca05b6b35eb5e0a5e6f658dbb1832348ca4b6
02c93fda004baccb675652854aae4543ccb5bb246714078bff48de2ac5368ff788

After block 02c93fda004baccb675652854aae4543ccb5bb246714078bff48de2ac5368ff788:

Candidates:
02c93fda004baccb675652854aae4543ccb5bb246714078bff48de2ac5368ff788      20000000
02eaf215286a48c2748bf74a49d204aedb3b8cf2e84aaea0a0c019d8c98a3ca3a7      5000000
0357f0a6b00a17fea94f2205928c1ad745f6d6d013ad7b23ea2617b83e96e361ea      15000000
03950dcace27cf4093b16a5c7a23d5bbfcd3e6ac5a0d5c0204a219c232a6bd54a0      30000000
03e7565a5e9c20a638ac0f734f616ca05b6b35eb5e0a5e6f658dbb1832348ca4b6      20000000
03e95734dbea832081b60d92dd17d404ee1296bf53f9cd853eb309ee78c84476f1      10000000
Committee:
0357f0a6b00a17fea94f2205928c1ad745f6d6d013ad7b23ea2617b83e96e361ea
03950dcace27cf4093b16a5c7a23d5bbfcd3e6ac5a0d5c0204a219c232a6bd54a0
03e7565a5e9c20a638ac0f734f616ca05b6b35eb5e0a5e6f658dbb1832348ca4b6
03e95734dbea832081b60d92dd17d404ee1296bf53f9cd853eb309ee78c84476f1
02eaf215286a48c2748bf74a49d204aedb3b8cf2e84aaea0a0c019d8c98a3ca3a7
Next validators:
0357f0a6b00a17fea94f2205928c1ad745f6d6d013ad7b23ea2617b83e96e361ea
03950dcace27cf4093b16a5c7a23d5bbfcd3e6ac5a0d5c0204a219c232a6bd54a0
03e7565a5e9c20a638ac0f734f616ca05b6b35eb5e0a5e6f658dbb1832348ca4b6
03e95734dbea832081b60d92dd17d404ee1296bf53f9cd853eb309ee78c84476f1

@erikzhang erikzhang merged commit b01c211 into 3.2.1 Apr 17, 2022
@erikzhang erikzhang deleted the block-committee branch April 17, 2022 04:10
erikzhang added a commit that referenced this pull request Apr 18, 2022
* Devhawk/getAddressVersion2 (#2689)

* Fix fee in NativeContract.Invoke (#2692)

* GetTransaction signers (#2685)

* Allow the committee to block a member from the committee (#2695)
ixje added a commit to CityOfZion/neo-mamba that referenced this pull request Apr 20, 2022
ixje added a commit to CityOfZion/neo-mamba that referenced this pull request Apr 20, 2022
roman-khimov added a commit to nspcc-dev/neo-go that referenced this pull request Apr 27, 2022
AnnaShaleva pushed a commit to nspcc-dev/neo-go that referenced this pull request Apr 29, 2022
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