Documentation ¶
Overview ¶
Package blockchain contains code for interacting with the decentr blockchain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain interface {
DistributeReward(receiver sdk.AccAddress, id uint64, reward uint64) error
}
Blockchain is interface for interacting with the blockchain.
func New ¶ added in v1.1.4
func New(b *broadcaster.Broadcaster) Blockchain
New returns new instance of Blockchain.
Click to show internal directories.
Click to hide internal directories.