Skip to content

Commit a94e8f7

Browse files
AnnaShalevashargon
andauthored
Add P2PNotary node role for native RoleManagement contract (#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]>
1 parent a37fb79 commit a94e8f7

File tree

1 file changed

+6
-1
lines changed
  • src/Neo.SmartContract.Framework/Native

1 file changed

+6
-1
lines changed

src/Neo.SmartContract.Framework/Native/Role.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ public enum Role : byte
2828
/// <summary>
2929
/// NeoFS Alphabet nodes.
3030
/// </summary>
31-
NeoFSAlphabetNode = 16
31+
NeoFSAlphabetNode = 16,
32+
33+
/// <summary>
34+
/// P2P Notary nodes used to process P2P notary requests.
35+
/// </summary>
36+
P2PNotary = 32
3237
}
3338
}

0 commit comments

Comments
 (0)