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

Fix kernel history verification #1218

Merged
merged 2 commits into from
Jul 5, 2018
Merged

Fix kernel history verification #1218

merged 2 commits into from
Jul 5, 2018

Conversation

ignopeverell
Copy link
Contributor

@ignopeverell ignopeverell commented Jul 4, 2018

Only rewind kernels to avoid requiring proper bitmap extraction.
Also avoids maintaining bitmap data for kernels by introducing a
"prunable" flag on PMMR backend. Finally, clean up some testnet2
migration code.

Fixes #1207. Related to #1214.

Only rewind kernels to avoid requiring proper bitmap extraction.
Also avoids maintaining bitmap data for kernels by introducing a
"prunable" flag on PMMR backend.
@ignopeverell ignopeverell added this to the Beta / testnet3 milestone Jul 4, 2018
@yeastplume
Copy link
Member

Cool, makes more sense than the bool flags on rewind

@ignopeverell ignopeverell merged commit 26d41fe into mimblewimble:milestone/testnet3 Jul 5, 2018
migrate_rm_log(&mut leaf_set, &rm_log, &prune_list, last_pos)?;
}
let prune_list = PruneList::open(format!("{}/{}", data_dir, PMMR_PRUN_FILE))?;
let leaf_set = LeafSet::open(leaf_set_path.clone())?;

This comment was marked as spam.

@@ -57,6 +57,7 @@ where
T: PMMRable,
{
data_dir: String,
prunable: bool,

This comment was marked as spam.

This comment was marked as spam.

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.

3 participants