Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ setmocktime
Method
setmocktime
test/functional/feature_progress.py:33–35 ·
view source on GitHub ↗
(self, ntime)
Source
from the content-addressed store, hash-verified
31
self.starttime = int(time.time())
32
33
def
setmocktime(self, ntime):
34
for
node in self.nodes:
35
node.setmocktime(self.starttime + ntime)
36
37
def
run_test(self):
38
node1 = self.nodes[0]
Callers
15
run_test
Method · 0.95
load_test_data
Method · 0.80
run_test
Method · 0.80
mine_chain
Method · 0.80
_test_uptime
Method · 0.80
run_test
Method · 0.80
test_sequence_lock_unconfirmed_inputs
Method · 0.80
run_test
Method · 0.80
run_test
Method · 0.80
run_test
Method · 0.80
set_node_times
Function · 0.80
run_test
Method · 0.80
Calls
no outgoing calls
Tested by
12
test_sequence_lock_unconfirmed_inputs
Method · 0.64
test_tx_requests
Method · 0.64
test_in_flight_max
Method · 0.64
test_expiry_fallback
Method · 0.64
test_preferred_inv
Method · 0.64
test_txid_inv_delay
Method · 0.64
test_muhash_implementation
Method · 0.64
test_sequence_lock_unconfirmed_inputs
Method · 0.64
test_maxtipage
Method · 0.64
test_transaction_expiry
Method · 0.64
test_seed_peers
Method · 0.64
_initialize_chain
Method · 0.64