Documentation ¶
Index ¶
- func NewLeveldbDatabase(dbDir string) (d ledger.Database, err error)
- func Start(dbDir string, doublespend bool) error
- type Client
- type KVStoreApplication
- func (app *KVStoreApplication) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock
- func (app *KVStoreApplication) CheckTx(req abcitypes.RequestCheckTx) abcitypes.ResponseCheckTx
- func (app *KVStoreApplication) Commit() abcitypes.ResponseCommit
- func (app *KVStoreApplication) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx
- func (KVStoreApplication) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock
- func (KVStoreApplication) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo
- func (KVStoreApplication) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain
- func (app *KVStoreApplication) Query(reqQuery abcitypes.RequestQuery) (resQuery abcitypes.ResponseQuery)
- func (KVStoreApplication) SetOption(req abcitypes.RequestSetOption) abcitypes.ResponseSetOption
- type MWApplication
- func (app *MWApplication) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock
- func (app *MWApplication) CheckTx(req abcitypes.RequestCheckTx) abcitypes.ResponseCheckTx
- func (app *MWApplication) Commit() abcitypes.ResponseCommit
- func (app *MWApplication) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx
- func (MWApplication) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock
- func (MWApplication) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo
- func (app *MWApplication) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain
- func (app *MWApplication) Query(reqQuery abcitypes.RequestQuery) (resQuery abcitypes.ResponseQuery)
- func (MWApplication) SetOption(req abcitypes.RequestSetOption) abcitypes.ResponseSetOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListenForSuccessfulTxEvents ¶
func (*Client) ListenForTxEvents ¶
func (t *Client) ListenForTxEvents(onEvent func(evt types.TMEventData)) error
func (*Client) PrintTxEvent ¶
func (t *Client) PrintTxEvent(evt types.TMEventData)
type KVStoreApplication ¶
type KVStoreApplication struct {
// contains filtered or unexported fields
}
func NewKVStoreApplication ¶
func NewKVStoreApplication(db *leveldb.DB) *KVStoreApplication
func (*KVStoreApplication) BeginBlock ¶
func (app *KVStoreApplication) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock
func (*KVStoreApplication) CheckTx ¶
func (app *KVStoreApplication) CheckTx(req abcitypes.RequestCheckTx) abcitypes.ResponseCheckTx
func (*KVStoreApplication) Commit ¶
func (app *KVStoreApplication) Commit() abcitypes.ResponseCommit
func (*KVStoreApplication) DeliverTx ¶
func (app *KVStoreApplication) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx
func (KVStoreApplication) EndBlock ¶
func (KVStoreApplication) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock
func (KVStoreApplication) Info ¶
func (KVStoreApplication) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo
func (KVStoreApplication) InitChain ¶
func (KVStoreApplication) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain
func (*KVStoreApplication) Query ¶
func (app *KVStoreApplication) Query(reqQuery abcitypes.RequestQuery) (resQuery abcitypes.ResponseQuery)
func (KVStoreApplication) SetOption ¶
func (KVStoreApplication) SetOption(req abcitypes.RequestSetOption) abcitypes.ResponseSetOption
type MWApplication ¶
type MWApplication struct {
// contains filtered or unexported fields
}
func NewMWApplication ¶
func NewMWApplication(db ledger.Database, doublespend bool) *MWApplication
func (*MWApplication) BeginBlock ¶
func (app *MWApplication) BeginBlock(req abcitypes.RequestBeginBlock) abcitypes.ResponseBeginBlock
func (*MWApplication) CheckTx ¶
func (app *MWApplication) CheckTx(req abcitypes.RequestCheckTx) abcitypes.ResponseCheckTx
func (*MWApplication) Commit ¶
func (app *MWApplication) Commit() abcitypes.ResponseCommit
func (*MWApplication) DeliverTx ¶
func (app *MWApplication) DeliverTx(req abcitypes.RequestDeliverTx) abcitypes.ResponseDeliverTx
func (MWApplication) EndBlock ¶
func (MWApplication) EndBlock(req abcitypes.RequestEndBlock) abcitypes.ResponseEndBlock
func (MWApplication) Info ¶
func (MWApplication) Info(req abcitypes.RequestInfo) abcitypes.ResponseInfo
func (*MWApplication) InitChain ¶
func (app *MWApplication) InitChain(req abcitypes.RequestInitChain) abcitypes.ResponseInitChain
func (*MWApplication) Query ¶
func (app *MWApplication) Query(reqQuery abcitypes.RequestQuery) (resQuery abcitypes.ResponseQuery)
func (MWApplication) SetOption ¶
func (MWApplication) SetOption(req abcitypes.RequestSetOption) abcitypes.ResponseSetOption
Click to show internal directories.
Click to hide internal directories.