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
+1
View File
@@ -18,4 +18,5 @@ bitcoin_hashes = { version = "0.9.7", features = ["serde"] }
secp256k1 = { version = "0.20.3", features = ["rand", "rand-std", "serde", "bitcoin_hashes"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.72"
hex = "0.4.3"
rusqlite = "0.26.1"