Function parity_local_store::create
source · [−]pub fn create<T: NodeInfo>(
db: Arc<dyn KeyValueDB>,
col: Option<u32>,
node: T
) -> LocalDataStore<T>
Expand description
Create a new local data store, given a database, a column to write to, and a node. Attempts to read data out of the store, and move it into the node.