Skip to content

Commit

Permalink
Add no trailing zero bytes rule
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Nov 8, 2023
1 parent 7e3d253 commit 331df3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tips/TIP-0045/tip-0045.md
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,9 @@ to be valid, the following conditions must hold:
previous byte, the indices continue where the previous byte's indices left off.
- For example: In a list of two bytes with the bit patterns `0001 0000` and `0000 0100`, bits with indices `4` and
`10` are set.
- There must be no trailing zero bytes in the byte array.
- This rule ensures that two transactions whose content is identical, and in particular, that have the same
capabilities will have the same binary representation.

#### Capability Flags

Expand Down

0 comments on commit 331df3d

Please sign in to comment.