Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockchain ¶
NewBlockchain creates a database db
func SaveBlock ¶
func SaveBlock(block *protoBlockchain.Block) error
SaveBlock saves a block in the chain
Types ¶
type Blockchain ¶
type ConnectionStore ¶
type ConnectionStore struct {
// contains filtered or unexported fields
}
ConnectionStore handles peer messaging
Click to show internal directories.
Click to hide internal directories.