mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Minor work on the transaction signing task
This commit is contained in:
@@ -7,6 +7,11 @@ pub trait Eventuality: Sized + Send + Sync {
|
||||
/// The type used to identify a received output.
|
||||
type OutputId: Id;
|
||||
|
||||
/// The ID of the transaction this Eventuality is for.
|
||||
///
|
||||
/// This is an internal ID arbitrarily definable so long as it's unique.
|
||||
fn id(&self) -> [u8; 32];
|
||||
|
||||
/// A unique byte sequence which can be used to identify potentially resolving transactions.
|
||||
///
|
||||
/// Both a transaction and an Eventuality are expected to be able to yield lookup sequences.
|
||||
|
||||
Reference in New Issue
Block a user