Documentation ¶
Index ¶
- 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 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDownloadTxTimeout ¶
func GetFinalizationVoteThreshold ¶
func GetFinalizationVoteThreshold() float64
func GetGossipTimeout ¶
func GetMaxDepthDiff ¶
func GetMaxDepthDiff() uint64
func GetMaxDownloadDepthDiff ¶
func GetMaxDownloadDepthDiff() uint64
func GetPruningLimit ¶
func GetPruningLimit() uint8
func GetQueryTimeout ¶
func GetRoundDepthMajorityWeight ¶
func GetRoundDepthMajorityWeight() float64
func GetSnowballBeta ¶
func GetSnowballBeta() int
func GetSnowballK ¶
func GetSnowballK() int
func GetStakeMajorityWeight ¶
func GetStakeMajorityWeight() float64
func GetSyncChunkSize ¶
func GetSyncChunkSize() int
func GetSyncIfRoundsDifferBy ¶
func GetSyncIfRoundsDifferBy() uint64
func GetSyncVoteThreshold ¶
func GetSyncVoteThreshold() float64
func GetTransactionsNumMajorityWeight ¶
func GetTransactionsNumMajorityWeight() float64
Types ¶
type Option ¶
type Option func(*config)
func WithDownloadTxTimeout ¶
func WithGossipTimeout ¶
func WithMaxDepthDiff ¶
func WithPruningLimit ¶
func WithQueryTimeout ¶
func WithSecret ¶
func WithSnowballBeta ¶
func WithSnowballK ¶
func WithStakeMajorityWeight ¶
func WithSyncChunkSize ¶
func WithSyncVoteThreshold ¶
Click to show internal directories.
Click to hide internal directories.