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

Method ToString

src/wallet/spend.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35std::string COutput::ToString(const CWallet& wallet) const
36{
37 return strprintf("COutput(%s, %d, %d) [%s] [%s]", tx->GetHash().ToString(), i, nDepth, FormatMoney(tx->GetOutputValueOut(wallet, i)), tx->GetOutputAsset(wallet, i).GetHex());
38}
39
40// Helper for producing a max-sized low-S low-R signature (eg 71 bytes)
41// or a max-sized low-S signature (e.g. 72 bytes) if use_max_sig is true

Callers 15

SERIALIZE_METHODSMethod · 0.45
feebumper.cppFile · 0.45
CommitTransactionFunction · 0.45
GetIDMethod · 0.45
HasWalletDescriptorMethod · 0.45
spend.cppFile · 0.45
MarkReplacedMethod · 0.45
AddToWalletMethod · 0.45
CommitTransactionMethod · 0.45

Calls 5

FormatMoneyFunction · 0.85
GetOutputValueOutMethod · 0.80
GetOutputAssetMethod · 0.80
GetHashMethod · 0.45
GetHexMethod · 0.45

Tested by 2

BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36