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

[chain] Add tx root to each block header #503

Closed
patrick-ogrady opened this issue Oct 2, 2023 · 5 comments
Closed

[chain] Add tx root to each block header #503

patrick-ogrady opened this issue Oct 2, 2023 · 5 comments
Labels
enhancement New feature or request experiment

Comments

@patrick-ogrady
Copy link
Contributor

Add tx root of successful txs to each block so that inclusion can be verified just by processing headers (see Bitcoin SPV).

Alternatively, nodes could produce signatures over accepted txs periodically (may require extra latency) so anyone can verify inclusion with just p-chain syncing.

@patrick-ogrady patrick-ogrady added enhancement New feature or request experiment labels Oct 2, 2023
@patrick-ogrady
Copy link
Contributor Author

Could accomplish this by exporting a "proof" warp message so people that don't need this don't need to pay more.

@patrick-ogrady
Copy link
Contributor Author

patrick-ogrady commented Oct 2, 2023

To avoid interference with warp (where we want to prove + warp), we could add a Boolean to txs that makes it "prove-able" and saves txID to state.

Could do this with all tx roots to allow any tx/state root content to be proven.

@patrick-ogrady
Copy link
Contributor Author

May also want to make exported warp messages per block a root too (so any network can verify arbitrary amounts of data with a single multi-signature).

@patrick-ogrady
Copy link
Contributor Author

Related (maybe better approach): https://github.com/ava-labs/hypersdk/issues/504

@patrick-ogrady patrick-ogrady added this to the v0.0.16 (Improvements from Devnet Experiments) milestone Nov 7, 2023
@patrick-ogrady patrick-ogrady moved this from Backlog 🗄️ to Researching 📚 in Platform Engineering Group Nov 9, 2023
@patrick-ogrady patrick-ogrady removed this from the v0.0.16 (Improvements from Devnet Experiments) milestone Nov 9, 2023
@patrick-ogrady
Copy link
Contributor Author

related: #950

@patrick-ogrady patrick-ogrady closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2024
@github-project-automation github-project-automation bot moved this from Researching 📚 to Done ✅ in Platform Engineering Group May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experiment
Projects
Archived in project
Development

No branches or pull requests

1 participant