Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NewChainConfigCtxErr = errors.New("new updateConfig ctx faild because param error")
)
Functions ¶
This section is empty.
Types ¶
type ChainConfigCtx ¶
type ChainConfigCtx struct { xcontext.BaseCtx BcName string Contract contract.Manager ChainCtx *common.ChainCtx OldGasPrice *protos.GasPrice OldMaxBlockSize int64 }
func NewChainConfigCtx ¶
func NewChainConfigCtx(chainCtx *common.ChainCtx) (*ChainConfigCtx, error)
type KernMethod ¶
type KernMethod struct { BcName string Context *ChainConfigCtx }
func NewKernMethod ¶
func NewKernMethod(ctx *ChainConfigCtx) *KernMethod
type LedgerRely ¶
type LedgerRely interface {
GetTipXMSnapshotReader() (ledger.XMSnapshotReader, error)
}
type Manager ¶
type Manager struct {
Ctx *ChainConfigCtx
}
func NewChainConfigManager ¶
func NewChainConfigManager(ctx *ChainConfigCtx) (*Manager, error)
Click to show internal directories.
Click to hide internal directories.