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

refactor(consensus)!: split block header and body #1196

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Nov 5, 2024

Description

refactor(consensus)!: split block header and body
feat: add command Merkle root to header
Updated validator node web UI

Motivation and Context

This PR allows for shorter command inclusion proofs by not requiring the entire block contents to be part of the proof.
A proof (not implemented) would contain the block header, a Merkle proof and the justify QC chain.

How Has This Been Tested?

Existing tests and manually

What process can a PR reviewer use to test or verify this change?

Internal changes, nothing has changed on the DB level

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - Please specify

BREAKING CHANGE: protobuf changes that are not compatible with previous versions. Blocks in database include a command_merkle_root

Copy link

github-actions bot commented Nov 5, 2024

Test Results (CI)

582 tests  +25   581 ✅ +24   3h 14m 56s ⏱️ + 1h 48m 47s
 65 suites +12     0 💤 ± 0 
  2 files   + 1     1 ❌ + 1 

For more details on these failures, see this check.

Results for commit fa1abf0. ± Comparison against base commit 4df7ec7.

♻️ This comment has been updated with latest results.

@sdbondi sdbondi merged commit a148dcb into tari-project:development Nov 8, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants