Skip to content

tbc: add v4 keystone height hash index#539

Merged
AL-CT merged 41 commits intomainfrom
marco_keystoneindex
Jun 29, 2025
Merged

tbc: add v4 keystone height hash index#539
AL-CT merged 41 commits intomainfrom
marco_keystoneindex

Conversation

@marcopeereboom
Copy link
Copy Markdown
Contributor

Summary
Add height hash index to keystone index so that we can have a notion of what the last super duper giga final keystone is.

@marcopeereboom marcopeereboom requested a review from a team as a code owner June 10, 2025 13:27
@marcopeereboom marcopeereboom added type: feature This adds new functionality area: tbc This is a change to TBC (Tiny Bitcoin) size: L This change is large (+/- <500) labels Jun 10, 2025
@marcopeereboom marcopeereboom marked this pull request as draft June 10, 2025 13:27
@joshuasing joshuasing changed the title tbc: Add v4 keystone height hash index tbc: add v4 keystone height hash index Jun 10, 2025
@github-actions github-actions bot added the area: hemictl This is a change to hemictl label Jun 12, 2025
@marcopeereboom marcopeereboom marked this pull request as ready for review June 12, 2025 16:37
@AL-CT AL-CT requested a review from joshuasing as a code owner June 12, 2025 16:46
Copy link
Copy Markdown
Contributor

@ClaytonNorthey92 ClaytonNorthey92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the db upgrade test should be re-written; we're not testing individual error cases as far as I can tell. we should also get rid of that large test file.

I also think that we're silencing possible large issues with a continue.

a few more things that I feel need addressing. I left comments

@AL-CT AL-CT force-pushed the marco_keystoneindex branch from 3d1da12 to b30b827 Compare June 24, 2025 16:19
@AL-CT AL-CT force-pushed the marco_keystoneindex branch from b30b827 to b7ce764 Compare June 24, 2025 16:25
@AL-CT AL-CT requested a review from joshuasing June 26, 2025 10:29
Comment on lines +371 to +378
//if !l.cfg.nonInteractive {
// log.Infof("This operation will take a long time. " +
// "Press ctrl-c within 30 seconds to abort upgrade!")
// select {
// case <-ctx.Done():
// case <-time.Tick(30 * time.Second):
// }
//}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intentionally disabled?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no!

@AL-CT AL-CT merged commit b6ede2c into main Jun 29, 2025
9 checks passed
@AL-CT AL-CT deleted the marco_keystoneindex branch June 29, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: hemictl This is a change to hemictl area: tbc This is a change to TBC (Tiny Bitcoin) size: L This change is large (+/- <500) type: feature This adds new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants