Documentation ¶
Index ¶
- Variables
- type Writer
- func (w *Writer) Bootstrap(ctx context.Context, conns *utils.Connections, persist db.Persist) error
- func (w *Writer) Close()
- func (w *Writer) Consume(ctx context.Context, conns *utils.Connections, c services.Consumable, ...) error
- func (w *Writer) ConsumeConsensus(_ context.Context, _ *utils.Connections, _ services.Consumable, _ db.Persist) error
- func (*Writer) Name() string
- func (w *Writer) ParseJSON(txdata []byte, proposer *models.BlockProposal) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownBlockType = errors.New("unknown block type")
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) Consume ¶
func (w *Writer) Consume(ctx context.Context, conns *utils.Connections, c services.Consumable, persist db.Persist) error
func (*Writer) ConsumeConsensus ¶
func (w *Writer) ConsumeConsensus(_ context.Context, _ *utils.Connections, _ services.Consumable, _ db.Persist) error
Click to show internal directories.
Click to hide internal directories.