mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
22 lines
444 B
Go
22 lines
444 B
Go
package config
|
|
|
|
type WaveConfig struct {
|
|
Enable bool
|
|
VoteLimitPerBlock int
|
|
ExecuteOwned bool
|
|
ExecuteMixedOnFinal bool
|
|
EpochFence bool
|
|
VotePrefix []byte
|
|
}
|
|
|
|
func DefaultWave() WaveConfig {
|
|
return WaveConfig{
|
|
Enable: true,
|
|
VoteLimitPerBlock: 256,
|
|
ExecuteOwned: true,
|
|
ExecuteMixedOnFinal: true,
|
|
EpochFence: true,
|
|
VotePrefix: []byte("WAVE/V1"),
|
|
}
|
|
}
|