Home
last modified time | relevance | path

Searched refs:rpc_connections (Results 1 – 13 of 13) sorted by relevance

/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/test/functional/test_framework/
H A Dutil.py406 def sync_blocks(rpc_connections, *, wait=1, timeout=60): argument
416 best_hash = [x.getbestblockhash() for x in rpc_connections]
417 if best_hash.count(best_hash[0]) == len(rpc_connections):
420 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
425 def sync_mempools(rpc_connections, *, wait=1, timeout=60, flush_scheduler=True): argument
432 pool = [set(r.getrawmempool()) for r in rpc_connections]
433 if pool.count(pool[0]) == len(rpc_connections):
435 for r in rpc_connections:
439 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/test/functional/test_framework/
H A Dutil.py379 def sync_blocks(rpc_connections, *, wait=1, timeout=60): argument
389 best_hash = [x.getbestblockhash() for x in rpc_connections]
390 if best_hash.count(best_hash[0]) == len(rpc_connections):
395 def sync_mempools(rpc_connections, *, wait=1, timeout=60, flush_scheduler=True): argument
402 pool = [set(r.getrawmempool()) for r in rpc_connections]
403 if pool.count(pool[0]) == len(rpc_connections):
405 for r in rpc_connections:
/dports/net-p2p/litecoin/litecoin-0.18.1/test/functional/test_framework/
H A Dutil.py379 def sync_blocks(rpc_connections, *, wait=1, timeout=60): argument
389 best_hash = [x.getbestblockhash() for x in rpc_connections]
390 if best_hash.count(best_hash[0]) == len(rpc_connections):
395 def sync_mempools(rpc_connections, *, wait=1, timeout=60, flush_scheduler=True): argument
402 pool = [set(r.getrawmempool()) for r in rpc_connections]
403 if pool.count(pool[0]) == len(rpc_connections):
405 for r in rpc_connections:
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/test/functional/test_framework/
H A Dutil.py379 def sync_blocks(rpc_connections, *, wait=1, timeout=60): argument
389 best_hash = [x.getbestblockhash() for x in rpc_connections]
390 if best_hash.count(best_hash[0]) == len(rpc_connections):
395 def sync_mempools(rpc_connections, *, wait=1, timeout=60, flush_scheduler=True): argument
402 pool = [set(r.getrawmempool()) for r in rpc_connections]
403 if pool.count(pool[0]) == len(rpc_connections):
405 for r in rpc_connections:
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/test/functional/test_framework/
H A Dtest_framework.py610 rpc_connections = nodes or self.nodes
614 best_hash = [x.getbestblockhash() for x in rpc_connections]
615 if best_hash.count(best_hash[0]) == len(rpc_connections):
618 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
630 rpc_connections = nodes or self.nodes
634 pool = [set(r.getrawmempool()) for r in rpc_connections]
635 if pool.count(pool[0]) == len(rpc_connections):
637 for r in rpc_connections:
641 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/test/functional/test_framework/
H A Dtest_framework.py610 rpc_connections = nodes or self.nodes
614 best_hash = [x.getbestblockhash() for x in rpc_connections]
615 if best_hash.count(best_hash[0]) == len(rpc_connections):
618 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
630 rpc_connections = nodes or self.nodes
634 pool = [set(r.getrawmempool()) for r in rpc_connections]
635 if pool.count(pool[0]) == len(rpc_connections):
637 for r in rpc_connections:
641 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/test/functional/test_framework/
H A Dtest_framework.py610 rpc_connections = nodes or self.nodes
614 best_hash = [x.getbestblockhash() for x in rpc_connections]
615 if best_hash.count(best_hash[0]) == len(rpc_connections):
618 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
630 rpc_connections = nodes or self.nodes
634 pool = [set(r.getrawmempool()) for r in rpc_connections]
635 if pool.count(pool[0]) == len(rpc_connections):
637 for r in rpc_connections:
641 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/qa/rpc-tests/test_framework/
H A Dutil.py124 def sync_blocks(rpc_connections, wait=1, timeout=60): argument
129 tips = [ x.getbestblockhash() for x in rpc_connections ]
136 def sync_mempools(rpc_connections, wait=1, timeout=60): argument
142 pool = set(rpc_connections[0].getrawmempool())
144 for i in range(1, len(rpc_connections)):
145 if set(rpc_connections[i].getrawmempool()) == pool:
147 if num_match == len(rpc_connections):
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/qa/rpc-tests/test_framework/
H A Dutil.py124 def sync_blocks(rpc_connections, wait=1, timeout=60): argument
129 tips = [ x.getbestblockhash() for x in rpc_connections ]
136 def sync_mempools(rpc_connections, wait=1, timeout=60): argument
142 pool = set(rpc_connections[0].getrawmempool())
144 for i in range(1, len(rpc_connections)):
145 if set(rpc_connections[i].getrawmempool()) == pool:
147 if num_match == len(rpc_connections):
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/qa/rpc-tests/test_framework/
H A Dutil.py124 def sync_blocks(rpc_connections, wait=1, timeout=60): argument
129 tips = [ x.getbestblockhash() for x in rpc_connections ]
136 def sync_mempools(rpc_connections, wait=1, timeout=60): argument
142 pool = set(rpc_connections[0].getrawmempool())
144 for i in range(1, len(rpc_connections)):
145 if set(rpc_connections[i].getrawmempool()) == pool:
147 if num_match == len(rpc_connections):
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/test/functional/test_framework/
H A Dtest_framework.py626 rpc_connections = nodes or self.nodes
630 best_hash = [x.getbestblockhash() for x in rpc_connections]
631 if best_hash.count(best_hash[0]) == len(rpc_connections):
634 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
646 rpc_connections = nodes or self.nodes
650 pool = [set(r.getrawmempool()) for r in rpc_connections]
651 if pool.count(pool[0]) == len(rpc_connections):
653 for r in rpc_connections:
657 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
/dports/net-p2p/bitcoin/bitcoin-22.0/test/functional/test_framework/
H A Dtest_framework.py626 rpc_connections = nodes or self.nodes
630 best_hash = [x.getbestblockhash() for x in rpc_connections]
631 if best_hash.count(best_hash[0]) == len(rpc_connections):
634 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
646 rpc_connections = nodes or self.nodes
650 pool = [set(r.getrawmempool()) for r in rpc_connections]
651 if pool.count(pool[0]) == len(rpc_connections):
653 for r in rpc_connections:
657 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/test/functional/test_framework/
H A Dtest_framework.py626 rpc_connections = nodes or self.nodes
630 best_hash = [x.getbestblockhash() for x in rpc_connections]
631 if best_hash.count(best_hash[0]) == len(rpc_connections):
634 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))
646 rpc_connections = nodes or self.nodes
650 pool = [set(r.getrawmempool()) for r in rpc_connections]
651 if pool.count(pool[0]) == len(rpc_connections):
653 for r in rpc_connections:
657 assert (all([len(x.getpeerinfo()) for x in rpc_connections]))