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

tbc: fix typo #402

Merged
merged 1 commit into from
Feb 12, 2025
Merged

tbc: fix typo #402

merged 1 commit into from
Feb 12, 2025

Conversation

marcopeereboom
Copy link
Contributor

Not sure how this snuck into main.

Summary
Typo that broke the tree. Sorry about that.

Changes

Not sure how this snuck into main.
@marcopeereboom marcopeereboom added size: XS This change is very small (+/- <10) area: tbc This is a change to TBC (Tiny Bitcoin) labels Feb 12, 2025
@marcopeereboom marcopeereboom requested a review from a team as a code owner February 12, 2025 07:43
@joshuasing joshuasing changed the title tbc: Fix typo. tbc: fix typo Feb 12, 2025
@marcopeereboom marcopeereboom merged commit c57b727 into main Feb 12, 2025
7 checks passed
@marcopeereboom marcopeereboom deleted the marco/typo branch February 12, 2025 09:43
marcopeereboom added a commit that referenced this pull request Feb 12, 2025
Not sure how this snuck into main.
marcopeereboom added a commit that referenced this pull request Feb 17, 2025
* Introduce flushing strategy to the database.

We can estimate pretty accurately which transactions need a compaction
and which don't. The issue at hand is that very small transactions may
not flush quickly enough leading to reading of stale data.

This may need some additional tinkering but try this for the time being.

* lint goop

* Fix typo. (#402)

Not sure how this snuck into main.

* typo

* typpo

* FUCK YOU LEVELDB

* Fix prints and remove XXX

* Yikes fix a bad bug in keystone indexer.

We MUST delete the cache in the database function and NOT use continue
to skip over records we don't like. This led to continues growth of the
keystone cache and improper flushing.

Tests aren't passing and need to be investigated.

* typo

* Leave not for maitainers how we reindex the last block always

* Leave note for maitainers how we reindex the last block always

* fixed keystone specific tests

* use maps package for clone

* revert keystone index hash back so tests pass

* Dedup next block from all indexers so that we can call it elsewhere as well.

* More dedup of code and simplification

* Moar smol

* Oops! fix a bug in processKeystones; explanation in code

* made keystone testing more robust in fork tests

* Add some block tests

* added old fork tests back

* linter crap

* make keystone fork tests a bit more organized

---------

Co-authored-by: AL-CT <antoniomartins@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tbc This is a change to TBC (Tiny Bitcoin) size: XS This change is very small (+/- <10)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants