1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
Commit Graph

1589 Commits

Author SHA1 Message Date
Roman Zeyde
53e16f89f7 Monitor various DB statistics via Prometheus
d52b520d51/include/rocksdb/db.h (L953)

Note: `index_db_size` mertrics is removed.
2021-10-31 15:51:54 +02:00
Roman Zeyde
3731abd7ee Bump env_logger to 0.9 2021-10-31 09:19:00 +02:00
Roman Zeyde
1318861f69 Update dependencies 2021-10-31 08:48:44 +02:00
Roman Zeyde
86488f699b
Bump version 2021-10-30 16:12:23 +03:00
Roman Zeyde
d9c2a2ca81 Update release notes 2021-10-30 16:11:03 +03:00
Roman Zeyde
fabc634762 Allow multiple scripthashes' subscription in parallel 2021-10-30 15:47:07 +03:00
Roman Zeyde
44bc27d7ca Parse 'addr' messages as well
Following 3965a3b184.
2021-10-30 15:45:01 +03:00
Roman Zeyde
54e4d17eb4 Move JSON-RPC response generation to Call::response() 2021-10-29 11:28:29 +03:00
Roman Zeyde
5e06766fcf Increase default metrics' buckets a bit 2021-10-29 10:12:48 +03:00
Roman Zeyde
ef0335327d Start accepting Electrum RPC connections before opening RocksDB 2021-10-28 21:56:57 +03:00
Roman Zeyde
f5ceb0514c Refactor parsing and handling of batched Electrum RPC
Related to https://github.com/romanz/electrs/issues/464
2021-10-27 17:04:09 +03:00
Roman Zeyde
f4afe88464 Collect RPC events into batches
Related to https://github.com/romanz/electrs/issues/464
2021-10-26 13:09:03 +03:00
Roman Zeyde
0898208a55 Update release notes 2021-10-25 19:19:12 +03:00
Roman Zeyde
3965a3b184 Ignore 'addr' p2p messages
Fixes #596.
2021-10-25 19:15:06 +03:00
Roman Zeyde
cdea505960 Build rocksdb with conditional SSE support
See 4935c28609.

Should fix https://github.com/romanz/electrs/issues/536.
2021-10-25 15:05:21 +03:00
Roman Zeyde
edbb50cba2 Update release notes 2021-10-25 15:04:15 +03:00
Roman Zeyde
312d0f56f5
Merge pull request #594 from JamesKBowler/master
Update README.md
2021-10-25 12:46:56 +03:00
James Bowler
fabcf277bb
Update README.md
Lets keep it gender neutral
2021-10-25 10:38:05 +01:00
Roman Zeyde
7eec4cce33
Merge pull request #591 from brijananand/patch-1
Updated checkout version and verify-tag to v0.9.1
2021-10-25 06:41:34 +03:00
Brijan
6f0a723b92
Updated checkout version and verify-tag to v0.9.1
Updated git checkout version and verify-tag to v0.9.1 from v0.9.0
2021-10-24 17:09:22 -04:00
Roman Zeyde
699a52b20e Move common "hash prefix"-related code into a separate struct 2021-10-24 12:51:02 +03:00
Roman Zeyde
026075dbc1 Support Rust 1.48.0 and test on Debian 11
It still compiles on Rust 1.41.1 (with a few clippy warnings).

Also, move CI-related `Dockerfile` to `Dockerfile.ci`.
2021-10-24 10:04:53 +03:00
Roman Zeyde
1586cc42ed Pre-allocate indexing result vectors 2021-10-24 08:26:16 +03:00
will
06e51bdb8f Add a feature to ignore default config files 2021-10-22 10:47:12 +03:00
Roman Zeyde
43d00dbeb2 Log when bitcoind p2p connection is closed 2021-10-21 20:49:21 +03:00
Roman Zeyde
1ca8cb83c7 Re-organize and split documentation 2021-10-21 18:18:44 +03:00
Roman Zeyde
b2555ee891 Remove needless borrow 2021-10-21 18:12:10 +03:00
Roman Zeyde
8cfdcb783b Use RocksDB prefix scan (instead of re-implementing it here)
Also, add an unit-test.
2021-10-21 18:03:38 +03:00
Roman Zeyde
9949e7b20b Add electrs version to p2p 'user_agent' 2021-10-20 21:31:07 +03:00
Roman Zeyde
d9710d3797 Re-add cargo audit GitHub action
This reverts commit bdbe3a96a5.
2021-10-20 13:27:31 +03:00
Roman Zeyde
a82b1b910b Add cargo audit configuration file
See https://github.com/romanz/electrs/pull/576#issuecomment-947430005
2021-10-20 13:27:31 +03:00
Roman Zeyde
a1334c63c2
Merge pull request #579 from romanz/notes
Add a note about Dockerfile changes
2021-10-20 12:39:13 +03:00
Roman Zeyde
8a0e22f1c8 Add a Docker-related disclaimer 2021-10-20 11:36:12 +03:00
Roman Zeyde
73f971df63 Add a note about Dockerfile changes 2021-10-20 10:45:31 +03:00
Roman Zeyde
86408dfa6a Ignore a few more extensions 2021-10-20 10:14:29 +03:00
Roman Zeyde
fd7d5e8ac5 Fix CI badge URL 2021-10-19 22:27:37 +03:00
Roman Zeyde
fbb8d7b959
Merge pull request #576 from romanz/update-deps
Update tiny_http & and drop `cargo audit` CI for now
2021-10-19 21:32:09 +03:00
Roman Zeyde
bdbe3a96a5 Drop cargo audit action for now
Not sure if it's possible to ignore `RUSTSEC-2020-0159` on GitHub CI.
2021-10-19 21:18:58 +03:00
Roman Zeyde
be071b2111 Update tiny_http
Fix #575
2021-10-19 20:17:32 +03:00
Roman Zeyde
e3ea373472
Release 0.9.1 2021-10-18 11:28:00 +03:00
Roman Zeyde
c411280d34 Fix "fake" gauge metrics API 2021-10-18 11:27:52 +03:00
Roman Zeyde
b86ec94210 Update dependencies
Keep the following pinned:

```
$ cargo update -p bitflags --precise 1.2.1
$ cargo update -p clang-sys --precise 1.2.1
```
2021-10-17 21:53:58 +03:00
Roman Zeyde
9c08e09127
Merge pull request #563 from romanz/mempool-metrics
Add <1 sat/vbyte mempool fee band
2021-10-17 13:01:34 +03:00
Roman Zeyde
7ceac6446d Add <1 sat/vbyte mempool fee band 2021-10-16 22:51:46 +03:00
Roman Zeyde
092ac7a0fd Print more information when starting electrs 2021-10-16 13:07:49 +03:00
Roman Zeyde
66b6bdb408 Update release notes 2021-10-16 12:57:07 +03:00
Roman Zeyde
7cb037f759
Merge pull request #562 from romanz/mempool-metrics
Export mempool metrics grouped by fee band
2021-10-16 12:55:46 +03:00
Roman Zeyde
4440c1646a Export mempool metrics grouped by fee band
Fixes #551
2021-10-16 12:37:16 +03:00
Roman Zeyde
44cda47f39 Update release notes 2021-10-15 22:20:23 +03:00
Roman Zeyde
c38341f9ab Use an Arc<TcpStream> instead of cloning in p2p.rs 2021-10-15 20:13:38 +03:00