MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetAsset

Method GetAsset

src/assetsdir.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54CAsset CAssetsDir::GetAsset(const std::string& label) const
55{
56 auto it = mapAssets.find(label);
57 if (it != mapAssets.end())
58 return it->second;
59 return CAsset();
60}
61
62AssetMetadata CAssetsDir::GetMetadata(const CAsset& asset) const
63{

Callers 15

TxToUnivFunction · 0.80
HasValidFeeFunction · 0.80
GetFeeMapFunction · 0.80
VerifyAmountsFunction · 0.80
VerifyCoinbaseAmountFunction · 0.80
GetAssetFromStringFunction · 0.80
BlindPSBTFunction · 0.80
ConnectBlockMethod · 0.80
VerifyConfidentialPairFunction · 0.80
UnblindConfidentialPairFunction · 0.80
BlindTransactionFunction · 0.80

Calls 3

CAssetClass · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected