Skip to content

Increase bulk size from 100 -> 500 #115

@MatusKysel

Description

@MatusKysel

Currently have fixed limit of bulk validators https://github.com/ssvlabs/ssv-dkg/blob/unstable/cli/utils/utils.go#L362 set to 100.

For increasing this we should consider changing following values:
https://github.com/ssvlabs/ssv-dkg/blob/unstable/pkgs/initiator/initiator.go#L113
https://github.com/ssvlabs/ssv-dkg/blob/unstable/pkgs/wire/dkg.go#L37

and probably implementing this

// FastSync is a mode where nodes sends pre-emptively responses indicating
	// that the shares they received are good. If a share is invalid, a
	// complaint is still sent as usual. This has two consequences:
	//  - In the event all shares are good, nodes don't need to wait for the
	//  timeout; they can already finish the protocol at the point.
	//  - However, it requires nodes to send more messages on the network. We
	//  pass from a O(f) where f is the number of faults to a O(n^2). Note that
	//  the responses messages are small.
	FastSync [bool](https://pkg.go.dev/builtin#bool)

source https://pkg.go.dev/github.com/drand/kyber/share/dkg

With this flag enabled, we should be able to run the DKG ceremony faster, but it will increase the number of messages on the network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions