Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RWSet ¶
type RWSet interface { SetState(namespace string, key string, value []byte) error GetState(namespace string, key string) ([]byte, error) DeleteState(namespace string, key string) error }
RWSet interface, used to read from, and write to, a rwset.
type ValidationCode ¶ added in v0.3.0
type ValidationCode int
const ( Valid ValidationCode // Transaction is valid and committed Invalid // Transaction is invalid and has been discarded Busy // Transaction does not yet have a validity state Unknown // Transaction is unknown HasDependencies // Transaction is unknown but has known dependencies )
Click to show internal directories.
Click to hide internal directories.