Skip to content

Conversation

@Davidson-Souza
Copy link
Member

No description provided.

@Davidson-Souza Davidson-Souza merged commit de32ff6 into master Jun 18, 2024
@Davidson-Souza Davidson-Souza deleted the fix/ibd-stability branch June 18, 2024 14:12
jaoleal added a commit to jaoleal/Floresta that referenced this pull request Jun 19, 2024
Signed-off-by: jaoleal <[email protected]>

Changes on test data and functions to retrieve it

Signed-off-by: jaoleal <[email protected]>

boilerplate functions on tests mod

Signed-off-by: jaoleal <[email protected]>

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)
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)
jaoleal pushed a commit to jaoleal/Floresta that referenced this pull request Jul 2, 2024
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