Documentation
¶
Index ¶
- Variables
- func ApplyClairveilGenesisDefaults(cdc codec.Codec, genesis map[string]json.RawMessage)
- func BlockedAddresses() map[string]bool
- func GetMaccPerms() map[string][]string
- func NewAnteHandler(options ante.HandlerOptions) (sdk.AnteHandler, error)
- type BatchTransferRawFramingDecorator
- type ClairveilApp
- func (app *ClairveilApp) AppCodec() codec.Codec
- func (app *ClairveilApp) BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error)
- func (app *ClairveilApp) DefaultGenesis() map[string]json.RawMessage
- func (app *ClairveilApp) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error)
- func (app *ClairveilApp) ExportAppStateAndValidators(forZeroHeight bool, _ []string, modulesToExport []string) (servertypes.ExportedApp, error)
- func (app *ClairveilApp) GetKey(storeKey string) *storetypes.KVStoreKey
- func (app *ClairveilApp) GetSubspace(moduleName string) paramstypes.Subspace
- func (app *ClairveilApp) InitChainer(ctx sdk.Context, req *abci.RequestInitChain) (*abci.ResponseInitChain, error)
- func (app *ClairveilApp) InterfaceRegistry() codectypes.InterfaceRegistry
- func (app *ClairveilApp) LegacyAmino() *codec.LegacyAmino
- func (app *ClairveilApp) LoadHeight(height int64) error
- func (app *ClairveilApp) Name() string
- func (app *ClairveilApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig serverconfig.APIConfig)
- func (app *ClairveilApp) RegisterNodeService(clientCtx client.Context, cfg serverconfig.Config)
- func (app *ClairveilApp) RegisterTendermintService(clientCtx client.Context)
- func (app *ClairveilApp) RegisterTxService(clientCtx client.Context)
- func (app *ClairveilApp) TxConfig() client.TxConfig
- type GenesisState
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultNodeHome string
Functions ¶
func ApplyClairveilGenesisDefaults ¶
func ApplyClairveilGenesisDefaults(cdc codec.Codec, genesis map[string]json.RawMessage)
ApplyClairveilGenesisDefaults rewrites generic SDK genesis defaults to the canonical Clairveil reference-chain defaults.
func BlockedAddresses ¶
func GetMaccPerms ¶
func NewAnteHandler ¶
func NewAnteHandler(options ante.HandlerOptions) (sdk.AnteHandler, error)
NewAnteHandler returns the standard signature/sequence validation chain.
Types ¶
type BatchTransferRawFramingDecorator ¶ added in v0.2.0
type BatchTransferRawFramingDecorator struct{}
BatchTransferRawFramingDecorator enforces the per-message wire cap against the signed Any.value bytes. Msg.Size() only sees the decoded last value for a duplicate singular protobuf field and therefore remains a secondary decoded shape check, not the consensus raw-wire bound.
func (BatchTransferRawFramingDecorator) AnteHandle ¶ added in v0.2.0
type ClairveilApp ¶
type ClairveilApp struct {
*baseapp.BaseApp
AccountKeeper authkeeper.AccountKeeper
BankKeeper bankkeeper.Keeper
StakingKeeper *stakingkeeper.Keeper
SlashingKeeper slashingkeeper.Keeper
MintKeeper mintkeeper.Keeper
DistrKeeper distrkeeper.Keeper
GovKeeper govkeeper.Keeper
ParamsKeeper paramskeeper.Keeper
ConsensusParamsKeeper consensusparamkeeper.Keeper
PrivacyKeeper privacykeeper.Keeper
ModuleManager *module.Manager
BasicModuleManager module.BasicManager
// contains filtered or unexported fields
}
func NewClairveilApp ¶
func NewClairveilApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) *ClairveilApp
func (*ClairveilApp) AppCodec ¶
func (app *ClairveilApp) AppCodec() codec.Codec
func (*ClairveilApp) BeginBlocker ¶
func (app *ClairveilApp) BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error)
func (*ClairveilApp) DefaultGenesis ¶
func (app *ClairveilApp) DefaultGenesis() map[string]json.RawMessage
func (*ClairveilApp) EndBlocker ¶
func (*ClairveilApp) ExportAppStateAndValidators ¶
func (app *ClairveilApp) ExportAppStateAndValidators( forZeroHeight bool, _ []string, modulesToExport []string, ) (servertypes.ExportedApp, error)
func (*ClairveilApp) GetKey ¶
func (app *ClairveilApp) GetKey(storeKey string) *storetypes.KVStoreKey
func (*ClairveilApp) GetSubspace ¶
func (app *ClairveilApp) GetSubspace(moduleName string) paramstypes.Subspace
func (*ClairveilApp) InitChainer ¶
func (app *ClairveilApp) InitChainer(ctx sdk.Context, req *abci.RequestInitChain) (*abci.ResponseInitChain, error)
func (*ClairveilApp) InterfaceRegistry ¶
func (app *ClairveilApp) InterfaceRegistry() codectypes.InterfaceRegistry
func (*ClairveilApp) LegacyAmino ¶
func (app *ClairveilApp) LegacyAmino() *codec.LegacyAmino
func (*ClairveilApp) LoadHeight ¶
func (app *ClairveilApp) LoadHeight(height int64) error
func (*ClairveilApp) Name ¶
func (app *ClairveilApp) Name() string
func (*ClairveilApp) RegisterAPIRoutes ¶
func (app *ClairveilApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig serverconfig.APIConfig)
func (*ClairveilApp) RegisterNodeService ¶
func (app *ClairveilApp) RegisterNodeService(clientCtx client.Context, cfg serverconfig.Config)
func (*ClairveilApp) RegisterTendermintService ¶
func (app *ClairveilApp) RegisterTendermintService(clientCtx client.Context)
func (*ClairveilApp) RegisterTxService ¶
func (app *ClairveilApp) RegisterTxService(clientCtx client.Context)
func (*ClairveilApp) TxConfig ¶
func (app *ClairveilApp) TxConfig() client.TxConfig
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState is the module-name keyed application genesis state.
Click to show internal directories.
Click to hide internal directories.