config

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTPHost string `json:"host"`
	HTTPPort int    `json:"port"`

	TokenRPC string `json:"tokenRPC"`

	Recipient string `json:"recipient"`

	FeedSize               int    `json:"feedSize"`
	MinFee                 uint64 `json:"minFee"`
	FeeDelta               uint64 `json:"feeDelta"`
	MessagesPerEpoch       int    `json:"messagesPerEpoch"`
	TargetDurationPerEpoch int64  `json:"targetDurationPerEpoch"` // seconds
	// contains filtered or unexported fields
}

func (*Config) RecipientPublicKey

func (c *Config) RecipientPublicKey() (ed25519.PublicKey, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL