Skip to content

Commit edca9dd

Browse files
authored
revert: add single node quorum (#307)
This reverts commit 7beb530.
1 parent aac1723 commit edca9dd

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

lib/constants/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ module.exports = {
9292
// for devnet testing only
9393
// 12 members, 8 (67%) threshold, one per hour
9494
LLMQ_DEVNET_PLATFORM: 107,
95-
// for testing only
96-
// 1 member.
97-
LLMQ_SINGLE_NODE: 111,
9895
},
9996

10097
// when selecting a quorum for signing and verification, we use this offset as

lib/deterministicmnlist/QuorumEntry.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,6 @@ QuorumEntry.getParams = function getParams(llmqType) {
407407
params.threshold = 8;
408408
params.maximumActiveQuorumsCount = 4;
409409
return params;
410-
case constants.LLMQ_TYPES.LLMQ_SINGLE_NODE:
411-
params.size = 1;
412-
params.threshold = 1;
413-
params.maximumActiveQuorumsCount = 2;
414-
return params;
415410
default:
416411
throw new Error(`Invalid llmq type ${llmqType}`);
417412
}

lib/deterministicmnlist/SimplifiedMNList.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ SimplifiedMNList.prototype.getLLMQTypes = function getLLMQTypes() {
398398
constants.LLMQ_TYPES.LLMQ_TYPE_TEST_INSTANTSEND,
399399
constants.LLMQ_TYPES.LLMQ_TYPE_TEST_DIP0024,
400400
constants.LLMQ_TYPES.LLMQ_TEST_PLATFORM,
401-
constants.LLMQ_TYPES.LLMQ_SINGLE_NODE,
402401
];
403402
return llmqTypes;
404403
}

0 commit comments

Comments
 (0)