Documentation ¶
Index ¶
- func AddApprovedData(data *mpcprotocol.SendData) error
- func AddApprovingData(data *mpcprotocol.SendData) error
- func AddValidData(data *mpcprotocol.SendData) error
- func ApproveData(approveData []mpcprotocol.SendData) []error
- func GetDataForApprove() ([]mpcprotocol.SendData, error)
- func NewDatabase(file string) error
- func ValidateData(data *mpcprotocol.SendData) (bool, error)
- type Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddApprovedData ¶
func AddApprovedData(data *mpcprotocol.SendData) error
func AddApprovingData ¶
func AddApprovingData(data *mpcprotocol.SendData) error
func AddValidData ¶ added in v1.0.1
func AddValidData(data *mpcprotocol.SendData) error
func ApproveData ¶
func ApproveData(approveData []mpcprotocol.SendData) []error
func GetDataForApprove ¶
func GetDataForApprove() ([]mpcprotocol.SendData, error)
func NewDatabase ¶
func ValidateData ¶
func ValidateData(data *mpcprotocol.SendData) (bool, error)
TODO add ValidateData
Types ¶
Click to show internal directories.
Click to hide internal directories.