#[repr(u8)]
pub enum GlobalCapability {
Show 26 variants CapIhrEnabled, CapCreateStatsEnabled, CapBounceMsgBody, CapReportVersion, CapSplitMergeTransactions, CapShortDequeue, CapMbppEnabled, CapFastStorageStat, CapInitCodeHash, CapOffHypercube, CapMyCode, CapSetLibCode, CapFixTupleIndexBug, CapRemp, CapDelections, CapFullBodyInBounced, CapStorageFeeToTvm, CapCopyleft, CapIndexAccounts, CapDiff, CapsTvmBugfixes2022, CapWorkchains, CapStcontNewFormat, CapFastStorageStatBugfix, CapResolveMerkleCell, CapSignatureWithId,
}
Expand description

Node software capabilities.

Variants§

§

CapIhrEnabled

Instant Hypercube Routing.

Mask: 0x0000001.

§

CapCreateStatsEnabled

Tracking of block collation stats.

Mask: 0x0000002.

§

CapBounceMsgBody

Body (at most 256 bits) in bounced messages.

Mask: 0x0000004.

§

CapReportVersion

Supported software version and capabilities as field in BlockInfo.

Mask: 0x0000008.

§

CapSplitMergeTransactions

Special transactions on split or merge.

Mask: 0x0000010.

§

CapShortDequeue

Short output messages queue.

Mask: 0x0000020.

§

CapMbppEnabled

unknown (possibly just a stub).

Mask: 0x0000040.

§

CapFastStorageStat

Precompute storage stats for cells and use this info for storage phase. NOTE: changes behavior for storage phase, computing stats for non-unique cells.

Mask: 0x0000080

§

CapInitCodeHash

Store init code hash in account state.

Mask: 0x0000100.

§

CapOffHypercube

Disable hypercube for message routing.

Mask: 0x0000200.

§

CapMyCode

MYCODE TVM opcode.

Mask: 0x0000400.

§

CapSetLibCode

CHANGELIB and SETLIBCODE TVM opcodes.

Mask: 0x0000800.

§

CapFixTupleIndexBug

Fix in SETINDEX* TVM opcodes.

Mask: 0x0001000.

§

CapRemp

Reliable External Messaging Protocol.

Mask: 0x0002000.

§

CapDelections

Support for decentralized elections.

Mask: 0x0004000.

§

CapFullBodyInBounced

Full message body in bounced messages (in the first child cell).

Mask: 0x0010000.

§

CapStorageFeeToTvm

STORAGEFEE TVM opcode.

Mask: 0x0020000.

§

CapCopyleft

Support for copyleft messages.

Mask: 0x0040000.

§

CapIndexAccounts

FIND_BY_* TVM opcodes.

Mask: 0x0080000.

§

CapDiff

DIFF*, ZIP, UNZIP TVM opcodes.

Mask: 0x0100000.

§

CapsTvmBugfixes2022

Cumulative patches to TVM and cells (popsave, exception handler, loops).

Mask: 0x0200000.

§

CapWorkchains

Support for message queues between workchains.

Mask: 0x0400000.

§

CapStcontNewFormat

New continuation serialization format.

Mask: 0x0800000.

§

CapFastStorageStatBugfix

Use fast stats for *DATASIZE* TVM opcodes.

Mask: 0x1000000.

§

CapResolveMerkleCell

Add support for transparent loading of merkle cells.

Mask: 0x2000000.

§

CapSignatureWithId

Prepend signature with global_id for TVM.

Mask: 0x4000000.

Trait Implementations§

source§

impl Clone for GlobalCapability

source§

fn clone(&self) -> GlobalCapability

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GlobalCapability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<GlobalCapability> for GlobalCapability

source§

fn eq(&self, other: &GlobalCapability) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for GlobalCapability

source§

impl Eq for GlobalCapability

source§

impl StructuralEq for GlobalCapability

source§

impl StructuralPartialEq for GlobalCapability

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.