Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = 20 * time.Second DefaultTimeoutScaling = 0.5 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LinearTimer ¶
type LinearTimer struct {
// contains filtered or unexported fields
}
func (*LinearTimer) TimeoutPrecommit ¶
func (t *LinearTimer) TimeoutPrecommit(height process.Height, round process.Round)
func (*LinearTimer) TimeoutPrevote ¶
func (t *LinearTimer) TimeoutPrevote(height process.Height, round process.Round)
func (*LinearTimer) TimeoutPropose ¶
func (t *LinearTimer) TimeoutPropose(height process.Height, round process.Round)
type Options ¶
type Options struct {
Logger logrus.FieldLogger
Timeout time.Duration
TimeoutScaling float64
}
func DefaultOptions ¶
func DefaultOptions() Options
func (Options) WithTimeoutScaling ¶
Click to show internal directories.
Click to hide internal directories.