Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AnchorPrefix is the prefix that is that is used to persist anchors
AnchorPrefix = "sidetreeanchor_"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainClientProvider ¶ added in v0.1.1
type BlockchainClientProvider interface {
ForChannel(channelID string) (bcclient.Blockchain, error)
}
BlockchainClientProvider provides a blockchain client for a given channel
type DCASClientProvider ¶ added in v0.1.1
type DCASClientProvider interface {
GetDCASClient(channelID string, namespace string, coll string) (dcasclient.DCAS, error)
}
DCASClientProvider is a DCAS client provider
type GossipProvider ¶ added in v0.1.4
type GossipProvider interface {
GetGossipService() gossipapi.GossipService
}
GossipProvider is a Gossip service provider
type OffLedgerClientProvider ¶ added in v0.1.1
OffLedgerClientProvider is an off-ledger client provider
type TxnInfo ¶ added in v0.1.4
type TxnInfo struct { AnchorString string `json:"anchorString"` Namespace string `json:"namespace"` // ProtocolGenesisTime is the genesis time of the protocol that was used to create the anchor ProtocolGenesisTime uint64 `json:"protocolGenesisTime"` }
TxnInfo contains info that gets recorded on blockchain as part of Sidetree transaction
Click to show internal directories.
Click to hide internal directories.