Versions in this module Expand all Collapse all v1 v1.0.0 Jun 16, 2019 Changes in this version + const BLOCKSTATE_BABY + const BLOCKSTATE_DANGER + const BLOCKSTATE_DEAD + const BLOCKSTATE_HEALTH + const BLOCKSTATE_UNHEALTH + type Block struct + BN uint64 + Logs []Log + func NewBlock(BN uint64) *Block + func (this *Block) AddLog(L *Log) error + func (this *Block) Clear() + type Chain struct + I int + func (this *Chain) BN() uint64 + func (this *Chain) Genesis(path string) + func (this *Chain) ReadBlock(BN uint64) *Block + func (this *Chain) RunTicker(B *Block) + func (this *Chain) StopTicker() + func (this *Chain) WriteBlock(B *Block) + type Config struct + Name string + UID *big.Int + Version uint16 + type Log struct + Hash []byte + Message []byte + Sender []byte + Sig *C.Signature + SupposeBN []byte + func NewLog(Sender []byte, SupposeBN []byte, Message []byte, R []byte, S []byte, H []byte) *Log + func (L *Log) VerifySig() bool