Writes a value under a key.
Synopsis
Declared in <wallet/db.h>
template<
typename K,
typename T>
bool
Write(
K const& key,
T const& value,
bool fOverwrite = true);
Return Value
true if the record was written.
Parameters
Name |
Description |
key |
The key to write. |
value |
The value to store. |
fOverwrite |
Whether to overwrite an existing record. |
Created with MrDocs