test

package
v0.0.0-...-f5ab694 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ASYNC_ITERS = 5000
View Source
const DELTA = 200 * time.Millisecond

Configuration constants used across most tests. These values are not intended to reflect real-world conditions. The latency and delta values are similar in order to stress "slow" message paths and interleaving. The values are not appropriate for benchmarks. Granite configuration.

View Source
const DELTA_BACK_OFF_EXPONENT = 1.300
View Source
const EC_EPOCH_DURATION = 30 * time.Second
View Source
const EC_STABILISATION_DELAY = 3 * time.Second
View Source
const LATENCY_ASYNC = 100 * time.Millisecond
View Source
const LATENCY_SYNC = 0

Simulator configuration.

View Source
const MAX_ROUNDS = 10

Variables

This section is empty.

Functions

func AsyncConfig

func AsyncConfig(honestCount, latencySeed int) sim.Config

func GraniteConfig

func GraniteConfig() gpbft.GraniteConfig

Returns a default Granite configuration.

func SyncConfig

func SyncConfig(honestCount int) sim.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL