Show / Hide Table of Contents

Struct ConsensusReactorOption

A option struct for initializing ConsensusReactor.

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Net.Consensus
Assembly: Libplanet.Net.dll
Syntax
public struct ConsensusReactorOption

Properties

| Improve this Doc View Source

ConsensusPeers

A list of validators.

Declaration
public ImmutableList<BoundPeer> ConsensusPeers { readonly get; set; }
Property Value
Type Description
ImmutableList<BoundPeer>
| Improve this Doc View Source

ConsensusPort

A port number that is used for exchanging ConsensusMsg.

Declaration
public int ConsensusPort { readonly get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

ConsensusPrivateKey

A PrivateKey for signing block and message.

Declaration
public PrivateKey ConsensusPrivateKey { readonly get; set; }
Property Value
Type Description
PrivateKey
| Improve this Doc View Source

ConsensusWorkers

A number of ITransport's worker.

Declaration
public int ConsensusWorkers { readonly get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

ContextTimeoutOptions

A timeout second and multiplier value for used in Context.

Declaration
public ContextTimeoutOption ContextTimeoutOptions { readonly get; set; }
Property Value
Type Description
ContextTimeoutOption
| Improve this Doc View Source

SeedPeers

A list of seeds.

Declaration
public ImmutableList<BoundPeer> SeedPeers { readonly get; set; }
Property Value
Type Description
ImmutableList<BoundPeer>
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium