Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName = "WebAPI Value Endpoint"
PluginName is the name of the web API DRNG endpoint plugin.
Variables ¶
View Source
var ( // ErrMalformedIdentityID defines a malformed identityID error. ErrMalformedIdentityID = fmt.Errorf("malformed identityID") // ErrMalformedInputs defines a malformed inputs error. ErrMalformedInputs = fmt.Errorf("malformed inputs") // ErrMalformedOutputs defines a malformed outputs error. ErrMalformedOutputs = fmt.Errorf("malformed outputs") // ErrMalformedData defines a malformed data error. ErrMalformedData = fmt.Errorf("malformed data") // ErrMalformedColor defines a malformed color error. ErrMalformedColor = fmt.Errorf("malformed color") // ErrMalformedPublicKey defines a malformed publicKey error. ErrMalformedPublicKey = fmt.Errorf("malformed publicKey") // ErrMalformedSignature defines a malformed signature error. ErrMalformedSignature = fmt.Errorf("malformed signature") // ErrWrongSignature defines a wrong signature error. ErrWrongSignature = fmt.Errorf("wrong signature") // ErrSignatureVersion defines a unsupported signature version error. ErrSignatureVersion = fmt.Errorf("unsupported signature version") )
View Source
var ( // ErrNotAllowedToPledgeManaToNode defines an unsupported node to pledge mana to. ErrNotAllowedToPledgeManaToNode = errors.New("not allowed to pledge mana to node") )
Functions ¶
func NewTransactionFromJSON ¶ added in v0.3.0
func NewTransactionFromJSON(request value.SendTransactionByJSONRequest) (*ledgerstate.Transaction, error)
NewTransactionFromJSON returns a new transaction from a given JSON request or an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.