proposal

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProposal

func CreateProposal(creator []byte, channel, ccname string, args []string, transientMap map[string][]byte, options ...Option) (proposal *peer.Proposal, txid string, err error)

func GetRandomNonce

func GetRandomNonce() []byte

Types

type Option

type Option = func(*peer.ChaincodeSpec)

func WithType

func WithType(t peer.ChaincodeSpec_Type) Option

func WithVersion

func WithVersion(version string) Option

Jump to

Keyboard shortcuts

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