/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/qtumtests/ |
H A D | condensingtransaction_tests.cpp | 223 txs.clear(); in BOOST_FIXTURE_TEST_SUITE() 227 result = executeBC(txs); in BOOST_FIXTURE_TEST_SUITE() 231 txs.clear(); in BOOST_FIXTURE_TEST_SUITE() 233 result = executeBC(txs); in BOOST_FIXTURE_TEST_SUITE() 238 txs.clear(); in BOOST_FIXTURE_TEST_SUITE() 241 result = executeBC(txs); in BOOST_FIXTURE_TEST_SUITE() 247 txs.clear(); in BOOST_FIXTURE_TEST_SUITE() 271 txs.clear(); in BOOST_AUTO_TEST_CASE() 293 txs.clear(); in BOOST_AUTO_TEST_CASE() 315 txs.clear(); in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | constantinoplefork_tests.cpp | 136 std::vector<QtumTransaction> txs; in BOOST_FIXTURE_TEST_SUITE() local 139 executeBC(txs); in BOOST_FIXTURE_TEST_SUITE() 142 dev::Address proxy = createQtumAddress(txs[0].getHashWith(), txs[0].getNVout()); in BOOST_FIXTURE_TEST_SUITE() 168 std::vector<QtumTransaction> txs; in BOOST_AUTO_TEST_CASE() local 171 executeBC(txs); in BOOST_AUTO_TEST_CASE() 174 dev::Address proxy = createQtumAddress(txs[0].getHashWith(), txs[0].getNVout()); in BOOST_AUTO_TEST_CASE() 194 std::vector<QtumTransaction> txs; in BOOST_AUTO_TEST_CASE() local 196 executeBC(txs); in BOOST_AUTO_TEST_CASE() 199 dev::Address proxy = createQtumAddress(txs[0].getHashWith(), txs[0].getNVout()); in BOOST_AUTO_TEST_CASE() 216 executeBC(txs); in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | dgp_tests.cpp | 336 auto result = executeBC(txs); in createTestContractsAndBlocks() 339 txs.clear(); in createTestContractsAndBlocks() 342 result = executeBC(txs); in createTestContractsAndBlocks() 345 txs.clear(); in createTestContractsAndBlocks() 348 result = executeBC(txs); in createTestContractsAndBlocks() 400 auto result = executeBC(txs); in BOOST_AUTO_TEST_CASE() 416 auto result = executeBC(txs); in BOOST_AUTO_TEST_CASE() 482 auto result = executeBC(txs); in BOOST_AUTO_TEST_CASE() 500 auto result = executeBC(txs); in BOOST_AUTO_TEST_CASE() 563 auto result = executeBC(txs); in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | istanbulfork_tests.cpp | 60 std::vector<QtumTransaction> txs; in BOOST_FIXTURE_TEST_SUITE() local 61 … txs.push_back(createQtumTransaction(CODE[0], 0, GASLIMIT, dev::u256(1), hashTx, dev::Address())); in BOOST_FIXTURE_TEST_SUITE() 62 executeBC(txs); in BOOST_FIXTURE_TEST_SUITE() 65 dev::Address proxy = createQtumAddress(txs[0].getHashWith(), txs[0].getNVout()); in BOOST_FIXTURE_TEST_SUITE() 78 std::vector<QtumTransaction> txs; in BOOST_AUTO_TEST_CASE() local 79 … txs.push_back(createQtumTransaction(CODE[0], 0, GASLIMIT, dev::u256(1), hashTx, dev::Address())); in BOOST_AUTO_TEST_CASE() 80 executeBC(txs); in BOOST_AUTO_TEST_CASE() 83 dev::Address proxy = createQtumAddress(txs[0].getHashWith(), txs[0].getNVout()); in BOOST_AUTO_TEST_CASE()
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/core/ |
H A D | tx_list_test.go | 34 txs := make(types.Transactions, 1024) 35 for i := 0; i < len(txs); i++ { 36 txs[i] = transaction(uint64(i), 0, key) 40 for _, v := range rand.Perm(len(txs)) { 44 if len(list.txs.items) != len(txs) { 45 t.Errorf("transaction count mismatch: have %d, want %d", len(list.txs.items), len(txs)) 47 for i, tx := range txs { 48 if list.txs.items[tx.Nonce()] != tx { 58 txs := make(types.Transactions, 100000) 59 for i := 0; i < len(txs); i++ { [all …]
|
H A D | tx_cacher.go | 36 txs []*types.Transaction member 64 for i := 0; i < len(task.txs); i += task.inc { 65 types.Sender(task.signer, task.txs[i]) 73 func (cacher *txSenderCacher) recover(signer types.Signer, txs []*types.Transaction) { 75 if len(txs) == 0 { 80 if len(txs) < tasks*4 { 81 tasks = (len(txs) + 3) / 4 86 txs: txs[i:], 100 txs := make([]*types.Transaction, 0, count) 102 txs = append(txs, block.Transactions()...) [all …]
|
H A D | state_processor_test.go | 102 txs []*types.Transaction 106 txs: []*types.Transaction{ 113 txs: []*types.Transaction{ 119 txs: []*types.Transaction{ 125 txs: []*types.Transaction{ 131 txs: []*types.Transaction{ 137 txs: []*types.Transaction{ 147 txs: []*types.Transaction{ 240 txs []*types.Transaction 280 txs []*types.Transaction [all …]
|
H A D | tx_pool_test.go | 151 for nonce := range txs.txs.items { 681 txs = append(txs, tx) 717 if _, ok := pool.pending[accs[0]].txs.items[txs[0].Nonce()]; !ok { 720 if _, ok := pool.queue[accs[0]].txs.items[txs[0].Nonce()]; ok { 889 for len(txs) < cap(txs) { 893 txs = append(txs, transaction(nonces[addr]+1, 100000, key)) 910 txs = txs[:0] 912 txs = append(txs, transaction(i+1, 100000, local)) 1166 txs = append(txs, transaction(nonces[addr], 100000, key)) 1264 txs = append(txs, transaction(uint64(j), 100000, key)) [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/eth/ |
H A D | sync.go | 42 txs []*types.Transaction member 47 var txs types.Transactions 50 txs = append(txs, batch...) 52 if len(txs) == 0 { 56 case pm.txsyncCh <- &txsync{p, txs}: 78 pack.txs = pack.txs[:0] 80 pack.txs = append(pack.txs, s.txs[i]) 81 size += s.txs[i].Size() 84 s.txs = s.txs[:copy(s.txs, s.txs[len(pack.txs):])] 85 if len(s.txs) == 0 { [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/tests/fuzzers/txfetcher/ |
H A D | txfetcher_fuzzer.go | 34 txs []*types.Transaction var 46 for i := 0; i < len(txs); i++ { 68 txs = txs[:4] 70 txs = txs[:256] 72 txs = txs[:4096] 82 func(txs []*types.Transaction) []error { 83 return make([]error, len(txs)) 125 announceIdxs[i] = (int(annBuf[0])*256 + int(annBuf[1])) % len(txs) 126 announces[i] = txs[announceIdxs[i]].Hash() 161 deliverIdxs[i] = (int(deliverBuf[0])*256 + int(deliverBuf[1])) % len(txs) [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/core/ |
H A D | tx_cacher.go | 36 txs []*types.Transaction member 64 for i := 0; i < len(task.txs); i += task.inc { 65 types.Sender(task.signer, task.txs[i]) 73 func (cacher *txSenderCacher) recover(signer types.Signer, txs []*types.Transaction) { 75 if len(txs) == 0 { 80 if len(txs) < tasks*4 { 81 tasks = (len(txs) + 3) / 4 86 txs: txs[i:], 100 txs := make([]*types.Transaction, 0, count) 102 txs = append(txs, block.Transactions()...) [all …]
|
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/ |
H A D | block.py | 64 self.txs = [] 86 txs = [] 91 txs.append(tx) 94 return txs 96 def set_txs(self, txs, check_merkle_hash=True): argument 97 self.txs = txs 98 if not txs: 100 for tx in txs: 115 if self.txs: 116 stream_struct("I", f, len(self.txs)) [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/test/functional/ |
H A D | feature_backwards_compatibility.py | 228 txs = wallet.listtransactions() 229 assert_equal(len(txs), 5) 230 assert_equal(txs[1]["txid"], tx1_id) 233 assert not(txs[1]["abandoned"]) 235 assert_equal(txs[2]["blockindex"], 1) 236 assert txs[3]["abandoned"] 259 txs = wallet.listtransactions() 260 assert_equal(len(txs), 5) 261 assert_equal(txs[1]["txid"], tx1_id) 264 assert not(txs[1]["abandoned"]) [all …]
|
/dports/irc/bitlbee/bitlbee-3.6/protocols/twitter/ |
H A D | twitter_lib.c | 92 g_free(txs); in txs_free() 633 txs->rt_id = txs->id = v->u.integer; in twitter_xt_get_status() 654 if (txs->text && txs->user && txs->id) { in twitter_xt_get_status() 655 return txs; in twitter_xt_get_status() 658 txs_free(txs); in twitter_xt_get_status() 696 if (txs->text && txs->user && txs->id) { in twitter_xt_get_dm() 697 return txs; in twitter_xt_get_dm() 700 txs_free(txs); in twitter_xt_get_dm() 812 if (!txs) { in twitter_xt_get_status_list() 841 if (txs->user && txs->user->screen_name && in twitter_msg_add_id() [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/core/types/ |
H A D | hashing_test.go | 36 txs, err := genTxs(0) 40 for len(txs) < 1000 { 41 exp := types.DeriveSha(txs, new(trie.Trie)) 46 newTxs, err := genTxs(uint64(len(txs) + 1)) 50 txs = append(txs, newTxs...) 69 txs := types.Transactions{&t1, &t2} 70 types.DeriveSha(txs, d) 78 txs, err := genTxs(200) 157 var txs types.Transactions 163 txs = append(txs, tx) [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/eth/fetcher/ |
H A D | tx_fetcher_test.go | 50 txs []*types.Transaction 383 return make([]error, len(txs)) 422 return make([]error, len(txs)) 460 return make([]error, len(txs)) 506 return make([]error, len(txs)) 544 return make([]error, len(txs)) 649 return make([]error, len(txs)) 909 var txs []*types.Transaction 914 for i, tx := range txs { 956 doTxEnqueue{peer: "A", txs: []*types.Transaction{txs[maxTxUnderpricedSetSize]}, direct: true}, [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/test/functional/ |
H A D | feature_backwards_compatibility.py | 227 txs = wallet.listtransactions() 228 assert_equal(len(txs), 5) 229 assert_equal(txs[1]["txid"], tx1_id) 232 assert not(txs[1]["abandoned"]) 234 assert_equal(txs[2]["blockindex"], 1) 235 assert txs[3]["abandoned"] 258 txs = wallet.listtransactions() 259 assert_equal(len(txs), 5) 260 assert_equal(txs[1]["txid"], tx1_id) 263 assert not(txs[1]["abandoned"]) [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/test/functional/ |
H A D | feature_backwards_compatibility.py | 227 txs = wallet.listtransactions() 228 assert_equal(len(txs), 5) 229 assert_equal(txs[1]["txid"], tx1_id) 232 assert not(txs[1]["abandoned"]) 234 assert_equal(txs[2]["blockindex"], 1) 235 assert txs[3]["abandoned"] 258 txs = wallet.listtransactions() 259 assert_equal(len(txs), 5) 260 assert_equal(txs[1]["txid"], tx1_id) 263 assert not(txs[1]["abandoned"]) [all …]
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/test/functional/ |
H A D | feature_backwards_compatibility.py | 227 txs = wallet.listtransactions() 228 assert_equal(len(txs), 5) 229 assert_equal(txs[1]["txid"], tx1_id) 232 assert not(txs[1]["abandoned"]) 234 assert_equal(txs[2]["blockindex"], 1) 235 assert txs[3]["abandoned"] 258 txs = wallet.listtransactions() 259 assert_equal(len(txs), 5) 260 assert_equal(txs[1]["txid"], tx1_id) 263 assert not(txs[1]["abandoned"]) [all …]
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/test/functional/ |
H A D | feature_backwards_compatibility.py | 227 txs = wallet.listtransactions() 228 assert_equal(len(txs), 5) 229 assert_equal(txs[1]["txid"], tx1_id) 232 assert not(txs[1]["abandoned"]) 234 assert_equal(txs[2]["blockindex"], 1) 235 assert txs[3]["abandoned"] 258 txs = wallet.listtransactions() 259 assert_equal(len(txs), 5) 260 assert_equal(txs[1]["txid"], tx1_id) 263 assert not(txs[1]["abandoned"]) [all …]
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/test/functional/ |
H A D | feature_backwards_compatibility.py | 227 txs = wallet.listtransactions() 228 assert_equal(len(txs), 5) 229 assert_equal(txs[1]["txid"], tx1_id) 232 assert not(txs[1]["abandoned"]) 234 assert_equal(txs[2]["blockindex"], 1) 235 assert txs[3]["abandoned"] 258 txs = wallet.listtransactions() 259 assert_equal(len(txs), 5) 260 assert_equal(txs[1]["txid"], tx1_id) 263 assert not(txs[1]["abandoned"]) [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/test/functional/ |
H A D | feature_backwards_compatibility.py | 227 txs = wallet.listtransactions() 228 assert_equal(len(txs), 5) 229 assert_equal(txs[1]["txid"], tx1_id) 232 assert not(txs[1]["abandoned"]) 234 assert_equal(txs[2]["blockindex"], 1) 235 assert txs[3]["abandoned"] 258 txs = wallet.listtransactions() 259 assert_equal(len(txs), 5) 260 assert_equal(txs[1]["txid"], tx1_id) 263 assert not(txs[1]["abandoned"]) [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/cmd/devp2p/internal/ethtest/ |
H A D | transaction.go | 182 txMsg := Transactions(txs) 202 nonce = txs[len(txs)-1].Nonce() 284 for _, tx := range txs { 310 txs := blocks.Transactions() 311 if txs.Len() != 0 { 312 return txs[0] 336 txs[i] = tx 339 return txHashMap, txs, nil 350 txs := blocks.Transactions() 351 if txs.Len() != 0 { [all …]
|
/dports/www/p5-FAQ-OMatic/FAQ-OMatic-2.719/lib/FAQ/OMatic/ |
H A D | Language_fi.pm | 1235 my @txs = grep { m/^msg/ } split(/\n/, $txfile); 1236 for (my $i=0; $i<@txs; $i+=2) { 1237 $txs[$i] =~ m/msgid \"(.*)\"$/; 1239 $txs[$i+1] =~ m/msgstr \"(.*)\"$/; 1243 .$txs[$i] 1245 .$txs[$i+1]
|
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/test/functional/ |
H A D | wallet_balance.py | 31 txs = [] 36 txs.append(raw_tx) 38 return txs 72 … txs = create_transactions(self.nodes[0], self.nodes[1].getnewaddress(), 40, [Decimal('0.01')]) 73 self.nodes[0].sendrawtransaction(txs[0]['hex']) 74 …self.nodes[1].sendrawtransaction(txs[0]['hex']) # sending on both nodes is faster than waiting fo… 77 …txs = create_transactions(self.nodes[1], self.nodes[0].getnewaddress(), 60, [Decimal('0.01'), Deci… 78 self.nodes[1].sendrawtransaction(txs[0]['hex']) 102 self.nodes[1].sendrawtransaction(txs[1]['hex']) 120 …txs = create_transactions(self.nodes[1], self.nodes[0].getnewaddress(), Decimal('29.97'), [Decimal… [all …]
|