Skip to content

Commit

Permalink
Add P2PNotary node role for native RoleManagement contract (neo-proje…
Browse files Browse the repository at this point in the history
…ct#978)

* Keep native RoleManagement roles in sync with Neo core

Add missing NeoFSAlphabetNode role. We should keep this list in sync
with Core so that users are able to use these roles.

Signed-off-by: Anna Shaleva <[email protected]>

* Add documentation to native RoleManagement roles

It's nice when user-facing things are well-documented.

Signed-off-by: Anna Shaleva <[email protected]>

* Add P2PNotary node role for native RoleManagement contract

Port neo-project/neo#3172.

Signed-off-by: Anna Shaleva <[email protected]>

---------

Signed-off-by: Anna Shaleva <[email protected]>
Co-authored-by: Shargon <[email protected]>
  • Loading branch information
2 people authored and cschuchardt88 committed Mar 21, 2024
1 parent d647958 commit a75c4c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Neo.SmartContract.Framework/Native/Role.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ public enum Role : byte
/// <summary>
/// NeoFS Alphabet nodes.
/// </summary>
NeoFSAlphabetNode = 16
NeoFSAlphabetNode = 16,

/// <summary>
/// P2P Notary nodes used to process P2P notary requests.
/// </summary>
P2PNotary = 32
}
}

0 comments on commit a75c4c4

Please sign in to comment.