feemanager

package
v1.4.7-antfarm Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeeManager

type FeeManager struct {
	// contains filtered or unexported fields
}

FeeManager is responsible for tracking any application fees that are being charged to this siad instance

func New

func New(cs modules.ConsensusSet, w modules.Wallet, persistDir string) (*FeeManager, error)

New creates a new FeeManager

func NewCustomFeeManager

func NewCustomFeeManager(cs modules.ConsensusSet, w modules.Wallet, persistDir, serverStr string, deps modules.Dependencies) (*FeeManager, error)

NewCustomFeeManager creates a new FeeManager using custom dependencies and custom server string

func (*FeeManager) Close

func (fm *FeeManager) Close() error

Close closes the FeeManager

Jump to

Keyboard shortcuts

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