Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExist = errors.New("block assembly already exists") ErrNotExist = errors.New("block assembly does not exist") )
Errors exported by the package.
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download interface { HasInv(hash types.Hash) bool HasTx(hash types.Hash) bool StartInv(hash types.Hash) error StartTx(hash types.Hash) error CancelInv(hash types.Hash) error CancelTx(hash types.Hash) error }
Download represents an interface to the block inventories storage.
type Inventories ¶
Inventories represents an interface to the block inventories storage.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager organizes the block downloads.
type Transactions ¶
Transactions is an interface to the transaction storage.
Click to show internal directories.
Click to hide internal directories.