Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedPricer ¶
type FixedPricer struct {
// contains filtered or unexported fields
}
FixedPricer is a Pricer that has a fixed price for chunks.
func NewFixedPricer ¶
func NewFixedPricer(overlay swarm.Address, poPrice uint64) *FixedPricer
NewFixedPricer returns a new FixedPricer with a given price.
func (*FixedPricer) MostExpensive ¶
func (pricer *FixedPricer) MostExpensive() *big.Int
Click to show internal directories.
Click to hide internal directories.