Documentation ¶
Overview ¶
Package blockchain contains code for interacting with the decentr blockchain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAddress = errors.New("invalid address")
ErrInvalidAddress is returned when address is invalid. It is unexpected situation.
Functions ¶
Types ¶
type Blockchain ¶
type Blockchain interface { DistributeRewards(rewards []Reward) (tx string, err error) SendStakes(stakes []Stake, memo string) error }
Blockchain is interface for interacting with the blockchain.
Click to show internal directories.
Click to hide internal directories.