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

New Block Structure for transaction decoupling #1 #412

Open
Bigpiggy01 opened this issue Dec 12, 2024 · 0 comments
Open

New Block Structure for transaction decoupling #1 #412

Bigpiggy01 opened this issue Dec 12, 2024 · 0 comments

Comments

@Bigpiggy01
Copy link
Collaborator

Since transactions that are flagged/moved to buspool hash been validated, blocks no longer need to include raw transactions but instead only include transaction hash (txid). Therefore we need to modify the new block structure to take this into consideration.
Header: nothing change
Body:
vtx : raw transactions vector (coinbase and tx from mempool)
Vtxid (tx from buspool): transaction hash / txid vector if block version “flagged” that it supports it. We can either use VERSIONBITS_TOP_BITS or mask certain bit in nVersion of the block header for this flag.

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

No branches or pull requests

1 participant