Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockChain ¶
type BlockChain struct {
// contains filtered or unexported fields
}
func New ¶
func New(c *consensus.PBFT, ws *world_state.WroldState, switcher network.SwitcherI) *BlockChain
func (*BlockChain) Start ¶
func (bc *BlockChain) Start() error
func (*BlockChain) StartAPI ¶
func (bc *BlockChain) StartAPI(g *echo.Group)
type BlockPool ¶
func NewBlockPool ¶
func NewBlockPool(ws *world_state.WroldState, switcher network.SwitcherI) *BlockPool
func (*BlockPool) DownloadBlock ¶
func (bp *BlockPool) DownloadBlock()
func (*BlockPool) RemoveBlock ¶
Click to show internal directories.
Click to hide internal directories.