You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
903 B

package types
type BaseApplication struct {
}
func NewBaseApplication() *BaseApplication {
return &BaseApplication{}
}
func (BaseApplication) Info(req RequestInfo) ResponseInfo {
return ResponseInfo{}
}
func (BaseApplication) SetOption(key string, value string) (log string) {
return ""
}
func (BaseApplication) DeliverTx(tx []byte) ResponseDeliverTx {
return ResponseDeliverTx{}
}
func (BaseApplication) CheckTx(tx []byte) ResponseCheckTx {
return ResponseCheckTx{}
}
func (BaseApplication) Commit() ResponseCommit {
return ResponseCommit{Code: CodeType_OK, Data: []byte("nil")}
}
func (BaseApplication) Query(req RequestQuery) ResponseQuery {
return ResponseQuery{}
}
func (BaseApplication) InitChain(req RequestInitChain) {
}
func (BaseApplication) BeginBlock(req RequestBeginBlock) {
}
func (BaseApplication) EndBlock(height uint64) ResponseEndBlock {
return ResponseEndBlock{}
}