Documentation ¶
Index ¶
- func BroadcastTxAsyncFunc(validator *Node, txEncoder txs.Encoder) func(tx txs.Tx, callback func(res *abci_types.Response)) error
- func DeriveGenesisDoc(burrowGenesisDoc *genesis.GenesisDoc) *tm_types.GenesisDoc
- func EventBusAsSubscribable(eventBus tm_types.EventBusSubscriber) event.Subscribable
- func NewLogger(logger *logging.Logger) *tendermintLogger
- func PublishAllEvents(ctx context.Context, fromSubscribable event.Subscribable, subscriber string, ...) error
- func PublishEvent(ctx context.Context, fromSubscribable event.Subscribable, subscriber string, ...) error
- func SubscribableAsEventBus(subscribable event.Subscribable) tm_types.EventBusSubscriber
- func SubscribeNewBlock(ctx context.Context, subscribable event.Subscribable, subscriber string, ...) error
- type BurrowTendermintConfig
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastTxAsyncFunc ¶ added in v0.18.0
func DeriveGenesisDoc ¶ added in v0.18.0
func DeriveGenesisDoc(burrowGenesisDoc *genesis.GenesisDoc) *tm_types.GenesisDoc
func EventBusAsSubscribable ¶ added in v0.18.0
func EventBusAsSubscribable(eventBus tm_types.EventBusSubscriber) event.Subscribable
func PublishAllEvents ¶ added in v0.18.0
func PublishAllEvents(ctx context.Context, fromSubscribable event.Subscribable, subscriber string, toPublisher event.Publisher) error
Publishes all tendermint events available on subscribable to publisher
func PublishEvent ¶ added in v0.18.0
func SubscribableAsEventBus ¶ added in v0.18.0
func SubscribableAsEventBus(subscribable event.Subscribable) tm_types.EventBusSubscriber
func SubscribeNewBlock ¶ added in v0.18.0
func SubscribeNewBlock(ctx context.Context, subscribable event.Subscribable, subscriber string, ch chan<- *tm_types.EventDataNewBlock) error
Types ¶
type BurrowTendermintConfig ¶ added in v0.18.0
type BurrowTendermintConfig struct { Seeds string ListenAddress string Moniker string TendermintRoot string }
Burrow's view on Tendermint's config. Since we operate as a Tendermint harness not all configuration values are applicable, we may not allow some values to specified, or we may not allow some to be set independently. So this serves as a layer of indirection over Tendermint's real config that we derive from ours.
func DefaultBurrowTendermintConfig ¶ added in v0.18.0
func DefaultBurrowTendermintConfig() *BurrowTendermintConfig
func (*BurrowTendermintConfig) TendermintConfig ¶ added in v0.18.0
func (btc *BurrowTendermintConfig) TendermintConfig() *tm_config.Config
type Node ¶ added in v0.18.0
Serves as a wrapper around the Tendermint node's closeable resources (database connections)
func NewNode ¶ added in v0.18.0
func NewNode( conf *config.Config, privValidator tm_types.PrivValidator, genesisDoc *tm_types.GenesisDoc, blockchain bcm.MutableBlockchain, checker execution.BatchExecutor, committer execution.BatchCommitter, logger *logging.Logger) (*Node, error)
Click to show internal directories.
Click to hide internal directories.