Skip to content

Commit

Permalink
Clarified wire transaction validation
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioDemianLerner authored and Pamela Gonzalez Perilli committed Oct 29, 2019
1 parent 39f3d35 commit a9686ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions IPs/RSKIP145.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ The first argument represents the field receiver (0x02). The second argument rep

Currently the flags fields is not used, but may be used by future RSKIPs.

### Wire Format Transaction Validation

The wire-format, which is also used in the block, must not have any additional field. All fields whose values equal their default values must be omitted. If not, then the block will be invalid. All fields



### Signing

What is actually signed in a transaction is not the PTI, nor the user transaction, but a new compound record with additional information, called the **fullRec**. The fullRec contains all the fields in a RLP list in a fixed order (the order is given by the fieldIds). Empty fields have ids but no appended data.
Expand Down

0 comments on commit a9686ac

Please sign in to comment.