pub struct SignTxProgress<'a> { /* private fields */ }
Expand description

Object to track the progress in the transaction signing flow. The device will ask for various parts of the transaction and dependent transactions and can at any point also ask for user interaction. The information asked for by the device is provided based on a PSBT object and the resulting extra signatures are also added to the PSBT file.

It’s important to always first check with the finished() method if more data is requested by the device. If you’re not yet finished you must call the ack_psbt() method to send more information to the device.

Implementations

Only intended for internal usage.

Inspector to the request message received from the device.

Check whether or not the signing process is finished.

Check if a signature is provided by the device.

Get the signature provided from the device along with the input index of the signature.

Check if a part of the serialized signed tx is provided by the device.

Get the part of the serialized signed tx from the device.

Manually provide a TxAck message to the device.

This method will panic if finished() returned true, so it should always be checked in advance.

Provide additional PSBT information to the device.

This method will panic if apply() returned true, so it should always be checked in advance.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.