Module db_lookup
darkfi
0.5.0
Module db_
lookup
Module Items
Functions
In darkfi::
runtime::
import::
db
darkfi
::
runtime
::
import
::
db
Module
db_
lookup
Copy item path
Source
Functions
ยง
db_
lookup
๐
Lookup an on-chain database handle from its name. If it exists, push it to the list of db_handles.
db_
lookup_
internal
๐
Internal
db_lookup
function which branches to either on-chain or tx-local.
db_
lookup_
local
๐
Lookup a tx-local database handle from its name. Unlike the on-chain version, this will also initialize the database in-memory if it does not exist and the caller is allowed to write. Then it will push it to the list of transaction-local db_handles.