Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SidetreeContext ¶
type SidetreeContext struct {
// contains filtered or unexported fields
}
SidetreeContext implements 'Fabric' version of Sidetree node context
func New ¶
func New(channelID, namespace string, protocolVersions map[string]protocolApi.Protocol, txnProvider txnServiceProvider, dcasProvider dcasClientProvider) *SidetreeContext
New creates new Sidetree context
func (*SidetreeContext) Blockchain ¶
func (m *SidetreeContext) Blockchain() batch.BlockchainClient
Blockchain returns blockchain client
func (*SidetreeContext) CAS ¶
func (m *SidetreeContext) CAS() batch.CASClient
CAS returns content addressable storage client
func (*SidetreeContext) Namespace ¶ added in v0.1.1
func (m *SidetreeContext) Namespace() string
Namespace returns the namespace
func (*SidetreeContext) Protocol ¶
func (m *SidetreeContext) Protocol() protocolApi.Client
Protocol returns protocol client
Click to show internal directories.
Click to hide internal directories.