hyperledgerfabric

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

README


title: Project Dovetail™ Blockchain Container Implementation weight: 4603

Project Dovetail™ Blockchain Container Implementation

It provides the concrete Golang implementation of interfaces required to access underlying blockchain's ledger, logging, eventing and other services. See interfaces defined in runtime/services and [runtime/transaction/interfaces.go].

Documentation

Overview

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HyperledgerFabricContainerService

type HyperledgerFabricContainerService struct {
	// contains filtered or unexported fields
}

func NewHyperledgerFabricContainerService

func NewHyperledgerFabricContainerService(stub shim.ChaincodeStubInterface, loggerName string) *HyperledgerFabricContainerService

func (*HyperledgerFabricContainerService) GetDataService

func (*HyperledgerFabricContainerService) GetEventService

func (*HyperledgerFabricContainerService) GetLogService

type HyperledgerFabricDataService

type HyperledgerFabricDataService struct {
	// contains filtered or unexported fields
}

func (*HyperledgerFabricDataService) DeleteState

func (svc *HyperledgerFabricDataService) DeleteState(assetName string, assetKey string, keyValue map[string]interface{}, secondaryCompKeys interface{}) ([]byte, error)

func (*HyperledgerFabricDataService) GetHistory

func (svc *HyperledgerFabricDataService) GetHistory(assetName string, assetKey string, keyValue map[string]interface{}) ([][]byte, error)

func (*HyperledgerFabricDataService) GetState

func (svc *HyperledgerFabricDataService) GetState(assetName string, assetKey string, keyValue map[string]interface{}) ([]byte, error)

func (*HyperledgerFabricDataService) LookupState

func (svc *HyperledgerFabricDataService) LookupState(assetName string, assetKey string, lookupKey string, lkupKeyValue map[string]interface{}) ([][]byte, error)

func (*HyperledgerFabricDataService) PutState

func (svc *HyperledgerFabricDataService) PutState(assetName string, assetKey string, assetValue map[string]interface{}, secondaryCompKeys interface{}) error

func (*HyperledgerFabricDataService) QueryState

func (svc *HyperledgerFabricDataService) QueryState(queryString string) ([][]byte, error)

type HyperledgerFabricEventService

type HyperledgerFabricEventService struct {
	// contains filtered or unexported fields
}

func (*HyperledgerFabricEventService) Publish

func (evt *HyperledgerFabricEventService) Publish(evtName, metadata string, evtPayload []byte) error

type HyperledgerFabricLogService

type HyperledgerFabricLogService struct {
	// contains filtered or unexported fields
}

func NewHyperledgerFabricLogService

func NewHyperledgerFabricLogService(stub shim.ChaincodeStubInterface, loggerName string) *HyperledgerFabricLogService

func (*HyperledgerFabricLogService) Debug

func (logsvc *HyperledgerFabricLogService) Debug(msg string)

func (*HyperledgerFabricLogService) Error

func (logsvc *HyperledgerFabricLogService) Error(errCode string, msg string, err error)

func (*HyperledgerFabricLogService) Info

func (logsvc *HyperledgerFabricLogService) Info(msg string)

func (*HyperledgerFabricLogService) Warning

func (logsvc *HyperledgerFabricLogService) Warning(msg string)

type HyperledgerFabricTransactionService

type HyperledgerFabricTransactionService struct {
	// contains filtered or unexported fields
}

func NewHyperledgerFabricTransactionService

func NewHyperledgerFabricTransactionService(stub shim.ChaincodeStubInterface, args []string, name string, enableSecurity bool) *HyperledgerFabricTransactionService

func (*HyperledgerFabricTransactionService) GetInitiatorCertAttribute

func (svc *HyperledgerFabricTransactionService) GetInitiatorCertAttribute(attr string) (value string, found bool, err error)

func (*HyperledgerFabricTransactionService) GetTransactionInitiator

func (svc *HyperledgerFabricTransactionService) GetTransactionInitiator() (string, error)

func (*HyperledgerFabricTransactionService) GetTransactionName

func (svc *HyperledgerFabricTransactionService) GetTransactionName() string

func (*HyperledgerFabricTransactionService) ResolveTransactionInput

func (svc *HyperledgerFabricTransactionService) ResolveTransactionInput(txnInputsMetadata []txn.TxnInputAttribute) (map[string]interface{}, error)

func (*HyperledgerFabricTransactionService) TransactionSecuritySupported

func (svc *HyperledgerFabricTransactionService) TransactionSecuritySupported() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL