Documentation ¶
Index ¶
- func BlockByKey(height string) ([]byte, []byte)
- func DBReset(cfg *infraconfig.Config) bool
- func GenesisConsensusDBCreate(gc []byte, db database.Database) bool
- func LastBlockRPC(db database.Database) ([]byte, []byte)
- func ReadTx(m []byte) domaintx
- func ReadTxn(m []byte) *domaintx
- type Domain
- type Metchain
- func (mc *Metchain) Close() interface{}
- func (mc *Metchain) Delete(key *database.Key) interface{}
- func (mc *Metchain) Get(key *database.Key) ([]byte, interface{})
- func (mc *Metchain) Has(key *database.Key) (bool, interface{})
- func (mc *Metchain) LastBlock() ([]byte, []byte)
- func (mc *Metchain) Put(key *database.Key, value []byte) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockByKey ¶
func DBReset ¶
func DBReset(cfg *infraconfig.Config) bool
Types ¶
type Domain ¶
type Domain interface { Consensus() external.Consensus ConsensusEventsChannel() chan external.ConsensusEvent MiningManager() miningmanager.MiningManager }
Domain provides a reference to the domain's external aps
type Metchain ¶
Click to show internal directories.
Click to hide internal directories.