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 an incompatibility between our implementation of is_unpendable and utreexo's #170

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

Davidson-Souza
Copy link
Collaborator

No description provided.

@Davidson-Souza Davidson-Souza merged commit bc66e97 into master Jun 8, 2024
5 checks passed
@Davidson-Souza Davidson-Souza deleted the fix/is_provably_unspendable branch June 8, 2024 15:04
lla-dane added a commit to lla-dane/Floresta that referenced this pull request Jun 21, 2024
Removed redundant code

Added unit tests in floresta-watch-only

Added functional tests for Electrum

removed redundant code

update tests

updated tests

updated tests

Cache headers on ibd (vinteumorg#169)

* stop re-openning the bucket every time we do some operation

* cache headers for some time before writing to disk

* do the same for the block index

fix an incompatibility between our implementation of is_unpendable and utreexod's (vinteumorg#170)

bump rustreexo (vinteumorg#171)

feat: add experimental blockchain.scriptpubkey (vinteumorg#173)

Those endpoints aren't part of the upstream yet, but they improve the UX
 of floresta and other index-less electrum servers like EPS.

Floresta doesn't keep a full index of all addresses that ever received
sats, as this would take multiple GBs. As a result, users can't ask for
arbitrary addresses on-demand.

However, with BIP157 client-side filters we can rescan for and address
in a relatively efficient way. However, by BIP158 compact block
filters, we can't use the Electrum out-of-the-box because they index the
scriptpubkey, not script hashes like electrum does. With this endpoint,
rather than sending the scripthash, we send the actual scriptpubkey.
With the script, we can use BIP158 filters to find transactions
belonging to a given address.

The endpoints are just all endpoints from `blockchain.scripthash` but
taking a scriptpubkey rather than the script hash. They behave
identically otherwise.

improve stability on ibd (vinteumorg#174)
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.

1 participant