forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llmq|init|test: Add "mode" to -llmq-qvvec-sync parameter (#4030)
* llmq|init|test: Add "mode" to -llmq-qvvec-sync parameter This changes the paramter from `-llmq-qvvec-sync=<quorum_name>` to `-llmq-qvvec-sync=<quorum_name:mode>` With the following definitions: - `quorum_name`: Internal name of the quorum type - `mode=0` - Sync always from all quorums of the type defined by `quorum_name` - `mode=1` - Sync only if member of any from all other quorum of the type defined by `quorum_name` `-llmq-qvvec-sync=llmq_100_67:0` To always request qvvec's from all `LLMQ_100_67`. `-llmq-qvvec-sync=llmq_100_67:1` Only request if type member. This means, if platform enables this on all MNs with `mode=0` we will have all nodes asking new quorum for their verification vector instead of only `24*100` at max. * llmq: Adjust GetQuorumRecoveryStartOffset to use all MNs * Turn `QvvecSyncMode` into `enum class` Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
- Loading branch information
1 parent
95e8492
commit 4feb38b
Showing
6 changed files
with
144 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.