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

1348 Commits

Author SHA1 Message Date
Roman Zeyde
20b16478ac Fixup logging in case of a tx/proof cache miss 2021-11-07 08:42:47 +02:00
Roman Zeyde
c8e41c4052 Refactor common transactions filtering code into filter_block_txs 2021-11-06 14:37:34 +02:00
Roman Zeyde
fefd9dee11 Move cache updates outside into_par_iter() block
Also, simplify `Cache::add_proof`.
2021-11-06 13:33:39 +02:00
Roman Zeyde
897e5979c5 Don't warn when queried with unsubscribed scripthashes
https://github.com/romanz/electrs/issues/608#issuecomment-961778452
2021-11-05 22:06:21 +02:00
Roman Zeyde
a73866297f Refactor Status::sync_confirmed a bit 2021-11-05 08:40:53 +02:00
Roman Zeyde
2228c4e4a6 Scan block transactions in parallel 2021-11-05 07:12:48 +02:00
Roman Zeyde
4aa5a3b8b7 Update release notes 2021-11-01 08:37:19 +02:00
Roman Zeyde
304426d0b2 Update MSRV requirements to Rust 1.48 2021-10-31 15:53:22 +02:00
Roman Zeyde
d2d441b7f2 Use matches macro in p2p.rs
Requires Rust 1.42+
2021-10-31 15:53:22 +02:00
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