Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fremkit
master
Top Level Namespace
Array
Assembler
Curve
Point
DevP2P
Message
Messages
Disconnect
Reason
Hello
Ping
Pong
EVM
EVMRegisters
EVMAssembler
EVMOne
ExecutionContext
Fremkit
Address
Core
Block
MapState
State
TransitionFunction
Tx
Eth
AccountAddress
InvalidAddressFormatException
Net
Disc
V5
NodeID
Server
Service
Trees
MerkleTree
Trie
BranchNode
BranchNodeIndexException
EmptyNode
ExtNode
LeafNode
TrieNode
Utils
RLP
DecodeException
Hash
Int
KeyPair
Object
Registers
Slice
StaticArray
String
Tuple
VM
Built with Crystal 1.9.2
2023-10-07 16:07:13 UTC
class
Fremkit::Trees::Trie::BranchNode
Fremkit::Trees::Trie::BranchNode
Fremkit::Trees::Trie::TrieNode
Reference
Object
Defined in:
common/trie.cr
Instance Method Summary
#[]
(idx : UInt8) : TrieNode | Bytes
#[]=
(idx : UInt8, child : TrieNode | Bytes)
#to_rlp
: Bytes
Instance methods inherited from class
Fremkit::Trees::Trie::TrieNode
hash : Bytes
hash
,
hex_prefix(key : Bytes, leaf?) : Bytes
hex_prefix
Instance methods inherited from class
Object
from_rlp(rlp : Bytes) : Tuple(
self
, UInt32)
from_rlp
,
to_rlp : Bytes
to_rlp
Class methods inherited from class
Object
from_rlp(rlp : Bytes) : Tuple(
self
, UInt32)
from_rlp
Instance Method Detail
def
[]
(idx : UInt8) :
TrieNode
| Bytes
#
[
View source
]
def
[]=
(idx : UInt8, child :
TrieNode
| Bytes)
#
[
View source
]
def
to_rlp
: Bytes
#
[
View source
]