orion

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	Custodian = "orion.custodian"
)
View Source
const Extension = `` /* 1163-byte string literal not displayed */

Variables

This section is empty.

Functions

func SetCustodian

func SetCustodian(tms *topology.TMS, custodian *fsc.Node) *topology.TMS

Types

type Entry

type Entry struct {
	TMS     *topology2.TMS
	Wallets map[string]*generators.Wallets
}

type NetworkHandler

type NetworkHandler struct {
	TokenPlatform            tokenPlatform
	EventuallyTimeout        time.Duration
	Entries                  map[string]*Entry
	CryptoMaterialGenerators map[string]generators.CryptoMaterialGenerator
}

func NewNetworkHandler

func NewNetworkHandler(tokenPlatform tokenPlatform, builder api2.Builder) *NetworkHandler

func (*NetworkHandler) Cleanup added in v0.3.0

func (p *NetworkHandler) Cleanup()

func (*NetworkHandler) GenIssuerCryptoMaterial

func (p *NetworkHandler) GenIssuerCryptoMaterial(tms *topology2.TMS, nodeID string, walletID string) string

func (*NetworkHandler) GenOwnerCryptoMaterial added in v0.2.0

func (p *NetworkHandler) GenOwnerCryptoMaterial(tms *topology2.TMS, nodeID string, walletID string, useCAIfAvailable bool) string

func (*NetworkHandler) GenerateArtifacts

func (p *NetworkHandler) GenerateArtifacts(tms *topology2.TMS)

func (*NetworkHandler) GenerateCryptoMaterial

func (p *NetworkHandler) GenerateCryptoMaterial(cmGenerator generators.CryptoMaterialGenerator, tms *topology2.TMS, node *sfcnode.Node)

func (*NetworkHandler) GenerateExtension

func (p *NetworkHandler) GenerateExtension(tms *topology2.TMS, node *sfcnode.Node) string

func (*NetworkHandler) GetEntry

func (p *NetworkHandler) GetEntry(tms *topology2.TMS) *Entry

func (*NetworkHandler) PostRun

func (p *NetworkHandler) PostRun(load bool, tms *topology2.TMS)

func (*NetworkHandler) SetCryptoMaterialGenerator

func (p *NetworkHandler) SetCryptoMaterialGenerator(driver string, generator generators.CryptoMaterialGenerator)

func (*NetworkHandler) UpdateChaincodePublicParams added in v0.2.0

func (p *NetworkHandler) UpdateChaincodePublicParams(tms *topology2.TMS, ppRaw []byte)

type RWSWrapper

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

func (*RWSWrapper) Bytes

func (r *RWSWrapper) Bytes() ([]byte, error)

func (*RWSWrapper) DeleteState

func (r *RWSWrapper) DeleteState(namespace string, key string) error

func (*RWSWrapper) Done

func (r *RWSWrapper) Done()

func (*RWSWrapper) Equals

func (r *RWSWrapper) Equals(right interface{}, namespace string) error

func (*RWSWrapper) GetState

func (r *RWSWrapper) GetState(namespace string, key string) ([]byte, error)

func (*RWSWrapper) SetState

func (r *RWSWrapper) SetState(namespace string, key string, value []byte) error

Jump to

Keyboard shortcuts

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