Class ContextTimeoutOption
A options class to configure Context timeout for each ConsensusStep.
Inherited Members
Namespace: Libplanet.Net.Consensus
Assembly: Libplanet.Net.dll
Syntax
public class ContextTimeoutOption
Constructors
| Improve this Doc View SourceContextTimeoutOption(Int32, Int32, Int32, Int32, Int32, Int32)
A options class to configure Context timeout for each ConsensusStep.
Declaration
public ContextTimeoutOption(int proposeSecondBase = 5, int preVoteSecondBase = 5, int preCommitSecondBase = 5, int proposeMultiplier = 1, int preVoteMultiplier = 1, int preCommitMultiplier = 1)
Parameters
Type | Name | Description |
---|---|---|
Int32 | proposeSecondBase | |
Int32 | preVoteSecondBase | |
Int32 | preCommitSecondBase | |
Int32 | proposeMultiplier | |
Int32 | preVoteMultiplier | |
Int32 | preCommitMultiplier |
Properties
| Improve this Doc View SourcePreCommitMultiplier
A options class to configure Context timeout for each ConsensusStep.
Declaration
public int PreCommitMultiplier { get; }
Property Value
Type | Description |
---|---|
Int32 |
PreCommitSecondBase
A options class to configure Context timeout for each ConsensusStep.
Declaration
public int PreCommitSecondBase { get; }
Property Value
Type | Description |
---|---|
Int32 |
PreVoteMultiplier
A options class to configure Context timeout for each ConsensusStep.
Declaration
public int PreVoteMultiplier { get; }
Property Value
Type | Description |
---|---|
Int32 |
PreVoteSecondBase
A options class to configure Context timeout for each ConsensusStep.
Declaration
public int PreVoteSecondBase { get; }
Property Value
Type | Description |
---|---|
Int32 |
ProposeMultiplier
A options class to configure Context timeout for each ConsensusStep.
Declaration
public int ProposeMultiplier { get; }
Property Value
Type | Description |
---|---|
Int32 |
ProposeSecondBase
A options class to configure Context timeout for each ConsensusStep.
Declaration
public int ProposeSecondBase { get; }
Property Value
Type | Description |
---|---|
Int32 |