-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create and store block filters (#89)
* Create a simple filter builder * Index txid This is useful for fetching utxos for their txid * Implement query logic * query script hashes, not scripts * Move block filters to a dedicated module * Document methods * actually create block filters * Expose final things to cli
- Loading branch information
1 parent
3713cfb
commit 60da291
Showing
10 changed files
with
663 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "floresta-compact-filters" | ||
version = "0.1.0" | ||
authors = ["Davidson Sousa <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://github.com/davidson-souza/floresta" | ||
repository = "https://github.com/davidson-souza/floresta" | ||
description = """ | ||
BIP158 compact filters for easy rescan of the blockchain in | ||
light clients. | ||
""" | ||
|
||
[dependencies] | ||
bitcoin_hashes = "0.11.0" | ||
bitcoin = "0.29" | ||
floresta-common = { path = "../floresta-common" } | ||
floresta-chain = { path = "../floresta-chain", default-features = false } | ||
kv = "0.24.0" | ||
log = "0.4.20" | ||
|
Oops, something went wrong.