Documentation ¶
Index ¶
Constants ¶
const ContainerType = "SYSTEM"
ContainerType is the string which the inproc container type is registered with the container.VMController
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InprocVM ¶
type InprocVM struct {
// contains filtered or unexported fields
}
InprocVM is a vm. It is identified by a executable name
func NewInprocVM ¶ added in v1.2.0
NewInprocVM creates a new InprocVM
func (*InprocVM) GetVMName ¶
GetVMName ignores the peer and network name as it just needs to be unique in process. It accepts a format function parameter to allow different formatting based on the desired use of the name.
type Registry ¶ added in v1.2.0
type Registry struct { ChaincodeSupport ccintf.CCSupport // contains filtered or unexported fields }
Registry stores registered system chaincodes. It implements container.VMProvider and scc.Registrar
func NewRegistry ¶ added in v1.2.0
func NewRegistry() *Registry
NewRegistry creates an initialized registry, ready to register system chaincodes. The returned *Registry is _not_ ready to use as is. You must set the ChaincodeSupport as soon as one is available, before any chaincode invocations occur. This is because the chaincode support used to be a latent dependency, snuck in on the context, but now it is being made an explicit part of the startup.
func (*Registry) NewVM ¶ added in v1.2.0
NewVM creates an inproc VM instance
type SendPanicFailure ¶ added in v1.1.0
type SendPanicFailure string
SendPanicFailure
func (SendPanicFailure) Error ¶ added in v1.1.0
func (e SendPanicFailure) Error() string
type SysCCRegisteredErr ¶
type SysCCRegisteredErr string
SysCCRegisteredErr registered error
func (SysCCRegisteredErr) Error ¶
func (s SysCCRegisteredErr) Error() string