MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetSerializeSizeForRecipient

Function GetSerializeSizeForRecipient

src/wallet/spend.cpp:1049–1052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047}
1048
1049uint64_t GetSerializeSizeForRecipient(const CRecipient& recipient)
1050{
1051 return ::GetSerializeSize(CTxOut(recipient.nAmount, GetScriptForDestination(recipient.dest)));
1052}
1053
1054bool IsDust(const CRecipient& recipient, const CFeeRate& dustRelayFee)
1055{

Callers 1

spend.cppFile · 0.85

Calls 3

GetSerializeSizeFunction · 0.85
GetScriptForDestinationFunction · 0.85
CTxOutClass · 0.50

Tested by

no test coverage detected