MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / ExtractAndValidateValue

Function ExtractAndValidateValue

src/bitcoin-tx.cpp:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static CAmount ExtractAndValidateValue(const std::string& strValue)
186{
187 CAmount value;
188 if (!ParseMoney(strValue, value))
189 throw std::runtime_error("invalid TX output value");
190 return value;
191}
192
193static void MutateTxVersion(CMutableTransaction& tx, const std::string& cmdVal)
194{

Callers 5

MutateTxAddOutAddrFunction · 0.85
MutateTxAddOutPubKeyFunction · 0.85
MutateTxAddOutMultiSigFunction · 0.85
MutateTxAddOutDataFunction · 0.85
MutateTxAddOutScriptFunction · 0.85

Calls 1

ParseMoneyFunction · 0.85

Tested by

no test coverage detected