[CI Skip] 0.32.11
This commit is contained in:
@@ -27,7 +27,7 @@ Overview
|
||||
|
||||
⊕ **new Trie**(db?: *`TxDb`*, rootHash?: *`Uint8Array`*): [Trie](_index_.trie.md)
|
||||
|
||||
*Defined in [index.ts:33](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L33)*
|
||||
*Defined in [index.ts:33](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -50,7 +50,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[db](../interfaces/_types_.triedb.md#db)*
|
||||
|
||||
*Defined in [index.ts:31](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L31)*
|
||||
*Defined in [index.ts:31](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L31)*
|
||||
|
||||
___
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[close](../interfaces/_types_.triedb.md#close)*
|
||||
|
||||
*Defined in [index.ts:81](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L81)*
|
||||
*Defined in [index.ts:81](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L81)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[del](../interfaces/_types_.triedb.md#del)*
|
||||
|
||||
*Defined in [index.ts:105](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L105)*
|
||||
*Defined in [index.ts:105](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L105)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[drop](../interfaces/_types_.triedb.md#drop)*
|
||||
|
||||
*Defined in [index.ts:89](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L89)*
|
||||
*Defined in [index.ts:89](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L89)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -109,7 +109,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[empty](../interfaces/_types_.triedb.md#empty)*
|
||||
|
||||
*Defined in [index.ts:85](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L85)*
|
||||
*Defined in [index.ts:85](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L85)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -122,7 +122,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[get](../interfaces/_types_.triedb.md#get)*
|
||||
|
||||
*Defined in [index.ts:116](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L116)*
|
||||
*Defined in [index.ts:116](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
▸ **getNode**(hash?: *`Uint8Array`*): [Node](../modules/_types_.md#node)
|
||||
|
||||
*Defined in [index.ts:147](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L147)*
|
||||
*Defined in [index.ts:147](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[getRoot](../interfaces/_types_.triedb.md#getroot)*
|
||||
|
||||
*Defined in [index.ts:137](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L137)*
|
||||
*Defined in [index.ts:137](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L137)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[maintain](../interfaces/_types_.triedb.md#maintain)*
|
||||
|
||||
*Defined in [index.ts:93](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L93)*
|
||||
*Defined in [index.ts:93](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L93)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[open](../interfaces/_types_.triedb.md#open)*
|
||||
|
||||
*Defined in [index.ts:77](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L77)*
|
||||
*Defined in [index.ts:77](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L77)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -203,7 +203,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[put](../interfaces/_types_.triedb.md#put)*
|
||||
|
||||
*Defined in [index.ts:125](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L125)*
|
||||
*Defined in [index.ts:125](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L125)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[rename](../interfaces/_types_.triedb.md#rename)*
|
||||
|
||||
*Defined in [index.ts:97](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L97)*
|
||||
*Defined in [index.ts:97](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[setRoot](../interfaces/_types_.triedb.md#setroot)*
|
||||
|
||||
*Defined in [index.ts:151](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L151)*
|
||||
*Defined in [index.ts:151](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L151)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -262,7 +262,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[size](../interfaces/_types_.triedb.md#size)*
|
||||
|
||||
*Defined in [index.ts:101](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L101)*
|
||||
*Defined in [index.ts:101](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L101)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -275,7 +275,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[snapshot](../interfaces/_types_.triedb.md#snapshot)*
|
||||
|
||||
*Defined in [index.ts:156](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L156)*
|
||||
*Defined in [index.ts:156](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L156)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -293,7 +293,7 @@ ___
|
||||
|
||||
▸ **transaction**(fn: *`function`*): `boolean`
|
||||
|
||||
*Defined in [index.ts:57](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/index.ts#L57)*
|
||||
*Defined in [index.ts:57](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/index.ts#L57)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
**BRANCH**: = 3
|
||||
|
||||
*Defined in [types.ts:11](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L11)*
|
||||
*Defined in [types.ts:11](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L11)*
|
||||
|
||||
___
|
||||
<a id="empty"></a>
|
||||
@@ -28,7 +28,7 @@ ___
|
||||
|
||||
**EMPTY**: = 0
|
||||
|
||||
*Defined in [types.ts:8](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L8)*
|
||||
*Defined in [types.ts:8](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L8)*
|
||||
|
||||
___
|
||||
<a id="extension"></a>
|
||||
@@ -37,7 +37,7 @@ ___
|
||||
|
||||
**EXTENSION**: = 2
|
||||
|
||||
*Defined in [types.ts:10](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L10)*
|
||||
*Defined in [types.ts:10](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L10)*
|
||||
|
||||
___
|
||||
<a id="leaf"></a>
|
||||
@@ -46,7 +46,7 @@ ___
|
||||
|
||||
**LEAF**: = 1
|
||||
|
||||
*Defined in [types.ts:9](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L9)*
|
||||
*Defined in [types.ts:9](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L9)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -401,7 +401,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"trie-db","level":"1.3","depth":1,"next":{"title":"trie-hash","level":"1.4","depth":1,"path":"trie-hash/README.md","ref":"trie-hash/README.md","articles":[]},"previous":{"title":"keyring","level":"1.2","depth":1,"path":"keyring/README.md","ref":"keyring/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/common/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot Common Book","gitbook":">=2.4.0"},"file":{"path":"trie-db/README.md","mtime":"2018-10-25T12:11:29.891Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-25T12:12:29.724Z"},"basePath":"..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"trie-db","level":"1.3","depth":1,"next":{"title":"trie-hash","level":"1.4","depth":1,"path":"trie-hash/README.md","ref":"trie-hash/README.md","articles":[]},"previous":{"title":"keyring","level":"1.2","depth":1,"path":"keyring/README.md","ref":"keyring/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/common/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot Common Book","gitbook":">=2.4.0"},"file":{"path":"trie-db/README.md","mtime":"2018-11-01T13:32:40.860Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-01T13:33:38.810Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
**● db**: *`TxDb`*
|
||||
|
||||
*Defined in [types.ts:37](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L37)*
|
||||
*Defined in [types.ts:37](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L37)*
|
||||
|
||||
___
|
||||
|
||||
@@ -32,7 +32,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.close*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:18](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L18)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:18](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L18)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.del*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:26](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L26)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:26](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L26)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.drop*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:20](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L20)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:20](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L20)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.empty*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:21](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L21)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:21](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L21)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.get*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:27](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L27)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:27](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
▸ **getRoot**(): `Uint8Array`
|
||||
|
||||
*Defined in [types.ts:39](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L39)*
|
||||
*Defined in [types.ts:39](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L39)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.maintain*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:22](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L22)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:22](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.open*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:19](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L19)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:19](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L19)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.put*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:28](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L28)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:28](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -172,7 +172,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.rename*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:23](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L23)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:23](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
▸ **setRoot**(rootHash: *`Uint8Array`*): `void`
|
||||
|
||||
*Defined in [types.ts:40](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L40)*
|
||||
*Defined in [types.ts:40](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L40)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -209,7 +209,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.size*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:24](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L24)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:24](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L24)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -220,7 +220,7 @@ ___
|
||||
|
||||
▸ **snapshot**(dest: *[TrieDb](_types_.triedb.md)*, fn: *`ProgressCb`*): `number`
|
||||
|
||||
*Defined in [types.ts:41](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L41)*
|
||||
*Defined in [types.ts:41](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -240,7 +240,7 @@ ___
|
||||
|
||||
*Inherited from TxDb.transaction*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:32](https://github.com/polkadot-js/common/blob/d0291db/packages/db/src/types.d.ts#L32)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.d.ts:32](https://github.com/polkadot-js/common/blob/02d4155/packages/db/src/types.d.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
**Ƭ EncodedPath**: * `Uint8Array` | `null`
|
||||
*
|
||||
|
||||
*Defined in [types.ts:28](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L28)*
|
||||
*Defined in [types.ts:28](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L28)*
|
||||
|
||||
___
|
||||
<a id="node"></a>
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
**Ƭ Node**: * [NodeEmpty](_types_.md#nodeempty) | [NodeNotEmpty](_types_.md#nodenotempty)
|
||||
*
|
||||
|
||||
*Defined in [types.ts:34](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L34)*
|
||||
*Defined in [types.ts:34](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L34)*
|
||||
|
||||
___
|
||||
<a id="nodebranch"></a>
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
**Ƭ NodeBranch**: *[[NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty)]*
|
||||
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L20)*
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L20)*
|
||||
|
||||
___
|
||||
<a id="nodeempty"></a>
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
**Ƭ NodeEmpty**: *`null`*
|
||||
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L14)*
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="nodeencoded"></a>
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
**Ƭ NodeEncoded**: *`Uint8Array`*
|
||||
|
||||
*Defined in [types.ts:16](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L16)*
|
||||
*Defined in [types.ts:16](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L16)*
|
||||
|
||||
___
|
||||
<a id="nodeencodedorempty"></a>
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
**Ƭ NodeEncodedOrEmpty**: * [NodeEncoded](_types_.md#nodeencoded) | [NodeEmpty](_types_.md#nodeempty)
|
||||
*
|
||||
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L18)*
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="nodekv"></a>
|
||||
@@ -88,7 +88,7 @@ ___
|
||||
|
||||
**Ƭ NodeKv**: *[[EncodedPath](_types_.md#encodedpath), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty)]*
|
||||
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L30)*
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="nodenotempty"></a>
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
**Ƭ NodeNotEmpty**: * [NodeKv](_types_.md#nodekv) | [NodeBranch](_types_.md#nodebranch)
|
||||
*
|
||||
|
||||
*Defined in [types.ts:32](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/types.ts#L32)*
|
||||
*Defined in [types.ts:32](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/types.ts#L32)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isBranchNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:57](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/is.ts#L57)*
|
||||
*Defined in [util/is.ts:57](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/is.ts#L57)*
|
||||
|
||||
*__name__*: isBranchNode
|
||||
|
||||
@@ -33,7 +33,7 @@ ___
|
||||
|
||||
▸ **isEmptyNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:17](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/is.ts#L17)*
|
||||
*Defined in [util/is.ts:17](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/is.ts#L17)*
|
||||
|
||||
*__name__*: isEmptyNode
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
▸ **isExtensionNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:37](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/is.ts#L37)*
|
||||
*Defined in [util/is.ts:37](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/is.ts#L37)*
|
||||
|
||||
*__name__*: isExtensionNode
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
▸ **isKvNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:27](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/is.ts#L27)*
|
||||
*Defined in [util/is.ts:27](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/is.ts#L27)*
|
||||
|
||||
*__name__*: isKvNode
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
▸ **isLeafNode**(node: *[Node](_types_.md#node)*): `boolean`
|
||||
|
||||
*Defined in [util/is.ts:47](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/is.ts#L47)*
|
||||
*Defined in [util/is.ts:47](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/is.ts#L47)*
|
||||
|
||||
*__name__*: isLeafNode
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **computeExtensionKey**(nibbles: *`Uint8Array`*): [EncodedPath](_types_.md#encodedpath)
|
||||
|
||||
*Defined in [util/key.ts:50](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L50)*
|
||||
*Defined in [util/key.ts:50](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L50)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -25,7 +25,7 @@ ___
|
||||
|
||||
▸ **computeLeafKey**(nibbles: *`Uint8Array`*): [EncodedPath](_types_.md#encodedpath)
|
||||
|
||||
*Defined in [util/key.ts:54](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L54)*
|
||||
*Defined in [util/key.ts:54](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L54)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
▸ **consumeCommonPrefix**(left: *`Uint8Array`*, right: *`Uint8Array`*): [`Uint8Array`, `Uint8Array`, `Uint8Array`]
|
||||
|
||||
*Defined in [util/key.ts:70](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L70)*
|
||||
*Defined in [util/key.ts:70](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L70)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
▸ **extractKey**(node: *[Node](_types_.md#node)*): `Uint8Array`
|
||||
|
||||
*Defined in [util/key.ts:12](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L12)*
|
||||
*Defined in [util/key.ts:12](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
▸ **getCommonPrefixLength**(left: *`Uint8Array`*, right: *`Uint8Array`*): `number`
|
||||
|
||||
*Defined in [util/key.ts:60](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L60)*
|
||||
*Defined in [util/key.ts:60](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
▸ **keyEquals**(key: * `Uint8Array` | `null`*, test: * `Uint8Array` | `null`*): `boolean`
|
||||
|
||||
*Defined in [util/key.ts:24](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L24)*
|
||||
*Defined in [util/key.ts:24](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -113,7 +113,7 @@ ___
|
||||
|
||||
▸ **keyStartsWith**(key: * `Uint8Array` | `null`*, partial: * `Uint8Array` | `null`*): `boolean`
|
||||
|
||||
*Defined in [util/key.ts:34](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/key.ts#L34)*
|
||||
*Defined in [util/key.ts:34](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/key.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **addNibblesTerminator**(nibbles: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [util/nibbles.ts:22](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/nibbles.ts#L22)*
|
||||
*Defined in [util/nibbles.ts:22](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/nibbles.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -25,7 +25,7 @@ ___
|
||||
|
||||
▸ **decodeNibbles**(value: *[NodeEncodedOrEmpty](_types_.md#nodeencodedorempty)*): `Uint8Array`
|
||||
|
||||
*Defined in [util/nibbles.ts:43](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/nibbles.ts#L43)*
|
||||
*Defined in [util/nibbles.ts:43](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/nibbles.ts#L43)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
▸ **encodeNibbles**(nibbles: *`Uint8Array`*): [NodeEncoded](_types_.md#nodeencoded)
|
||||
|
||||
*Defined in [util/nibbles.ts:56](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/nibbles.ts#L56)*
|
||||
*Defined in [util/nibbles.ts:56](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/nibbles.ts#L56)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
▸ **isNibblesTerminated**(nibbles: *`Uint8Array`*): `boolean`
|
||||
|
||||
*Defined in [util/nibbles.ts:18](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/nibbles.ts#L18)*
|
||||
*Defined in [util/nibbles.ts:18](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/nibbles.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ ___
|
||||
|
||||
▸ **removeNibblesTerminator**(nibbles: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [util/nibbles.ts:35](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/nibbles.ts#L35)*
|
||||
*Defined in [util/nibbles.ts:35](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/nibbles.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **decodeNode**(encoded: * `Uint8Array` | [Node](_types_.md#node)*): [Node](_types_.md#node)
|
||||
|
||||
*Defined in [util/node.ts:31](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/node.ts#L31)*
|
||||
*Defined in [util/node.ts:31](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/node.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -25,7 +25,7 @@ ___
|
||||
|
||||
▸ **encodeNode**(node: *[Node](_types_.md#node)*): `Uint8Array`
|
||||
|
||||
*Defined in [util/node.ts:48](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/node.ts#L48)*
|
||||
*Defined in [util/node.ts:48](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/node.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
▸ **getNodeType**(node: *[Node](_types_.md#node)*): [NodeType](../enums/_types_.nodetype.md)
|
||||
|
||||
*Defined in [util/node.ts:14](https://github.com/polkadot-js/common/blob/d0291db/packages/trie-db/src/util/node.ts#L14)*
|
||||
*Defined in [util/node.ts:14](https://github.com/polkadot-js/common/blob/02d4155/packages/trie-db/src/util/node.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user