Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2019 Changes in this version + func GetCheckOutOfSyncTimeout() time.Duration + func GetDownloadTxTimeout() time.Duration + func GetFinalizationVoteThreshold() float64 + func GetGossipTimeout() time.Duration + func GetMaxDepthDiff() uint64 + func GetMaxDownloadDepthDiff() uint64 + func GetPruningLimit() uint8 + func GetQueryTimeout() time.Duration + func GetRoundDepthMajorityWeight() float64 + func GetSecret() string + func GetSnowballBeta() int + func GetSnowballK() int + func GetStakeMajorityWeight() float64 + func GetSyncChunkSize() int + func GetSyncIfRoundsDifferBy() uint64 + func GetSyncVoteThreshold() float64 + func GetTransactionsNumMajorityWeight() float64 + func Stringify() string + func Update(options ...Option) + type Option func(*config) + func WithCheckOutOfSyncTimeout(ct time.Duration) Option + func WithDownloadTxTimeout(dt time.Duration) Option + func WithFinalizationVoteThreshold(sa float64) Option + func WithGossipTimeout(gt time.Duration) Option + func WithMaxDepthDiff(dd uint64) Option + func WithMaxDownloadDepthDiff(ddd uint64) Option + func WithPruningLimit(pl uint8) Option + func WithQueryTimeout(qt time.Duration) Option + func WithRoundDepthMajorityWeight(sa float64) Option + func WithSecret(s string) Option + func WithSnowballBeta(sb int) Option + func WithSnowballK(sk int) Option + func WithStakeMajorityWeight(sa float64) Option + func WithSyncChunkSize(cs int) Option + func WithSyncIfRoundsDifferBy(rdb uint64) Option + func WithSyncVoteThreshold(sa float64) Option + func WithTransactionsNumMajorityWeight(sa float64) Option