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
{{ message }}
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Instead of having a single Transaction structure, we could have Transaction and SignedTransaction. They could look like this:
pubstructTransaction{pubnonce:U256,// ...}implTransaction{fnsign(self) -> SignedTransaction{// signing is here}}pubstructSignedTransaction{t:Transaction,// or Transaction fieldsv:u8,r:U256,s:U256,hash:H256,sender:Address}
It would reduce number of places where we check if transaction is correctly signed, to 1.
The text was updated successfully, but these errors were encountered:
Instead of having a single
Transaction
structure, we could haveTransaction
andSignedTransaction
. They could look like this:It would reduce number of places where we check if transaction is correctly signed, to 1.
The text was updated successfully, but these errors were encountered: