Documentation
¶
Overview ¶
Package block provides block chain engine functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block interface {
// ID returns the block's unique identifier
ID() string
// Height returns the block's height
Height() uint64
// Parent returns the parent block's ID
Parent() string
// Timestamp returns the block's timestamp
Timestamp() int64
}
Block represents a block in the blockchain
Click to show internal directories.
Click to hide internal directories.