Home
last modified time | relevance | path

Searched refs:previous_hash (Results 1 – 25 of 27) sorted by relevance

12

/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/coins/bitcoin/
H A DTxIn.py16 def __init__(self, previous_hash, previous_index, script=b'', sequence=4294967295): argument
17 self.previous_hash = previous_hash
25 tx = class_(previous_hash=ZERO, previous_index=4294967295, script=script)
30 stream_struct("#LSL", f, self.previous_hash, self.previous_index, script, self.sequence)
37 return self.previous_hash == ZERO
64 b2h_rev(self.previous_hash), self.previous_index, ScriptTools.disassemble(self.script))
H A DTx.py261 if tx_in.previous_hash == ZERO32:
263 pair = (tx_in.previous_hash, tx_in.previous_index)
296 tx = tx_db.get(tx_in.previous_hash)
297 if tx and tx.hash() == tx_in.previous_hash:
303 … "can't find tx_out for %s:%d" % (b2h_rev(tx_in.previous_hash), tx_in.previous_index))
363 tx_hashes = set((tx_in.previous_hash for tx_in in self.txs_in))
378 if tx_in.previous_hash == ZERO32:
380 txs_out = tx_lookup[tx_in.previous_hash].txs_out
383 (tx_in.previous_index, b2h_rev(tx_in.previous_hash)))
H A DSpendable.py26 stream_struct("#LIbI", f, self.previous_hash, self.previous_index,
64 def from_tx_out(cls, tx_out, previous_hash, previous_index, block_index_available=0): argument
66 tx_out.coin_value, tx_out.script, previous_hash, previous_index, block_index_available)
H A DSegwitChecker.py86 f.write(tx_in.previous_hash)
123 f.write(tx_in.previous_hash)
H A DSolutionChecker.py81 … return self.tx.TxIn(tx_in.previous_hash, tx_in.previous_index, tx_out_script, tx_in.sequence)
82 return self.tx.TxIn(tx_in.previous_hash, tx_in.previous_index, b'', tx_in.sequence)
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/l10n_fr_pos_cert/models/
H A Dres_company.py70 previous_hash = u''
73 if order.l10n_fr_hash != order._compute_hash(previous_hash=previous_hash):
77 previous_hash = order.l10n_fr_hash
H A Dpos.py69 def _compute_hash(self, previous_hash): argument
73 hash_string = sha256((previous_hash + self.l10n_fr_string_to_hash).encode('utf-8'))
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/services/
H A Dinsight.py81 previous_hash = h2b_rev(u.get("txid"))
83 spendables.append(Tx.Spendable(coin_value, script, previous_hash, previous_index))
113 previous_hash = b'\0' * 32
117 previous_hash = h2b_rev(vin.get("txid"))
125 txs_in.append(Tx.TxIn(previous_hash, previous_index, script, sequence))
H A Dchain_so.py37 previous_hash = h2b_rev(u["txid"])
39 spendables.append(Tx.Spendable(coin_value, script, previous_hash, previous_index))
H A Dblockcypher.py40 previous_hash = h2b_rev(txn.get("tx_hash"))
42 spendables.append(Tx.Spendable(coin_value, script, previous_hash, previous_index))
H A Dblockchain_info.py52 previous_hash = h2b(u["tx_hash"])
54 spendables.append(Tx.Spendable(coin_value, script, previous_hash, previous_index))
H A Dbitcoind.py33 txid=b2h_rev(tx_in.previous_hash),
/dports/games/endgame-singularity/singularity-1.00/singularity/code/
H A Di18n.py134 previous_hash = ''
138 previous_hash = sha_file.read()
149 if new_hash != previous_hash or not os.path.exists(mofile_path):
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/wallet/
H A DSQLite3Wallet.py73 …s = self.persistence.spendable_for_hash_index(tx_in.previous_hash, tx_in.previous_index, tx.Spenda…
80 tx_in.previous_hash, tx_in.previous_index, tx.Spendable)
86 tx_in.previous_hash, tx_in.previous_index, tx.Spendable)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/cert/
H A Dcert_verify_proc_win.cc443 std::string* previous_hash) { in CheckRevocationWithCRLSet() argument
453 previous_hash->clear(); in CheckRevocationWithCRLSet()
464 if (!issuer_cert && previous_hash->empty()) { in CheckRevocationWithCRLSet()
465 previous_hash->swap(subject_hash); in CheckRevocationWithCRLSet()
484 std::string* issuer_hash = previous_hash; in CheckRevocationWithCRLSet()
488 previous_hash->clear(); in CheckRevocationWithCRLSet()
499 previous_hash->swap(subject_hash); in CheckRevocationWithCRLSet()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/cert/
H A Dcert_verify_proc_win.cc443 std::string* previous_hash) { in CheckRevocationWithCRLSet() argument
453 previous_hash->clear(); in CheckRevocationWithCRLSet()
464 if (!issuer_cert && previous_hash->empty()) { in CheckRevocationWithCRLSet()
465 previous_hash->swap(subject_hash); in CheckRevocationWithCRLSet()
484 std::string* issuer_hash = previous_hash; in CheckRevocationWithCRLSet()
488 previous_hash->clear(); in CheckRevocationWithCRLSet()
499 previous_hash->swap(subject_hash); in CheckRevocationWithCRLSet()
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/account/models/
H A Dcompany.py509 previous_hash = u''
513 if move.inalterable_hash != move._compute_hash(previous_hash=previous_hash):
518 if not previous_hash:
521 previous_hash = move.inalterable_hash
/dports/finance/py-pycoin/pycoin-0.91.20210515/tests/
H A Dsolver_test.py30 previous_hash = b'\1' * 32
31 txs_in = [TxIn(previous_hash, 0)]
H A Dsign_test.py85 …txs_in = [TxIn(previous_hash=h2b('43c95d14724437bccc102ccf86aba1ac02415524fd1aefa787db886bba52a10c…
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/coins/groestlcoin/
H A DSolutionChecker.py21 f.write(tx_in.previous_hash)
/dports/finance/py-pycoin/pycoin-0.91.20210515/tests/btc/
H A Dbc_transaction_test.py68 …spendable_db.get((tx_in.previous_hash, tx_in.previous_index), blank_spendable) for tx_in in tx.txs…
/dports/net/liblinphone/linphone-3.12.0/coreapi/
H A Dproxy.c171 unsigned long long previous_hash[2]; in linphone_proxy_config_compute_publish_params_hash() local
172 previous_hash[0] = cfg->previous_publish_config_hash[0]; in linphone_proxy_config_compute_publish_params_hash()
173 previous_hash[1] = cfg->previous_publish_config_hash[1]; in linphone_proxy_config_compute_publish_params_hash()
189 …return previous_hash[0] != cfg->previous_publish_config_hash[0] || previous_hash[1] != cfg->previo… in linphone_proxy_config_compute_publish_params_hash()
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/cmds/
H A Ddump.py65 t = "%4d: %34s from %s:%-4d%s" % (idx, address, b2h_rev(tx_in.previous_hash),
/dports/multimedia/openshot/openshot-qt-2.6.1/src/windows/models/
H A Dproperties_model.py855 self.previous_hash = ""
872 self.previous_hash = ""
/dports/databases/pg_qualstats/pg_qualstats-2.0.3/
H A Dpg_qualstats.c1735 uint32 previous_hash = context->qualid; in pgqs_whereclause_tree_walker() local
1741 context->qualid = previous_hash; in pgqs_whereclause_tree_walker()

12