- Preparing search index...
- The search index is not available
snarky-smt
Methods
clear
- clear(): Promise<void>
-
Returns Promise<void>
clearPrepareOperationCache
- clearPrepareOperationCache(): void
-
Returns void
commit
- commit(): Promise<void>
-
Returns Promise<void>
getNodes
- getNodes(key: Field): Promise<Field[]>
-
Returns Promise<Field[]>
getRoot
- getRoot(): Promise<Field>
-
Returns Promise<Field>
getValue
- getValue(key: Field): Promise<V>
-
Returns Promise<V>
Optional
getValuesMap
- getValuesMap(): Promise<Map<string, V>>
-
Returns Promise<Map<string, V>>
prepareDelNodes
- prepareDelNodes(key: Field): void
-
Returns void
prepareDelValue
- prepareDelValue(path: Field): void
-
Returns void
preparePutNodes
- preparePutNodes(key: Field, value: Field[]): void
-
Parameters
-
key: Field
-
value: Field[]
Returns void
preparePutValue
- preparePutValue(path: Field, value: V): void
-
Returns void
prepareUpdateRoot
- prepareUpdateRoot(root: Field): void
-
Returns void
Store is a key-value store interface
Interface
Store