You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is to allow transactions with multiple signatures (e.g. multi-sig VP or multiple transfers from different sources bundled in one tx).
A possible approach would be to replace the sig field with e.g.
pubstructSignedTxData{
...
/// The signatures are produced on the unsigned tx (tx data concatenated/// with the tx code and the timestamp).pubsigs:BTreeMap<PublicKeyHash, common::Signature>,}
So a VP looking for a signature can look it up from the sigs using the hash of its PK.
The text was updated successfully, but these errors were encountered:
We should figure out a good generalised way to encode arbitrary VP-required data, provided by intents, in transactions - for example, we could have transactions include a VP-address-indexed map of byte arrays (which can then be encoded in a way understood by the validity predicate, e.g. as a set of signatures).
This is to allow transactions with multiple signatures (e.g. multi-sig VP or multiple transfers from different sources bundled in one tx).
A possible approach would be to replace the
sig
field with e.g.So a VP looking for a signature can look it up from the sigs using the hash of its PK.
The text was updated successfully, but these errors were encountered: