Struct ConsensusReactorOption
A option struct for initializing ConsensusReactor.
Inherited Members
Namespace: Libplanet.Net.Consensus
Assembly: Libplanet.Net.dll
Syntax
public struct ConsensusReactorOption
Properties
| Improve this Doc View SourceConsensusPeers
A list of validators.
Declaration
public ImmutableList<BoundPeer> ConsensusPeers { readonly get; set; }
Property Value
Type | Description |
---|---|
ImmutableList<BoundPeer> |
ConsensusPort
A port number that is used for exchanging ConsensusMsg.
Declaration
public int ConsensusPort { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ConsensusPrivateKey
A PrivateKey for signing block and message.
Declaration
public PrivateKey ConsensusPrivateKey { readonly get; set; }
Property Value
Type | Description |
---|---|
PrivateKey |
ConsensusWorkers
A number of ITransport's worker.
Declaration
public int ConsensusWorkers { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ContextTimeoutOptions
A timeout second and multiplier value for used in Context.
Declaration
public ContextTimeoutOption ContextTimeoutOptions { readonly get; set; }
Property Value
Type | Description |
---|---|
ContextTimeoutOption |
SeedPeers
A list of seeds.
Declaration
public ImmutableList<BoundPeer> SeedPeers { readonly get; set; }
Property Value
Type | Description |
---|---|
ImmutableList<BoundPeer> |
TargetBlockInterval
A time delay in starting the consensus for the next height block.
Declaration
public TimeSpan TargetBlockInterval { readonly get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |