Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compressed transaction format #135

Merged
merged 5 commits into from
Mar 15, 2021
Merged

Conversation

adlerjohn
Copy link
Contributor

@adlerjohn adlerjohn commented Mar 14, 2021

First stab at a compressed transaction format. Still outstanding for future PRs:

  • Some sort of varint encoding to compressed various integer values
  • Fixing how colors are indexed. We need to align both an on-Fuel color (32 bytes, pointing to the TXO that generated the token contract), and on-Ethereum (20 bytes, from a token contract address)

The biggest features of this compressed format are:

  • Using TXOPointer and AddressPointer instead of raw UTXO ID and address (32 -> 7/6 bytes) (ref: Compressed Address Registries #111)
  • Remove various fields entirely, as they're redundant

@adlerjohn adlerjohn added documentation Improvements or additions to documentation enhancement New feature or request comp:IVG Component Interactive Verification Game labels Mar 14, 2021
@adlerjohn adlerjohn self-assigned this Mar 14, 2021
@adlerjohn adlerjohn merged commit a568d59 into master Mar 15, 2021
@adlerjohn adlerjohn deleted the adlerjohn-compressed_tx_format branch March 15, 2021 13:47
@adlerjohn adlerjohn mentioned this pull request Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:IVG Component Interactive Verification Game documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant