Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + type BootstrapConfig struct + State State + TxBlocked *queue.Jobs + VM DAGVM + VtxBlocked *queue.Jobs + type Config struct + Consensus avalanche.Consensus + Params avalanche.Parameters + type DAGVM interface + GetTx func(ids.ID) (snowstorm.Tx, error) + ParseTx func(tx []byte) (snowstorm.Tx, error) + PendingTxs func() []snowstorm.Tx + type Engine interface + Initialize func(Config) + type State interface + BuildVertex func(parentIDs ids.Set, txs []snowstorm.Tx) (avalanche.Vertex, error) + Edge func() (vtxIDs []ids.ID) + GetVertex func(vtxID ids.ID) (avalanche.Vertex, error) + ParseVertex func(vertex []byte) (avalanche.Vertex, error) + type Transitive struct + func (b *Transitive) CurrentAcceptedFrontier() ids.Set + func (b *Transitive) FilterAccepted(containerIDs ids.Set) ids.Set + func (b *Transitive) ForceAccepted(acceptedContainerIDs ids.Set) + func (t *Transitive) Chits(vdr ids.ShortID, requestID uint32, votes ids.Set) + func (t *Transitive) Context() *snow.Context + func (t *Transitive) Get(vdr ids.ShortID, requestID uint32, vtxID ids.ID) + func (t *Transitive) GetFailed(vdr ids.ShortID, requestID uint32, vtxID ids.ID) + func (t *Transitive) Initialize(config Config) + func (t *Transitive) Notify(msg common.Message) + func (t *Transitive) PullQuery(vdr ids.ShortID, requestID uint32, vtxID ids.ID) + func (t *Transitive) PushQuery(vdr ids.ShortID, requestID uint32, vtxID ids.ID, vtx []byte) + func (t *Transitive) Put(vdr ids.ShortID, requestID uint32, vtxID ids.ID, vtxBytes []byte) + func (t *Transitive) QueryFailed(vdr ids.ShortID, requestID uint32) + func (t *Transitive) Shutdown() + type VMTest struct + CantGetTx bool + CantIssueTx bool + CantParseTx bool + CantPendingTxs bool + GetTxF func(ids.ID) (snowstorm.Tx, error) + IssueTxF func([]byte, func(choices.Status), func(choices.Status)) (ids.ID, error) + ParseTxF func([]byte) (snowstorm.Tx, error) + PendingTxsF func() []snowstorm.Tx + func (vm *VMTest) Default(cant bool) + func (vm *VMTest) GetTx(txID ids.ID) (snowstorm.Tx, error) + func (vm *VMTest) IssueTx(b []byte, issued, finalized func(choices.Status)) (ids.ID, error) + func (vm *VMTest) ParseTx(b []byte) (snowstorm.Tx, error) + func (vm *VMTest) PendingTxs() []snowstorm.Tx