Versions in this module Expand all Collapse all v0 v0.4.1 Dec 25, 2018 v0.4.0 Dec 24, 2018 Changes in this version + const KvMapperName + func GetKVCmd(cdc *wire.Codec) *cobra.Command + func NewGetKVReq(r *http.Request) (*getKVReq, error) + func NewSendKVReq(r *http.Request) (*sendKVReq, error) + func QueryKRequestHandlerFnGet(storeName string, cdc *wire.Codec, cliCtx context.CLIContext) http.HandlerFunc + func RegisterRoutes(cdc *wire.Codec, r *mux.Router) + func SendKVCmd(cdc *wire.Codec) *cobra.Command + type GetKVOption struct + func NewGetKVOption(fs ...SetGetKVOption) (*GetKVOption, error) + type KVStub struct + KvTx KvstoreTx + func NewKVStub() KVStub + func (kv KVStub) CustomerQuery(ctx ctx.Context, route []string, req abci.RequestQuery) (res []byte, err types.Error) + func (kv KVStub) EndBlockNotify(ctx context.Context) + func (kv KVStub) Name() string + func (kv KVStub) RegisterCdc(cdc *go_amino.Codec) + func (kv KVStub) ResultNotify(ctx context.Context, txQcpResult interface{}) *types.Result + func (kv KVStub) StartX(base *baseapp.QstarsBaseApp) error + type KvstoreTx struct + Bytes []byte + Key []byte + Value []byte + func NewKvstoreTx(key []byte, value []byte) KvstoreTx + func NewKvstoreTxHandler() KvstoreTx + func (kv KvstoreTx) CalcGas() types.BigInt + func (kv KvstoreTx) Exec(ctx context.Context) (result types.Result, crossTxQcps *txs.TxQcp) + func (kv KvstoreTx) GetGasPayer() types.Address + func (kv KvstoreTx) GetSignData() []byte + func (kv KvstoreTx) GetSigner() []types.Address + func (kv KvstoreTx) ValidateData(ctx context.Context) error + type ResultGetKV struct + Value string + func GetKV(cdc *wire.Codec, key string, opt *GetKVOption) (*ResultGetKV, error) + type ResultSendKV struct + Hash string + func SendKV(cdc *wire.Codec, privateKey, key, value string, option *SendKVOption) (*ResultSendKV, error) + type SendKVOption struct + func NewSendKVOption(fs ...SetSendKVOption) (*SendKVOption, error) + type SetGetKVOption func(*GetKVOption) error + func GetKVOptionChainID(chainID string) SetGetKVOption + type SetSendKVOption func(*SendKVOption) error + func SendKVOptionChainID(chainID string) SetSendKVOption + func SendKVOptionSequence(sequence string) SetSendKVOption