Reads the value stored under a key.

Synopsis

Declared in <wallet/db.h>

template<
    typename K,
    typename T>
bool
Read(
    K const& key,
    T& value);

Return Value

true if the record was found and read.

Parameters

Name

Description

key

The key to look up.

value

Receives the deserialized value on success.

Created with MrDocs