hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Allow submitting multiple transaction at once

Open abailly-iohk opened this issue 2 years ago • 0 comments

Why

In the current version of the protocol, each transaction is submitted to the Head and included in a snapshot and therefore approved and signed individually. This can be problematic when a use case requires a sequence of transactions to happen atomically, something which popped up recently in a discussion with @Trymrt.

What

  • Allow a party to submit multiple transactions at once
  • Ensure those transactions are processed and included (or not) in a snapshot as a single block by the Head network

How

The changes to make seem relatively simple:

  • Make NewTx accept a list of transactions
  • Make ReqTx contain a list of transactions

abailly-iohk avatar May 31 '23 04:05 abailly-iohk