MCPcopy Create free account
hub / github.com/LUX-Core/lux / WriteToken

Method WriteToken

src/walletdb.cpp:1177–1181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1175}
1176
1177bool CWalletDB::WriteToken(const CTokenInfo &wtoken)
1178{
1179 nWalletDBUpdateCounter++;
1180 return Write(std::make_pair(std::string("token"), wtoken.GetHash()), wtoken);
1181}
1182
1183bool CWalletDB::EraseToken(uint256 hash)
1184{

Callers 1

AddTokenEntryMethod · 0.80

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected