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

Function GetTxSpendSize

src/wallet/spend.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28static constexpr size_t OUTPUT_GROUP_MAX_ENTRIES{100};
29
30int GetTxSpendSize(const CWallet& wallet, const CWalletTx& wtx, unsigned int out, bool use_max_sig)
31{
32 return CalculateMaximumSignedInputSize(wtx.tx->vout[out], &wallet, use_max_sig);
33}
34
35std::string COutput::ToString(const CWallet& wallet) const
36{

Callers 2

COutputMethod · 0.85
spend.cppFile · 0.85

Calls 1

Tested by

no test coverage detected