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 GraniteConfig ¶
func GraniteConfig() gpbft.GraniteConfig
Returns a default Granite configuration.
func SyncConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.