Documentation ¶
Overview ¶
Package operationfeestats provides useful utilities concerning operation fee stats within stellar,specifically as a central location to store a cached snapshot of the state of network per operation fees and surge pricing. This package is intended to be at the lowest levels of horizon's dependency tree, please keep it free of dependencies to other horizon packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type State ¶
type State struct { FeeMin int64 FeeMode int64 FeeP10 int64 FeeP20 int64 FeeP30 int64 FeeP40 int64 FeeP50 int64 FeeP60 int64 FeeP70 int64 FeeP80 int64 FeeP90 int64 FeeP95 int64 FeeP99 int64 LastBaseFee int64 LastLedger int64 LedgerCapacityUsage string }
State represents a snapshot of horizon's view of the state of operation fee's on the network.
func CurrentState ¶
func CurrentState() State
CurrentState returns the cached snapshot of operation fee state
Click to show internal directories.
Click to hide internal directories.