Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
*wallets.Storage
node.IdentifierAndSigner
// contains filtered or unexported fields
}
func NewProcessor ¶
func NewProcessor(iAndS node.IdentifierAndSigner, wStorage *wallets.Storage, proxyURL *settings.ProxyURLMutex) Processor
NewProcessor creates a signing instruction processor backed by the provided wallet storage and TEE node.
func (*Processor) SignXRPLPayment ¶
func (p *Processor) SignXRPLPayment( ctx context.Context, submissionTag types.SubmissionTag, dataFixed *instruction.DataFixed, _ []hexutil.Bytes, _ []common.Address, _ *policy.SigningPolicy, ) ([]byte, []byte, error)
SignXRPLPayment signs the XRP Ledger payment described in the instruction for each fee schedule entry upfront, then spawns a goroutine that posts the cumulative signed transaction set to the proxy after each entry's scheduled delay elapses.
Click to show internal directories.
Click to hide internal directories.