Documentation ¶
Index ¶
- Constants
- func BuildQSCKey(qscName string) []byte
- func BuildQSCKeyPrefix() []byte
- func BuildQueryQSCPath(qscName string) string
- func BuildQueryQSCsPath() string
- func QSCsInvariant(module string) qtypes.Invariant
- func Query(ctx context.Context, route []string, req abci.RequestQuery) (res []byte, err btypes.Error)
- type Mapper
- func (mapper *Mapper) Copy() mapper.IMapper
- func (mapper *Mapper) Exists(qscName string) bool
- func (mapper *Mapper) GetQSCs() []types.QSCInfo
- func (mapper *Mapper) GetQsc(qscName string) (info types.QSCInfo, exists bool)
- func (mapper *Mapper) GetRootCAPubkey() crypto.PubKey
- func (mapper *Mapper) SaveQsc(qscInfo *types.QSCInfo)
- func (mapper *Mapper) SetRootCAPubkey(pubKey crypto.PubKey)
Constants ¶
View Source
const ( MapperName = "qsc" Key = "qsc/%s" RootCAKey = "rootca" )
View Source
const ( QSC = "qsc" Qsc = "qsc" Qscs = "qscs" )
Variables ¶
This section is empty.
Functions ¶
func BuildQSCKey ¶
func BuildQSCKeyPrefix ¶
func BuildQSCKeyPrefix() []byte
func BuildQueryQSCPath ¶ added in v0.0.8
func BuildQueryQSCsPath ¶ added in v0.0.8
func BuildQueryQSCsPath() string
func QSCsInvariant ¶ added in v0.0.7
Types ¶
type Mapper ¶
type Mapper struct {
*mapper.BaseMapper
}
func (*Mapper) GetRootCAPubkey ¶ added in v0.0.8
获取 kepler qsc 根证书公钥
func (*Mapper) SetRootCAPubkey ¶ added in v0.0.8
保存 kepler qsc 根证书公钥
Click to show internal directories.
Click to hide internal directories.