-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: implement an initial mempool.space websocket client, and lib…
…rary for block-events from #3
- Loading branch information
1 parent
a53082c
commit 67e5f0a
Showing
9 changed files
with
472 additions
and
174 deletions.
There are no files selected for viewing
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,30 @@ | ||
<!-- You can erase any parts of this template not applicable to your Pull Request. --> | ||
|
||
### Description | ||
|
||
<!-- Describe the purpose of this PR, what's being adding and/or fixed --> | ||
|
||
### Notes to the reviewers | ||
|
||
<!-- In this section you can include notes directed to the reviewers, like explaining why some parts | ||
of the PR were done in a specific way --> | ||
|
||
### Checklists | ||
|
||
#### All Submissions: | ||
|
||
* [ ] I've signed all my commits | ||
* [ ] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) | ||
* [ ] I ran `cargo fmt` and `cargo clippy` before committing | ||
|
||
#### New Features: | ||
|
||
* [ ] I've added tests for the new feature | ||
* [ ] I've added docs for the new feature | ||
* [ ] I've updated `CHANGELOG.md` | ||
|
||
#### Bugfixes: | ||
|
||
* [ ] This pull request breaks the existing API | ||
* [ ] I've added tests to reproduce the issue which are now passing | ||
* [ ] I'm linking the issue being fixed by this PR |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,33 @@ | ||
[package] | ||
name = "block-explorer-cli" | ||
name = "block-events" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
authors = ["Leonardo Souza <[email protected]>", "LLFourn <[email protected]>"] | ||
repository = "https://github.com/oleonardolima/block-events" | ||
description = "A real-time stream block events library, covering connected and disconnected blocks.\nThis a work in progress project for Summer of Bitcoin 2022." | ||
keywords = ["bitcoin", "blockchain", "blocks", "mempool-space", "stream", "events", "summer-of-bitcoin"] | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
|
||
[dependencies] | ||
anyhow = { version = "1.0" } | ||
async-stream = { version = "0.3.3"} | ||
bitcoin = { version = "0.28", features = ["use-serde", "base64"] } | ||
clap = { version = "3.0", features = ["derive"]} | ||
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } | ||
env_logger = { version = "0.9.0" } | ||
futures-core = { version = "0.3" } | ||
futures-util = { version = "0.3" } | ||
log = { version = "0.4" } | ||
serde = { version = "1.0.117", features = ["derive"] } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = { version = "1.0" } | ||
tokio = { version = "1.0.0", features = ["io-util", "io-std", "macros", "net", "rt-multi-thread", "time"] } | ||
tokio-tungstenite = { version = "0.17.1", features = ["connect", "native-tls"]} | ||
url = { version = "2.0.0" } | ||
|
||
[lib] | ||
name = "block_events" | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "block-events-cli" | ||
path = "src/bin.rs" |
Oops, something went wrong.