#[repr(u64)]
pub enum GlobalCapability {
Show 32 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, CapBounceAfterFailedAction, CapGroth16, CapFeeInGasUnits, CapBigCells, CapSuspendedList, CapFastFinality,
}
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.

§

CapBounceAfterFailedAction

Execute bounce phase even after failed action phase.

Mask: 0x8000000.

§

CapGroth16

Groth16 support in TVM.

Mask: 0x10000000

§

CapFeeInGasUnits

Makes all fees in config in gas units.

Mask: 0x20000000

§

CapBigCells

Big cells support.

Mask: 0x40000000

§

CapSuspendedList

Suspend addresses using a config param.

Mask: 0x80000000

§

CapFastFinality

Adds intershard communication between master blocks.

Mask: 0x100000000

Trait Implementations§

source§

impl BitOr<GlobalCapability> for u64

§

type Output = u64

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: GlobalCapability) -> Self::Output

Performs the | operation. Read more
source§

impl BitOr<u64> for GlobalCapability

§

type Output = u64

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u64) -> Self::Output

Performs the | operation. Read more
source§

impl BitOrAssign<GlobalCapability> for u64

source§

fn bitor_assign(&mut self, rhs: GlobalCapability)

Performs the |= operation. Read more
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<'de> Deserialize<'de> for GlobalCapability

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. 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 Serialize for GlobalCapability

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

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.
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.
source§

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

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,