#[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
impl Clone for GlobalCapability
source§fn clone(&self) -> GlobalCapability
fn clone(&self) -> GlobalCapability
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GlobalCapability
impl Debug for GlobalCapability
source§impl PartialEq<GlobalCapability> for GlobalCapability
impl PartialEq<GlobalCapability> for GlobalCapability
source§fn eq(&self, other: &GlobalCapability) -> bool
fn eq(&self, other: &GlobalCapability) -> bool
self and other values to be equal, and is used
by ==.