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

Sync native RoleManagement node roles with the Neo core #977

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion src/Neo.SmartContract.Framework/Native/Role.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,24 @@

namespace Neo.SmartContract.Framework.Native
{
/// <summary>
/// Represents the roles in the NEO system.
/// </summary>
public enum Role : byte
{
/// <summary>
/// The validators of state. Used to generate and sign the state root.
/// </summary>
StateValidator = 4,
Oracle = 8

/// <summary>
/// The nodes used to process Oracle requests.
/// </summary>
Oracle = 8,

/// <summary>
/// NeoFS Alphabet nodes.
/// </summary>
NeoFSAlphabetNode = 16
}
}
Loading