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

Use word array for serializing transactions #306

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

m-kus
Copy link
Collaborator

@m-kus m-kus commented Nov 22, 2024

7M -> 4M steps for full block 757738

@m-kus m-kus requested a review from maciejka as a code owner November 22, 2024 20:29
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
raito ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 23, 2024 0:46am

@m-kus
Copy link
Collaborator Author

m-kus commented Nov 22, 2024

ByteArray
graph_bytes

WordArray
graph_words

Can be further improved if avoid using ByteArray at all (use WordArray for scripts in arguments).
Also we can introduce a flag that disables transaction checks and therefore avoid costly encode_with_witness

@maciejka maciejka merged commit 4a68be6 into main Nov 25, 2024
8 checks passed
@maciejka maciejka deleted the m-kus/u32-word-array branch November 25, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] Optimize the way we serialize transactions
2 participants