Skip to main content

Enumeration: IntentScope

Byte signifying the scope of an Intent

This enum specifies the intent scope. Two intents for different scopes should never collide, so no signature provided for one intent scope can be used for another, even when the serialized data itself may be the same.

BCS

The BCS serialized form for this type is defined by the following ABNF:

intent-scope = u8

Enumeration Members​

AuthorityCapabilities​

AuthorityCapabilities: 9;

Used for authority capabilities from non-committee authorities.


BridgeEventDeprecated​

BridgeEventDeprecated: 6;

Deprecated. Should not be reused. Introduced for bridge purposes but was never included in messages.


CheckpointSummary​

CheckpointSummary: 2;

Used for an authority signature on a checkpoint summary.


ConsensusBlock​

ConsensusBlock: 7;

Used for consensus authority signature on block's digest.


DiscoveryPeers​

DiscoveryPeers: 8;

Used for reporting peer addresses in discovery


PersonalMessage​

PersonalMessage: 3;

Used for a user signature on a personal message.


ProofOfPossession​

ProofOfPossession: 5;

Used as a signature representing an authority's proof of possession of its authority key.


SenderSignedTransaction​

SenderSignedTransaction: 4;

Used for an authority signature on a user signed transaction.


TransactionData​

TransactionData: 0;

Used for a user signature on a transaction data.


TransactionEffects​

TransactionEffects: 1;

Used for an authority signature on transaction effects.