Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorGraph ¶
type AnchorGraph interface {
Read(cid string) (*verifiable.Credential, error)
GetDidAnchors(cid, suffix string) ([]graph.Anchor, error)
}
AnchorGraph interface to access anchors.
type Observer ¶
type Observer struct {
*Providers
// contains filtered or unexported fields
}
Observer receives transactions over a channel and processes them by storing them to an operation store.
type OperationFilter ¶
type OperationFilter interface {
Filter(uniqueSuffix string, ops []*operation.AnchoredOperation) ([]*operation.AnchoredOperation, error)
}
OperationFilter filters out operations before they are persisted.
type OperationStore ¶
type OperationStore interface {
Put(ops []*operation.AnchoredOperation) error
}
OperationStore interface to access operation store.
type Providers ¶
type Providers struct {
TxnProvider TxnProvider
ProtocolClientProvider protocol.ClientProvider
AnchorGraph
}
Providers contains all of the providers required by the TxnProcessor.
type TxnProvider ¶
TxnProvider interface to access orb txn.
Click to show internal directories.
Click to hide internal directories.