Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockSDKAdapter
- func (m *MockSDKAdapter) EXPECT() *MockSDKAdapterMockRecorder
- func (m *MockSDKAdapter) GetBlockByHeight(blockHeight uint64) (common.Blocker, error)
- func (m *MockSDKAdapter) GetChainConfig() (*protogo.RemoteConfig, error)
- func (m *MockSDKAdapter) GetChainHeight() (uint64, error)
- func (m *MockSDKAdapter) GetTransactionByTxKey(txKey string) (common.Transactioner, error)
- func (m *MockSDKAdapter) Stop() error
- func (m *MockSDKAdapter) SubscribeBlock() (chan common.Blocker, error)
- type MockSDKAdapterMockRecorder
- func (mr *MockSDKAdapterMockRecorder) GetBlockByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) GetChainConfig() *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) GetChainHeight() *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) GetTransactionByTxKey(txKey interface{}) *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) Stop() *gomock.Call
- func (mr *MockSDKAdapterMockRecorder) SubscribeBlock() *gomock.Call
- type MockSDKInterface
- func (m *MockSDKInterface) AddCert() (*common.TxResponse, error)
- func (m *MockSDKInterface) CheckCallerCertAuth(payload string, orgIds []string, signPairs []*syscontract.SignInfo) (*common.TxResponse, error)
- func (m *MockSDKInterface) CreateArchiveBlockPayload(targetBlockHeight uint64) (*common.Payload, error)
- func (m *MockSDKInterface) CreateCertManageFrozenPayload(certs []string) *common.Payload
- func (m *MockSDKInterface) CreateCertManagePayload(method string, kvs []*common.KeyValuePair) *common.Payload
- func (m *MockSDKInterface) CreateCertManageRevocationPayload(certCrl string) *common.Payload
- func (m *MockSDKInterface) CreateCertManageUnfrozenPayload(certs []string) *common.Payload
- func (m *MockSDKInterface) CreateChainConfigBlockUpdatePayload(txTimestampVerify bool, ...) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusExtAddPayload(kvs []*common.KeyValuePair) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusExtDeletePayload(keys []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusExtUpdatePayload(kvs []*common.KeyValuePair) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout uint64) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigPermissionAddPayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigPermissionDeletePayload(permissionResourceName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigPermissionUpdatePayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustRootAddPayload(trustRootOrgId, trustRootCrt string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustRootDeletePayload(trustRootOrgId string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId, trustRootCrt string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractCreatePayload(contractName, version, byteCode string, runtime common.RuntimeType, ...) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractFreezePayload(contractName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractRevokePayload(contractName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractUnfreezePayload(contractName string) (*common.Payload, error)
- func (m *MockSDKInterface) CreateContractUpgradePayload(contractName, version, byteCode string, runtime common.RuntimeType, ...) (*common.Payload, error)
- func (m *MockSDKInterface) CreateHibeInitParamsTxPayloadParams(orgId string, hibeParams []byte) ([]*common.KeyValuePair, error)
- func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithHibeParams(plaintext []byte, receiverIds []string, paramsBytesList [][]byte, txId string, ...) ([]*common.KeyValuePair, error)
- func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithoutHibeParams(contractName, queryParamsMethod string, plaintext []byte, ...) ([]*common.KeyValuePair, error)
- func (m *MockSDKInterface) CreateRestoreBlockPayload(fullBlock []byte) (*common.Payload, error)
- func (m *MockSDKInterface) DecryptHibeTxByTxId(localId string, hibeParams, hibePrvKey []byte, txId string, ...) ([]byte, error)
- func (m *MockSDKInterface) DeleteCert(certHashes []string) (*common.TxResponse, error)
- func (m *MockSDKInterface) DisableCertHash() error
- func (m *MockSDKInterface) EXPECT() *MockSDKInterfaceMockRecorder
- func (m *MockSDKInterface) EnableCertHash() error
- func (m *MockSDKInterface) GetArchivedBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetArchivedBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetArchivedBlockByTxId(txId string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetArchivedBlockHeight() (uint64, error)
- func (m *MockSDKInterface) GetArchivedFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
- func (m *MockSDKInterface) GetArchivedTxByTxId(txId string) (*common.TransactionInfo, error)
- func (m *MockSDKInterface) GetBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetBlockByTxId(txId string, withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetBlockHeaderByHeight(blockHeight uint64) (*common.BlockHeader, error)
- func (m *MockSDKInterface) GetBlockHeightByHash(blockHash string) (uint64, error)
- func (m *MockSDKInterface) GetBlockHeightByTxId(txId string) (uint64, error)
- func (m *MockSDKInterface) GetCertHash() ([]byte, error)
- func (m *MockSDKInterface) GetChainConfig() (*config.ChainConfig, error)
- func (m *MockSDKInterface) GetChainConfigByBlockHeight(blockHeight uint64) (*config.ChainConfig, error)
- func (m *MockSDKInterface) GetChainConfigSequence() (uint64, error)
- func (m *MockSDKInterface) GetChainInfo() (*discovery.ChainInfo, error)
- func (m *MockSDKInterface) GetChainMakerServerVersion() (string, error)
- func (m *MockSDKInterface) GetContract(contractName, codeHash string) (*common.PrivateGetContract, error)
- func (m *MockSDKInterface) GetCurrentBlockHeight() (uint64, error)
- func (m *MockSDKInterface) GetData(contractName, key string) ([]byte, error)
- func (m *MockSDKInterface) GetDir(orderId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveCACert() ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveChallenge(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveEncryptPubKey(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveProof(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveReport(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveSignature(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetEnclaveVerificationPubKey(enclaveId string) ([]byte, error)
- func (m *MockSDKInterface) GetFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
- func (m *MockSDKInterface) GetLastBlock(withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetLastConfigBlock(withRWSet bool) (*common.BlockInfo, error)
- func (m *MockSDKInterface) GetNodeChainList() (*discovery.ChainList, error)
- func (m *MockSDKInterface) GetTxByTxId(txId string) (*common.TransactionInfo, error)
- func (m *MockSDKInterface) GetTxRequest(contractName, method, txId string, kvs []*common.KeyValuePair) (*common.TxRequest, error)
- func (m *MockSDKInterface) InvokeContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) InvokeSystemContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) QueryCert(certHashes []string) (*common.CertInfos, error)
- func (m *MockSDKInterface) QueryContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) QueryHibeParamsWithOrgId(contractName, method, orgId string, timeout int64) ([]byte, error)
- func (m *MockSDKInterface) QuerySystemContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveData(contractName, contractVersion string, isDeployment bool, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveDir(orderId, txId string, privateDir *common.StrSlice, withSyncResult bool, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveEnclaveCACert(caCert, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveEnclaveReport(enclaveId, report, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SaveRemoteAttestationProof(proof, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendArchiveBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendCertManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendChainConfigUpdateRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendContractManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, ...) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendRestoreBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
- func (m *MockSDKInterface) SendTxRequest(txRequest *common.TxRequest, timeout int64, withSyncResult bool) (*common.TxResponse, error)
- func (m *MockSDKInterface) SignArchivePayload(payload *common.Payload) (*common.Payload, error)
- func (m *MockSDKInterface) SignCertManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) SignChainConfigPayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) SignContractManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
- func (m *MockSDKInterface) Stop() error
- func (m *MockSDKInterface) Subscribe(ctx context.Context, payloadBytes *common.Payload) (<-chan interface{}, error)
- func (m *MockSDKInterface) SubscribeBlock(ctx context.Context, startBlock, endBlock int64, withRWSet, onlyHeader bool) (<-chan interface{}, error)
- func (m *MockSDKInterface) SubscribeContractEvent(ctx context.Context, topic, contractName string) (<-chan interface{}, error)
- func (m *MockSDKInterface) SubscribeTx(ctx context.Context, startBlock, endBlock int64, contractName string, ...) (<-chan interface{}, error)
- type MockSDKInterfaceMockRecorder
- func (mr *MockSDKInterfaceMockRecorder) AddCert() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CheckCallerCertAuth(payload, orgIds, signPairs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateArchiveBlockPayload(targetBlockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManageFrozenPayload(certs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManagePayload(method, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManageRevocationPayload(certCrl interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateCertManageUnfrozenPayload(certs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigBlockUpdatePayload(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtAddPayload(kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtDeletePayload(keys interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtUpdatePayload(kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId, nodeIds interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionAddPayload(permissionResourceName, policy interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionDeletePayload(permissionResourceName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionUpdatePayload(permissionResourceName, policy interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootAddPayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootDeletePayload(trustRootOrgId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractCreatePayload(contractName, version, byteCode, runtime, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractFreezePayload(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractRevokePayload(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractUnfreezePayload(contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateContractUpgradePayload(contractName, version, byteCode, runtime, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateHibeInitParamsTxPayloadParams(orgId, hibeParams interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithHibeParams(plaintext, receiverIds, paramsBytesList, txId, keyType interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithoutHibeParams(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) CreateRestoreBlockPayload(fullBlock interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DecryptHibeTxByTxId(localId, hibeParams, hibePrvKey, txId, keyType interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DeleteCert(certHashes interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) DisableCertHash() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) EnableCertHash() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByTxId(txId, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockHeight() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedFullBlockByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetArchivedTxByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockByTxId(txId, withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockHeaderByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByHash(blockHash interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetCertHash() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfig() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfigByBlockHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainConfigSequence() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainInfo() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetChainMakerServerVersion() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetContract(contractName, codeHash interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetCurrentBlockHeight() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetData(contractName, key interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetDir(orderId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveCACert() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveChallenge(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveEncryptPubKey(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveProof(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveReport(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveSignature(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetEnclaveVerificationPubKey(enclaveId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetFullBlockByHeight(blockHeight interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetLastBlock(withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetLastConfigBlock(withRWSet interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetNodeChainList() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxByTxId(txId interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) GetTxRequest(contractName, method, txId, kvs interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) InvokeContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) InvokeSystemContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryCert(certHashes interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryContract(contractName, method, kvs, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QueryHibeParamsWithOrgId(contractName, method, orgId, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) QuerySystemContract(contractName, method, kvs, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveData(...) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveDir(orderId, txId, privateDir, withSyncResult, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveEnclaveCACert(caCert, txId, withSyncResult, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveEnclaveReport(enclaveId, report, txId, withSyncResult, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SaveRemoteAttestationProof(proof, txId, withSyncResult, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendArchiveBlockRequest(payload, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendCertManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendChainConfigUpdateRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendContractManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendRestoreBlockRequest(payload, timeout interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SendTxRequest(txRequest, timeout, withSyncResult interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignArchivePayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignCertManagePayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignChainConfigPayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SignContractManagePayload(payload interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) Stop() *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) Subscribe(ctx, payloadBytes interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SubscribeBlock(ctx, startBlock, endBlock, withRWSet, onlyHeader interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SubscribeContractEvent(ctx, topic, contractName interface{}) *gomock.Call
- func (mr *MockSDKInterfaceMockRecorder) SubscribeTx(ctx, startBlock, endBlock, contractName, txIds interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSDKAdapter ¶
type MockSDKAdapter struct {
// contains filtered or unexported fields
}
MockSDKAdapter is a mock of SDKAdapter interface.
func NewMockSDKAdapter ¶
func NewMockSDKAdapter(ctrl *gomock.Controller) *MockSDKAdapter
NewMockSDKAdapter creates a new mock instance.
func (*MockSDKAdapter) EXPECT ¶
func (m *MockSDKAdapter) EXPECT() *MockSDKAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSDKAdapter) GetBlockByHeight ¶
func (m *MockSDKAdapter) GetBlockByHeight(blockHeight uint64) (common.Blocker, error)
GetBlockByHeight mocks base method.
func (*MockSDKAdapter) GetChainConfig ¶
func (m *MockSDKAdapter) GetChainConfig() (*protogo.RemoteConfig, error)
GetChainConfig mocks base method.
func (*MockSDKAdapter) GetChainHeight ¶
func (m *MockSDKAdapter) GetChainHeight() (uint64, error)
GetChainHeight mocks base method.
func (*MockSDKAdapter) GetTransactionByTxKey ¶
func (m *MockSDKAdapter) GetTransactionByTxKey(txKey string) (common.Transactioner, error)
GetTransactionByTxKey mocks base method.
func (*MockSDKAdapter) SubscribeBlock ¶
func (m *MockSDKAdapter) SubscribeBlock() (chan common.Blocker, error)
SubscribeBlock mocks base method.
type MockSDKAdapterMockRecorder ¶
type MockSDKAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockSDKAdapterMockRecorder is the mock recorder for MockSDKAdapter.
func (*MockSDKAdapterMockRecorder) GetBlockByHeight ¶
func (mr *MockSDKAdapterMockRecorder) GetBlockByHeight(blockHeight interface{}) *gomock.Call
GetBlockByHeight indicates an expected call of GetBlockByHeight.
func (*MockSDKAdapterMockRecorder) GetChainConfig ¶
func (mr *MockSDKAdapterMockRecorder) GetChainConfig() *gomock.Call
GetChainConfig indicates an expected call of GetChainConfig.
func (*MockSDKAdapterMockRecorder) GetChainHeight ¶
func (mr *MockSDKAdapterMockRecorder) GetChainHeight() *gomock.Call
GetChainHeight indicates an expected call of GetChainHeight.
func (*MockSDKAdapterMockRecorder) GetTransactionByTxKey ¶
func (mr *MockSDKAdapterMockRecorder) GetTransactionByTxKey(txKey interface{}) *gomock.Call
GetTransactionByTxKey indicates an expected call of GetTransactionByTxKey.
func (*MockSDKAdapterMockRecorder) Stop ¶
func (mr *MockSDKAdapterMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSDKAdapterMockRecorder) SubscribeBlock ¶
func (mr *MockSDKAdapterMockRecorder) SubscribeBlock() *gomock.Call
SubscribeBlock indicates an expected call of SubscribeBlock.
type MockSDKInterface ¶
type MockSDKInterface struct {
// contains filtered or unexported fields
}
MockSDKInterface is a mock of SDKInterface interface.
func NewMockSDKInterface ¶
func NewMockSDKInterface(ctrl *gomock.Controller) *MockSDKInterface
NewMockSDKInterface creates a new mock instance.
func (*MockSDKInterface) AddCert ¶
func (m *MockSDKInterface) AddCert() (*common.TxResponse, error)
AddCert mocks base method.
func (*MockSDKInterface) CheckCallerCertAuth ¶
func (m *MockSDKInterface) CheckCallerCertAuth(payload string, orgIds []string, signPairs []*syscontract.SignInfo) (*common.TxResponse, error)
CheckCallerCertAuth mocks base method.
func (*MockSDKInterface) CreateArchiveBlockPayload ¶
func (m *MockSDKInterface) CreateArchiveBlockPayload(targetBlockHeight uint64) (*common.Payload, error)
CreateArchiveBlockPayload mocks base method.
func (*MockSDKInterface) CreateCertManageFrozenPayload ¶
func (m *MockSDKInterface) CreateCertManageFrozenPayload(certs []string) *common.Payload
CreateCertManageFrozenPayload mocks base method.
func (*MockSDKInterface) CreateCertManagePayload ¶
func (m *MockSDKInterface) CreateCertManagePayload(method string, kvs []*common.KeyValuePair) *common.Payload
CreateCertManagePayload mocks base method.
func (*MockSDKInterface) CreateCertManageRevocationPayload ¶
func (m *MockSDKInterface) CreateCertManageRevocationPayload(certCrl string) *common.Payload
CreateCertManageRevocationPayload mocks base method.
func (*MockSDKInterface) CreateCertManageUnfrozenPayload ¶
func (m *MockSDKInterface) CreateCertManageUnfrozenPayload(certs []string) *common.Payload
CreateCertManageUnfrozenPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigBlockUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigBlockUpdatePayload(txTimestampVerify bool, txTimeout, blockTxCapacity, blockSize, blockInterval uint32) (*common.Payload, error)
CreateChainConfigBlockUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusExtAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusExtAddPayload(kvs []*common.KeyValuePair) (*common.Payload, error)
CreateChainConfigConsensusExtAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusExtDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusExtDeletePayload(keys []string) (*common.Payload, error)
CreateChainConfigConsensusExtDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusExtUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusExtUpdatePayload(kvs []*common.KeyValuePair) (*common.Payload, error)
CreateChainConfigConsensusExtUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeIdAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
CreateChainConfigConsensusNodeIdAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeIdDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId string) (*common.Payload, error)
CreateChainConfigConsensusNodeIdDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeIdUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId string) (*common.Payload, error)
CreateChainConfigConsensusNodeIdUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeOrgAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
CreateChainConfigConsensusNodeOrgAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeOrgDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId string) (*common.Payload, error)
CreateChainConfigConsensusNodeOrgDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigConsensusNodeOrgUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId string, nodeIds []string) (*common.Payload, error)
CreateChainConfigConsensusNodeOrgUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigCoreUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout uint64) (*common.Payload, error)
CreateChainConfigCoreUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigPermissionAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigPermissionAddPayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
CreateChainConfigPermissionAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigPermissionDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigPermissionDeletePayload(permissionResourceName string) (*common.Payload, error)
CreateChainConfigPermissionDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigPermissionUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigPermissionUpdatePayload(permissionResourceName string, policy *accesscontrol.Policy) (*common.Payload, error)
CreateChainConfigPermissionUpdatePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustRootAddPayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustRootAddPayload(trustRootOrgId, trustRootCrt string) (*common.Payload, error)
CreateChainConfigTrustRootAddPayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustRootDeletePayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustRootDeletePayload(trustRootOrgId string) (*common.Payload, error)
CreateChainConfigTrustRootDeletePayload mocks base method.
func (*MockSDKInterface) CreateChainConfigTrustRootUpdatePayload ¶
func (m *MockSDKInterface) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId, trustRootCrt string) (*common.Payload, error)
CreateChainConfigTrustRootUpdatePayload mocks base method.
func (*MockSDKInterface) CreateContractCreatePayload ¶
func (m *MockSDKInterface) CreateContractCreatePayload(contractName, version, byteCode string, runtime common.RuntimeType, kvs []*common.KeyValuePair) (*common.Payload, error)
CreateContractCreatePayload mocks base method.
func (*MockSDKInterface) CreateContractFreezePayload ¶
func (m *MockSDKInterface) CreateContractFreezePayload(contractName string) (*common.Payload, error)
CreateContractFreezePayload mocks base method.
func (*MockSDKInterface) CreateContractRevokePayload ¶
func (m *MockSDKInterface) CreateContractRevokePayload(contractName string) (*common.Payload, error)
CreateContractRevokePayload mocks base method.
func (*MockSDKInterface) CreateContractUnfreezePayload ¶
func (m *MockSDKInterface) CreateContractUnfreezePayload(contractName string) (*common.Payload, error)
CreateContractUnfreezePayload mocks base method.
func (*MockSDKInterface) CreateContractUpgradePayload ¶
func (m *MockSDKInterface) CreateContractUpgradePayload(contractName, version, byteCode string, runtime common.RuntimeType, kvs []*common.KeyValuePair) (*common.Payload, error)
CreateContractUpgradePayload mocks base method.
func (*MockSDKInterface) CreateHibeInitParamsTxPayloadParams ¶
func (m *MockSDKInterface) CreateHibeInitParamsTxPayloadParams(orgId string, hibeParams []byte) ([]*common.KeyValuePair, error)
CreateHibeInitParamsTxPayloadParams mocks base method.
func (*MockSDKInterface) CreateHibeTxPayloadParamsWithHibeParams ¶
func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithHibeParams(plaintext []byte, receiverIds []string, paramsBytesList [][]byte, txId string, keyType crypto.KeyType) ([]*common.KeyValuePair, error)
CreateHibeTxPayloadParamsWithHibeParams mocks base method.
func (*MockSDKInterface) CreateHibeTxPayloadParamsWithoutHibeParams ¶
func (m *MockSDKInterface) CreateHibeTxPayloadParamsWithoutHibeParams(contractName, queryParamsMethod string, plaintext []byte, receiverIds, receiverOrgIds []string, txId string, keyType crypto.KeyType, timeout int64) ([]*common.KeyValuePair, error)
CreateHibeTxPayloadParamsWithoutHibeParams mocks base method.
func (*MockSDKInterface) CreateRestoreBlockPayload ¶
func (m *MockSDKInterface) CreateRestoreBlockPayload(fullBlock []byte) (*common.Payload, error)
CreateRestoreBlockPayload mocks base method.
func (*MockSDKInterface) DecryptHibeTxByTxId ¶
func (m *MockSDKInterface) DecryptHibeTxByTxId(localId string, hibeParams, hibePrvKey []byte, txId string, keyType crypto.KeyType) ([]byte, error)
DecryptHibeTxByTxId mocks base method.
func (*MockSDKInterface) DeleteCert ¶
func (m *MockSDKInterface) DeleteCert(certHashes []string) (*common.TxResponse, error)
DeleteCert mocks base method.
func (*MockSDKInterface) DisableCertHash ¶
func (m *MockSDKInterface) DisableCertHash() error
DisableCertHash mocks base method.
func (*MockSDKInterface) EXPECT ¶
func (m *MockSDKInterface) EXPECT() *MockSDKInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSDKInterface) EnableCertHash ¶
func (m *MockSDKInterface) EnableCertHash() error
EnableCertHash mocks base method.
func (*MockSDKInterface) GetArchivedBlockByHash ¶
func (m *MockSDKInterface) GetArchivedBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
GetArchivedBlockByHash mocks base method.
func (*MockSDKInterface) GetArchivedBlockByHeight ¶
func (m *MockSDKInterface) GetArchivedBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
GetArchivedBlockByHeight mocks base method.
func (*MockSDKInterface) GetArchivedBlockByTxId ¶
func (m *MockSDKInterface) GetArchivedBlockByTxId(txId string, withRWSet bool) (*common.BlockInfo, error)
GetArchivedBlockByTxId mocks base method.
func (*MockSDKInterface) GetArchivedBlockHeight ¶
func (m *MockSDKInterface) GetArchivedBlockHeight() (uint64, error)
GetArchivedBlockHeight mocks base method.
func (*MockSDKInterface) GetArchivedFullBlockByHeight ¶
func (m *MockSDKInterface) GetArchivedFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
GetArchivedFullBlockByHeight mocks base method.
func (*MockSDKInterface) GetArchivedTxByTxId ¶
func (m *MockSDKInterface) GetArchivedTxByTxId(txId string) (*common.TransactionInfo, error)
GetArchivedTxByTxId mocks base method.
func (*MockSDKInterface) GetBlockByHash ¶
func (m *MockSDKInterface) GetBlockByHash(blockHash string, withRWSet bool) (*common.BlockInfo, error)
GetBlockByHash mocks base method.
func (*MockSDKInterface) GetBlockByHeight ¶
func (m *MockSDKInterface) GetBlockByHeight(blockHeight uint64, withRWSet bool) (*common.BlockInfo, error)
GetBlockByHeight mocks base method.
func (*MockSDKInterface) GetBlockByTxId ¶
GetBlockByTxId mocks base method.
func (*MockSDKInterface) GetBlockHeaderByHeight ¶
func (m *MockSDKInterface) GetBlockHeaderByHeight(blockHeight uint64) (*common.BlockHeader, error)
GetBlockHeaderByHeight mocks base method.
func (*MockSDKInterface) GetBlockHeightByHash ¶
func (m *MockSDKInterface) GetBlockHeightByHash(blockHash string) (uint64, error)
GetBlockHeightByHash mocks base method.
func (*MockSDKInterface) GetBlockHeightByTxId ¶
func (m *MockSDKInterface) GetBlockHeightByTxId(txId string) (uint64, error)
GetBlockHeightByTxId mocks base method.
func (*MockSDKInterface) GetCertHash ¶
func (m *MockSDKInterface) GetCertHash() ([]byte, error)
GetCertHash mocks base method.
func (*MockSDKInterface) GetChainConfig ¶
func (m *MockSDKInterface) GetChainConfig() (*config.ChainConfig, error)
GetChainConfig mocks base method.
func (*MockSDKInterface) GetChainConfigByBlockHeight ¶
func (m *MockSDKInterface) GetChainConfigByBlockHeight(blockHeight uint64) (*config.ChainConfig, error)
GetChainConfigByBlockHeight mocks base method.
func (*MockSDKInterface) GetChainConfigSequence ¶
func (m *MockSDKInterface) GetChainConfigSequence() (uint64, error)
GetChainConfigSequence mocks base method.
func (*MockSDKInterface) GetChainInfo ¶
func (m *MockSDKInterface) GetChainInfo() (*discovery.ChainInfo, error)
GetChainInfo mocks base method.
func (*MockSDKInterface) GetChainMakerServerVersion ¶
func (m *MockSDKInterface) GetChainMakerServerVersion() (string, error)
GetChainMakerServerVersion mocks base method.
func (*MockSDKInterface) GetContract ¶
func (m *MockSDKInterface) GetContract(contractName, codeHash string) (*common.PrivateGetContract, error)
GetContract mocks base method.
func (*MockSDKInterface) GetCurrentBlockHeight ¶
func (m *MockSDKInterface) GetCurrentBlockHeight() (uint64, error)
GetCurrentBlockHeight mocks base method.
func (*MockSDKInterface) GetData ¶
func (m *MockSDKInterface) GetData(contractName, key string) ([]byte, error)
GetData mocks base method.
func (*MockSDKInterface) GetDir ¶
func (m *MockSDKInterface) GetDir(orderId string) ([]byte, error)
GetDir mocks base method.
func (*MockSDKInterface) GetEnclaveCACert ¶
func (m *MockSDKInterface) GetEnclaveCACert() ([]byte, error)
GetEnclaveCACert mocks base method.
func (*MockSDKInterface) GetEnclaveChallenge ¶
func (m *MockSDKInterface) GetEnclaveChallenge(enclaveId string) ([]byte, error)
GetEnclaveChallenge mocks base method.
func (*MockSDKInterface) GetEnclaveEncryptPubKey ¶
func (m *MockSDKInterface) GetEnclaveEncryptPubKey(enclaveId string) ([]byte, error)
GetEnclaveEncryptPubKey mocks base method.
func (*MockSDKInterface) GetEnclaveProof ¶
func (m *MockSDKInterface) GetEnclaveProof(enclaveId string) ([]byte, error)
GetEnclaveProof mocks base method.
func (*MockSDKInterface) GetEnclaveReport ¶
func (m *MockSDKInterface) GetEnclaveReport(enclaveId string) ([]byte, error)
GetEnclaveReport mocks base method.
func (*MockSDKInterface) GetEnclaveSignature ¶
func (m *MockSDKInterface) GetEnclaveSignature(enclaveId string) ([]byte, error)
GetEnclaveSignature mocks base method.
func (*MockSDKInterface) GetEnclaveVerificationPubKey ¶
func (m *MockSDKInterface) GetEnclaveVerificationPubKey(enclaveId string) ([]byte, error)
GetEnclaveVerificationPubKey mocks base method.
func (*MockSDKInterface) GetFullBlockByHeight ¶
func (m *MockSDKInterface) GetFullBlockByHeight(blockHeight uint64) (*store.BlockWithRWSet, error)
GetFullBlockByHeight mocks base method.
func (*MockSDKInterface) GetLastBlock ¶
func (m *MockSDKInterface) GetLastBlock(withRWSet bool) (*common.BlockInfo, error)
GetLastBlock mocks base method.
func (*MockSDKInterface) GetLastConfigBlock ¶
func (m *MockSDKInterface) GetLastConfigBlock(withRWSet bool) (*common.BlockInfo, error)
GetLastConfigBlock mocks base method.
func (*MockSDKInterface) GetNodeChainList ¶
func (m *MockSDKInterface) GetNodeChainList() (*discovery.ChainList, error)
GetNodeChainList mocks base method.
func (*MockSDKInterface) GetTxByTxId ¶
func (m *MockSDKInterface) GetTxByTxId(txId string) (*common.TransactionInfo, error)
GetTxByTxId mocks base method.
func (*MockSDKInterface) GetTxRequest ¶
func (m *MockSDKInterface) GetTxRequest(contractName, method, txId string, kvs []*common.KeyValuePair) (*common.TxRequest, error)
GetTxRequest mocks base method.
func (*MockSDKInterface) InvokeContract ¶
func (m *MockSDKInterface) InvokeContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, withSyncResult bool) (*common.TxResponse, error)
InvokeContract mocks base method.
func (*MockSDKInterface) InvokeSystemContract ¶
func (m *MockSDKInterface) InvokeSystemContract(contractName, method, txId string, kvs []*common.KeyValuePair, timeout int64, withSyncResult bool) (*common.TxResponse, error)
InvokeSystemContract mocks base method.
func (*MockSDKInterface) QueryCert ¶
func (m *MockSDKInterface) QueryCert(certHashes []string) (*common.CertInfos, error)
QueryCert mocks base method.
func (*MockSDKInterface) QueryContract ¶
func (m *MockSDKInterface) QueryContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
QueryContract mocks base method.
func (*MockSDKInterface) QueryHibeParamsWithOrgId ¶
func (m *MockSDKInterface) QueryHibeParamsWithOrgId(contractName, method, orgId string, timeout int64) ([]byte, error)
QueryHibeParamsWithOrgId mocks base method.
func (*MockSDKInterface) QuerySystemContract ¶
func (m *MockSDKInterface) QuerySystemContract(contractName, method string, kvs []*common.KeyValuePair, timeout int64) (*common.TxResponse, error)
QuerySystemContract mocks base method.
func (*MockSDKInterface) SaveData ¶
func (m *MockSDKInterface) SaveData(contractName, contractVersion string, isDeployment bool, codeHash, reportHash []byte, result *common.ContractResult, codeHeader []byte, txId string, rwSet *common.TxRWSet, sign []byte, events *common.StrSlice, privateReq []byte, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveData mocks base method.
func (*MockSDKInterface) SaveDir ¶
func (m *MockSDKInterface) SaveDir(orderId, txId string, privateDir *common.StrSlice, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveDir mocks base method.
func (*MockSDKInterface) SaveEnclaveCACert ¶
func (m *MockSDKInterface) SaveEnclaveCACert(caCert, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveEnclaveCACert mocks base method.
func (*MockSDKInterface) SaveEnclaveReport ¶
func (m *MockSDKInterface) SaveEnclaveReport(enclaveId, report, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveEnclaveReport mocks base method.
func (*MockSDKInterface) SaveRemoteAttestationProof ¶
func (m *MockSDKInterface) SaveRemoteAttestationProof(proof, txId string, withSyncResult bool, timeout int64) (*common.TxResponse, error)
SaveRemoteAttestationProof mocks base method.
func (*MockSDKInterface) SendArchiveBlockRequest ¶
func (m *MockSDKInterface) SendArchiveBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
SendArchiveBlockRequest mocks base method.
func (*MockSDKInterface) SendCertManageRequest ¶
func (m *MockSDKInterface) SendCertManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendCertManageRequest mocks base method.
func (*MockSDKInterface) SendChainConfigUpdateRequest ¶
func (m *MockSDKInterface) SendChainConfigUpdateRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendChainConfigUpdateRequest mocks base method.
func (*MockSDKInterface) SendContractManageRequest ¶
func (m *MockSDKInterface) SendContractManageRequest(payload *common.Payload, endorsers []*common.EndorsementEntry, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendContractManageRequest mocks base method.
func (*MockSDKInterface) SendRestoreBlockRequest ¶
func (m *MockSDKInterface) SendRestoreBlockRequest(payload *common.Payload, timeout int64) (*common.TxResponse, error)
SendRestoreBlockRequest mocks base method.
func (*MockSDKInterface) SendTxRequest ¶
func (m *MockSDKInterface) SendTxRequest(txRequest *common.TxRequest, timeout int64, withSyncResult bool) (*common.TxResponse, error)
SendTxRequest mocks base method.
func (*MockSDKInterface) SignArchivePayload ¶
SignArchivePayload mocks base method.
func (*MockSDKInterface) SignCertManagePayload ¶
func (m *MockSDKInterface) SignCertManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignCertManagePayload mocks base method.
func (*MockSDKInterface) SignChainConfigPayload ¶
func (m *MockSDKInterface) SignChainConfigPayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignChainConfigPayload mocks base method.
func (*MockSDKInterface) SignContractManagePayload ¶
func (m *MockSDKInterface) SignContractManagePayload(payload *common.Payload) (*common.EndorsementEntry, error)
SignContractManagePayload mocks base method.
func (*MockSDKInterface) Subscribe ¶
func (m *MockSDKInterface) Subscribe(ctx context.Context, payloadBytes *common.Payload) (<-chan interface{}, error)
Subscribe mocks base method.
func (*MockSDKInterface) SubscribeBlock ¶
func (m *MockSDKInterface) SubscribeBlock(ctx context.Context, startBlock, endBlock int64, withRWSet, onlyHeader bool) (<-chan interface{}, error)
SubscribeBlock mocks base method.
type MockSDKInterfaceMockRecorder ¶
type MockSDKInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSDKInterfaceMockRecorder is the mock recorder for MockSDKInterface.
func (*MockSDKInterfaceMockRecorder) AddCert ¶
func (mr *MockSDKInterfaceMockRecorder) AddCert() *gomock.Call
AddCert indicates an expected call of AddCert.
func (*MockSDKInterfaceMockRecorder) CheckCallerCertAuth ¶
func (mr *MockSDKInterfaceMockRecorder) CheckCallerCertAuth(payload, orgIds, signPairs interface{}) *gomock.Call
CheckCallerCertAuth indicates an expected call of CheckCallerCertAuth.
func (*MockSDKInterfaceMockRecorder) CreateArchiveBlockPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateArchiveBlockPayload(targetBlockHeight interface{}) *gomock.Call
CreateArchiveBlockPayload indicates an expected call of CreateArchiveBlockPayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManageFrozenPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManageFrozenPayload(certs interface{}) *gomock.Call
CreateCertManageFrozenPayload indicates an expected call of CreateCertManageFrozenPayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManagePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManagePayload(method, kvs interface{}) *gomock.Call
CreateCertManagePayload indicates an expected call of CreateCertManagePayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManageRevocationPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManageRevocationPayload(certCrl interface{}) *gomock.Call
CreateCertManageRevocationPayload indicates an expected call of CreateCertManageRevocationPayload.
func (*MockSDKInterfaceMockRecorder) CreateCertManageUnfrozenPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateCertManageUnfrozenPayload(certs interface{}) *gomock.Call
CreateCertManageUnfrozenPayload indicates an expected call of CreateCertManageUnfrozenPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigBlockUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigBlockUpdatePayload(txTimestampVerify, txTimeout, blockTxCapacity, blockSize, blockInterval interface{}) *gomock.Call
CreateChainConfigBlockUpdatePayload indicates an expected call of CreateChainConfigBlockUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtAddPayload(kvs interface{}) *gomock.Call
CreateChainConfigConsensusExtAddPayload indicates an expected call of CreateChainConfigConsensusExtAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtDeletePayload(keys interface{}) *gomock.Call
CreateChainConfigConsensusExtDeletePayload indicates an expected call of CreateChainConfigConsensusExtDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusExtUpdatePayload(kvs interface{}) *gomock.Call
CreateChainConfigConsensusExtUpdatePayload indicates an expected call of CreateChainConfigConsensusExtUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
CreateChainConfigConsensusNodeIdAddPayload indicates an expected call of CreateChainConfigConsensusNodeIdAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdDeletePayload(nodeOrgId, nodeId interface{}) *gomock.Call
CreateChainConfigConsensusNodeIdDeletePayload indicates an expected call of CreateChainConfigConsensusNodeIdDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeIdUpdatePayload(nodeOrgId, nodeOldNodeId, nodeNewNodeId interface{}) *gomock.Call
CreateChainConfigConsensusNodeIdUpdatePayload indicates an expected call of CreateChainConfigConsensusNodeIdUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgAddPayload(nodeOrgId, nodeIds interface{}) *gomock.Call
CreateChainConfigConsensusNodeOrgAddPayload indicates an expected call of CreateChainConfigConsensusNodeOrgAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgDeletePayload(nodeOrgId interface{}) *gomock.Call
CreateChainConfigConsensusNodeOrgDeletePayload indicates an expected call of CreateChainConfigConsensusNodeOrgDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigConsensusNodeOrgUpdatePayload(nodeOrgId, nodeIds interface{}) *gomock.Call
CreateChainConfigConsensusNodeOrgUpdatePayload indicates an expected call of CreateChainConfigConsensusNodeOrgUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigCoreUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigCoreUpdatePayload(txSchedulerTimeout, txSchedulerValidateTimeout interface{}) *gomock.Call
CreateChainConfigCoreUpdatePayload indicates an expected call of CreateChainConfigCoreUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigPermissionAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionAddPayload(permissionResourceName, policy interface{}) *gomock.Call
CreateChainConfigPermissionAddPayload indicates an expected call of CreateChainConfigPermissionAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigPermissionDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionDeletePayload(permissionResourceName interface{}) *gomock.Call
CreateChainConfigPermissionDeletePayload indicates an expected call of CreateChainConfigPermissionDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigPermissionUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigPermissionUpdatePayload(permissionResourceName, policy interface{}) *gomock.Call
CreateChainConfigPermissionUpdatePayload indicates an expected call of CreateChainConfigPermissionUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootAddPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootAddPayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
CreateChainConfigTrustRootAddPayload indicates an expected call of CreateChainConfigTrustRootAddPayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootDeletePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootDeletePayload(trustRootOrgId interface{}) *gomock.Call
CreateChainConfigTrustRootDeletePayload indicates an expected call of CreateChainConfigTrustRootDeletePayload.
func (*MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootUpdatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateChainConfigTrustRootUpdatePayload(trustRootOrgId, trustRootCrt interface{}) *gomock.Call
CreateChainConfigTrustRootUpdatePayload indicates an expected call of CreateChainConfigTrustRootUpdatePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractCreatePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractCreatePayload(contractName, version, byteCode, runtime, kvs interface{}) *gomock.Call
CreateContractCreatePayload indicates an expected call of CreateContractCreatePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractFreezePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractFreezePayload(contractName interface{}) *gomock.Call
CreateContractFreezePayload indicates an expected call of CreateContractFreezePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractRevokePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractRevokePayload(contractName interface{}) *gomock.Call
CreateContractRevokePayload indicates an expected call of CreateContractRevokePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractUnfreezePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractUnfreezePayload(contractName interface{}) *gomock.Call
CreateContractUnfreezePayload indicates an expected call of CreateContractUnfreezePayload.
func (*MockSDKInterfaceMockRecorder) CreateContractUpgradePayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateContractUpgradePayload(contractName, version, byteCode, runtime, kvs interface{}) *gomock.Call
CreateContractUpgradePayload indicates an expected call of CreateContractUpgradePayload.
func (*MockSDKInterfaceMockRecorder) CreateHibeInitParamsTxPayloadParams ¶
func (mr *MockSDKInterfaceMockRecorder) CreateHibeInitParamsTxPayloadParams(orgId, hibeParams interface{}) *gomock.Call
CreateHibeInitParamsTxPayloadParams indicates an expected call of CreateHibeInitParamsTxPayloadParams.
func (*MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithHibeParams ¶
func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithHibeParams(plaintext, receiverIds, paramsBytesList, txId, keyType interface{}) *gomock.Call
CreateHibeTxPayloadParamsWithHibeParams indicates an expected call of CreateHibeTxPayloadParamsWithHibeParams.
func (*MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithoutHibeParams ¶
func (mr *MockSDKInterfaceMockRecorder) CreateHibeTxPayloadParamsWithoutHibeParams(contractName, queryParamsMethod, plaintext, receiverIds, receiverOrgIds, txId, keyType, timeout interface{}) *gomock.Call
CreateHibeTxPayloadParamsWithoutHibeParams indicates an expected call of CreateHibeTxPayloadParamsWithoutHibeParams.
func (*MockSDKInterfaceMockRecorder) CreateRestoreBlockPayload ¶
func (mr *MockSDKInterfaceMockRecorder) CreateRestoreBlockPayload(fullBlock interface{}) *gomock.Call
CreateRestoreBlockPayload indicates an expected call of CreateRestoreBlockPayload.
func (*MockSDKInterfaceMockRecorder) DecryptHibeTxByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) DecryptHibeTxByTxId(localId, hibeParams, hibePrvKey, txId, keyType interface{}) *gomock.Call
DecryptHibeTxByTxId indicates an expected call of DecryptHibeTxByTxId.
func (*MockSDKInterfaceMockRecorder) DeleteCert ¶
func (mr *MockSDKInterfaceMockRecorder) DeleteCert(certHashes interface{}) *gomock.Call
DeleteCert indicates an expected call of DeleteCert.
func (*MockSDKInterfaceMockRecorder) DisableCertHash ¶
func (mr *MockSDKInterfaceMockRecorder) DisableCertHash() *gomock.Call
DisableCertHash indicates an expected call of DisableCertHash.
func (*MockSDKInterfaceMockRecorder) EnableCertHash ¶
func (mr *MockSDKInterfaceMockRecorder) EnableCertHash() *gomock.Call
EnableCertHash indicates an expected call of EnableCertHash.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockByHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
GetArchivedBlockByHash indicates an expected call of GetArchivedBlockByHash.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
GetArchivedBlockByHeight indicates an expected call of GetArchivedBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockByTxId(txId, withRWSet interface{}) *gomock.Call
GetArchivedBlockByTxId indicates an expected call of GetArchivedBlockByTxId.
func (*MockSDKInterfaceMockRecorder) GetArchivedBlockHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedBlockHeight() *gomock.Call
GetArchivedBlockHeight indicates an expected call of GetArchivedBlockHeight.
func (*MockSDKInterfaceMockRecorder) GetArchivedFullBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedFullBlockByHeight(blockHeight interface{}) *gomock.Call
GetArchivedFullBlockByHeight indicates an expected call of GetArchivedFullBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetArchivedTxByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetArchivedTxByTxId(txId interface{}) *gomock.Call
GetArchivedTxByTxId indicates an expected call of GetArchivedTxByTxId.
func (*MockSDKInterfaceMockRecorder) GetBlockByHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockByHash(blockHash, withRWSet interface{}) *gomock.Call
GetBlockByHash indicates an expected call of GetBlockByHash.
func (*MockSDKInterfaceMockRecorder) GetBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockByHeight(blockHeight, withRWSet interface{}) *gomock.Call
GetBlockByHeight indicates an expected call of GetBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetBlockByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockByTxId(txId, withRWSet interface{}) *gomock.Call
GetBlockByTxId indicates an expected call of GetBlockByTxId.
func (*MockSDKInterfaceMockRecorder) GetBlockHeaderByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockHeaderByHeight(blockHeight interface{}) *gomock.Call
GetBlockHeaderByHeight indicates an expected call of GetBlockHeaderByHeight.
func (*MockSDKInterfaceMockRecorder) GetBlockHeightByHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByHash(blockHash interface{}) *gomock.Call
GetBlockHeightByHash indicates an expected call of GetBlockHeightByHash.
func (*MockSDKInterfaceMockRecorder) GetBlockHeightByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetBlockHeightByTxId(txId interface{}) *gomock.Call
GetBlockHeightByTxId indicates an expected call of GetBlockHeightByTxId.
func (*MockSDKInterfaceMockRecorder) GetCertHash ¶
func (mr *MockSDKInterfaceMockRecorder) GetCertHash() *gomock.Call
GetCertHash indicates an expected call of GetCertHash.
func (*MockSDKInterfaceMockRecorder) GetChainConfig ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainConfig() *gomock.Call
GetChainConfig indicates an expected call of GetChainConfig.
func (*MockSDKInterfaceMockRecorder) GetChainConfigByBlockHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainConfigByBlockHeight(blockHeight interface{}) *gomock.Call
GetChainConfigByBlockHeight indicates an expected call of GetChainConfigByBlockHeight.
func (*MockSDKInterfaceMockRecorder) GetChainConfigSequence ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainConfigSequence() *gomock.Call
GetChainConfigSequence indicates an expected call of GetChainConfigSequence.
func (*MockSDKInterfaceMockRecorder) GetChainInfo ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainInfo() *gomock.Call
GetChainInfo indicates an expected call of GetChainInfo.
func (*MockSDKInterfaceMockRecorder) GetChainMakerServerVersion ¶
func (mr *MockSDKInterfaceMockRecorder) GetChainMakerServerVersion() *gomock.Call
GetChainMakerServerVersion indicates an expected call of GetChainMakerServerVersion.
func (*MockSDKInterfaceMockRecorder) GetContract ¶
func (mr *MockSDKInterfaceMockRecorder) GetContract(contractName, codeHash interface{}) *gomock.Call
GetContract indicates an expected call of GetContract.
func (*MockSDKInterfaceMockRecorder) GetCurrentBlockHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetCurrentBlockHeight() *gomock.Call
GetCurrentBlockHeight indicates an expected call of GetCurrentBlockHeight.
func (*MockSDKInterfaceMockRecorder) GetData ¶
func (mr *MockSDKInterfaceMockRecorder) GetData(contractName, key interface{}) *gomock.Call
GetData indicates an expected call of GetData.
func (*MockSDKInterfaceMockRecorder) GetDir ¶
func (mr *MockSDKInterfaceMockRecorder) GetDir(orderId interface{}) *gomock.Call
GetDir indicates an expected call of GetDir.
func (*MockSDKInterfaceMockRecorder) GetEnclaveCACert ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveCACert() *gomock.Call
GetEnclaveCACert indicates an expected call of GetEnclaveCACert.
func (*MockSDKInterfaceMockRecorder) GetEnclaveChallenge ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveChallenge(enclaveId interface{}) *gomock.Call
GetEnclaveChallenge indicates an expected call of GetEnclaveChallenge.
func (*MockSDKInterfaceMockRecorder) GetEnclaveEncryptPubKey ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveEncryptPubKey(enclaveId interface{}) *gomock.Call
GetEnclaveEncryptPubKey indicates an expected call of GetEnclaveEncryptPubKey.
func (*MockSDKInterfaceMockRecorder) GetEnclaveProof ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveProof(enclaveId interface{}) *gomock.Call
GetEnclaveProof indicates an expected call of GetEnclaveProof.
func (*MockSDKInterfaceMockRecorder) GetEnclaveReport ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveReport(enclaveId interface{}) *gomock.Call
GetEnclaveReport indicates an expected call of GetEnclaveReport.
func (*MockSDKInterfaceMockRecorder) GetEnclaveSignature ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveSignature(enclaveId interface{}) *gomock.Call
GetEnclaveSignature indicates an expected call of GetEnclaveSignature.
func (*MockSDKInterfaceMockRecorder) GetEnclaveVerificationPubKey ¶
func (mr *MockSDKInterfaceMockRecorder) GetEnclaveVerificationPubKey(enclaveId interface{}) *gomock.Call
GetEnclaveVerificationPubKey indicates an expected call of GetEnclaveVerificationPubKey.
func (*MockSDKInterfaceMockRecorder) GetFullBlockByHeight ¶
func (mr *MockSDKInterfaceMockRecorder) GetFullBlockByHeight(blockHeight interface{}) *gomock.Call
GetFullBlockByHeight indicates an expected call of GetFullBlockByHeight.
func (*MockSDKInterfaceMockRecorder) GetLastBlock ¶
func (mr *MockSDKInterfaceMockRecorder) GetLastBlock(withRWSet interface{}) *gomock.Call
GetLastBlock indicates an expected call of GetLastBlock.
func (*MockSDKInterfaceMockRecorder) GetLastConfigBlock ¶
func (mr *MockSDKInterfaceMockRecorder) GetLastConfigBlock(withRWSet interface{}) *gomock.Call
GetLastConfigBlock indicates an expected call of GetLastConfigBlock.
func (*MockSDKInterfaceMockRecorder) GetNodeChainList ¶
func (mr *MockSDKInterfaceMockRecorder) GetNodeChainList() *gomock.Call
GetNodeChainList indicates an expected call of GetNodeChainList.
func (*MockSDKInterfaceMockRecorder) GetTxByTxId ¶
func (mr *MockSDKInterfaceMockRecorder) GetTxByTxId(txId interface{}) *gomock.Call
GetTxByTxId indicates an expected call of GetTxByTxId.
func (*MockSDKInterfaceMockRecorder) GetTxRequest ¶
func (mr *MockSDKInterfaceMockRecorder) GetTxRequest(contractName, method, txId, kvs interface{}) *gomock.Call
GetTxRequest indicates an expected call of GetTxRequest.
func (*MockSDKInterfaceMockRecorder) InvokeContract ¶
func (mr *MockSDKInterfaceMockRecorder) InvokeContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
InvokeContract indicates an expected call of InvokeContract.
func (*MockSDKInterfaceMockRecorder) InvokeSystemContract ¶
func (mr *MockSDKInterfaceMockRecorder) InvokeSystemContract(contractName, method, txId, kvs, timeout, withSyncResult interface{}) *gomock.Call
InvokeSystemContract indicates an expected call of InvokeSystemContract.
func (*MockSDKInterfaceMockRecorder) QueryCert ¶
func (mr *MockSDKInterfaceMockRecorder) QueryCert(certHashes interface{}) *gomock.Call
QueryCert indicates an expected call of QueryCert.
func (*MockSDKInterfaceMockRecorder) QueryContract ¶
func (mr *MockSDKInterfaceMockRecorder) QueryContract(contractName, method, kvs, timeout interface{}) *gomock.Call
QueryContract indicates an expected call of QueryContract.
func (*MockSDKInterfaceMockRecorder) QueryHibeParamsWithOrgId ¶
func (mr *MockSDKInterfaceMockRecorder) QueryHibeParamsWithOrgId(contractName, method, orgId, timeout interface{}) *gomock.Call
QueryHibeParamsWithOrgId indicates an expected call of QueryHibeParamsWithOrgId.
func (*MockSDKInterfaceMockRecorder) QuerySystemContract ¶
func (mr *MockSDKInterfaceMockRecorder) QuerySystemContract(contractName, method, kvs, timeout interface{}) *gomock.Call
QuerySystemContract indicates an expected call of QuerySystemContract.
func (*MockSDKInterfaceMockRecorder) SaveData ¶
func (mr *MockSDKInterfaceMockRecorder) SaveData(contractName, contractVersion, isDeployment, codeHash, reportHash, result, codeHeader, txId, rwSet, sign, events, privateReq, withSyncResult, timeout interface{}) *gomock.Call
SaveData indicates an expected call of SaveData.
func (*MockSDKInterfaceMockRecorder) SaveDir ¶
func (mr *MockSDKInterfaceMockRecorder) SaveDir(orderId, txId, privateDir, withSyncResult, timeout interface{}) *gomock.Call
SaveDir indicates an expected call of SaveDir.
func (*MockSDKInterfaceMockRecorder) SaveEnclaveCACert ¶
func (mr *MockSDKInterfaceMockRecorder) SaveEnclaveCACert(caCert, txId, withSyncResult, timeout interface{}) *gomock.Call
SaveEnclaveCACert indicates an expected call of SaveEnclaveCACert.
func (*MockSDKInterfaceMockRecorder) SaveEnclaveReport ¶
func (mr *MockSDKInterfaceMockRecorder) SaveEnclaveReport(enclaveId, report, txId, withSyncResult, timeout interface{}) *gomock.Call
SaveEnclaveReport indicates an expected call of SaveEnclaveReport.
func (*MockSDKInterfaceMockRecorder) SaveRemoteAttestationProof ¶
func (mr *MockSDKInterfaceMockRecorder) SaveRemoteAttestationProof(proof, txId, withSyncResult, timeout interface{}) *gomock.Call
SaveRemoteAttestationProof indicates an expected call of SaveRemoteAttestationProof.
func (*MockSDKInterfaceMockRecorder) SendArchiveBlockRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendArchiveBlockRequest(payload, timeout interface{}) *gomock.Call
SendArchiveBlockRequest indicates an expected call of SendArchiveBlockRequest.
func (*MockSDKInterfaceMockRecorder) SendCertManageRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendCertManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendCertManageRequest indicates an expected call of SendCertManageRequest.
func (*MockSDKInterfaceMockRecorder) SendChainConfigUpdateRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendChainConfigUpdateRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendChainConfigUpdateRequest indicates an expected call of SendChainConfigUpdateRequest.
func (*MockSDKInterfaceMockRecorder) SendContractManageRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendContractManageRequest(payload, endorsers, timeout, withSyncResult interface{}) *gomock.Call
SendContractManageRequest indicates an expected call of SendContractManageRequest.
func (*MockSDKInterfaceMockRecorder) SendRestoreBlockRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendRestoreBlockRequest(payload, timeout interface{}) *gomock.Call
SendRestoreBlockRequest indicates an expected call of SendRestoreBlockRequest.
func (*MockSDKInterfaceMockRecorder) SendTxRequest ¶
func (mr *MockSDKInterfaceMockRecorder) SendTxRequest(txRequest, timeout, withSyncResult interface{}) *gomock.Call
SendTxRequest indicates an expected call of SendTxRequest.
func (*MockSDKInterfaceMockRecorder) SignArchivePayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignArchivePayload(payload interface{}) *gomock.Call
SignArchivePayload indicates an expected call of SignArchivePayload.
func (*MockSDKInterfaceMockRecorder) SignCertManagePayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignCertManagePayload(payload interface{}) *gomock.Call
SignCertManagePayload indicates an expected call of SignCertManagePayload.
func (*MockSDKInterfaceMockRecorder) SignChainConfigPayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignChainConfigPayload(payload interface{}) *gomock.Call
SignChainConfigPayload indicates an expected call of SignChainConfigPayload.
func (*MockSDKInterfaceMockRecorder) SignContractManagePayload ¶
func (mr *MockSDKInterfaceMockRecorder) SignContractManagePayload(payload interface{}) *gomock.Call
SignContractManagePayload indicates an expected call of SignContractManagePayload.
func (*MockSDKInterfaceMockRecorder) Stop ¶
func (mr *MockSDKInterfaceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSDKInterfaceMockRecorder) Subscribe ¶
func (mr *MockSDKInterfaceMockRecorder) Subscribe(ctx, payloadBytes interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockSDKInterfaceMockRecorder) SubscribeBlock ¶
func (mr *MockSDKInterfaceMockRecorder) SubscribeBlock(ctx, startBlock, endBlock, withRWSet, onlyHeader interface{}) *gomock.Call
SubscribeBlock indicates an expected call of SubscribeBlock.
func (*MockSDKInterfaceMockRecorder) SubscribeContractEvent ¶
func (mr *MockSDKInterfaceMockRecorder) SubscribeContractEvent(ctx, topic, contractName interface{}) *gomock.Call
SubscribeContractEvent indicates an expected call of SubscribeContractEvent.
func (*MockSDKInterfaceMockRecorder) SubscribeTx ¶
func (mr *MockSDKInterfaceMockRecorder) SubscribeTx(ctx, startBlock, endBlock, contractName, txIds interface{}) *gomock.Call
SubscribeTx indicates an expected call of SubscribeTx.