Documentation ¶
Index ¶
- Variables
- type AddrType
- type BlockConfig
- func (*BlockConfig) Descriptor() ([]byte, []int)
- func (m *BlockConfig) GetBlockInterval() uint32
- func (m *BlockConfig) GetBlockSize() uint32
- func (m *BlockConfig) GetBlockTimeout() uint32
- func (m *BlockConfig) GetBlockTimestampVerify() bool
- func (m *BlockConfig) GetBlockTxCapacity() uint32
- func (m *BlockConfig) GetTxParameterSize() uint32
- func (m *BlockConfig) GetTxTimeout() uint32
- func (m *BlockConfig) GetTxTimestampVerify() bool
- func (m *BlockConfig) Marshal() (dAtA []byte, err error)
- func (m *BlockConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockConfig) ProtoMessage()
- func (m *BlockConfig) Reset()
- func (m *BlockConfig) Size() (n int)
- func (m *BlockConfig) String() string
- func (m *BlockConfig) Unmarshal(dAtA []byte) error
- func (m *BlockConfig) XXX_DiscardUnknown()
- func (m *BlockConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockConfig) XXX_Merge(src proto.Message)
- func (m *BlockConfig) XXX_Size() int
- func (m *BlockConfig) XXX_Unmarshal(b []byte) error
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)
- func (m *ChainConfig) GetAccountConfig() *GasAccountConfig
- func (m *ChainConfig) GetAuthType() string
- func (m *ChainConfig) GetBlock() *BlockConfig
- func (c *ChainConfig) GetBlockVersion() uint32
- func (m *ChainConfig) GetChainId() string
- func (m *ChainConfig) GetConsensus() *ConsensusConfig
- func (m *ChainConfig) GetContext() *ContextConfig
- func (m *ChainConfig) GetContract() *ContractConfig
- func (m *ChainConfig) GetCore() *CoreConfig
- func (m *ChainConfig) GetCrypto() *CryptoConfig
- func (m *ChainConfig) GetDisabledNativeContract() []string
- func (m *ChainConfig) GetEthConfig() *EthConfig
- func (m *ChainConfig) GetResourcePolicies() []*ResourcePolicy
- func (m *ChainConfig) GetScheduler() *SchedulerConfig
- func (m *ChainConfig) GetSequence() uint64
- func (m *ChainConfig) GetSnapshot() *SnapshotConfig
- func (m *ChainConfig) GetTrustMembers() []*TrustMemberConfig
- func (m *ChainConfig) GetTrustRoots() []*TrustRootConfig
- func (m *ChainConfig) GetVersion() string
- func (m *ChainConfig) GetVm() *Vm
- func (m *ChainConfig) Marshal() (dAtA []byte, err error)
- func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainConfig) ProtoMessage()
- func (m *ChainConfig) Reset()
- func (m *ChainConfig) Size() (n int)
- func (m *ChainConfig) String() string
- func (m *ChainConfig) Unmarshal(dAtA []byte) error
- func (m *ChainConfig) XXX_DiscardUnknown()
- func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainConfig) XXX_Merge(src proto.Message)
- func (m *ChainConfig) XXX_Size() int
- func (m *ChainConfig) XXX_Unmarshal(b []byte) error
- type ChainMakerVersionRequest
- func (*ChainMakerVersionRequest) Descriptor() ([]byte, []int)
- func (m *ChainMakerVersionRequest) Marshal() (dAtA []byte, err error)
- func (m *ChainMakerVersionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainMakerVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainMakerVersionRequest) ProtoMessage()
- func (m *ChainMakerVersionRequest) Reset()
- func (m *ChainMakerVersionRequest) Size() (n int)
- func (m *ChainMakerVersionRequest) String() string
- func (m *ChainMakerVersionRequest) Unmarshal(dAtA []byte) error
- func (m *ChainMakerVersionRequest) XXX_DiscardUnknown()
- func (m *ChainMakerVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMakerVersionRequest) XXX_Merge(src proto.Message)
- func (m *ChainMakerVersionRequest) XXX_Size() int
- func (m *ChainMakerVersionRequest) XXX_Unmarshal(b []byte) error
- type ChainMakerVersionResponse
- func (*ChainMakerVersionResponse) Descriptor() ([]byte, []int)
- func (m *ChainMakerVersionResponse) GetCode() int32
- func (m *ChainMakerVersionResponse) GetMessage() string
- func (m *ChainMakerVersionResponse) GetVersion() string
- func (m *ChainMakerVersionResponse) Marshal() (dAtA []byte, err error)
- func (m *ChainMakerVersionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainMakerVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainMakerVersionResponse) ProtoMessage()
- func (m *ChainMakerVersionResponse) Reset()
- func (m *ChainMakerVersionResponse) Size() (n int)
- func (m *ChainMakerVersionResponse) String() string
- func (m *ChainMakerVersionResponse) Unmarshal(dAtA []byte) error
- func (m *ChainMakerVersionResponse) XXX_DiscardUnknown()
- func (m *ChainMakerVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMakerVersionResponse) XXX_Merge(src proto.Message)
- func (m *ChainMakerVersionResponse) XXX_Size() int
- func (m *ChainMakerVersionResponse) XXX_Unmarshal(b []byte) error
- type CheckNewBlockChainConfigRequest
- func (*CheckNewBlockChainConfigRequest) Descriptor() ([]byte, []int)
- func (m *CheckNewBlockChainConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckNewBlockChainConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckNewBlockChainConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckNewBlockChainConfigRequest) ProtoMessage()
- func (m *CheckNewBlockChainConfigRequest) Reset()
- func (m *CheckNewBlockChainConfigRequest) Size() (n int)
- func (m *CheckNewBlockChainConfigRequest) String() string
- func (m *CheckNewBlockChainConfigRequest) Unmarshal(dAtA []byte) error
- func (m *CheckNewBlockChainConfigRequest) XXX_DiscardUnknown()
- func (m *CheckNewBlockChainConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckNewBlockChainConfigRequest) XXX_Merge(src proto.Message)
- func (m *CheckNewBlockChainConfigRequest) XXX_Size() int
- func (m *CheckNewBlockChainConfigRequest) XXX_Unmarshal(b []byte) error
- type CheckNewBlockChainConfigResponse
- func (*CheckNewBlockChainConfigResponse) Descriptor() ([]byte, []int)
- func (m *CheckNewBlockChainConfigResponse) GetCode() int32
- func (m *CheckNewBlockChainConfigResponse) GetMessage() string
- func (m *CheckNewBlockChainConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckNewBlockChainConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckNewBlockChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckNewBlockChainConfigResponse) ProtoMessage()
- func (m *CheckNewBlockChainConfigResponse) Reset()
- func (m *CheckNewBlockChainConfigResponse) Size() (n int)
- func (m *CheckNewBlockChainConfigResponse) String() string
- func (m *CheckNewBlockChainConfigResponse) Unmarshal(dAtA []byte) error
- func (m *CheckNewBlockChainConfigResponse) XXX_DiscardUnknown()
- func (m *CheckNewBlockChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckNewBlockChainConfigResponse) XXX_Merge(src proto.Message)
- func (m *CheckNewBlockChainConfigResponse) XXX_Size() int
- func (m *CheckNewBlockChainConfigResponse) XXX_Unmarshal(b []byte) error
- type ConfigKeyValue
- func (*ConfigKeyValue) Descriptor() ([]byte, []int)
- func (m *ConfigKeyValue) GetKey() string
- func (m *ConfigKeyValue) GetValue() string
- func (m *ConfigKeyValue) Marshal() (dAtA []byte, err error)
- func (m *ConfigKeyValue) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigKeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigKeyValue) ProtoMessage()
- func (m *ConfigKeyValue) Reset()
- func (m *ConfigKeyValue) Size() (n int)
- func (m *ConfigKeyValue) String() string
- func (m *ConfigKeyValue) Unmarshal(dAtA []byte) error
- func (m *ConfigKeyValue) XXX_DiscardUnknown()
- func (m *ConfigKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigKeyValue) XXX_Merge(src proto.Message)
- func (m *ConfigKeyValue) XXX_Size() int
- func (m *ConfigKeyValue) XXX_Unmarshal(b []byte) error
- type ConsensusConfig
- func (*ConsensusConfig) Descriptor() ([]byte, []int)
- func (m *ConsensusConfig) GetDposConfig() []*ConfigKeyValue
- func (m *ConsensusConfig) GetExtConfig() []*ConfigKeyValue
- func (m *ConsensusConfig) GetNodes() []*OrgConfig
- func (m *ConsensusConfig) GetType() consensus.ConsensusType
- func (m *ConsensusConfig) Marshal() (dAtA []byte, err error)
- func (m *ConsensusConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusConfig) ProtoMessage()
- func (m *ConsensusConfig) Reset()
- func (m *ConsensusConfig) Size() (n int)
- func (m *ConsensusConfig) String() string
- func (m *ConsensusConfig) Unmarshal(dAtA []byte) error
- func (m *ConsensusConfig) XXX_DiscardUnknown()
- func (m *ConsensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusConfig) XXX_Merge(src proto.Message)
- func (m *ConsensusConfig) XXX_Size() int
- func (m *ConsensusConfig) XXX_Unmarshal(b []byte) error
- type ConsensusTurboConfig
- func (*ConsensusTurboConfig) Descriptor() ([]byte, []int)
- func (m *ConsensusTurboConfig) GetConsensusMessageTurbo() bool
- func (m *ConsensusTurboConfig) GetRetryInterval() uint64
- func (m *ConsensusTurboConfig) GetRetryTime() uint64
- func (m *ConsensusTurboConfig) Marshal() (dAtA []byte, err error)
- func (m *ConsensusTurboConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusTurboConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusTurboConfig) ProtoMessage()
- func (m *ConsensusTurboConfig) Reset()
- func (m *ConsensusTurboConfig) Size() (n int)
- func (m *ConsensusTurboConfig) String() string
- func (m *ConsensusTurboConfig) Unmarshal(dAtA []byte) error
- func (m *ConsensusTurboConfig) XXX_DiscardUnknown()
- func (m *ConsensusTurboConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusTurboConfig) XXX_Merge(src proto.Message)
- func (m *ConsensusTurboConfig) XXX_Size() int
- func (m *ConsensusTurboConfig) XXX_Unmarshal(b []byte) error
- type ContextConfig
- func (*ContextConfig) Descriptor() ([]byte, []int)
- func (m *ContextConfig) GetEnableEvidence() bool
- func (m *ContextConfig) Marshal() (dAtA []byte, err error)
- func (m *ContextConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ContextConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContextConfig) ProtoMessage()
- func (m *ContextConfig) Reset()
- func (m *ContextConfig) Size() (n int)
- func (m *ContextConfig) String() string
- func (m *ContextConfig) Unmarshal(dAtA []byte) error
- func (m *ContextConfig) XXX_DiscardUnknown()
- func (m *ContextConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContextConfig) XXX_Merge(src proto.Message)
- func (m *ContextConfig) XXX_Size() int
- func (m *ContextConfig) XXX_Unmarshal(b []byte) error
- type ContractConfig
- func (*ContractConfig) Descriptor() ([]byte, []int)
- func (m *ContractConfig) GetDisabledNativeContract() []string
- func (m *ContractConfig) GetEnableSqlSupport() bool
- func (m *ContractConfig) GetOnlyCreatorCanUpgrade() bool
- func (m *ContractConfig) Marshal() (dAtA []byte, err error)
- func (m *ContractConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractConfig) ProtoMessage()
- func (m *ContractConfig) Reset()
- func (m *ContractConfig) Size() (n int)
- func (m *ContractConfig) String() string
- func (m *ContractConfig) Unmarshal(dAtA []byte) error
- func (m *ContractConfig) XXX_DiscardUnknown()
- func (m *ContractConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractConfig) XXX_Merge(src proto.Message)
- func (m *ContractConfig) XXX_Size() int
- func (m *ContractConfig) XXX_Unmarshal(b []byte) error
- type CoreConfig
- func (*CoreConfig) Descriptor() ([]byte, []int)
- func (m *CoreConfig) GetConsensusTurboConfig() *ConsensusTurboConfig
- func (m *CoreConfig) GetEnableConflictsBitWindow() bool
- func (m *CoreConfig) GetEnableOptimizeChargeGas() bool
- func (m *CoreConfig) GetEnableSenderGroup() bool
- func (m *CoreConfig) GetTxSchedulerTimeout() uint64
- func (m *CoreConfig) GetTxSchedulerValidateTimeout() uint64
- func (m *CoreConfig) Marshal() (dAtA []byte, err error)
- func (m *CoreConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *CoreConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CoreConfig) ProtoMessage()
- func (m *CoreConfig) Reset()
- func (m *CoreConfig) Size() (n int)
- func (m *CoreConfig) String() string
- func (m *CoreConfig) Unmarshal(dAtA []byte) error
- func (m *CoreConfig) XXX_DiscardUnknown()
- func (m *CoreConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoreConfig) XXX_Merge(src proto.Message)
- func (m *CoreConfig) XXX_Size() int
- func (m *CoreConfig) XXX_Unmarshal(b []byte) error
- type CryptoConfig
- func (*CryptoConfig) Descriptor() ([]byte, []int)
- func (m *CryptoConfig) GetHash() string
- func (m *CryptoConfig) Marshal() (dAtA []byte, err error)
- func (m *CryptoConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *CryptoConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CryptoConfig) ProtoMessage()
- func (m *CryptoConfig) Reset()
- func (m *CryptoConfig) Size() (n int)
- func (m *CryptoConfig) String() string
- func (m *CryptoConfig) Unmarshal(dAtA []byte) error
- func (m *CryptoConfig) XXX_DiscardUnknown()
- func (m *CryptoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CryptoConfig) XXX_Merge(src proto.Message)
- func (m *CryptoConfig) XXX_Size() int
- func (m *CryptoConfig) XXX_Unmarshal(b []byte) error
- type DebugConfigRequest
- func (*DebugConfigRequest) Descriptor() ([]byte, []int)
- func (m *DebugConfigRequest) GetPairs() []*ConfigKeyValue
- func (m *DebugConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *DebugConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DebugConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DebugConfigRequest) ProtoMessage()
- func (m *DebugConfigRequest) Reset()
- func (m *DebugConfigRequest) Size() (n int)
- func (m *DebugConfigRequest) String() string
- func (m *DebugConfigRequest) Unmarshal(dAtA []byte) error
- func (m *DebugConfigRequest) XXX_DiscardUnknown()
- func (m *DebugConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DebugConfigRequest) XXX_Merge(src proto.Message)
- func (m *DebugConfigRequest) XXX_Size() int
- func (m *DebugConfigRequest) XXX_Unmarshal(b []byte) error
- type DebugConfigResponse
- func (*DebugConfigResponse) Descriptor() ([]byte, []int)
- func (m *DebugConfigResponse) GetCode() int32
- func (m *DebugConfigResponse) GetMessage() string
- func (m *DebugConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *DebugConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DebugConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DebugConfigResponse) ProtoMessage()
- func (m *DebugConfigResponse) Reset()
- func (m *DebugConfigResponse) Size() (n int)
- func (m *DebugConfigResponse) String() string
- func (m *DebugConfigResponse) Unmarshal(dAtA []byte) error
- func (m *DebugConfigResponse) XXX_DiscardUnknown()
- func (m *DebugConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DebugConfigResponse) XXX_Merge(src proto.Message)
- func (m *DebugConfigResponse) XXX_Size() int
- func (m *DebugConfigResponse) XXX_Unmarshal(b []byte) error
- type EthConfig
- func (*EthConfig) Descriptor() ([]byte, []int)
- func (m *EthConfig) GetAdminAddress() string
- func (m *EthConfig) GetEnable() bool
- func (m *EthConfig) GetEnableGas() bool
- func (m *EthConfig) GetEnableRegister() bool
- func (m *EthConfig) Marshal() (dAtA []byte, err error)
- func (m *EthConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *EthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EthConfig) ProtoMessage()
- func (m *EthConfig) Reset()
- func (m *EthConfig) Size() (n int)
- func (m *EthConfig) String() string
- func (m *EthConfig) Unmarshal(dAtA []byte) error
- func (m *EthConfig) XXX_DiscardUnknown()
- func (m *EthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthConfig) XXX_Merge(src proto.Message)
- func (m *EthConfig) XXX_Size() int
- func (m *EthConfig) XXX_Unmarshal(b []byte) error
- type GasAccountConfig
- func (*GasAccountConfig) Descriptor() ([]byte, []int)
- func (m *GasAccountConfig) GetDefaultGas() uint64
- func (m *GasAccountConfig) GetDefaultGasPrice() float32
- func (m *GasAccountConfig) GetEnableGas() bool
- func (m *GasAccountConfig) GetGasAdminAddress() string
- func (m *GasAccountConfig) GetGasCount() uint32
- func (m *GasAccountConfig) GetInstallBaseGas() uint64
- func (m *GasAccountConfig) GetInstallGasPrice() float32
- func (m *GasAccountConfig) Marshal() (dAtA []byte, err error)
- func (m *GasAccountConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GasAccountConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasAccountConfig) ProtoMessage()
- func (m *GasAccountConfig) Reset()
- func (m *GasAccountConfig) Size() (n int)
- func (m *GasAccountConfig) String() string
- func (m *GasAccountConfig) Unmarshal(dAtA []byte) error
- func (m *GasAccountConfig) XXX_DiscardUnknown()
- func (m *GasAccountConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasAccountConfig) XXX_Merge(src proto.Message)
- func (m *GasAccountConfig) XXX_Size() int
- func (m *GasAccountConfig) XXX_Unmarshal(b []byte) error
- type LogLevelsRequest
- func (*LogLevelsRequest) Descriptor() ([]byte, []int)
- func (m *LogLevelsRequest) Marshal() (dAtA []byte, err error)
- func (m *LogLevelsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LogLevelsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogLevelsRequest) ProtoMessage()
- func (m *LogLevelsRequest) Reset()
- func (m *LogLevelsRequest) Size() (n int)
- func (m *LogLevelsRequest) String() string
- func (m *LogLevelsRequest) Unmarshal(dAtA []byte) error
- func (m *LogLevelsRequest) XXX_DiscardUnknown()
- func (m *LogLevelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogLevelsRequest) XXX_Merge(src proto.Message)
- func (m *LogLevelsRequest) XXX_Size() int
- func (m *LogLevelsRequest) XXX_Unmarshal(b []byte) error
- type LogLevelsResponse
- func (*LogLevelsResponse) Descriptor() ([]byte, []int)
- func (m *LogLevelsResponse) GetCode() int32
- func (m *LogLevelsResponse) GetMessage() string
- func (m *LogLevelsResponse) Marshal() (dAtA []byte, err error)
- func (m *LogLevelsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LogLevelsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogLevelsResponse) ProtoMessage()
- func (m *LogLevelsResponse) Reset()
- func (m *LogLevelsResponse) Size() (n int)
- func (m *LogLevelsResponse) String() string
- func (m *LogLevelsResponse) Unmarshal(dAtA []byte) error
- func (m *LogLevelsResponse) XXX_DiscardUnknown()
- func (m *LogLevelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogLevelsResponse) XXX_Merge(src proto.Message)
- func (m *LogLevelsResponse) XXX_Size() int
- func (m *LogLevelsResponse) XXX_Unmarshal(b []byte) error
- type MultiSign
- func (*MultiSign) Descriptor() ([]byte, []int)
- func (m *MultiSign) GetEnableManualRun() bool
- func (m *MultiSign) Marshal() (dAtA []byte, err error)
- func (m *MultiSign) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiSign) ProtoMessage()
- func (m *MultiSign) Reset()
- func (m *MultiSign) Size() (n int)
- func (m *MultiSign) String() string
- func (m *MultiSign) Unmarshal(dAtA []byte) error
- func (m *MultiSign) XXX_DiscardUnknown()
- func (m *MultiSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiSign) XXX_Merge(src proto.Message)
- func (m *MultiSign) XXX_Size() int
- func (m *MultiSign) XXX_Unmarshal(b []byte) error
- type OrgConfig
- func (*OrgConfig) Descriptor() ([]byte, []int)
- func (m *OrgConfig) GetAddress() []string
- func (m *OrgConfig) GetNodeId() []string
- func (m *OrgConfig) GetOrgId() string
- func (m *OrgConfig) Marshal() (dAtA []byte, err error)
- func (m *OrgConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *OrgConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrgConfig) ProtoMessage()
- func (m *OrgConfig) Reset()
- func (m *OrgConfig) Size() (n int)
- func (m *OrgConfig) String() string
- func (m *OrgConfig) Unmarshal(dAtA []byte) error
- func (m *OrgConfig) XXX_DiscardUnknown()
- func (m *OrgConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrgConfig) XXX_Merge(src proto.Message)
- func (m *OrgConfig) XXX_Size() int
- func (m *OrgConfig) XXX_Unmarshal(b []byte) error
- type ResourcePolicy
- func (*ResourcePolicy) Descriptor() ([]byte, []int)
- func (m *ResourcePolicy) GetPolicy() *accesscontrol.Policy
- func (m *ResourcePolicy) GetResourceName() string
- func (m *ResourcePolicy) Marshal() (dAtA []byte, err error)
- func (m *ResourcePolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourcePolicy) ProtoMessage()
- func (m *ResourcePolicy) Reset()
- func (m *ResourcePolicy) Size() (n int)
- func (m *ResourcePolicy) String() string
- func (m *ResourcePolicy) Unmarshal(dAtA []byte) error
- func (m *ResourcePolicy) XXX_DiscardUnknown()
- func (m *ResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourcePolicy) XXX_Merge(src proto.Message)
- func (m *ResourcePolicy) XXX_Size() int
- func (m *ResourcePolicy) XXX_Unmarshal(b []byte) error
- type SchedulerConfig
- func (*SchedulerConfig) Descriptor() ([]byte, []int)
- func (m *SchedulerConfig) GetEnableEvidence() bool
- func (m *SchedulerConfig) Marshal() (dAtA []byte, err error)
- func (m *SchedulerConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *SchedulerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchedulerConfig) ProtoMessage()
- func (m *SchedulerConfig) Reset()
- func (m *SchedulerConfig) Size() (n int)
- func (m *SchedulerConfig) String() string
- func (m *SchedulerConfig) Unmarshal(dAtA []byte) error
- func (m *SchedulerConfig) XXX_DiscardUnknown()
- func (m *SchedulerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchedulerConfig) XXX_Merge(src proto.Message)
- func (m *SchedulerConfig) XXX_Size() int
- func (m *SchedulerConfig) XXX_Unmarshal(b []byte) error
- type SnapshotConfig
- func (*SnapshotConfig) Descriptor() ([]byte, []int)
- func (m *SnapshotConfig) GetEnableEvidence() bool
- func (m *SnapshotConfig) Marshal() (dAtA []byte, err error)
- func (m *SnapshotConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *SnapshotConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SnapshotConfig) ProtoMessage()
- func (m *SnapshotConfig) Reset()
- func (m *SnapshotConfig) Size() (n int)
- func (m *SnapshotConfig) String() string
- func (m *SnapshotConfig) Unmarshal(dAtA []byte) error
- func (m *SnapshotConfig) XXX_DiscardUnknown()
- func (m *SnapshotConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotConfig) XXX_Merge(src proto.Message)
- func (m *SnapshotConfig) XXX_Size() int
- func (m *SnapshotConfig) XXX_Unmarshal(b []byte) error
- type TrustMemberConfig
- func (*TrustMemberConfig) Descriptor() ([]byte, []int)
- func (m *TrustMemberConfig) GetMemberInfo() string
- func (m *TrustMemberConfig) GetNodeId() string
- func (m *TrustMemberConfig) GetOrgId() string
- func (m *TrustMemberConfig) GetRole() string
- func (m *TrustMemberConfig) Marshal() (dAtA []byte, err error)
- func (m *TrustMemberConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TrustMemberConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TrustMemberConfig) ProtoMessage()
- func (m *TrustMemberConfig) Reset()
- func (m *TrustMemberConfig) Size() (n int)
- func (m *TrustMemberConfig) String() string
- func (m *TrustMemberConfig) Unmarshal(dAtA []byte) error
- func (m *TrustMemberConfig) XXX_DiscardUnknown()
- func (m *TrustMemberConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrustMemberConfig) XXX_Merge(src proto.Message)
- func (m *TrustMemberConfig) XXX_Size() int
- func (m *TrustMemberConfig) XXX_Unmarshal(b []byte) error
- type TrustRootConfig
- func (*TrustRootConfig) Descriptor() ([]byte, []int)
- func (m *TrustRootConfig) GetOrgId() string
- func (m *TrustRootConfig) GetRoot() []string
- func (m *TrustRootConfig) Marshal() (dAtA []byte, err error)
- func (m *TrustRootConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TrustRootConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TrustRootConfig) ProtoMessage()
- func (m *TrustRootConfig) Reset()
- func (m *TrustRootConfig) Size() (n int)
- func (m *TrustRootConfig) String() string
- func (m *TrustRootConfig) Unmarshal(dAtA []byte) error
- func (m *TrustRootConfig) XXX_DiscardUnknown()
- func (m *TrustRootConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrustRootConfig) XXX_Merge(src proto.Message)
- func (m *TrustRootConfig) XXX_Size() int
- func (m *TrustRootConfig) XXX_Unmarshal(b []byte) error
- type TxFilterConfig
- func (*TxFilterConfig) Descriptor() ([]byte, []int)
- func (m *TxFilterConfig) GetBirdsNest() *common.BirdsNestConfig
- func (m *TxFilterConfig) GetShardingBirdsNest() *common.ShardingBirdsNestConfig
- func (m *TxFilterConfig) GetType() TxFilterType
- func (m *TxFilterConfig) Marshal() (dAtA []byte, err error)
- func (m *TxFilterConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TxFilterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxFilterConfig) ProtoMessage()
- func (m *TxFilterConfig) Reset()
- func (m *TxFilterConfig) Size() (n int)
- func (m *TxFilterConfig) String() string
- func (m *TxFilterConfig) Unmarshal(dAtA []byte) error
- func (m *TxFilterConfig) XXX_DiscardUnknown()
- func (m *TxFilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxFilterConfig) XXX_Merge(src proto.Message)
- func (m *TxFilterConfig) XXX_Size() int
- func (m *TxFilterConfig) XXX_Unmarshal(b []byte) error
- type TxFilterType
- type Vm
- func (*Vm) Descriptor() ([]byte, []int)
- func (m *Vm) GetAddrType() AddrType
- func (m *Vm) GetNative() *VmNative
- func (m *Vm) GetSupportList() []string
- func (m *Vm) Marshal() (dAtA []byte, err error)
- func (m *Vm) MarshalTo(dAtA []byte) (int, error)
- func (m *Vm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vm) ProtoMessage()
- func (m *Vm) Reset()
- func (m *Vm) Size() (n int)
- func (m *Vm) String() string
- func (m *Vm) Unmarshal(dAtA []byte) error
- func (m *Vm) XXX_DiscardUnknown()
- func (m *Vm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vm) XXX_Merge(src proto.Message)
- func (m *Vm) XXX_Size() int
- func (m *Vm) XXX_Unmarshal(b []byte) error
- type VmNative
- func (*VmNative) Descriptor() ([]byte, []int)
- func (m *VmNative) GetMultisign() *MultiSign
- func (m *VmNative) Marshal() (dAtA []byte, err error)
- func (m *VmNative) MarshalTo(dAtA []byte) (int, error)
- func (m *VmNative) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VmNative) ProtoMessage()
- func (m *VmNative) Reset()
- func (m *VmNative) Size() (n int)
- func (m *VmNative) String() string
- func (m *VmNative) Unmarshal(dAtA []byte) error
- func (m *VmNative) XXX_DiscardUnknown()
- func (m *VmNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VmNative) XXX_Merge(src proto.Message)
- func (m *VmNative) XXX_Size() int
- func (m *VmNative) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthChainConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChainConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChainConfig = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthChainmakerServer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChainmakerServer = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChainmakerServer = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLocalConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLocalConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLocalConfig = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLogConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLogConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLogConfig = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTxFilterConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTxFilterConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTxFilterConfig = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type BlockConfig ¶
type BlockConfig struct { // enable transaction timestamp verification or Not TxTimestampVerify bool `protobuf:"varint,1,opt,name=tx_timestamp_verify,json=txTimestampVerify,proto3" json:"tx_timestamp_verify,omitempty"` // expiration time of transaction timestamp (seconds) TxTimeout uint32 `protobuf:"varint,2,opt,name=tx_timeout,json=txTimeout,proto3" json:"tx_timeout,omitempty"` // maximum number of transactions in a block BlockTxCapacity uint32 `protobuf:"varint,3,opt,name=block_tx_capacity,json=blockTxCapacity,proto3" json:"block_tx_capacity,omitempty"` // maximum block size, in MB BlockSize uint32 `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"` // block proposing interval, in ms BlockInterval uint32 `protobuf:"varint,5,opt,name=block_interval,json=blockInterval,proto3" json:"block_interval,omitempty"` // maximum size of transaction's parameter, in MB TxParameterSize uint32 `protobuf:"varint,6,opt,name=tx_parameter_size,json=txParameterSize,proto3" json:"tx_parameter_size,omitempty"` // enable block timestamp verification or Not BlockTimestampVerify bool `protobuf:"varint,7,opt,name=block_timestamp_verify,json=blockTimestampVerify,proto3" json:"block_timestamp_verify,omitempty"` // expiration time of block timestamp (seconds) BlockTimeout uint32 `protobuf:"varint,8,opt,name=block_timeout,json=blockTimeout,proto3" json:"block_timeout,omitempty"` }
blockConfig
func (*BlockConfig) Descriptor ¶
func (*BlockConfig) Descriptor() ([]byte, []int)
func (*BlockConfig) GetBlockInterval ¶
func (m *BlockConfig) GetBlockInterval() uint32
func (*BlockConfig) GetBlockSize ¶
func (m *BlockConfig) GetBlockSize() uint32
func (*BlockConfig) GetBlockTimeout ¶ added in v3.0.1
func (m *BlockConfig) GetBlockTimeout() uint32
func (*BlockConfig) GetBlockTimestampVerify ¶ added in v3.0.1
func (m *BlockConfig) GetBlockTimestampVerify() bool
func (*BlockConfig) GetBlockTxCapacity ¶
func (m *BlockConfig) GetBlockTxCapacity() uint32
func (*BlockConfig) GetTxParameterSize ¶
func (m *BlockConfig) GetTxParameterSize() uint32
func (*BlockConfig) GetTxTimeout ¶
func (m *BlockConfig) GetTxTimeout() uint32
func (*BlockConfig) GetTxTimestampVerify ¶
func (m *BlockConfig) GetTxTimestampVerify() bool
func (*BlockConfig) Marshal ¶
func (m *BlockConfig) Marshal() (dAtA []byte, err error)
func (*BlockConfig) MarshalTo ¶
func (m *BlockConfig) MarshalTo(dAtA []byte) (int, error)
func (*BlockConfig) MarshalToSizedBuffer ¶
func (m *BlockConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockConfig) ProtoMessage ¶
func (*BlockConfig) ProtoMessage()
func (*BlockConfig) Reset ¶
func (m *BlockConfig) Reset()
func (*BlockConfig) Size ¶
func (m *BlockConfig) Size() (n int)
func (*BlockConfig) String ¶
func (m *BlockConfig) String() string
func (*BlockConfig) Unmarshal ¶
func (m *BlockConfig) Unmarshal(dAtA []byte) error
func (*BlockConfig) XXX_DiscardUnknown ¶
func (m *BlockConfig) XXX_DiscardUnknown()
func (*BlockConfig) XXX_Marshal ¶
func (m *BlockConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockConfig) XXX_Merge ¶
func (m *BlockConfig) XXX_Merge(src proto.Message)
func (*BlockConfig) XXX_Size ¶
func (m *BlockConfig) XXX_Size() int
func (*BlockConfig) XXX_Unmarshal ¶
func (m *BlockConfig) XXX_Unmarshal(b []byte) error
type ChainConfig ¶
type ChainConfig struct { // blockchain identifier ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // blockchain version Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // member type AuthType string `protobuf:"bytes,3,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"` // config sequence Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` // encryption algorithm related configuration Crypto *CryptoConfig `protobuf:"bytes,5,opt,name=crypto,proto3" json:"crypto,omitempty"` // block related configuration Block *BlockConfig `protobuf:"bytes,6,opt,name=block,proto3" json:"block,omitempty"` // core module related configuration Core *CoreConfig `protobuf:"bytes,7,opt,name=core,proto3" json:"core,omitempty"` // consensus related configuration Consensus *ConsensusConfig `protobuf:"bytes,8,opt,name=consensus,proto3" json:"consensus,omitempty"` // trusted root related configuration // for alliance members, the initial member's root info of the consortium; for public chain, there is no need to configure // Key: node_id; value: address, node public key / CA certificate TrustRoots []*TrustRootConfig `protobuf:"bytes,9,rep,name=trust_roots,json=trustRoots,proto3" json:"trust_roots,omitempty"` TrustMembers []*TrustMemberConfig `protobuf:"bytes,10,rep,name=trust_members,json=trustMembers,proto3" json:"trust_members,omitempty"` // permission related configuration ResourcePolicies []*ResourcePolicy `protobuf:"bytes,11,rep,name=resource_policies,json=resourcePolicies,proto3" json:"resource_policies,omitempty"` Contract *ContractConfig `protobuf:"bytes,12,opt,name=contract,proto3" json:"contract,omitempty"` // snapshot module related configuration Snapshot *SnapshotConfig `protobuf:"bytes,13,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // scheduler module related configuration Scheduler *SchedulerConfig `protobuf:"bytes,14,opt,name=scheduler,proto3" json:"scheduler,omitempty"` // tx sim context module related configuration Context *ContextConfig `protobuf:"bytes,15,opt,name=context,proto3" json:"context,omitempty"` // disabled native contracts list for permission control purposes DisabledNativeContract []string `` /* 130-byte string literal not displayed */ // gas account config AccountConfig *GasAccountConfig `protobuf:"bytes,18,opt,name=account_config,json=accountConfig,proto3" json:"account_config,omitempty"` // vm config Vm *Vm `protobuf:"bytes,17,opt,name=vm,proto3" json:"vm,omitempty"` //Eth tx support config EthConfig *EthConfig `protobuf:"bytes,19,opt,name=eth_config,json=ethConfig,proto3" json:"eth_config,omitempty"` }
ChainConfig
func (*ChainConfig) Descriptor ¶
func (*ChainConfig) Descriptor() ([]byte, []int)
func (*ChainConfig) GetAccountConfig ¶
func (m *ChainConfig) GetAccountConfig() *GasAccountConfig
func (*ChainConfig) GetAuthType ¶
func (m *ChainConfig) GetAuthType() string
func (*ChainConfig) GetBlock ¶
func (m *ChainConfig) GetBlock() *BlockConfig
func (*ChainConfig) GetBlockVersion ¶
func (c *ChainConfig) GetBlockVersion() uint32
GetBlockVersion get uint32 block version from ChainConfig
func (*ChainConfig) GetChainId ¶
func (m *ChainConfig) GetChainId() string
func (*ChainConfig) GetConsensus ¶
func (m *ChainConfig) GetConsensus() *ConsensusConfig
func (*ChainConfig) GetContext ¶
func (m *ChainConfig) GetContext() *ContextConfig
func (*ChainConfig) GetContract ¶
func (m *ChainConfig) GetContract() *ContractConfig
func (*ChainConfig) GetCore ¶
func (m *ChainConfig) GetCore() *CoreConfig
func (*ChainConfig) GetCrypto ¶
func (m *ChainConfig) GetCrypto() *CryptoConfig
func (*ChainConfig) GetDisabledNativeContract ¶
func (m *ChainConfig) GetDisabledNativeContract() []string
func (*ChainConfig) GetEthConfig ¶
func (m *ChainConfig) GetEthConfig() *EthConfig
func (*ChainConfig) GetResourcePolicies ¶
func (m *ChainConfig) GetResourcePolicies() []*ResourcePolicy
func (*ChainConfig) GetScheduler ¶
func (m *ChainConfig) GetScheduler() *SchedulerConfig
func (*ChainConfig) GetSequence ¶
func (m *ChainConfig) GetSequence() uint64
func (*ChainConfig) GetSnapshot ¶
func (m *ChainConfig) GetSnapshot() *SnapshotConfig
func (*ChainConfig) GetTrustMembers ¶
func (m *ChainConfig) GetTrustMembers() []*TrustMemberConfig
func (*ChainConfig) GetTrustRoots ¶
func (m *ChainConfig) GetTrustRoots() []*TrustRootConfig
func (*ChainConfig) GetVersion ¶
func (m *ChainConfig) GetVersion() string
func (*ChainConfig) GetVm ¶
func (m *ChainConfig) GetVm() *Vm
func (*ChainConfig) Marshal ¶
func (m *ChainConfig) Marshal() (dAtA []byte, err error)
func (*ChainConfig) MarshalTo ¶
func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)
func (*ChainConfig) MarshalToSizedBuffer ¶
func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainConfig) ProtoMessage ¶
func (*ChainConfig) ProtoMessage()
func (*ChainConfig) Reset ¶
func (m *ChainConfig) Reset()
func (*ChainConfig) Size ¶
func (m *ChainConfig) Size() (n int)
func (*ChainConfig) String ¶
func (m *ChainConfig) String() string
func (*ChainConfig) Unmarshal ¶
func (m *ChainConfig) Unmarshal(dAtA []byte) error
func (*ChainConfig) XXX_DiscardUnknown ¶
func (m *ChainConfig) XXX_DiscardUnknown()
func (*ChainConfig) XXX_Marshal ¶
func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainConfig) XXX_Merge ¶
func (m *ChainConfig) XXX_Merge(src proto.Message)
func (*ChainConfig) XXX_Size ¶
func (m *ChainConfig) XXX_Size() int
func (*ChainConfig) XXX_Unmarshal ¶
func (m *ChainConfig) XXX_Unmarshal(b []byte) error
type ChainMakerVersionRequest ¶
type ChainMakerVersionRequest struct { }
Request for chainmaker version
func (*ChainMakerVersionRequest) Descriptor ¶
func (*ChainMakerVersionRequest) Descriptor() ([]byte, []int)
func (*ChainMakerVersionRequest) Marshal ¶
func (m *ChainMakerVersionRequest) Marshal() (dAtA []byte, err error)
func (*ChainMakerVersionRequest) MarshalTo ¶
func (m *ChainMakerVersionRequest) MarshalTo(dAtA []byte) (int, error)
func (*ChainMakerVersionRequest) MarshalToSizedBuffer ¶
func (m *ChainMakerVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainMakerVersionRequest) ProtoMessage ¶
func (*ChainMakerVersionRequest) ProtoMessage()
func (*ChainMakerVersionRequest) Reset ¶
func (m *ChainMakerVersionRequest) Reset()
func (*ChainMakerVersionRequest) Size ¶
func (m *ChainMakerVersionRequest) Size() (n int)
func (*ChainMakerVersionRequest) String ¶
func (m *ChainMakerVersionRequest) String() string
func (*ChainMakerVersionRequest) Unmarshal ¶
func (m *ChainMakerVersionRequest) Unmarshal(dAtA []byte) error
func (*ChainMakerVersionRequest) XXX_DiscardUnknown ¶
func (m *ChainMakerVersionRequest) XXX_DiscardUnknown()
func (*ChainMakerVersionRequest) XXX_Marshal ¶
func (m *ChainMakerVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainMakerVersionRequest) XXX_Merge ¶
func (m *ChainMakerVersionRequest) XXX_Merge(src proto.Message)
func (*ChainMakerVersionRequest) XXX_Size ¶
func (m *ChainMakerVersionRequest) XXX_Size() int
func (*ChainMakerVersionRequest) XXX_Unmarshal ¶
func (m *ChainMakerVersionRequest) XXX_Unmarshal(b []byte) error
type ChainMakerVersionResponse ¶
type ChainMakerVersionResponse struct { // 0 success // 1 fail Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` }
Response for chainmaker version
func (*ChainMakerVersionResponse) Descriptor ¶
func (*ChainMakerVersionResponse) Descriptor() ([]byte, []int)
func (*ChainMakerVersionResponse) GetCode ¶
func (m *ChainMakerVersionResponse) GetCode() int32
func (*ChainMakerVersionResponse) GetMessage ¶
func (m *ChainMakerVersionResponse) GetMessage() string
func (*ChainMakerVersionResponse) GetVersion ¶
func (m *ChainMakerVersionResponse) GetVersion() string
func (*ChainMakerVersionResponse) Marshal ¶
func (m *ChainMakerVersionResponse) Marshal() (dAtA []byte, err error)
func (*ChainMakerVersionResponse) MarshalTo ¶
func (m *ChainMakerVersionResponse) MarshalTo(dAtA []byte) (int, error)
func (*ChainMakerVersionResponse) MarshalToSizedBuffer ¶
func (m *ChainMakerVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainMakerVersionResponse) ProtoMessage ¶
func (*ChainMakerVersionResponse) ProtoMessage()
func (*ChainMakerVersionResponse) Reset ¶
func (m *ChainMakerVersionResponse) Reset()
func (*ChainMakerVersionResponse) Size ¶
func (m *ChainMakerVersionResponse) Size() (n int)
func (*ChainMakerVersionResponse) String ¶
func (m *ChainMakerVersionResponse) String() string
func (*ChainMakerVersionResponse) Unmarshal ¶
func (m *ChainMakerVersionResponse) Unmarshal(dAtA []byte) error
func (*ChainMakerVersionResponse) XXX_DiscardUnknown ¶
func (m *ChainMakerVersionResponse) XXX_DiscardUnknown()
func (*ChainMakerVersionResponse) XXX_Marshal ¶
func (m *ChainMakerVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainMakerVersionResponse) XXX_Merge ¶
func (m *ChainMakerVersionResponse) XXX_Merge(src proto.Message)
func (*ChainMakerVersionResponse) XXX_Size ¶
func (m *ChainMakerVersionResponse) XXX_Size() int
func (*ChainMakerVersionResponse) XXX_Unmarshal ¶
func (m *ChainMakerVersionResponse) XXX_Unmarshal(b []byte) error
type CheckNewBlockChainConfigRequest ¶
type CheckNewBlockChainConfigRequest struct { }
request for check new block configuration
func (*CheckNewBlockChainConfigRequest) Descriptor ¶
func (*CheckNewBlockChainConfigRequest) Descriptor() ([]byte, []int)
func (*CheckNewBlockChainConfigRequest) Marshal ¶
func (m *CheckNewBlockChainConfigRequest) Marshal() (dAtA []byte, err error)
func (*CheckNewBlockChainConfigRequest) MarshalTo ¶
func (m *CheckNewBlockChainConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckNewBlockChainConfigRequest) MarshalToSizedBuffer ¶
func (m *CheckNewBlockChainConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckNewBlockChainConfigRequest) ProtoMessage ¶
func (*CheckNewBlockChainConfigRequest) ProtoMessage()
func (*CheckNewBlockChainConfigRequest) Reset ¶
func (m *CheckNewBlockChainConfigRequest) Reset()
func (*CheckNewBlockChainConfigRequest) Size ¶
func (m *CheckNewBlockChainConfigRequest) Size() (n int)
func (*CheckNewBlockChainConfigRequest) String ¶
func (m *CheckNewBlockChainConfigRequest) String() string
func (*CheckNewBlockChainConfigRequest) Unmarshal ¶
func (m *CheckNewBlockChainConfigRequest) Unmarshal(dAtA []byte) error
func (*CheckNewBlockChainConfigRequest) XXX_DiscardUnknown ¶
func (m *CheckNewBlockChainConfigRequest) XXX_DiscardUnknown()
func (*CheckNewBlockChainConfigRequest) XXX_Marshal ¶
func (m *CheckNewBlockChainConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckNewBlockChainConfigRequest) XXX_Merge ¶
func (m *CheckNewBlockChainConfigRequest) XXX_Merge(src proto.Message)
func (*CheckNewBlockChainConfigRequest) XXX_Size ¶
func (m *CheckNewBlockChainConfigRequest) XXX_Size() int
func (*CheckNewBlockChainConfigRequest) XXX_Unmarshal ¶
func (m *CheckNewBlockChainConfigRequest) XXX_Unmarshal(b []byte) error
type CheckNewBlockChainConfigResponse ¶
type CheckNewBlockChainConfigResponse struct { // 0 success // 1 fail Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // failure message Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
response for check new block configuration
func (*CheckNewBlockChainConfigResponse) Descriptor ¶
func (*CheckNewBlockChainConfigResponse) Descriptor() ([]byte, []int)
func (*CheckNewBlockChainConfigResponse) GetCode ¶
func (m *CheckNewBlockChainConfigResponse) GetCode() int32
func (*CheckNewBlockChainConfigResponse) GetMessage ¶
func (m *CheckNewBlockChainConfigResponse) GetMessage() string
func (*CheckNewBlockChainConfigResponse) Marshal ¶
func (m *CheckNewBlockChainConfigResponse) Marshal() (dAtA []byte, err error)
func (*CheckNewBlockChainConfigResponse) MarshalTo ¶
func (m *CheckNewBlockChainConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckNewBlockChainConfigResponse) MarshalToSizedBuffer ¶
func (m *CheckNewBlockChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckNewBlockChainConfigResponse) ProtoMessage ¶
func (*CheckNewBlockChainConfigResponse) ProtoMessage()
func (*CheckNewBlockChainConfigResponse) Reset ¶
func (m *CheckNewBlockChainConfigResponse) Reset()
func (*CheckNewBlockChainConfigResponse) Size ¶
func (m *CheckNewBlockChainConfigResponse) Size() (n int)
func (*CheckNewBlockChainConfigResponse) String ¶
func (m *CheckNewBlockChainConfigResponse) String() string
func (*CheckNewBlockChainConfigResponse) Unmarshal ¶
func (m *CheckNewBlockChainConfigResponse) Unmarshal(dAtA []byte) error
func (*CheckNewBlockChainConfigResponse) XXX_DiscardUnknown ¶
func (m *CheckNewBlockChainConfigResponse) XXX_DiscardUnknown()
func (*CheckNewBlockChainConfigResponse) XXX_Marshal ¶
func (m *CheckNewBlockChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckNewBlockChainConfigResponse) XXX_Merge ¶
func (m *CheckNewBlockChainConfigResponse) XXX_Merge(src proto.Message)
func (*CheckNewBlockChainConfigResponse) XXX_Size ¶
func (m *CheckNewBlockChainConfigResponse) XXX_Size() int
func (*CheckNewBlockChainConfigResponse) XXX_Unmarshal ¶
func (m *CheckNewBlockChainConfigResponse) XXX_Unmarshal(b []byte) error
type ConfigKeyValue ¶
type ConfigKeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
a string k-v pair for config
func (*ConfigKeyValue) Descriptor ¶
func (*ConfigKeyValue) Descriptor() ([]byte, []int)
func (*ConfigKeyValue) GetKey ¶
func (m *ConfigKeyValue) GetKey() string
func (*ConfigKeyValue) GetValue ¶
func (m *ConfigKeyValue) GetValue() string
func (*ConfigKeyValue) Marshal ¶
func (m *ConfigKeyValue) Marshal() (dAtA []byte, err error)
func (*ConfigKeyValue) MarshalTo ¶
func (m *ConfigKeyValue) MarshalTo(dAtA []byte) (int, error)
func (*ConfigKeyValue) MarshalToSizedBuffer ¶
func (m *ConfigKeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigKeyValue) ProtoMessage ¶
func (*ConfigKeyValue) ProtoMessage()
func (*ConfigKeyValue) Reset ¶
func (m *ConfigKeyValue) Reset()
func (*ConfigKeyValue) Size ¶
func (m *ConfigKeyValue) Size() (n int)
func (*ConfigKeyValue) String ¶
func (m *ConfigKeyValue) String() string
func (*ConfigKeyValue) Unmarshal ¶
func (m *ConfigKeyValue) Unmarshal(dAtA []byte) error
func (*ConfigKeyValue) XXX_DiscardUnknown ¶
func (m *ConfigKeyValue) XXX_DiscardUnknown()
func (*ConfigKeyValue) XXX_Marshal ¶
func (m *ConfigKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigKeyValue) XXX_Merge ¶
func (m *ConfigKeyValue) XXX_Merge(src proto.Message)
func (*ConfigKeyValue) XXX_Size ¶
func (m *ConfigKeyValue) XXX_Size() int
func (*ConfigKeyValue) XXX_Unmarshal ¶
func (m *ConfigKeyValue) XXX_Unmarshal(b []byte) error
type ConsensusConfig ¶
type ConsensusConfig struct { // consensus type Type consensus.ConsensusType `protobuf:"varint,1,opt,name=type,proto3,enum=consensus.ConsensusType" json:"type,omitempty"` // organization list of nodes Nodes []*OrgConfig `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` // expand the field, record the difficulty, reward and other consensus algorithm configuration ExtConfig []*ConfigKeyValue `protobuf:"bytes,3,rep,name=ext_config,json=extConfig,proto3" json:"ext_config,omitempty"` // Initialize the configuration of DPOS DposConfig []*ConfigKeyValue `protobuf:"bytes,4,rep,name=dpos_config,json=dposConfig,proto3" json:"dpos_config,omitempty"` }
consensus module related configuration
func (*ConsensusConfig) Descriptor ¶
func (*ConsensusConfig) Descriptor() ([]byte, []int)
func (*ConsensusConfig) GetDposConfig ¶
func (m *ConsensusConfig) GetDposConfig() []*ConfigKeyValue
func (*ConsensusConfig) GetExtConfig ¶
func (m *ConsensusConfig) GetExtConfig() []*ConfigKeyValue
func (*ConsensusConfig) GetNodes ¶
func (m *ConsensusConfig) GetNodes() []*OrgConfig
func (*ConsensusConfig) GetType ¶
func (m *ConsensusConfig) GetType() consensus.ConsensusType
func (*ConsensusConfig) Marshal ¶
func (m *ConsensusConfig) Marshal() (dAtA []byte, err error)
func (*ConsensusConfig) MarshalTo ¶
func (m *ConsensusConfig) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusConfig) MarshalToSizedBuffer ¶
func (m *ConsensusConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusConfig) ProtoMessage ¶
func (*ConsensusConfig) ProtoMessage()
func (*ConsensusConfig) Reset ¶
func (m *ConsensusConfig) Reset()
func (*ConsensusConfig) Size ¶
func (m *ConsensusConfig) Size() (n int)
func (*ConsensusConfig) String ¶
func (m *ConsensusConfig) String() string
func (*ConsensusConfig) Unmarshal ¶
func (m *ConsensusConfig) Unmarshal(dAtA []byte) error
func (*ConsensusConfig) XXX_DiscardUnknown ¶
func (m *ConsensusConfig) XXX_DiscardUnknown()
func (*ConsensusConfig) XXX_Marshal ¶
func (m *ConsensusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusConfig) XXX_Merge ¶
func (m *ConsensusConfig) XXX_Merge(src proto.Message)
func (*ConsensusConfig) XXX_Size ¶
func (m *ConsensusConfig) XXX_Size() int
func (*ConsensusConfig) XXX_Unmarshal ¶
func (m *ConsensusConfig) XXX_Unmarshal(b []byte) error
type ConsensusTurboConfig ¶
type ConsensusTurboConfig struct { // switch of consensus message turbo ConsensusMessageTurbo bool `` /* 127-byte string literal not displayed */ // retry time of get tx by txIds from txpool RetryTime uint64 `protobuf:"varint,2,opt,name=retry_time,json=retryTime,proto3" json:"retry_time,omitempty"` // the interval of retry get tx by txIds from txpool(ms) RetryInterval uint64 `protobuf:"varint,3,opt,name=retry_interval,json=retryInterval,proto3" json:"retry_interval,omitempty"` }
consensus message turbo configuration
func (*ConsensusTurboConfig) Descriptor ¶
func (*ConsensusTurboConfig) Descriptor() ([]byte, []int)
func (*ConsensusTurboConfig) GetConsensusMessageTurbo ¶
func (m *ConsensusTurboConfig) GetConsensusMessageTurbo() bool
func (*ConsensusTurboConfig) GetRetryInterval ¶
func (m *ConsensusTurboConfig) GetRetryInterval() uint64
func (*ConsensusTurboConfig) GetRetryTime ¶
func (m *ConsensusTurboConfig) GetRetryTime() uint64
func (*ConsensusTurboConfig) Marshal ¶
func (m *ConsensusTurboConfig) Marshal() (dAtA []byte, err error)
func (*ConsensusTurboConfig) MarshalTo ¶
func (m *ConsensusTurboConfig) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusTurboConfig) MarshalToSizedBuffer ¶
func (m *ConsensusTurboConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusTurboConfig) ProtoMessage ¶
func (*ConsensusTurboConfig) ProtoMessage()
func (*ConsensusTurboConfig) Reset ¶
func (m *ConsensusTurboConfig) Reset()
func (*ConsensusTurboConfig) Size ¶
func (m *ConsensusTurboConfig) Size() (n int)
func (*ConsensusTurboConfig) String ¶
func (m *ConsensusTurboConfig) String() string
func (*ConsensusTurboConfig) Unmarshal ¶
func (m *ConsensusTurboConfig) Unmarshal(dAtA []byte) error
func (*ConsensusTurboConfig) XXX_DiscardUnknown ¶
func (m *ConsensusTurboConfig) XXX_DiscardUnknown()
func (*ConsensusTurboConfig) XXX_Marshal ¶
func (m *ConsensusTurboConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusTurboConfig) XXX_Merge ¶
func (m *ConsensusTurboConfig) XXX_Merge(src proto.Message)
func (*ConsensusTurboConfig) XXX_Size ¶
func (m *ConsensusTurboConfig) XXX_Size() int
func (*ConsensusTurboConfig) XXX_Unmarshal ¶
func (m *ConsensusTurboConfig) XXX_Unmarshal(b []byte) error
type ContextConfig ¶
type ContextConfig struct { // for the evidence contract EnableEvidence bool `protobuf:"varint,1,opt,name=enable_evidence,json=enableEvidence,proto3" json:"enable_evidence,omitempty"` }
TxSimContext configuration
func (*ContextConfig) Descriptor ¶
func (*ContextConfig) Descriptor() ([]byte, []int)
func (*ContextConfig) GetEnableEvidence ¶
func (m *ContextConfig) GetEnableEvidence() bool
func (*ContextConfig) Marshal ¶
func (m *ContextConfig) Marshal() (dAtA []byte, err error)
func (*ContextConfig) MarshalTo ¶
func (m *ContextConfig) MarshalTo(dAtA []byte) (int, error)
func (*ContextConfig) MarshalToSizedBuffer ¶
func (m *ContextConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContextConfig) ProtoMessage ¶
func (*ContextConfig) ProtoMessage()
func (*ContextConfig) Reset ¶
func (m *ContextConfig) Reset()
func (*ContextConfig) Size ¶
func (m *ContextConfig) Size() (n int)
func (*ContextConfig) String ¶
func (m *ContextConfig) String() string
func (*ContextConfig) Unmarshal ¶
func (m *ContextConfig) Unmarshal(dAtA []byte) error
func (*ContextConfig) XXX_DiscardUnknown ¶
func (m *ContextConfig) XXX_DiscardUnknown()
func (*ContextConfig) XXX_Marshal ¶
func (m *ContextConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContextConfig) XXX_Merge ¶
func (m *ContextConfig) XXX_Merge(src proto.Message)
func (*ContextConfig) XXX_Size ¶
func (m *ContextConfig) XXX_Size() int
func (*ContextConfig) XXX_Unmarshal ¶
func (m *ContextConfig) XXX_Unmarshal(b []byte) error
type ContractConfig ¶
type ContractConfig struct { EnableSqlSupport bool `protobuf:"varint,1,opt,name=enable_sql_support,json=enableSqlSupport,proto3" json:"enable_sql_support,omitempty"` // disabled native contracts list for permission control purposes DisabledNativeContract []string `` /* 129-byte string literal not displayed */ // If it is true, Only creators are allowed to upgrade contract. OnlyCreatorCanUpgrade bool `` /* 129-byte string literal not displayed */ }
func (*ContractConfig) Descriptor ¶
func (*ContractConfig) Descriptor() ([]byte, []int)
func (*ContractConfig) GetDisabledNativeContract ¶
func (m *ContractConfig) GetDisabledNativeContract() []string
func (*ContractConfig) GetEnableSqlSupport ¶
func (m *ContractConfig) GetEnableSqlSupport() bool
func (*ContractConfig) GetOnlyCreatorCanUpgrade ¶ added in v3.0.1
func (m *ContractConfig) GetOnlyCreatorCanUpgrade() bool
func (*ContractConfig) Marshal ¶
func (m *ContractConfig) Marshal() (dAtA []byte, err error)
func (*ContractConfig) MarshalTo ¶
func (m *ContractConfig) MarshalTo(dAtA []byte) (int, error)
func (*ContractConfig) MarshalToSizedBuffer ¶
func (m *ContractConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractConfig) ProtoMessage ¶
func (*ContractConfig) ProtoMessage()
func (*ContractConfig) Reset ¶
func (m *ContractConfig) Reset()
func (*ContractConfig) Size ¶
func (m *ContractConfig) Size() (n int)
func (*ContractConfig) String ¶
func (m *ContractConfig) String() string
func (*ContractConfig) Unmarshal ¶
func (m *ContractConfig) Unmarshal(dAtA []byte) error
func (*ContractConfig) XXX_DiscardUnknown ¶
func (m *ContractConfig) XXX_DiscardUnknown()
func (*ContractConfig) XXX_Marshal ¶
func (m *ContractConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractConfig) XXX_Merge ¶
func (m *ContractConfig) XXX_Merge(src proto.Message)
func (*ContractConfig) XXX_Size ¶
func (m *ContractConfig) XXX_Size() int
func (*ContractConfig) XXX_Unmarshal ¶
func (m *ContractConfig) XXX_Unmarshal(b []byte) error
type CoreConfig ¶
type CoreConfig struct { // [0, 60], the time when the transaction scheduler gets the transaction from the transaction pool to schedule TxSchedulerTimeout uint64 `protobuf:"varint,1,opt,name=tx_scheduler_timeout,json=txSchedulerTimeout,proto3" json:"tx_scheduler_timeout,omitempty"` // [0, 60], the time-out for verification after the transaction scheduler obtains the transaction from the block TxSchedulerValidateTimeout uint64 `` /* 144-byte string literal not displayed */ // the configuration of consensus message turbo ConsensusTurboConfig *ConsensusTurboConfig `protobuf:"bytes,3,opt,name=consensus_turbo_config,json=consensusTurboConfig,proto3" json:"consensus_turbo_config,omitempty"` // enable sender group, used for handling txs with sender conflicts efficiently EnableSenderGroup bool `protobuf:"varint,4,opt,name=enable_sender_group,json=enableSenderGroup,proto3" json:"enable_sender_group,omitempty"` // enable conflicts bit window, used for dynamic tuning the capacity of tx execution goroutine pool EnableConflictsBitWindow bool `` /* 138-byte string literal not displayed */ // enable optimize charge gas for the same account transactions EnableOptimizeChargeGas bool `` /* 135-byte string literal not displayed */ }
core module related configuration
func (*CoreConfig) Descriptor ¶
func (*CoreConfig) Descriptor() ([]byte, []int)
func (*CoreConfig) GetConsensusTurboConfig ¶
func (m *CoreConfig) GetConsensusTurboConfig() *ConsensusTurboConfig
func (*CoreConfig) GetEnableConflictsBitWindow ¶
func (m *CoreConfig) GetEnableConflictsBitWindow() bool
func (*CoreConfig) GetEnableOptimizeChargeGas ¶
func (m *CoreConfig) GetEnableOptimizeChargeGas() bool
func (*CoreConfig) GetEnableSenderGroup ¶
func (m *CoreConfig) GetEnableSenderGroup() bool
func (*CoreConfig) GetTxSchedulerTimeout ¶
func (m *CoreConfig) GetTxSchedulerTimeout() uint64
func (*CoreConfig) GetTxSchedulerValidateTimeout ¶
func (m *CoreConfig) GetTxSchedulerValidateTimeout() uint64
func (*CoreConfig) Marshal ¶
func (m *CoreConfig) Marshal() (dAtA []byte, err error)
func (*CoreConfig) MarshalTo ¶
func (m *CoreConfig) MarshalTo(dAtA []byte) (int, error)
func (*CoreConfig) MarshalToSizedBuffer ¶
func (m *CoreConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CoreConfig) ProtoMessage ¶
func (*CoreConfig) ProtoMessage()
func (*CoreConfig) Reset ¶
func (m *CoreConfig) Reset()
func (*CoreConfig) Size ¶
func (m *CoreConfig) Size() (n int)
func (*CoreConfig) String ¶
func (m *CoreConfig) String() string
func (*CoreConfig) Unmarshal ¶
func (m *CoreConfig) Unmarshal(dAtA []byte) error
func (*CoreConfig) XXX_DiscardUnknown ¶
func (m *CoreConfig) XXX_DiscardUnknown()
func (*CoreConfig) XXX_Marshal ¶
func (m *CoreConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CoreConfig) XXX_Merge ¶
func (m *CoreConfig) XXX_Merge(src proto.Message)
func (*CoreConfig) XXX_Size ¶
func (m *CoreConfig) XXX_Size() int
func (*CoreConfig) XXX_Unmarshal ¶
func (m *CoreConfig) XXX_Unmarshal(b []byte) error
type CryptoConfig ¶
type CryptoConfig struct { // enable Transaction timestamp verification or Not Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` }
encryption configuration
func (*CryptoConfig) Descriptor ¶
func (*CryptoConfig) Descriptor() ([]byte, []int)
func (*CryptoConfig) GetHash ¶
func (m *CryptoConfig) GetHash() string
func (*CryptoConfig) Marshal ¶
func (m *CryptoConfig) Marshal() (dAtA []byte, err error)
func (*CryptoConfig) MarshalTo ¶
func (m *CryptoConfig) MarshalTo(dAtA []byte) (int, error)
func (*CryptoConfig) MarshalToSizedBuffer ¶
func (m *CryptoConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CryptoConfig) ProtoMessage ¶
func (*CryptoConfig) ProtoMessage()
func (*CryptoConfig) Reset ¶
func (m *CryptoConfig) Reset()
func (*CryptoConfig) Size ¶
func (m *CryptoConfig) Size() (n int)
func (*CryptoConfig) String ¶
func (m *CryptoConfig) String() string
func (*CryptoConfig) Unmarshal ¶
func (m *CryptoConfig) Unmarshal(dAtA []byte) error
func (*CryptoConfig) XXX_DiscardUnknown ¶
func (m *CryptoConfig) XXX_DiscardUnknown()
func (*CryptoConfig) XXX_Marshal ¶
func (m *CryptoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CryptoConfig) XXX_Merge ¶
func (m *CryptoConfig) XXX_Merge(src proto.Message)
func (*CryptoConfig) XXX_Size ¶
func (m *CryptoConfig) XXX_Size() int
func (*CryptoConfig) XXX_Unmarshal ¶
func (m *CryptoConfig) XXX_Unmarshal(b []byte) error
type DebugConfigRequest ¶
type DebugConfigRequest struct {
Pairs []*ConfigKeyValue `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"`
}
rquest for debug configuration
func (*DebugConfigRequest) Descriptor ¶
func (*DebugConfigRequest) Descriptor() ([]byte, []int)
func (*DebugConfigRequest) GetPairs ¶
func (m *DebugConfigRequest) GetPairs() []*ConfigKeyValue
func (*DebugConfigRequest) Marshal ¶
func (m *DebugConfigRequest) Marshal() (dAtA []byte, err error)
func (*DebugConfigRequest) MarshalTo ¶
func (m *DebugConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*DebugConfigRequest) MarshalToSizedBuffer ¶
func (m *DebugConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DebugConfigRequest) ProtoMessage ¶
func (*DebugConfigRequest) ProtoMessage()
func (*DebugConfigRequest) Reset ¶
func (m *DebugConfigRequest) Reset()
func (*DebugConfigRequest) Size ¶
func (m *DebugConfigRequest) Size() (n int)
func (*DebugConfigRequest) String ¶
func (m *DebugConfigRequest) String() string
func (*DebugConfigRequest) Unmarshal ¶
func (m *DebugConfigRequest) Unmarshal(dAtA []byte) error
func (*DebugConfigRequest) XXX_DiscardUnknown ¶
func (m *DebugConfigRequest) XXX_DiscardUnknown()
func (*DebugConfigRequest) XXX_Marshal ¶
func (m *DebugConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugConfigRequest) XXX_Merge ¶
func (m *DebugConfigRequest) XXX_Merge(src proto.Message)
func (*DebugConfigRequest) XXX_Size ¶
func (m *DebugConfigRequest) XXX_Size() int
func (*DebugConfigRequest) XXX_Unmarshal ¶
func (m *DebugConfigRequest) XXX_Unmarshal(b []byte) error
type DebugConfigResponse ¶
type DebugConfigResponse struct { // 0 success // 1 fail Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // failure message Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
Rrsponse for debug configuration
func (*DebugConfigResponse) Descriptor ¶
func (*DebugConfigResponse) Descriptor() ([]byte, []int)
func (*DebugConfigResponse) GetCode ¶
func (m *DebugConfigResponse) GetCode() int32
func (*DebugConfigResponse) GetMessage ¶
func (m *DebugConfigResponse) GetMessage() string
func (*DebugConfigResponse) Marshal ¶
func (m *DebugConfigResponse) Marshal() (dAtA []byte, err error)
func (*DebugConfigResponse) MarshalTo ¶
func (m *DebugConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*DebugConfigResponse) MarshalToSizedBuffer ¶
func (m *DebugConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DebugConfigResponse) ProtoMessage ¶
func (*DebugConfigResponse) ProtoMessage()
func (*DebugConfigResponse) Reset ¶
func (m *DebugConfigResponse) Reset()
func (*DebugConfigResponse) Size ¶
func (m *DebugConfigResponse) Size() (n int)
func (*DebugConfigResponse) String ¶
func (m *DebugConfigResponse) String() string
func (*DebugConfigResponse) Unmarshal ¶
func (m *DebugConfigResponse) Unmarshal(dAtA []byte) error
func (*DebugConfigResponse) XXX_DiscardUnknown ¶
func (m *DebugConfigResponse) XXX_DiscardUnknown()
func (*DebugConfigResponse) XXX_Marshal ¶
func (m *DebugConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugConfigResponse) XXX_Merge ¶
func (m *DebugConfigResponse) XXX_Merge(src proto.Message)
func (*DebugConfigResponse) XXX_Size ¶
func (m *DebugConfigResponse) XXX_Size() int
func (*DebugConfigResponse) XXX_Unmarshal ¶
func (m *DebugConfigResponse) XXX_Unmarshal(b []byte) error
type EthConfig ¶
type EthConfig struct { // enable EthTx or Not Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` // Eth Token admin AdminAddress string `protobuf:"bytes,2,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` // EthTx spend gas EnableGas bool `protobuf:"varint,3,opt,name=enable_gas,json=enableGas,proto3" json:"enable_gas,omitempty"` //signer must registered EnableRegister bool `protobuf:"varint,4,opt,name=enable_register,json=enableRegister,proto3" json:"enable_register,omitempty"` }
func (*EthConfig) MarshalToSizedBuffer ¶
func (*EthConfig) XXX_Marshal ¶
type GasAccountConfig ¶
type GasAccountConfig struct { // for admin address GasAdminAddress string `protobuf:"bytes,1,opt,name=gas_admin_address,json=gasAdminAddress,proto3" json:"gas_admin_address,omitempty"` // for admin gas count GasCount uint32 `protobuf:"varint,2,opt,name=gas_count,json=gasCount,proto3" json:"gas_count,omitempty"` // for gas manager EnableGas bool `protobuf:"varint,3,opt,name=enable_gas,json=enableGas,proto3" json:"enable_gas,omitempty"` // default gas value for invoke user contract DefaultGas uint64 `protobuf:"varint,4,opt,name=default_gas,json=defaultGas,proto3" json:"default_gas,omitempty"` // default gas price per `byte` for invoke user contract DefaultGasPrice float32 `protobuf:"fixed32,5,opt,name=default_gas_price,json=defaultGasPrice,proto3" json:"default_gas_price,omitempty"` // default gas value for install/upgrade user contract InstallBaseGas uint64 `protobuf:"varint,6,opt,name=install_base_gas,json=installBaseGas,proto3" json:"install_base_gas,omitempty"` // default gas price per `byte` for install/upgrade user contract InstallGasPrice float32 `protobuf:"fixed32,7,opt,name=install_gas_price,json=installGasPrice,proto3" json:"install_gas_price,omitempty"` }
gas account config
func (*GasAccountConfig) Descriptor ¶
func (*GasAccountConfig) Descriptor() ([]byte, []int)
func (*GasAccountConfig) GetDefaultGas ¶
func (m *GasAccountConfig) GetDefaultGas() uint64
func (*GasAccountConfig) GetDefaultGasPrice ¶ added in v3.0.1
func (m *GasAccountConfig) GetDefaultGasPrice() float32
func (*GasAccountConfig) GetEnableGas ¶
func (m *GasAccountConfig) GetEnableGas() bool
func (*GasAccountConfig) GetGasAdminAddress ¶
func (m *GasAccountConfig) GetGasAdminAddress() string
func (*GasAccountConfig) GetGasCount ¶
func (m *GasAccountConfig) GetGasCount() uint32
func (*GasAccountConfig) GetInstallBaseGas ¶ added in v3.0.1
func (m *GasAccountConfig) GetInstallBaseGas() uint64
func (*GasAccountConfig) GetInstallGasPrice ¶ added in v3.0.1
func (m *GasAccountConfig) GetInstallGasPrice() float32
func (*GasAccountConfig) Marshal ¶
func (m *GasAccountConfig) Marshal() (dAtA []byte, err error)
func (*GasAccountConfig) MarshalTo ¶
func (m *GasAccountConfig) MarshalTo(dAtA []byte) (int, error)
func (*GasAccountConfig) MarshalToSizedBuffer ¶
func (m *GasAccountConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GasAccountConfig) ProtoMessage ¶
func (*GasAccountConfig) ProtoMessage()
func (*GasAccountConfig) Reset ¶
func (m *GasAccountConfig) Reset()
func (*GasAccountConfig) Size ¶
func (m *GasAccountConfig) Size() (n int)
func (*GasAccountConfig) String ¶
func (m *GasAccountConfig) String() string
func (*GasAccountConfig) Unmarshal ¶
func (m *GasAccountConfig) Unmarshal(dAtA []byte) error
func (*GasAccountConfig) XXX_DiscardUnknown ¶
func (m *GasAccountConfig) XXX_DiscardUnknown()
func (*GasAccountConfig) XXX_Marshal ¶
func (m *GasAccountConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GasAccountConfig) XXX_Merge ¶
func (m *GasAccountConfig) XXX_Merge(src proto.Message)
func (*GasAccountConfig) XXX_Size ¶
func (m *GasAccountConfig) XXX_Size() int
func (*GasAccountConfig) XXX_Unmarshal ¶
func (m *GasAccountConfig) XXX_Unmarshal(b []byte) error
type LogLevelsRequest ¶
type LogLevelsRequest struct { }
request for log level
func (*LogLevelsRequest) Descriptor ¶
func (*LogLevelsRequest) Descriptor() ([]byte, []int)
func (*LogLevelsRequest) Marshal ¶
func (m *LogLevelsRequest) Marshal() (dAtA []byte, err error)
func (*LogLevelsRequest) MarshalTo ¶
func (m *LogLevelsRequest) MarshalTo(dAtA []byte) (int, error)
func (*LogLevelsRequest) MarshalToSizedBuffer ¶
func (m *LogLevelsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LogLevelsRequest) ProtoMessage ¶
func (*LogLevelsRequest) ProtoMessage()
func (*LogLevelsRequest) Reset ¶
func (m *LogLevelsRequest) Reset()
func (*LogLevelsRequest) Size ¶
func (m *LogLevelsRequest) Size() (n int)
func (*LogLevelsRequest) String ¶
func (m *LogLevelsRequest) String() string
func (*LogLevelsRequest) Unmarshal ¶
func (m *LogLevelsRequest) Unmarshal(dAtA []byte) error
func (*LogLevelsRequest) XXX_DiscardUnknown ¶
func (m *LogLevelsRequest) XXX_DiscardUnknown()
func (*LogLevelsRequest) XXX_Marshal ¶
func (m *LogLevelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogLevelsRequest) XXX_Merge ¶
func (m *LogLevelsRequest) XXX_Merge(src proto.Message)
func (*LogLevelsRequest) XXX_Size ¶
func (m *LogLevelsRequest) XXX_Size() int
func (*LogLevelsRequest) XXX_Unmarshal ¶
func (m *LogLevelsRequest) XXX_Unmarshal(b []byte) error
type LogLevelsResponse ¶
type LogLevelsResponse struct { // 0 success // 1 fail Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // failure message Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
response for log level
func (*LogLevelsResponse) Descriptor ¶
func (*LogLevelsResponse) Descriptor() ([]byte, []int)
func (*LogLevelsResponse) GetCode ¶
func (m *LogLevelsResponse) GetCode() int32
func (*LogLevelsResponse) GetMessage ¶
func (m *LogLevelsResponse) GetMessage() string
func (*LogLevelsResponse) Marshal ¶
func (m *LogLevelsResponse) Marshal() (dAtA []byte, err error)
func (*LogLevelsResponse) MarshalTo ¶
func (m *LogLevelsResponse) MarshalTo(dAtA []byte) (int, error)
func (*LogLevelsResponse) MarshalToSizedBuffer ¶
func (m *LogLevelsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LogLevelsResponse) ProtoMessage ¶
func (*LogLevelsResponse) ProtoMessage()
func (*LogLevelsResponse) Reset ¶
func (m *LogLevelsResponse) Reset()
func (*LogLevelsResponse) Size ¶
func (m *LogLevelsResponse) Size() (n int)
func (*LogLevelsResponse) String ¶
func (m *LogLevelsResponse) String() string
func (*LogLevelsResponse) Unmarshal ¶
func (m *LogLevelsResponse) Unmarshal(dAtA []byte) error
func (*LogLevelsResponse) XXX_DiscardUnknown ¶
func (m *LogLevelsResponse) XXX_DiscardUnknown()
func (*LogLevelsResponse) XXX_Marshal ¶
func (m *LogLevelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogLevelsResponse) XXX_Merge ¶
func (m *LogLevelsResponse) XXX_Merge(src proto.Message)
func (*LogLevelsResponse) XXX_Size ¶
func (m *LogLevelsResponse) XXX_Size() int
func (*LogLevelsResponse) XXX_Unmarshal ¶
func (m *LogLevelsResponse) XXX_Unmarshal(b []byte) error
type MultiSign ¶
type MultiSign struct { // enable multi sign execute contract from sender EnableManualRun bool `protobuf:"varint,1,opt,name=enable_manual_run,json=enableManualRun,proto3" json:"enable_manual_run,omitempty"` }
func (*MultiSign) MarshalToSizedBuffer ¶
func (*MultiSign) XXX_Marshal ¶
type OrgConfig ¶
type OrgConfig struct { // organization identifier OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // address list owned by the organization // Deprecated , replace by node_id Address []string `protobuf:"bytes,2,rep,name=address,proto3" json:"address,omitempty"` // node id list owned by the organization NodeId []string `protobuf:"bytes,3,rep,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` }
organization related configuration
func (*OrgConfig) MarshalToSizedBuffer ¶
func (*OrgConfig) XXX_Marshal ¶
type ResourcePolicy ¶
type ResourcePolicy struct { // resource name ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // policy(permission) Policy *accesscontrol.Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` }
specific permission configuration structure
func (*ResourcePolicy) Descriptor ¶
func (*ResourcePolicy) Descriptor() ([]byte, []int)
func (*ResourcePolicy) GetPolicy ¶
func (m *ResourcePolicy) GetPolicy() *accesscontrol.Policy
func (*ResourcePolicy) GetResourceName ¶
func (m *ResourcePolicy) GetResourceName() string
func (*ResourcePolicy) Marshal ¶
func (m *ResourcePolicy) Marshal() (dAtA []byte, err error)
func (*ResourcePolicy) MarshalTo ¶
func (m *ResourcePolicy) MarshalTo(dAtA []byte) (int, error)
func (*ResourcePolicy) MarshalToSizedBuffer ¶
func (m *ResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourcePolicy) ProtoMessage ¶
func (*ResourcePolicy) ProtoMessage()
func (*ResourcePolicy) Reset ¶
func (m *ResourcePolicy) Reset()
func (*ResourcePolicy) Size ¶
func (m *ResourcePolicy) Size() (n int)
func (*ResourcePolicy) String ¶
func (m *ResourcePolicy) String() string
func (*ResourcePolicy) Unmarshal ¶
func (m *ResourcePolicy) Unmarshal(dAtA []byte) error
func (*ResourcePolicy) XXX_DiscardUnknown ¶
func (m *ResourcePolicy) XXX_DiscardUnknown()
func (*ResourcePolicy) XXX_Marshal ¶
func (m *ResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourcePolicy) XXX_Merge ¶
func (m *ResourcePolicy) XXX_Merge(src proto.Message)
func (*ResourcePolicy) XXX_Size ¶
func (m *ResourcePolicy) XXX_Size() int
func (*ResourcePolicy) XXX_Unmarshal ¶
func (m *ResourcePolicy) XXX_Unmarshal(b []byte) error
type SchedulerConfig ¶
type SchedulerConfig struct { // for evidence contract EnableEvidence bool `protobuf:"varint,1,opt,name=enable_evidence,json=enableEvidence,proto3" json:"enable_evidence,omitempty"` }
Scheduler configuration
func (*SchedulerConfig) Descriptor ¶
func (*SchedulerConfig) Descriptor() ([]byte, []int)
func (*SchedulerConfig) GetEnableEvidence ¶
func (m *SchedulerConfig) GetEnableEvidence() bool
func (*SchedulerConfig) Marshal ¶
func (m *SchedulerConfig) Marshal() (dAtA []byte, err error)
func (*SchedulerConfig) MarshalTo ¶
func (m *SchedulerConfig) MarshalTo(dAtA []byte) (int, error)
func (*SchedulerConfig) MarshalToSizedBuffer ¶
func (m *SchedulerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SchedulerConfig) ProtoMessage ¶
func (*SchedulerConfig) ProtoMessage()
func (*SchedulerConfig) Reset ¶
func (m *SchedulerConfig) Reset()
func (*SchedulerConfig) Size ¶
func (m *SchedulerConfig) Size() (n int)
func (*SchedulerConfig) String ¶
func (m *SchedulerConfig) String() string
func (*SchedulerConfig) Unmarshal ¶
func (m *SchedulerConfig) Unmarshal(dAtA []byte) error
func (*SchedulerConfig) XXX_DiscardUnknown ¶
func (m *SchedulerConfig) XXX_DiscardUnknown()
func (*SchedulerConfig) XXX_Marshal ¶
func (m *SchedulerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchedulerConfig) XXX_Merge ¶
func (m *SchedulerConfig) XXX_Merge(src proto.Message)
func (*SchedulerConfig) XXX_Size ¶
func (m *SchedulerConfig) XXX_Size() int
func (*SchedulerConfig) XXX_Unmarshal ¶
func (m *SchedulerConfig) XXX_Unmarshal(b []byte) error
type SnapshotConfig ¶
type SnapshotConfig struct { // for the evidence contract EnableEvidence bool `protobuf:"varint,1,opt,name=enable_evidence,json=enableEvidence,proto3" json:"enable_evidence,omitempty"` }
Snapshot configuration
func (*SnapshotConfig) Descriptor ¶
func (*SnapshotConfig) Descriptor() ([]byte, []int)
func (*SnapshotConfig) GetEnableEvidence ¶
func (m *SnapshotConfig) GetEnableEvidence() bool
func (*SnapshotConfig) Marshal ¶
func (m *SnapshotConfig) Marshal() (dAtA []byte, err error)
func (*SnapshotConfig) MarshalTo ¶
func (m *SnapshotConfig) MarshalTo(dAtA []byte) (int, error)
func (*SnapshotConfig) MarshalToSizedBuffer ¶
func (m *SnapshotConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SnapshotConfig) ProtoMessage ¶
func (*SnapshotConfig) ProtoMessage()
func (*SnapshotConfig) Reset ¶
func (m *SnapshotConfig) Reset()
func (*SnapshotConfig) Size ¶
func (m *SnapshotConfig) Size() (n int)
func (*SnapshotConfig) String ¶
func (m *SnapshotConfig) String() string
func (*SnapshotConfig) Unmarshal ¶
func (m *SnapshotConfig) Unmarshal(dAtA []byte) error
func (*SnapshotConfig) XXX_DiscardUnknown ¶
func (m *SnapshotConfig) XXX_DiscardUnknown()
func (*SnapshotConfig) XXX_Marshal ¶
func (m *SnapshotConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SnapshotConfig) XXX_Merge ¶
func (m *SnapshotConfig) XXX_Merge(src proto.Message)
func (*SnapshotConfig) XXX_Size ¶
func (m *SnapshotConfig) XXX_Size() int
func (*SnapshotConfig) XXX_Unmarshal ¶
func (m *SnapshotConfig) XXX_Unmarshal(b []byte) error
type TrustMemberConfig ¶
type TrustMemberConfig struct { // member info MemberInfo string `protobuf:"bytes,1,opt,name=member_info,json=memberInfo,proto3" json:"member_info,omitempty"` // oranization ideftifier OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` }
func (*TrustMemberConfig) Descriptor ¶
func (*TrustMemberConfig) Descriptor() ([]byte, []int)
func (*TrustMemberConfig) GetMemberInfo ¶
func (m *TrustMemberConfig) GetMemberInfo() string
func (*TrustMemberConfig) GetNodeId ¶
func (m *TrustMemberConfig) GetNodeId() string
func (*TrustMemberConfig) GetOrgId ¶
func (m *TrustMemberConfig) GetOrgId() string
func (*TrustMemberConfig) GetRole ¶
func (m *TrustMemberConfig) GetRole() string
func (*TrustMemberConfig) Marshal ¶
func (m *TrustMemberConfig) Marshal() (dAtA []byte, err error)
func (*TrustMemberConfig) MarshalTo ¶
func (m *TrustMemberConfig) MarshalTo(dAtA []byte) (int, error)
func (*TrustMemberConfig) MarshalToSizedBuffer ¶
func (m *TrustMemberConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TrustMemberConfig) ProtoMessage ¶
func (*TrustMemberConfig) ProtoMessage()
func (*TrustMemberConfig) Reset ¶
func (m *TrustMemberConfig) Reset()
func (*TrustMemberConfig) Size ¶
func (m *TrustMemberConfig) Size() (n int)
func (*TrustMemberConfig) String ¶
func (m *TrustMemberConfig) String() string
func (*TrustMemberConfig) Unmarshal ¶
func (m *TrustMemberConfig) Unmarshal(dAtA []byte) error
func (*TrustMemberConfig) XXX_DiscardUnknown ¶
func (m *TrustMemberConfig) XXX_DiscardUnknown()
func (*TrustMemberConfig) XXX_Marshal ¶
func (m *TrustMemberConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrustMemberConfig) XXX_Merge ¶
func (m *TrustMemberConfig) XXX_Merge(src proto.Message)
func (*TrustMemberConfig) XXX_Size ¶
func (m *TrustMemberConfig) XXX_Size() int
func (*TrustMemberConfig) XXX_Unmarshal ¶
func (m *TrustMemberConfig) XXX_Unmarshal(b []byte) error
type TrustRootConfig ¶
type TrustRootConfig struct { // oranization ideftifier OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // root certificate / public key Root []string `protobuf:"bytes,2,rep,name=root,proto3" json:"root,omitempty"` }
trusted root related configuration
func (*TrustRootConfig) Descriptor ¶
func (*TrustRootConfig) Descriptor() ([]byte, []int)
func (*TrustRootConfig) GetOrgId ¶
func (m *TrustRootConfig) GetOrgId() string
func (*TrustRootConfig) GetRoot ¶
func (m *TrustRootConfig) GetRoot() []string
func (*TrustRootConfig) Marshal ¶
func (m *TrustRootConfig) Marshal() (dAtA []byte, err error)
func (*TrustRootConfig) MarshalTo ¶
func (m *TrustRootConfig) MarshalTo(dAtA []byte) (int, error)
func (*TrustRootConfig) MarshalToSizedBuffer ¶
func (m *TrustRootConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TrustRootConfig) ProtoMessage ¶
func (*TrustRootConfig) ProtoMessage()
func (*TrustRootConfig) Reset ¶
func (m *TrustRootConfig) Reset()
func (*TrustRootConfig) Size ¶
func (m *TrustRootConfig) Size() (n int)
func (*TrustRootConfig) String ¶
func (m *TrustRootConfig) String() string
func (*TrustRootConfig) Unmarshal ¶
func (m *TrustRootConfig) Unmarshal(dAtA []byte) error
func (*TrustRootConfig) XXX_DiscardUnknown ¶
func (m *TrustRootConfig) XXX_DiscardUnknown()
func (*TrustRootConfig) XXX_Marshal ¶
func (m *TrustRootConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrustRootConfig) XXX_Merge ¶
func (m *TrustRootConfig) XXX_Merge(src proto.Message)
func (*TrustRootConfig) XXX_Size ¶
func (m *TrustRootConfig) XXX_Size() int
func (*TrustRootConfig) XXX_Unmarshal ¶
func (m *TrustRootConfig) XXX_Unmarshal(b []byte) error
type TxFilterConfig ¶
type TxFilterConfig struct { // Transaction filter type Type TxFilterType `protobuf:"varint,1,opt,name=type,proto3,enum=config.TxFilterType" json:"type,omitempty"` // Bird's nest configuration BirdsNest *common.BirdsNestConfig `protobuf:"bytes,2,opt,name=birds_nest,json=birdsNest,proto3" json:"birds_nest,omitempty"` // Sharding bird's nest configuration ShardingBirdsNest *common.ShardingBirdsNestConfig `protobuf:"bytes,3,opt,name=sharding_birds_nest,json=shardingBirdsNest,proto3" json:"sharding_birds_nest,omitempty"` }
BirdsNest Bird's Nest
func (*TxFilterConfig) Descriptor ¶
func (*TxFilterConfig) Descriptor() ([]byte, []int)
func (*TxFilterConfig) GetBirdsNest ¶
func (m *TxFilterConfig) GetBirdsNest() *common.BirdsNestConfig
func (*TxFilterConfig) GetShardingBirdsNest ¶
func (m *TxFilterConfig) GetShardingBirdsNest() *common.ShardingBirdsNestConfig
func (*TxFilterConfig) GetType ¶
func (m *TxFilterConfig) GetType() TxFilterType
func (*TxFilterConfig) Marshal ¶
func (m *TxFilterConfig) Marshal() (dAtA []byte, err error)
func (*TxFilterConfig) MarshalTo ¶
func (m *TxFilterConfig) MarshalTo(dAtA []byte) (int, error)
func (*TxFilterConfig) MarshalToSizedBuffer ¶
func (m *TxFilterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxFilterConfig) ProtoMessage ¶
func (*TxFilterConfig) ProtoMessage()
func (*TxFilterConfig) Reset ¶
func (m *TxFilterConfig) Reset()
func (*TxFilterConfig) Size ¶
func (m *TxFilterConfig) Size() (n int)
func (*TxFilterConfig) String ¶
func (m *TxFilterConfig) String() string
func (*TxFilterConfig) Unmarshal ¶
func (m *TxFilterConfig) Unmarshal(dAtA []byte) error
func (*TxFilterConfig) XXX_DiscardUnknown ¶
func (m *TxFilterConfig) XXX_DiscardUnknown()
func (*TxFilterConfig) XXX_Marshal ¶
func (m *TxFilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxFilterConfig) XXX_Merge ¶
func (m *TxFilterConfig) XXX_Merge(src proto.Message)
func (*TxFilterConfig) XXX_Size ¶
func (m *TxFilterConfig) XXX_Size() int
func (*TxFilterConfig) XXX_Unmarshal ¶
func (m *TxFilterConfig) XXX_Unmarshal(b []byte) error
type TxFilterType ¶
type TxFilterType int32
const ( TxFilterType_None TxFilterType = 0 TxFilterType_BirdsNest TxFilterType = 1 TxFilterType_Map TxFilterType = 2 TxFilterType_ShardingBirdsNest TxFilterType = 3 )
func (TxFilterType) EnumDescriptor ¶
func (TxFilterType) EnumDescriptor() ([]byte, []int)
func (TxFilterType) String ¶
func (x TxFilterType) String() string
type Vm ¶
type Vm struct { SupportList []string `protobuf:"bytes,1,rep,name=support_list,json=supportList,proto3" json:"support_list,omitempty"` AddrType AddrType `protobuf:"varint,2,opt,name=addr_type,json=addrType,proto3,enum=config.AddrType" json:"addr_type,omitempty"` Native *VmNative `protobuf:"bytes,3,opt,name=native,proto3" json:"native,omitempty"` }