File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,9 @@ module.exports = {
92
92
// for devnet testing only
93
93
// 12 members, 8 (67%) threshold, one per hour
94
94
LLMQ_DEVNET_PLATFORM : 107 ,
95
+ // for testing only
96
+ // 1 member.
97
+ LLMQ_SINGLE_NODE : 111 ,
95
98
} ,
96
99
97
100
// when selecting a quorum for signing and verification, we use this offset as
Original file line number Diff line number Diff line change @@ -407,6 +407,11 @@ QuorumEntry.getParams = function getParams(llmqType) {
407
407
params . threshold = 8 ;
408
408
params . maximumActiveQuorumsCount = 4 ;
409
409
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 ;
410
415
default :
411
416
throw new Error ( `Invalid llmq type ${ llmqType } ` ) ;
412
417
}
Original file line number Diff line number Diff line change @@ -398,6 +398,7 @@ SimplifiedMNList.prototype.getLLMQTypes = function getLLMQTypes() {
398
398
constants . LLMQ_TYPES . LLMQ_TYPE_TEST_INSTANTSEND ,
399
399
constants . LLMQ_TYPES . LLMQ_TYPE_TEST_DIP0024 ,
400
400
constants . LLMQ_TYPES . LLMQ_TEST_PLATFORM ,
401
+ constants . LLMQ_TYPES . LLMQ_SINGLE_NODE ,
401
402
] ;
402
403
return llmqTypes ;
403
404
}
You can’t perform that action at this time.
0 commit comments