mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #6416: refactor: drop unused parameter mninfos_valid in test framework mine_ cycle_quorum
0072318421
refactor: drop unused parameter mninfos_valid in test framework mine_cycle_quorum (pasta) Pull request description: ## Issue being fixed or feature implemented This param is unused ## What was done? Removed ## How Has This Been Tested? see ci ## Breaking Changes ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: knst: utACK0072318421
UdjinM6: utACK0072318421
Tree-SHA512: e66e2b23b95b98e843fdb1d58419ba0798e8ba4115ef6c52e2e4681b04ea3e43efe73cee0ac96758560914567f822d107169ca0d6212210e07cc81b317a3e2eb
This commit is contained in:
commit
8a86fd898e
@ -1909,7 +1909,7 @@ class DashTestFramework(BitcoinTestFramework):
|
|||||||
|
|
||||||
return new_quorum
|
return new_quorum
|
||||||
|
|
||||||
def mine_cycle_quorum(self, llmq_type_name="llmq_test_dip0024", llmq_type=103, expected_connections=None, expected_members=None, expected_contributions=None, expected_complaints=0, expected_justifications=0, expected_commitments=None, mninfos_online=None, mninfos_valid=None):
|
def mine_cycle_quorum(self, llmq_type_name="llmq_test_dip0024", llmq_type=103, expected_connections=None, expected_members=None, expected_contributions=None, expected_complaints=0, expected_justifications=0, expected_commitments=None, mninfos_online=None):
|
||||||
spork21_active = self.nodes[0].spork('show')['SPORK_21_QUORUM_ALL_CONNECTED'] <= 1
|
spork21_active = self.nodes[0].spork('show')['SPORK_21_QUORUM_ALL_CONNECTED'] <= 1
|
||||||
spork23_active = self.nodes[0].spork('show')['SPORK_23_QUORUM_POSE'] <= 1
|
spork23_active = self.nodes[0].spork('show')['SPORK_23_QUORUM_POSE'] <= 1
|
||||||
|
|
||||||
@ -1923,8 +1923,6 @@ class DashTestFramework(BitcoinTestFramework):
|
|||||||
expected_commitments = self.llmq_size_dip0024
|
expected_commitments = self.llmq_size_dip0024
|
||||||
if mninfos_online is None:
|
if mninfos_online is None:
|
||||||
mninfos_online = self.mninfo.copy()
|
mninfos_online = self.mninfo.copy()
|
||||||
if mninfos_valid is None:
|
|
||||||
mninfos_valid = self.mninfo.copy()
|
|
||||||
|
|
||||||
self.log.info("Mining quorum: expected_members=%d, expected_connections=%d, expected_contributions=%d, expected_complaints=%d, expected_justifications=%d, "
|
self.log.info("Mining quorum: expected_members=%d, expected_connections=%d, expected_contributions=%d, expected_complaints=%d, expected_justifications=%d, "
|
||||||
"expected_commitments=%d" % (expected_members, expected_connections, expected_contributions, expected_complaints,
|
"expected_commitments=%d" % (expected_members, expected_connections, expected_contributions, expected_complaints,
|
||||||
|
Loading…
Reference in New Issue
Block a user