1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[84],{509:function(t,e,n){"use strict";n.r(e);var o=n(46),a=Object(o.a)({},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"variables"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#variables","aria-hidden":"true"}},[t._v("#")]),t._v(" Variables")]),t._v(" "),n("p",[n("a",{attrs:{id:"branch_node_no_value"}})]),t._v(" "),n("h2",{attrs:{id:"const-branch-node-no-value"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-branch-node-no-value","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" BRANCH_NODE_NO_VALUE")]),t._v(" "),n("p",[n("strong",[t._v("● BRANCH_NODE_NO_VALUE")]),t._v(": "),n("em",[n("code",[t._v("254")])]),t._v(" = 254")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L10",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:10"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"branch_node_with_value"}})]),t._v(" "),n("h2",{attrs:{id:"const-branch-node-with-value"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-branch-node-with-value","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" BRANCH_NODE_WITH_VALUE")]),t._v(" "),n("p",[n("strong",[t._v("● BRANCH_NODE_WITH_VALUE")]),t._v(": "),n("em",[n("code",[t._v("255")])]),t._v(" = 255")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L11",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:11"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"empty_trie"}})]),t._v(" "),n("h2",{attrs:{id:"const-empty-trie"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-empty-trie","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" EMPTY_TRIE")]),t._v(" "),n("p",[n("strong",[t._v("● EMPTY_TRIE")]),t._v(": "),n("em",[n("code",[t._v("0")])]),t._v(" = 0")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L5",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:5"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"extension_node_big"}})]),t._v(" "),n("h2",{attrs:{id:"const-extension-node-big"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-extension-node-big","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" EXTENSION_NODE_BIG")]),t._v(" "),n("p",[n("strong",[t._v("● EXTENSION_NODE_BIG")]),t._v(": "),n("em",[n("code",[t._v("253")])]),t._v(" = 253")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L9",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:9"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"extension_node_offset"}})]),t._v(" "),n("h2",{attrs:{id:"const-extension-node-offset"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-extension-node-offset","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" EXTENSION_NODE_OFFSET")]),t._v(" "),n("p",[n("strong",[t._v("● EXTENSION_NODE_OFFSET")]),t._v(": "),n("em",[n("code",[t._v("128")])]),t._v(" = 128")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L8",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:8"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"extension_node_small_max"}})]),t._v(" "),n("h2",{attrs:{id:"const-extension-node-small-max"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-extension-node-small-max","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" EXTENSION_NODE_SMALL_MAX")]),t._v(" "),n("p",[n("strong",[t._v("● EXTENSION_NODE_SMALL_MAX")]),t._v(": "),n("em",[n("code",[t._v("number")])]),t._v(" = EXTENSION_NODE_BIG - 1")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L15",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:15"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"extension_node_threshold"}})]),t._v(" "),n("h2",{attrs:{id:"const-extension-node-threshold"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-extension-node-threshold","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" EXTENSION_NODE_THRESHOLD")]),t._v(" "),n("p",[n("strong",[t._v("● EXTENSION_NODE_THRESHOLD")]),t._v(": "),n("em",[n("code",[t._v("number")])]),t._v(" = EXTENSION_NODE_BIG - EXTENSION_NODE_OFFSET")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L13",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:13"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"leaf_node_big"}})]),t._v(" "),n("h2",{attrs:{id:"const-leaf-node-big"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-leaf-node-big","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" LEAF_NODE_BIG")]),t._v(" "),n("p",[n("strong",[t._v("● LEAF_NODE_BIG")]),t._v(": "),n("em",[n("code",[t._v("127")])]),t._v(" = 127")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L7",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:7"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"leaf_node_offset"}})]),t._v(" "),n("h2",{attrs:{id:"const-leaf-node-offset"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-leaf-node-offset","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" LEAF_NODE_OFFSET")]),t._v(" "),n("p",[n("strong",[t._v("● LEAF_NODE_OFFSET")]),t._v(": "),n("em",[n("code",[t._v("1")])]),t._v(" = 1")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L6",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:6"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"leaf_node_small_max"}})]),t._v(" "),n("h2",{attrs:{id:"const-leaf-node-small-max"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-leaf-node-small-max","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" LEAF_NODE_SMALL_MAX")]),t._v(" "),n("p",[n("strong",[t._v("● LEAF_NODE_SMALL_MAX")]),t._v(": "),n("em",[n("code",[t._v("number")])]),t._v(" = LEAF_NODE_BIG - 1")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L14",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:14"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"leaf_node_threshold"}})]),t._v(" "),n("h2",{attrs:{id:"const-leaf-node-threshold"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-leaf-node-threshold","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" LEAF_NODE_THRESHOLD")]),t._v(" "),n("p",[n("strong",[t._v("● LEAF_NODE_THRESHOLD")]),t._v(": "),n("em",[n("code",[t._v("number")])]),t._v(" = LEAF_NODE_BIG - LEAF_NODE_OFFSET")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L12",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:12"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"node_type_branch"}})]),t._v(" "),n("h2",{attrs:{id:"const-node-type-branch"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-node-type-branch","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" NODE_TYPE_BRANCH")]),t._v(" "),n("p",[n("strong",[t._v("● NODE_TYPE_BRANCH")]),t._v(": "),n("em",[n("code",[t._v("1")])]),t._v(" = 1")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L17",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:17"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"node_type_ext"}})]),t._v(" "),n("h2",{attrs:{id:"const-node-type-ext"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-node-type-ext","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" NODE_TYPE_EXT")]),t._v(" "),n("p",[n("strong",[t._v("● NODE_TYPE_EXT")]),t._v(": "),n("em",[n("code",[t._v("2")])]),t._v(" = 2")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L18",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:18"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"node_type_leaf"}})]),t._v(" "),n("h2",{attrs:{id:"const-node-type-leaf"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-node-type-leaf","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" NODE_TYPE_LEAF")]),t._v(" "),n("p",[n("strong",[t._v("● NODE_TYPE_LEAF")]),t._v(": "),n("em",[n("code",[t._v("3")])]),t._v(" = 3")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L19",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:19"),n("OutboundLink")],1)])]),t._v(" "),n("hr"),t._v(" "),n("p",[n("a",{attrs:{id:"node_type_null"}})]),t._v(" "),n("h2",{attrs:{id:"const-node-type-null"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#const-node-type-null","aria-hidden":"true"}},[t._v("#")]),t._v(" "),n("code",[t._v("<Const>")]),t._v(" NODE_TYPE_NULL")]),t._v(" "),n("p",[n("strong",[t._v("● NODE_TYPE_NULL")]),t._v(": "),n("em",[n("code",[t._v("0")])]),t._v(" = 0")]),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/e397016/packages/trie-codec/src/constants.ts#L16",target:"_blank",rel:"noopener noreferrer"}},[t._v("constants.ts:16"),n("OutboundLink")],1)])]),t._v(" "),n("hr")])},[],!1,null,null,null);e.default=a.exports}}]); |