Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Figure out some example transaction sizes #37

Closed
casey opened this issue Oct 6, 2023 · 2 comments · Fixed by ordinals/ord#2529
Closed

Figure out some example transaction sizes #37

casey opened this issue Oct 6, 2023 · 2 comments · Fixed by ordinals/ord#2529

Comments

@casey
Copy link
Owner

casey commented Oct 6, 2023

We should figure out the size of different kinds of transactions, to see what we can fit in a op return.

@casey
Copy link
Owner Author

casey commented Oct 12, 2023

I want to generate a bunch of representative transactions, but I'm not sure how to.

Ideas:

  • Look at ERC-20/BRC-20/bitcoin transactions for representative amount sizes
  • Assume that IDs are going to be more or less randomly distributed within a window of 100,000 blocks
  • Assume that IDs are going distributed within a window of 100,000 blocks, favoring newer ids
  • Assume that IDs are going distributed within a window of 100,000 blocks, favoring older ids
  • Look at number of outputs of the average bitcoin transaction to see how many outputs

@casey
Copy link
Owner Author

casey commented Oct 13, 2023

I think I'm overthinking this. I just created a simple test with some example edict sizes.

@casey casey linked a pull request Oct 13, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant