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

Method AddCScript

src/wallet/scriptpubkeyman.cpp:1535–1539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533}
1534
1535bool LegacyScriptPubKeyMan::AddCScript(const CScript& redeemScript)
1536{
1537 WalletBatch batch(m_storage.GetDatabase());
1538 return AddCScriptWithDB(batch, redeemScript);
1539}
1540
1541bool LegacyScriptPubKeyMan::AddCScriptWithDB(WalletBatch& batch, const CScript& redeemScript)
1542{

Callers 13

MutateTxSignFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
signblockFunction · 0.45
getpeginaddressFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
combineblocksigsFunction · 0.45

Calls

no outgoing calls

Tested by 7

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36