Documentation ¶
Index ¶
- Variables
- func RegisterCodec(cdc *amino.Codec)
- type TxInitQCP
- func (tx TxInitQCP) CalcGas() btypes.BigInt
- func (tx TxInitQCP) Exec(ctx context.Context) (result btypes.Result, crossTxQcp *txs.TxQcp)
- func (tx TxInitQCP) GetGasPayer() btypes.AccAddress
- func (tx TxInitQCP) GetSignData() (ret []byte)
- func (tx TxInitQCP) GetSigner() []btypes.AccAddress
- func (tx TxInitQCP) ValidateData(ctx context.Context) error
- func (tx TxInitQCP) ValidateInputs() error
Constants ¶
This section is empty.
Variables ¶
View Source
var Cdc = baseabci.MakeQBaseCodec()
View Source
var GasForCreateQCP = int64(1.8*qtypes.UnitQOS) * qtypes.UnitQOSGas // 1.8 QOS
Functions ¶
func RegisterCodec ¶
func RegisterCodec(cdc *amino.Codec)
Types ¶
type TxInitQCP ¶
type TxInitQCP struct { Creator btypes.AccAddress `json:"creator"` //创建账户 QCPCA *cert.Certificate `json:"ca_qcp"` //CA信息 }
初始化联盟链Tx
func (TxInitQCP) GetGasPayer ¶
func (tx TxInitQCP) GetGasPayer() btypes.AccAddress
func (TxInitQCP) GetSignData ¶
func (TxInitQCP) GetSigner ¶
func (tx TxInitQCP) GetSigner() []btypes.AccAddress
Click to show internal directories.
Click to hide internal directories.