blockchain

package
v0.0.0-...-f35c528 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeInfo

func GetNodeInfo(config *cfg.Config, dbPath string) (p2p.NodeInfo, error)

func Run

func Run(ctx context.Context, dbPath string, config *cfg.Config, laddrReturner chan string) error

Types

type PromiseApp

type PromiseApp struct {
	// contains filtered or unexported fields
}

func NewPromiseApp

func NewPromiseApp(db *badger.DB) *PromiseApp

func (*PromiseApp) ApplySnapshotChunk

func (*PromiseApp) BeginBlock

func (*PromiseApp) CheckTx

func (*PromiseApp) Commit

func (app *PromiseApp) Commit() abci.ResponseCommit

func (*PromiseApp) DeliverTx

func (*PromiseApp) EndBlock

func (*PromiseApp) Info

func (app *PromiseApp) Info(req abci.RequestInfo) abci.ResponseInfo

func (*PromiseApp) InitChain

func (*PromiseApp) ListSnapshots

func (*PromiseApp) LoadSnapshotChunk

func (*PromiseApp) OfferSnapshot

func (*PromiseApp) Query

func (app *PromiseApp) Query(req abci.RequestQuery) abci.ResponseQuery

func (*PromiseApp) SetOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL