[CI Skip] 0.34.1
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
⊕ **new Checkpoint**(rootHash: *`Uint8Array`*): [Checkpoint](_checkpoint_.checkpoint.md)
|
||||
|
||||
*Defined in [Checkpoint.ts:7](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/Checkpoint.ts#L7)*
|
||||
*Defined in [Checkpoint.ts:7](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/Checkpoint.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ Overview
|
||||
|
||||
*Overrides [Checkpoint](_checkpoint_.checkpoint.md).[constructor](_checkpoint_.checkpoint.md#constructor)*
|
||||
|
||||
*Defined in [Impl.ts:38](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/Impl.ts#L38)*
|
||||
*Defined in [Impl.ts:38](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/Impl.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
**● db**: *`TxDb`*
|
||||
|
||||
*Defined in [Impl.ts:36](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/Impl.ts#L36)*
|
||||
*Defined in [Impl.ts:36](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/Impl.ts#L36)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ Overview
|
||||
|
||||
*Overrides [Impl](_impl_.impl.md).[constructor](_impl_.impl.md#constructor)*
|
||||
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L27)*
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -57,7 +57,7 @@ ___
|
||||
|
||||
*Inherited from [Impl](_impl_.impl.md).[db](_impl_.impl.md#db)*
|
||||
|
||||
*Defined in [Impl.ts:36](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/Impl.ts#L36)*
|
||||
*Defined in [Impl.ts:36](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/Impl.ts#L36)*
|
||||
|
||||
___
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[close](../interfaces/_types_.triedb.md#close)*
|
||||
|
||||
*Defined in [index.ts:58](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L58)*
|
||||
*Defined in [index.ts:58](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L58)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[del](../interfaces/_types_.triedb.md#del)*
|
||||
|
||||
*Defined in [index.ts:82](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L82)*
|
||||
*Defined in [index.ts:82](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[drop](../interfaces/_types_.triedb.md#drop)*
|
||||
|
||||
*Defined in [index.ts:66](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L66)*
|
||||
*Defined in [index.ts:66](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L66)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -116,7 +116,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[empty](../interfaces/_types_.triedb.md#empty)*
|
||||
|
||||
*Defined in [index.ts:62](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L62)*
|
||||
*Defined in [index.ts:62](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L62)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[get](../interfaces/_types_.triedb.md#get)*
|
||||
|
||||
*Defined in [index.ts:93](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L93)*
|
||||
*Defined in [index.ts:93](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L93)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
▸ **getNode**(hash?: *`Uint8Array`*): [Node](../modules/_types_.md#node)
|
||||
|
||||
*Defined in [index.ts:124](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L124)*
|
||||
*Defined in [index.ts:124](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L124)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[getRoot](../interfaces/_types_.triedb.md#getroot)*
|
||||
|
||||
*Defined in [index.ts:114](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L114)*
|
||||
*Defined in [index.ts:114](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L114)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -178,7 +178,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[maintain](../interfaces/_types_.triedb.md#maintain)*
|
||||
|
||||
*Defined in [index.ts:70](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L70)*
|
||||
*Defined in [index.ts:70](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L70)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[open](../interfaces/_types_.triedb.md#open)*
|
||||
|
||||
*Defined in [index.ts:54](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L54)*
|
||||
*Defined in [index.ts:54](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L54)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[put](../interfaces/_types_.triedb.md#put)*
|
||||
|
||||
*Defined in [index.ts:102](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L102)*
|
||||
*Defined in [index.ts:102](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L102)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -230,7 +230,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[rename](../interfaces/_types_.triedb.md#rename)*
|
||||
|
||||
*Defined in [index.ts:74](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L74)*
|
||||
*Defined in [index.ts:74](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -250,7 +250,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[setRoot](../interfaces/_types_.triedb.md#setroot)*
|
||||
|
||||
*Defined in [index.ts:128](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L128)*
|
||||
*Defined in [index.ts:128](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -269,7 +269,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[size](../interfaces/_types_.triedb.md#size)*
|
||||
|
||||
*Defined in [index.ts:78](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L78)*
|
||||
*Defined in [index.ts:78](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L78)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -282,7 +282,7 @@ ___
|
||||
|
||||
*Implementation of [TrieDb](../interfaces/_types_.triedb.md).[snapshot](../interfaces/_types_.triedb.md#snapshot)*
|
||||
|
||||
*Defined in [index.ts:133](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L133)*
|
||||
*Defined in [index.ts:133](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L133)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -300,7 +300,7 @@ ___
|
||||
|
||||
▸ **transaction**(fn: *`function`*): `boolean`
|
||||
|
||||
*Defined in [index.ts:34](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/index.ts#L34)*
|
||||
*Defined in [index.ts:34](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/index.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
**BRANCH**: = 3
|
||||
|
||||
*Defined in [types.ts:11](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L11)*
|
||||
*Defined in [types.ts:11](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/types.ts#L8)*
|
||||
*Defined in [types.ts:8](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/types.ts#L10)*
|
||||
*Defined in [types.ts:10](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/types.ts#L9)*
|
||||
*Defined in [types.ts:9](https://github.com/polkadot-js/common/blob/2aba82e/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":"2019-01-23T13:16:20.431Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-23T13:17:24.348Z"},"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":"2019-02-13T15:50:24.357Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-13T15:51:24.854Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
**● db**: *`TxDb`*
|
||||
|
||||
*Defined in [types.ts:37](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L37)*
|
||||
*Defined in [types.ts:37](https://github.com/polkadot-js/common/blob/2aba82e/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.ts:18](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L18)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:18](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L18)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.del*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:26](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L26)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:26](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L26)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.drop*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:20](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L20)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:20](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L20)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.empty*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:21](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L21)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:21](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L21)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.get*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:27](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L27)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:27](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
▸ **getRoot**(): `Uint8Array`
|
||||
|
||||
*Defined in [types.ts:39](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L39)*
|
||||
*Defined in [types.ts:39](https://github.com/polkadot-js/common/blob/2aba82e/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.ts:22](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L22)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:22](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.open*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:19](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L19)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:19](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L19)*
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.put*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:28](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L28)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:28](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -172,7 +172,7 @@ ___
|
||||
|
||||
*Inherited from BaseDb.rename*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:23](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L23)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:23](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
▸ **setRoot**(rootHash: *`Uint8Array`*): `void`
|
||||
|
||||
*Defined in [types.ts:40](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L40)*
|
||||
*Defined in [types.ts:40](https://github.com/polkadot-js/common/blob/2aba82e/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.ts:24](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L24)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:24](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.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/5cb5390/packages/trie-db/src/types.ts#L41)*
|
||||
*Defined in [types.ts:41](https://github.com/polkadot-js/common/blob/2aba82e/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.ts:32](https://github.com/polkadot-js/common/blob/5cb5390/packages/db/src/types.ts#L32)*
|
||||
*Defined in [/home/travis/build/polkadot-js/common/packages/db/src/types.ts:32](https://github.com/polkadot-js/common/blob/2aba82e/packages/db/src/types.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ Constants**: *`object`*
|
||||
|
||||
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/constants.ts#L9)*
|
||||
*Defined in [constants.ts:9](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/constants.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -22,7 +22,7 @@ ___
|
||||
|
||||
▸ **default**(codec: *`Codec`*): `object`
|
||||
|
||||
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/constants.ts#L14)*
|
||||
*Defined in [constants.ts:14](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/constants.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
**Ƭ EncodedPath**: *`Uint8Array` | `null`*
|
||||
|
||||
*Defined in [types.ts:28](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L28)*
|
||||
*Defined in [types.ts:28](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L28)*
|
||||
|
||||
___
|
||||
<a id="node"></a>
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
**Ƭ Node**: *[NodeEmpty](_types_.md#nodeempty) | [NodeNotEmpty](_types_.md#nodenotempty)*
|
||||
|
||||
*Defined in [types.ts:34](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L34)*
|
||||
*Defined in [types.ts:34](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L34)*
|
||||
|
||||
___
|
||||
<a id="nodebranch"></a>
|
||||
@@ -49,7 +49,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/5cb5390/packages/trie-db/src/types.ts#L20)*
|
||||
*Defined in [types.ts:20](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L20)*
|
||||
|
||||
___
|
||||
<a id="nodeempty"></a>
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
**Ƭ NodeEmpty**: *`null`*
|
||||
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L14)*
|
||||
*Defined in [types.ts:14](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="nodeencoded"></a>
|
||||
@@ -67,7 +67,7 @@ ___
|
||||
|
||||
**Ƭ NodeEncoded**: *`Uint8Array`*
|
||||
|
||||
*Defined in [types.ts:16](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L16)*
|
||||
*Defined in [types.ts:16](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L16)*
|
||||
|
||||
___
|
||||
<a id="nodeencodedorempty"></a>
|
||||
@@ -76,7 +76,7 @@ ___
|
||||
|
||||
**Ƭ NodeEncodedOrEmpty**: *[NodeEncoded](_types_.md#nodeencoded) | [NodeEmpty](_types_.md#nodeempty)*
|
||||
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L18)*
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="nodekv"></a>
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
**Ƭ NodeKv**: *[[EncodedPath](_types_.md#encodedpath), [NodeEncodedOrEmpty](_types_.md#nodeencodedorempty)]*
|
||||
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L30)*
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/types.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="nodenotempty"></a>
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
**Ƭ NodeNotEmpty**: *[NodeKv](_types_.md#nodekv) | [NodeBranch](_types_.md#nodebranch)*
|
||||
|
||||
*Defined in [types.ts:32](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/types.ts#L32)*
|
||||
*Defined in [types.ts:32](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/util/is.ts#L57)*
|
||||
*Defined in [util/is.ts:57](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/util/is.ts#L17)*
|
||||
*Defined in [util/is.ts:17](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/util/is.ts#L37)*
|
||||
*Defined in [util/is.ts:37](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/util/is.ts#L27)*
|
||||
*Defined in [util/is.ts:27](https://github.com/polkadot-js/common/blob/2aba82e/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/5cb5390/packages/trie-db/src/util/is.ts#L47)*
|
||||
*Defined in [util/is.ts:47](https://github.com/polkadot-js/common/blob/2aba82e/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:36](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/key.ts#L36)*
|
||||
*Defined in [util/key.ts:36](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/key.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -25,7 +25,7 @@ ___
|
||||
|
||||
▸ **computeLeafKey**(nibbles: *`Uint8Array`*): [EncodedPath](_types_.md#encodedpath)
|
||||
|
||||
*Defined in [util/key.ts:40](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/key.ts#L40)*
|
||||
*Defined in [util/key.ts:40](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/key.ts#L40)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
▸ **consumeCommonPrefix**(left: *`Uint8Array`*, right: *`Uint8Array`*): [`Uint8Array`, `Uint8Array`, `Uint8Array`]
|
||||
|
||||
*Defined in [util/key.ts:56](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/key.ts#L56)*
|
||||
*Defined in [util/key.ts:56](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/key.ts#L56)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
▸ **getCommonPrefixLength**(left: *`Uint8Array`*, right: *`Uint8Array`*): `number`
|
||||
|
||||
*Defined in [util/key.ts:46](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/key.ts#L46)*
|
||||
*Defined in [util/key.ts:46](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/key.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
▸ **keyEquals**(key: *`Uint8Array` | `null`*, test: *`Uint8Array` | `null`*): `boolean`
|
||||
|
||||
*Defined in [util/key.ts:10](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/key.ts#L10)*
|
||||
*Defined in [util/key.ts:10](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/key.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
▸ **keyStartsWith**(key: *`Uint8Array` | `null`*, partial: *`Uint8Array` | `null`*): `boolean`
|
||||
|
||||
*Defined in [util/key.ts:20](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/key.ts#L20)*
|
||||
*Defined in [util/key.ts:20](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/key.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **decodeNode**(codec: *`Codec`*, encoded: *`Uint8Array` | [Node](_types_.md#node)*): [Node](_types_.md#node)
|
||||
|
||||
*Defined in [util/node.ts:30](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/node.ts#L30)*
|
||||
*Defined in [util/node.ts:30](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/node.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -26,7 +26,7 @@ ___
|
||||
|
||||
▸ **encodeNode**(codec: *`Codec`*, node: *[Node](_types_.md#node)*): `Uint8Array`
|
||||
|
||||
*Defined in [util/node.ts:46](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/node.ts#L46)*
|
||||
*Defined in [util/node.ts:46](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/node.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -44,7 +44,7 @@ ___
|
||||
|
||||
▸ **getNodeType**(node: *[Node](_types_.md#node)*): [NodeType](../enums/_types_.nodetype.md)
|
||||
|
||||
*Defined in [util/node.ts:13](https://github.com/polkadot-js/common/blob/5cb5390/packages/trie-db/src/util/node.ts#L13)*
|
||||
*Defined in [util/node.ts:13](https://github.com/polkadot-js/common/blob/2aba82e/packages/trie-db/src/util/node.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user