Documentation
¶
Index ¶
- func NewSubmitter(signingIdentityProvider SigningIdentityProvider, ...) *submitter
- func NewSubmitterCustomTxID(signingIdentityProvider SigningIdentityProvider, ...) *submitter
- func NewSubmitterFromFNS(fnsp *fabric.NetworkServiceProvider) *submitter
- func NewTMSDeployerService(ppFetcher *pp.PublicParametersService, configService *config.Service, ...) *deployerService
- type DeployerService
- type EnvelopeBroadcaster
- type Signer
- type SigningIdentityProvider
- type Submitter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubmitter ¶
func NewSubmitter(signingIdentityProvider SigningIdentityProvider, envelopeBroadcaster EnvelopeBroadcaster) *submitter
func NewSubmitterCustomTxID ¶
func NewSubmitterCustomTxID(signingIdentityProvider SigningIdentityProvider, envelopeBroadcaster EnvelopeBroadcaster, txIDCalculator func(nonce, creator []byte) string) *submitter
func NewSubmitterFromFNS ¶
func NewSubmitterFromFNS(fnsp *fabric.NetworkServiceProvider) *submitter
func NewTMSDeployerService ¶
func NewTMSDeployerService( ppFetcher *pp.PublicParametersService, configService *config.Service, nsSubmitter Submitter, ) *deployerService
Types ¶
type DeployerService ¶
type DeployerService interface {
DeployTMSs() error
DeployTMS(tmsID token.TMSID) error
DeployTMSWithPP(tmsID token.TMSID, ppRaw []byte) error
}
func GetTMSDeployerService ¶
func GetTMSDeployerService(sp services.Provider) (DeployerService, error)
type EnvelopeBroadcaster ¶
type SigningIdentityProvider ¶
Click to show internal directories.
Click to hide internal directories.