Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomCorePkg ¶
type CustomCorePkg struct { defcore.ProviderFactory ProviderName string }
CustomCorePkg is will provide custom sdk core pkg
func (*CustomCorePkg) CreateCryptoSuiteProvider ¶
func (f *CustomCorePkg) CreateCryptoSuiteProvider(config core.Config) (core.CryptoSuite, error)
CreateCryptoSuiteProvider returns a implementation of factory default bccsp cryptosuite
func (*CustomCorePkg) CreateInfraProvider ¶
func (f *CustomCorePkg) CreateInfraProvider(config core.Config) (fab.InfraProvider, error)
CreateInfraProvider returns a new custom implementation of fabric primitives
type CustomInfraProvider ¶
type CustomInfraProvider struct {
*fabpvdr.InfraProvider
}
CustomInfraProvider is will provide custom fabric primitives
func (*CustomInfraProvider) CreateEventService ¶
func (f *CustomInfraProvider) CreateEventService(ctx fab.ClientContext, channelID string) (fab.EventService, error)
CreateEventService will return nil because the txnsnap will use local event service
Source Files ¶
Click to show internal directories.
Click to hide internal directories.