Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ GetScriptForDestination
Function
GetScriptForDestination
src/script/standard.cpp:344–347 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
342
} // namespace
343
344
CScript GetScriptForDestination(const CTxDestination& dest)
345
{
346
return std::visit(CScriptVisitor(), dest);
347
}
348
349
CScript GetScriptForRawPubKey(const CPubKey& pubKey)
350
{
Callers
15
CheckPeginTx
Function · 0.85
GetValidFedpegScripts
Function · 0.85
MutateTxAddOutAddr
Function · 0.85
MutateTxAddOutPubKey
Function · 0.85
MutateTxAddOutMultiSig
Function · 0.85
MutateTxAddOutScript
Function · 0.85
GetDestinationForKey
Function · 0.85
GetAllDestinationsForKey
Function · 0.85
AddAndGetDestinationForScript
Function · 0.85
IsMineInner
Function · 0.85
GetMetadata
Method · 0.85
AddKeyPubKeyWithDB
Method · 0.85
Calls
1
CScriptVisitor
Class · 0.85
Tested by
15
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
add_coin
Function · 0.68
GetScriptPubKey
Method · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68