feat: store events in SQLite and allow querying

Events are persisted in a local database, and can be queried through
subscriptions.
This commit is contained in:
Greg Heartsfield
2021-12-11 15:48:59 -06:00
parent 23f47899cd
commit 65969a4121
11 changed files with 442 additions and 55 deletions
Generated
+7
View File
@@ -310,6 +310,12 @@ dependencies = [
"libc",
]
[[package]]
name = "hex"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "http"
version = "0.2.5"
@@ -435,6 +441,7 @@ dependencies = [
"env_logger",
"futures",
"futures-util",
"hex",
"log",
"rusqlite",
"secp256k1",