Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger interface {
RegisterForSidetreeTxn() <-chan []txn.SidetreeTxn
}
Ledger interface to access ledger txn.
type Observer ¶ added in v0.1.3
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 ¶ added in v0.1.3
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 ¶ added in v0.1.3
type Providers struct { Ledger Ledger ProtocolClientProvider protocol.ClientProvider }
Providers contains all of the providers required by the TxnProcessor.
Click to show internal directories.
Click to hide internal directories.