@@ -1170,9 +1170,6 @@ def activate_by_name(self, name, expected_activation_height=None):
11701170 self .nodes [0 ].sporkupdate ("SPORK_17_QUORUM_DKG_ENABLED" , spork17_value )
11711171 self .wait_for_sporks_same ()
11721172
1173- def activate_dip0024 (self , expected_activation_height = None ):
1174- self .activate_by_name ('dip0024' , expected_activation_height )
1175-
11761173 def activate_v19 (self , expected_activation_height = None ):
11771174 self .activate_by_name ('v19' , expected_activation_height )
11781175
@@ -1912,19 +1909,11 @@ def mine_cycle_quorum(self, llmq_type_name="llmq_test_dip0024", llmq_type=103,
19121909 # move forward to next DKG
19131910 skip_count = 24 - (self .nodes [0 ].getblockcount () % 24 )
19141911
1915- # if skip_count != 0:
1916- # self.bump_mocktime(1, nodes=nodes)
1917- # self.nodes[0].generate(skip_count)
1918- # time.sleep(4)
1919- # self.sync_blocks(nodes)
1920-
19211912 self .move_blocks (nodes , skip_count )
19221913
19231914 q_0 = self .nodes [0 ].getbestblockhash ()
19241915 self .log .info ("Expected quorum_0 at:" + str (self .nodes [0 ].getblockcount ()))
1925- # time.sleep(4)
19261916 self .log .info ("Expected quorum_0 hash:" + str (q_0 ))
1927- # time.sleep(4)
19281917 self .log .info ("quorumIndex 0: Waiting for phase 1 (init)" )
19291918 self .wait_for_quorum_phase (q_0 , 1 , expected_members , None , 0 , mninfos_online , llmq_type_name )
19301919 self .log .info ("quorumIndex 0: Waiting for quorum connections (init)" )
@@ -1936,9 +1925,7 @@ def mine_cycle_quorum(self, llmq_type_name="llmq_test_dip0024", llmq_type=103,
19361925
19371926 q_1 = self .nodes [0 ].getbestblockhash ()
19381927 self .log .info ("Expected quorum_1 at:" + str (self .nodes [0 ].getblockcount ()))
1939- # time.sleep(2)
19401928 self .log .info ("Expected quorum_1 hash:" + str (q_1 ))
1941- # time.sleep(2)
19421929 self .log .info ("quorumIndex 1: Waiting for phase 1 (init)" )
19431930 self .wait_for_quorum_phase (q_1 , 1 , expected_members , None , 0 , mninfos_online , llmq_type_name )
19441931 self .log .info ("quorumIndex 1: Waiting for quorum connections (init)" )
@@ -2035,7 +2022,6 @@ def move_to_next_cycle(self):
20352022 self .bump_mocktime (1 , nodes = nodes )
20362023 self .nodes [0 ].generate (skip_count )
20372024 self .sync_blocks (nodes )
2038- time .sleep (1 )
20392025 self .log .info ('Moved from block %d to %d' % (cur_block , self .nodes [0 ].getblockcount ()))
20402026
20412027 def wait_for_recovered_sig (self , rec_sig_id , rec_sig_msg_hash , llmq_type = 100 , timeout = 10 ):
0 commit comments