Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrAddressSave = models.SPVError{Message: "address save operation failed", StatusCode: 500, Code: "error-address-save"}
ErrAddressSave is when the address save operation failed.
var ErrParseIncomingTransaction = models.SPVError{Message: "incoming hex transaction could not be parsed", StatusCode: 400, Code: "error-parse-incoming-hex-transaction"}
ErrParseIncomingTransaction is when the incoming hex transaction could not be parsed
var ErrPaymailDBFailed = models.SPVError{Message: "paymail database operation failed", StatusCode: 500, Code: "error-paymail-db-failed"}
ErrPaymailDBFailed is when the paymail database operation failed.
var ErrPaymailHostInvalidResponse = models.SPVError{Message: "paymail host invalid response", StatusCode: 500, Code: "error-paymail-host-invalid-response"}
ErrPaymailHostInvalidResponse is when the paymail host is responding with invalid response.
var ErrPaymailHostNotSupportingP2P = models.SPVError{Message: "paymail host is not supporting P2P capabilities", StatusCode: 400, Code: "error-paymail-host-not-supporting-p2p"}
ErrPaymailHostNotSupportingP2P is when the paymail host is not supporting P2P capabilities.
var ErrPaymailHostResponseError = models.SPVError{Message: "paymail host is responding with error", StatusCode: 500, Code: "error-paymail-host-error"}
ErrPaymailHostResponseError is when the paymail host is responding with errors.
var ErrPaymailInvalidMerkleRoots = models.SPVError{Message: "invalid merkle roots", StatusCode: 400, Code: "error-paymail-invalid-merkle-roots"}
ErrPaymailInvalidMerkleRoots is when merkle roots verification by BHS returns status: INVALID
var ErrPaymailMerkleRootVerificationFailed = models.SPVError{Message: "merkle root verification could not be processed", StatusCode: 500, Code: "error-paymail-merkle-root-verification-failed"}
ErrPaymailMerkleRootVerificationFailed is when merkle root verification could not be processed
var ErrPaymailNotFound = models.SPVError{Message: "paymail not found", StatusCode: 404, Code: "error-paymail-not-found"}
ErrPaymailNotFound is when the paymail is not found.
var ErrPaymailPKI = models.SPVError{Message: "paymail PKI operation failed", StatusCode: 500, Code: "error-paymail-pki"}
ErrPaymailPKI is when the paymail PKI operation failed.
var ErrPaymentDestination = models.SPVError{Message: "payment destination operation failed", StatusCode: 500, Code: "error-payment-destination"}
ErrPaymentDestination is when the payment destination operation failed.
var ErrRecordTransaction = models.SPVError{Message: "transaction could not be recorded", StatusCode: 500, Code: "error-record-transaction"}
ErrRecordTransaction is when the transaction could not be recorded
Functions ¶
This section is empty.
Types ¶
This section is empty.