Home
last modified time | relevance | path

Searched refs:scriptPubKey (Results 1 – 25 of 1421) sorted by relevance

12345678910>>...57

/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/wallet/test/
H A Dismine_tests.cpp32 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
40 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
57 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
74 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
369 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
383 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
397 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
411 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/wallet/test/
H A Dismine_tests.cpp32 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
40 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
57 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
74 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
369 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
383 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
397 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
411 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/wallet/test/
H A Dismine_tests.cpp33 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
41 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
58 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
75 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
371 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
385 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
398 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
412 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/wallet/test/
H A Dismine_tests.cpp33 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
41 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
58 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
75 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
371 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
385 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
398 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
412 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/wallet/test/
H A Dismine_tests.cpp33 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
41 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
58 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
75 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
371 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
385 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
398 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
412 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/net-p2p/bitcoin/bitcoin-22.0/src/wallet/test/
H A Dismine_tests.cpp32 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
40 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
57 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
74 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
369 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
383 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
397 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
411 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/wallet/test/
H A Dismine_tests.cpp33 CScript scriptPubKey; in BOOST_FIXTURE_TEST_SUITE() local
41 scriptPubKey = GetScriptForRawPubKey(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
58 scriptPubKey = GetScriptForRawPubKey(uncompressedPubkey); in BOOST_FIXTURE_TEST_SUITE()
75 scriptPubKey = GetScriptForDestination(PKHash(pubkeys[0])); in BOOST_FIXTURE_TEST_SUITE()
370 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
371 scriptPubKey << OP_RETURN << ToByteVector(pubkeys[0]); in BOOST_FIXTURE_TEST_SUITE()
384 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
385 scriptPubKey << OP_0 << ToByteVector(ParseHex("aabb")); in BOOST_FIXTURE_TEST_SUITE()
398 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
412 scriptPubKey.clear(); in BOOST_FIXTURE_TEST_SUITE()
[all …]
/dports/finance/py-python-bitcoinlib/python-bitcoinlib-0.11.0/bitcoin/
H A Dwallet.py53 def from_scriptPubKey(cls, scriptPubKey): argument
94 def from_scriptPubKey(cls, scriptPubKey): argument
133 def from_scriptPubKey(cls, scriptPubKey): argument
174 def from_scriptPubKey(cls, scriptPubKey): argument
180 if scriptPubKey.is_p2sh():
241 scriptPubKey = script.CScript(scriptPubKey) # in case it's not a CScript instance yet
244 scriptPubKey = script.CScript(tuple(scriptPubKey)) # canonicalize
252 elif (len(scriptPubKey) == 25
269 pubkey = scriptPubKey[1:34]
275 pubkey = scriptPubKey[1:65]
[all …]
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/test/
H A Dscript_standard_tests.cpp388 CScript scriptPubKey; in BOOST_AUTO_TEST_CASE() local
397 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
402 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
412 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
417 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
427 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
432 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
691 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
703 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
715 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
[all …]
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(CScriptID(redeemScript)); in BOOST_AUTO_TEST_CASE() local
158 CScript scriptPubKey = GetScriptForWitness(p2pk); in BOOST_AUTO_TEST_CASE() local
165 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
172 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
173 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
176 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
188 CScript scriptPubKey = GetScriptForDestination(CScriptID(scriptSig)); in BOOST_AUTO_TEST_CASE() local
202 CScript scriptPubKey = GetScriptForWitness(witnessScript); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/test/
H A Dscript_standard_tests.cpp388 CScript scriptPubKey; in BOOST_AUTO_TEST_CASE() local
397 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
402 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
412 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
417 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
427 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
432 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
691 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
703 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
715 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
[all …]
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(CScriptID(redeemScript)); in BOOST_AUTO_TEST_CASE() local
158 CScript scriptPubKey = GetScriptForWitness(p2pk); in BOOST_AUTO_TEST_CASE() local
165 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
172 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
173 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
176 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
188 CScript scriptPubKey = GetScriptForDestination(CScriptID(scriptSig)); in BOOST_AUTO_TEST_CASE() local
202 CScript scriptPubKey = GetScriptForWitness(witnessScript); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/litecoin/litecoin-0.18.1/src/test/
H A Dscript_standard_tests.cpp388 CScript scriptPubKey; in BOOST_AUTO_TEST_CASE() local
397 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
402 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
412 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
417 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
427 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
432 result = IsMine(keystore, scriptPubKey); in BOOST_AUTO_TEST_CASE()
691 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
703 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
715 scriptPubKey.clear(); in BOOST_AUTO_TEST_CASE()
[all …]
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(CScriptID(redeemScript)); in BOOST_AUTO_TEST_CASE() local
158 CScript scriptPubKey = GetScriptForWitness(p2pk); in BOOST_AUTO_TEST_CASE() local
165 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
172 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
173 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
176 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
188 CScript scriptPubKey = GetScriptForDestination(CScriptID(scriptSig)); in BOOST_AUTO_TEST_CASE() local
202 CScript scriptPubKey = GetScriptForWitness(witnessScript); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/finance/py-python-bitcoinlib/python-bitcoinlib-0.11.0/bitcoin/tests/
H A Dtest_scripteval.py66 scriptSig, scriptPubKey, flags, comment = test_case
69 scriptPubKey = parse_script(scriptPubKey)
84 yield (scriptSig, scriptPubKey, flag_set, comment, test_case)
88 def create_test_txs(self, scriptSig, scriptPubKey): argument
90 [CTxOut(0, scriptPubKey)],
98 … for scriptSig, scriptPubKey, flags, comment, test_case in load_test_vectors('script_valid.json'):
99 (txCredit, txSpend) = self.create_test_txs(scriptSig, scriptPubKey)
102 VerifyScript(scriptSig, scriptPubKey, txSpend, 0, flags)
107 …for scriptSig, scriptPubKey, flags, comment, test_case in load_test_vectors('script_invalid.json'):
108 (txCredit, txSpend) = self.create_test_txs(scriptSig, scriptPubKey)
[all …]
H A Dtest_wallet.py63 scriptPubKey = CScript(x(hex_scriptpubkey))
64 addr = CBitcoinAddress.from_scriptPubKey(scriptPubKey)
87 CBitcoinAddress.from_scriptPubKey(scriptPubKey)
94 CBitcoinAddress.from_scriptPubKey(scriptPubKey)
99 CBitcoinAddress.from_scriptPubKey(scriptPubKey)
104 CBitcoinAddress.from_scriptPubKey(scriptPubKey)
114 CBitcoinAddress.from_scriptPubKey(scriptPubKey)
119 CBitcoinAddress.from_scriptPubKey(scriptPubKey)
167 scriptPubKey = CScript(x(hex_scriptpubkey))
168 addr = P2PKHBitcoinAddress.from_scriptPubKey(scriptPubKey)
[all …]
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
157 CScript scriptPubKey = GetScriptForDestination(WitnessV0KeyHash(pubkey)); in BOOST_AUTO_TEST_CASE() local
164 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
171 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
172 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
173 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
175 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
186 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
157 CScript scriptPubKey = GetScriptForDestination(WitnessV0KeyHash(pubkey)); in BOOST_AUTO_TEST_CASE() local
164 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
171 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
172 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
173 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
175 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
186 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
157 CScript scriptPubKey = GetScriptForDestination(WitnessV0KeyHash(pubkey)); in BOOST_AUTO_TEST_CASE() local
164 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
171 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
172 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
173 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
175 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
186 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
157 CScript scriptPubKey = GetScriptForDestination(WitnessV0KeyHash(pubkey)); in BOOST_AUTO_TEST_CASE() local
164 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
171 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
172 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
173 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
175 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
186 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
158 CScript scriptPubKey = GetScriptForWitness(p2pk); in BOOST_AUTO_TEST_CASE() local
165 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
172 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
173 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
176 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
188 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
202 CScript scriptPubKey = GetScriptForWitness(witnessScript); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
157 CScript scriptPubKey = GetScriptForDestination(WitnessV0KeyHash(pubkey)); in BOOST_AUTO_TEST_CASE() local
164 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
171 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
172 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
173 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
175 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
186 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/
H A Dsigopcount_tests.cpp93 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
103 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
147 CScript scriptPubKey = GetScriptForDestination(ScriptHash(redeemScript)); in BOOST_AUTO_TEST_CASE() local
157 CScript scriptPubKey = GetScriptForDestination(WitnessV0KeyHash(pubkey)); in BOOST_AUTO_TEST_CASE() local
164 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
171 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
172 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
173 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, scriptWitness); in BOOST_AUTO_TEST_CASE()
175 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
186 CScript scriptPubKey = GetScriptForDestination(ScriptHash(scriptSig)); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/test/
H A Dsigopcount_tests.cpp96 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
107 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
151 CScript scriptPubKey = GetScriptForDestination(CScriptID(redeemScript)); in BOOST_AUTO_TEST_CASE() local
162 CScript scriptPubKey = GetScriptForWitness(p2pk); in BOOST_AUTO_TEST_CASE() local
171 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, witness); in BOOST_AUTO_TEST_CASE()
178 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
179 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
182 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
194 CScript scriptPubKey = GetScriptForDestination(CScriptID(scriptSig)); in BOOST_AUTO_TEST_CASE() local
210 CScript scriptPubKey = GetScriptForWitness(witnessScript); in BOOST_AUTO_TEST_CASE() local
[all …]
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/test/
H A Dsigopcount_tests.cpp96 creationTx.vout[0].scriptPubKey = scriptPubKey; in BuildTxs()
107 spendingTx.vout[0].scriptPubKey = CScript(); in BuildTxs()
151 CScript scriptPubKey = GetScriptForDestination(CScriptID(redeemScript)); in BOOST_AUTO_TEST_CASE() local
162 CScript scriptPubKey = GetScriptForWitness(p2pk); in BOOST_AUTO_TEST_CASE() local
171 BuildTxs(spendingTx, coins, creationTx, scriptPubKey, scriptSig, witness); in BOOST_AUTO_TEST_CASE()
178 assert(scriptPubKey[0] == 0x00); in BOOST_AUTO_TEST_CASE()
179 scriptPubKey[0] = 0x51; in BOOST_AUTO_TEST_CASE()
182 scriptPubKey[0] = 0x00; in BOOST_AUTO_TEST_CASE()
194 CScript scriptPubKey = GetScriptForDestination(CScriptID(scriptSig)); in BOOST_AUTO_TEST_CASE() local
210 CScript scriptPubKey = GetScriptForWitness(witnessScript); in BOOST_AUTO_TEST_CASE() local
[all …]

12345678910>>...57