pub trait BatchTransaction<HeaderId>:
Debug
+ Send
+ Sync {
// Required method
fn required_header_id(&self) -> HeaderId;
}
Expand description
Batch transaction that already submit some headers and needs to be extended with messages/delivery proof before sending.
Required Methods§
Sourcefn required_header_id(&self) -> HeaderId
fn required_header_id(&self) -> HeaderId
Header that was required in the original call and which is bundled within this batch transaction.