Echorand Config

Configuration parameters for EchoRand algorithm implementation

1
struct config
2
{
3
unsigned _time_generate = 0; ///< timeout in mills to generate block on GC1
4
unsigned _time_net_1mb = 0; ///< timeout in mills for 1Mb message spreads over the network
5
unsigned _time_net_256b = 0; ///< timeout in mills for 256b message spreads over the network
6
unsigned _creator_count = 0; ///< number of max block creators for this node
7
unsigned _verifier_count = 0; ///< number of max block verifiers for this node
8
unsigned _ok_threshold = 0; ///< threshold to made ok decision, recommended eq. 0.69 * _creator_count
9
unsigned _max_bba_steps = 0; ///< max number of BBA steps
10
unsigned _gc1_delay = 0; ///< delay before sending GC1 messages in milliseconds
11
unsigned _round_attempts = 0; ///< number of max attempts to generate non-empty block on round before stop EchoRand
12
};
Copied!
Last modified 1yr ago
Copy link