Home
last modified time | relevance | path

Searched refs:hex_str_to_bytes (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/test/functional/
H A Dqtum_dgp.py519 … state.send_change_value_proposal(1, 2, keyhash_to_p2pkh(hex_str_to_bytes(removed_admin_key)))
529 … state.send_change_value_proposal(2, 0, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
534 … state.send_change_value_proposal(1, 1, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
539 … state.send_change_value_proposal(2, 2, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
849 … state.send_change_value_proposal(2, 0, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
853 … state.send_change_value_proposal(0, 1, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
857 … state.send_change_value_proposal(2, 2, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
867 … state.send_change_value_proposal(3, 0, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
872 … state.send_change_value_proposal(3, 1, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
877 … state.send_change_value_proposal(3, 2, keyhash_to_p2pkh(hex_str_to_bytes(state.admin_keys[0])))
[all …]
H A Dmempool_accept.py35 hex_str_to_bytes,
92 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
106 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
124 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
128 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
139 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
149 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
158 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
188 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
197 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Dqtum_divergence_dos.py26 haddress = hex_str_to_bytes(p2pkh_to_hex_hash(address))
43 …4", CScriptNum(100000), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(s…
52 …4", CScriptNum(100000), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(s…
59 …tx2.vout = [CTxOut(0, scriptPubKey=CScript([OP_DUP, OP_HASH160, hex_str_to_bytes("00"*19)+b"\x01",…
68 …4", CScriptNum(100000), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(s…
75 …tPubKey=CScript([b"\x00", CScriptNum(0), CScriptNum(0), hex_str_to_bytes("00"), hex_str_to_bytes(s…
81 …tx3.vout = [CTxOut(0, scriptPubKey=CScript([OP_DUP, OP_HASH160, hex_str_to_bytes("00"*19)+b"\x00",…
H A Dqtum_combined_outputs_exceed_gas_limit.py39 …, CScriptNum(19998999), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(c…
40 …, CScriptNum(19998999), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(c…
41 …, CScriptNum(19998999), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(c…
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, hex_str_to_bytes
84 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
122 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
208 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
218 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
224 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
H A Dqtum_many_value_refunds_from_same_tx.py35 …4", CScriptNum(100000), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(c…
36 …4", CScriptNum(100000), CScriptNum(QTUM_MIN_GAS_PRICE), hex_str_to_bytes("00"), hex_str_to_bytes(c…
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/test/functional/
H A Dmempool_accept.py36 hex_str_to_bytes,
92 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
107 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
126 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
130 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
141 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
151 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
160 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
190 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
199 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, hex_str_to_bytes
84 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
122 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
218 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
223 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
229 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/test/functional/
H A Dmempool_accept.py36 hex_str_to_bytes,
92 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
107 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
126 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
130 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
141 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
151 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
160 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
190 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
199 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, hex_str_to_bytes
84 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
122 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
218 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
223 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
229 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/test/functional/
H A Dmempool_accept.py36 hex_str_to_bytes,
92 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
107 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
126 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
130 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
141 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
151 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
160 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
190 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
199 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, hex_str_to_bytes
84 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
122 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
218 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
223 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
229 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/litecoin/litecoin-0.18.1/test/functional/
H A Dmempool_accept.py31 hex_str_to_bytes,
88 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
102 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
120 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
124 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
135 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
145 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
154 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
184 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
192 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, bytes_to_hex_str, hex_str_to_bytes
84 multisig_script_hash = bytes_to_hex_str(sha256(hex_str_to_bytes(multisig_script)))
122 cltv_script_hash = bytes_to_hex_str(sha256(hex_str_to_bytes(cltv_script)))
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
208 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
218 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
224 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/test/functional/
H A Dmempool_accept.py31 hex_str_to_bytes,
88 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
102 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
120 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
124 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
135 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
145 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
154 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
184 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
192 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, bytes_to_hex_str, hex_str_to_bytes
84 multisig_script_hash = bytes_to_hex_str(sha256(hex_str_to_bytes(multisig_script)))
122 cltv_script_hash = bytes_to_hex_str(sha256(hex_str_to_bytes(cltv_script)))
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
208 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
218 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
224 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/test/functional/
H A Dmempool_accept.py31 hex_str_to_bytes,
88 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
102 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_final)))
120 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
124 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
135 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
145 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
154 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_0)))
184 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
192 tx.deserialize(BytesIO(hex_str_to_bytes(raw_tx_reference)))
[all …]
H A Drpc_decodescript.py9 from test_framework.util import assert_equal, bytes_to_hex_str, hex_str_to_bytes
84 multisig_script_hash = bytes_to_hex_str(sha256(hex_str_to_bytes(multisig_script)))
122 cltv_script_hash = bytes_to_hex_str(sha256(hex_str_to_bytes(cltv_script)))
183 txSave.deserialize(BytesIO(hex_str_to_bytes(tx)))
208 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
213 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
218 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
224 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/bitcoin/bitcoin-22.0/test/functional/
H A Drpc_decodescript.py14 hex_str_to_bytes,
89 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
127 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
212 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
217 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
222 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
228 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/test/functional/
H A Drpc_decodescript.py14 hex_str_to_bytes,
89 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
127 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
212 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
217 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
222 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
228 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/test/functional/
H A Drpc_decodescript.py14 hex_str_to_bytes,
89 multisig_script_hash = sha256(hex_str_to_bytes(multisig_script)).hex()
127 cltv_script_hash = sha256(hex_str_to_bytes(cltv_script)).hex()
212 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature)
217 txSave.vin[0].scriptSig = hex_str_to_bytes(push_signature_2)
222 txSave.vin[0].scriptSig = hex_str_to_bytes('00' + push_signature + push_signature_2)
228 txSave.vin[0].scriptSig = hex_str_to_bytes('6a143011020701010101010101020601010101010101')
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/test/functional/test_framework/
H A Daddress.py8 from .util import bytes_to_hex_str, hex_str_to_bytes
21 checksum = bytes_to_hex_str(hash256(hex_str_to_bytes(str)))
59 program = hex_str_to_bytes(program)
80 key = hex_str_to_bytes(key) # Assuming this is hex string
87 script = hex_str_to_bytes(script) # Assuming this is hex string
/dports/net-p2p/litecoin/litecoin-0.18.1/test/functional/test_framework/
H A Daddress.py8 from .util import bytes_to_hex_str, hex_str_to_bytes
21 checksum = bytes_to_hex_str(hash256(hex_str_to_bytes(str)))
59 program = hex_str_to_bytes(program)
80 key = hex_str_to_bytes(key) # Assuming this is hex string
87 script = hex_str_to_bytes(script) # Assuming this is hex string
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/test/functional/test_framework/
H A Daddress.py8 from .util import bytes_to_hex_str, hex_str_to_bytes
21 checksum = bytes_to_hex_str(hash256(hex_str_to_bytes(str)))
59 program = hex_str_to_bytes(program)
80 key = hex_str_to_bytes(key) # Assuming this is hex string
87 script = hex_str_to_bytes(script) # Assuming this is hex string
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/qa/rpc-tests/test_framework/
H A Daddress.py13 from .util import bytes_to_hex_str, hex_str_to_bytes
21 checksum = bytes_to_hex_str(hash256(hex_str_to_bytes(str)))
64 key = hex_str_to_bytes(key) # Assuming this is hex string
71 script = hex_str_to_bytes(script) # Assuming this is hex string

12345678910>>...13