Documentation ¶
Index ¶
Constants ¶
View Source
const ( CooldownTime = 1000 * time.Millisecond ServerShutdownTimeout = 1000 * time.Millisecond LoggingCallerDepth = 5 AccountsRingMutexCount = 100 BurrowDBName = "burrow_state" )
Variables ¶
This section is empty.
Functions ¶
func NewBurrowDB ¶
Types ¶
type Kernel ¶
type Kernel struct { // Expose these public-facing interfaces to allow programmatic extension of the Kernel by other projects Emitter event.Emitter Service *rpc.Service Launchers []process.Launcher State *execution.State Blockchain *bcm.Blockchain Node *tendermint.Node Transactor *execution.Transactor // Time-based UUID randomly generated each time Burrow is started RunID simpleuuid.UUID Logger *logging.Logger // contains filtered or unexported fields }
Kernel is the root structure of Burrow
func NewKernel ¶
func NewKernel(ctx context.Context, keyClient keys.KeyClient, privValidator tmTypes.PrivValidator, genesisDoc *genesis.GenesisDoc, tmConf *tmConfig.Config, rpcConfig *rpc.RPCConfig, keyConfig *keys.KeysConfig, keyStore *keys.KeyStore, exeOptions []execution.ExecutionOption, authorizedPeersProvider abci.PeersFilterProvider, logger *logging.Logger) (*Kernel, error)
Click to show internal directories.
Click to hide internal directories.