MCPcopy Create free account
hub / github.com/bcndev/bytecoin / get_is_hardware

Method get_is_hardware

src/Core/WalletHDsqlite.cpp:288–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288bool WalletHDsqlite::get_is_hardware() const {
289 sqlite::Stmt stmt_get;
290 stmt_get.prepare(m_db_dbi, "SELECT value FROM unencrypted WHERE key = 'is_hardware'");
291 return stmt_get.step();
292}
293
294void WalletHDsqlite::put(const std::string &key, const BinaryArray &value, bool nooverwrite) {
295 Hash key_hash = derive_from_key(m_wallet_key, "db_parameters" + key);

Callers

nothing calls this directly

Calls 2

stepMethod · 0.80
prepareMethod · 0.45

Tested by

no test coverage detected