141 lines
3.6 KiB
Markdown
141 lines
3.6 KiB
Markdown
|
|
|
|
# Variables
|
|
|
|
<a id="branch_node_no_value"></a>
|
|
|
|
## `<Const>` BRANCH_NODE_NO_VALUE
|
|
|
|
**● BRANCH_NODE_NO_VALUE**: *`254`* = 254
|
|
|
|
*Defined in [constants.ts:10](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L10)*
|
|
|
|
___
|
|
<a id="branch_node_with_value"></a>
|
|
|
|
## `<Const>` BRANCH_NODE_WITH_VALUE
|
|
|
|
**● BRANCH_NODE_WITH_VALUE**: *`255`* = 255
|
|
|
|
*Defined in [constants.ts:11](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L11)*
|
|
|
|
___
|
|
<a id="empty_trie"></a>
|
|
|
|
## `<Const>` EMPTY_TRIE
|
|
|
|
**● EMPTY_TRIE**: *`0`* = 0
|
|
|
|
*Defined in [constants.ts:5](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L5)*
|
|
|
|
___
|
|
<a id="extension_node_big"></a>
|
|
|
|
## `<Const>` EXTENSION_NODE_BIG
|
|
|
|
**● EXTENSION_NODE_BIG**: *`253`* = 253
|
|
|
|
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L9)*
|
|
|
|
___
|
|
<a id="extension_node_offset"></a>
|
|
|
|
## `<Const>` EXTENSION_NODE_OFFSET
|
|
|
|
**● EXTENSION_NODE_OFFSET**: *`128`* = 128
|
|
|
|
*Defined in [constants.ts:8](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L8)*
|
|
|
|
___
|
|
<a id="extension_node_small_max"></a>
|
|
|
|
## `<Const>` EXTENSION_NODE_SMALL_MAX
|
|
|
|
**● EXTENSION_NODE_SMALL_MAX**: *`number`* = EXTENSION_NODE_BIG - 1
|
|
|
|
*Defined in [constants.ts:15](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L15)*
|
|
|
|
___
|
|
<a id="extension_node_threshold"></a>
|
|
|
|
## `<Const>` EXTENSION_NODE_THRESHOLD
|
|
|
|
**● EXTENSION_NODE_THRESHOLD**: *`number`* = EXTENSION_NODE_BIG - EXTENSION_NODE_OFFSET
|
|
|
|
*Defined in [constants.ts:13](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L13)*
|
|
|
|
___
|
|
<a id="leaf_node_big"></a>
|
|
|
|
## `<Const>` LEAF_NODE_BIG
|
|
|
|
**● LEAF_NODE_BIG**: *`127`* = 127
|
|
|
|
*Defined in [constants.ts:7](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L7)*
|
|
|
|
___
|
|
<a id="leaf_node_offset"></a>
|
|
|
|
## `<Const>` LEAF_NODE_OFFSET
|
|
|
|
**● LEAF_NODE_OFFSET**: *`1`* = 1
|
|
|
|
*Defined in [constants.ts:6](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L6)*
|
|
|
|
___
|
|
<a id="leaf_node_small_max"></a>
|
|
|
|
## `<Const>` LEAF_NODE_SMALL_MAX
|
|
|
|
**● LEAF_NODE_SMALL_MAX**: *`number`* = LEAF_NODE_BIG - 1
|
|
|
|
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L14)*
|
|
|
|
___
|
|
<a id="leaf_node_threshold"></a>
|
|
|
|
## `<Const>` LEAF_NODE_THRESHOLD
|
|
|
|
**● LEAF_NODE_THRESHOLD**: *`number`* = LEAF_NODE_BIG - LEAF_NODE_OFFSET
|
|
|
|
*Defined in [constants.ts:12](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L12)*
|
|
|
|
___
|
|
<a id="node_type_branch"></a>
|
|
|
|
## `<Const>` NODE_TYPE_BRANCH
|
|
|
|
**● NODE_TYPE_BRANCH**: *`1`* = 1
|
|
|
|
*Defined in [constants.ts:17](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L17)*
|
|
|
|
___
|
|
<a id="node_type_ext"></a>
|
|
|
|
## `<Const>` NODE_TYPE_EXT
|
|
|
|
**● NODE_TYPE_EXT**: *`2`* = 2
|
|
|
|
*Defined in [constants.ts:18](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L18)*
|
|
|
|
___
|
|
<a id="node_type_leaf"></a>
|
|
|
|
## `<Const>` NODE_TYPE_LEAF
|
|
|
|
**● NODE_TYPE_LEAF**: *`3`* = 3
|
|
|
|
*Defined in [constants.ts:19](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L19)*
|
|
|
|
___
|
|
<a id="node_type_null"></a>
|
|
|
|
## `<Const>` NODE_TYPE_NULL
|
|
|
|
**● NODE_TYPE_NULL**: *`0`* = 0
|
|
|
|
*Defined in [constants.ts:16](https://github.com/polkadot-js/common/blob/24cd64c/packages/trie-codec/src/constants.ts#L16)*
|
|
|
|
___
|
|
|