-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update PolicyContract methods (#806)
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/Neo.SmartContract.Framework/Native/TransactionAttributeType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
namespace Neo.SmartContract.Framework.Native | ||
{ | ||
/// <summary> | ||
/// Represents the type of a <see cref="TransactionAttribute"/>. | ||
/// </summary> | ||
public enum TransactionAttributeType : byte | ||
{ | ||
/// <summary> | ||
/// Indicates that the transaction is of high priority. | ||
/// </summary> | ||
HighPriority = 0x01, | ||
|
||
/// <summary> | ||
/// Indicates that the transaction is an oracle response. | ||
/// </summary> | ||
OracleResponse = 0x11, | ||
|
||
/// <summary> | ||
/// Indicates that the transaction is not valid before <see cref="NotValidBefore.Height"/>. | ||
/// </summary> | ||
NotValidBefore = 0x20, | ||
|
||
/// <summary> | ||
/// Indicates that the transaction conflicts with <see cref="Conflicts.Hash"/>. | ||
/// </summary> | ||
Conflicts = 0x21 | ||
} | ||
} |