Roman Zeyde
f4102dca86
Drop peers on notification sending errors
2021-05-25 21:56:25 +03:00
Roman Zeyde
8a39d47092
Fix contrib/get_tip.py
2021-05-25 18:08:21 +03:00
Roman Zeyde
d4559a31e6
Add initial support for JSON-RPC batching
2021-05-22 21:38:34 +03:00
Roman Zeyde
2609caaebc
Ignore mempool in sync.sh
2021-05-21 22:05:26 +03:00
Roman Zeyde
f6fac2478c
Skip first empty histogram bins
...
Following https://github.com/romanz/electrs/issues/404
2021-05-21 15:37:47 +03:00
Roman Zeyde
ce0018be57
Fix rocksdb build on RPi4
2021-05-20 18:20:14 +03:00
Roman Zeyde
df1e56b786
Update dependencies
2021-05-20 14:03:54 +03:00
Roman Zeyde
7d16e1617c
Merge remote-tracking branch 'kixunil/update_tiny_http'
2021-05-20 13:58:55 +03:00
Martin Habovstiak
b5910dd74f
Updated tiny_http
...
The previous version of `tiny_http` had a vulnerability that's probably
not relevant to `electrs` but better not risk it. It also avoids ugly
red error from `cargo audit`. :)
2021-05-20 12:37:32 +02:00
Martin Habovstiak
6a823d9b02
Updated sha2
...
The new version of sha2 replaces its dependency `cpuid-bool` with
`cpufeatures` because it was renamed and the previous one is
unmaintained.
2021-05-20 12:06:49 +02:00
Roman Zeyde
66f53e52b9
Fix a few clippy warnings
2021-05-17 14:11:49 +03:00
Roman Zeyde
c109ccb45b
Bump version
2021-05-14 15:34:09 +03:00
Roman Zeyde
0c62cad68a
Update release notes
2021-05-14 14:32:32 +03:00
Roman Zeyde
271a7d4cd1
Add more logging in case of p2p errors
2021-05-14 13:26:57 +03:00
Roman Zeyde
32e5829d82
Link to electrumx-spesmilo.readthedocs.io
2021-05-09 14:05:01 +03:00
Roman Zeyde
d1d6db450c
Allow disabling mempool sync
2021-05-08 11:14:12 +03:00
Roman Zeyde
121fa3a52e
Merge branch 'master-error-code-fixes'
2021-05-06 21:43:39 +03:00
Andrew Cann
0a9d2515e2
Use more detailed error codes
...
Reply to malformed json-rpc requests with json-rpc responses containing a
spec-compliant error code. For electrum-protocol-specific errors reply with an
error code of 1 (BAD_REQUEST) or 2 (DAEMON_ERROR) depending on whether the
error originated from the daemon or not.
This builds on the changes in #390 , which was a fix for #313 .
2021-05-04 20:49:24 +08:00
Roman Zeyde
0c93100c16
Fixup last release date
2021-04-30 13:24:04 +03:00
Roman Zeyde
8890c4bbb7
Allow disabling prometheus' process collector
...
It is supported only on Linux.
2021-04-29 20:30:33 +03:00
Roman Zeyde
bc14b7cfdd
Bump prometheus
2021-04-29 20:12:32 +03:00
Roman Zeyde
040e685c20
Acquire lock closer to its usage
2021-04-23 21:00:20 +03:00
Roman Zeyde
d0b00a84bc
Test merkle proof generation using 2 mainnet blocks
2021-04-23 20:59:36 +03:00
Roman Zeyde
b53178c140
Fix signet default port
2021-04-20 13:30:06 +03:00
Roman Zeyde
d442501e26
Fixup Rust version in Dockerfile
2021-04-16 09:46:35 +03:00
Roman Zeyde
3780d7d48b
Refactor and sync using p2p protocol
2021-04-14 18:38:59 +03:00
Roman Zeyde
c6a6b12c30
Merge branch 'docker' of https://github.com/janhn/electrs
2021-04-13 09:42:09 +03:00
Jan Hnatek
6e537dd299
Avoid including build artifacts in the final docker image
2021-04-08 22:52:51 +02:00
Jan Hnatek
af2038463d
Add files not contributing to the final binary to .dockerignore
...
Help reusing docker build cache.
2021-04-08 22:52:51 +02:00
Jan Hnatek
1fc635041d
Deduplicate Dockerfile layers
...
Reduce image size from ~860MB to ~470MB
2021-04-08 22:18:14 +02:00
Roman Zeyde
f9cf5386d1
Merge branch 'fix-rpc-error'
2021-04-04 16:13:16 +03:00
Roman Zeyde
4aa581b730
Fix #313
2021-04-02 16:56:41 +03:00
Roman Zeyde
779fdca0cc
Merge branch 'fix-dockerfile'
2021-03-25 16:02:06 +02:00
Simon Kurowski
c4ea110795
Fix Dockerfile, add another example
2021-03-23 21:38:17 +01:00
Roman Zeyde
f057b9e75f
Merge branch 'optimize-docker'
2021-03-22 19:27:47 +02:00
Simon Kurowski
25702d1217
Add missing \ to usage.md
2021-03-21 01:01:01 +01:00
Simon Kurowski
edad6eec0c
Optimize Dockerfile
2021-03-21 00:51:51 +01:00
Roman Zeyde
0e33f403ab
Update release notes
2021-03-19 13:02:59 +02:00
Roman Zeyde
670588a1be
Bump version
2021-03-18 22:33:55 +02:00
Martin Habovstiak
c11cb3257d
Bumped default wait_duration_secs from 5 to 10
...
According to @craigraw this should help with performance issues while a
more complicated improvement is being developed.
2021-03-18 18:21:15 +02:00
Roman Zeyde
aa6205c528
Merge commit '52ad2f0'
2021-03-04 19:56:07 +02:00
Roman Zeyde
bbec9e18f8
Merge remote-tracking branch 'TheBlueMatt/patch-1'
2021-03-04 16:01:54 +02:00
Matt Corallo
22b07757af
Make rustfmt happy
2021-03-03 21:13:29 +00:00
Matt Corallo
f256039147
Ignore individual mempool transaction fetch fails
...
I wrote this in the github editor, so no promises that it compiles, but this should avoid several extra heap allocations and moves while fetching the mempool, and, more importantly, get electrs out of an infinite loop of fetching the full mempool forever when there exist RBF transactions.
2021-03-03 21:10:37 +00:00
Martin Habovstiak
52ad2f0af0
Fixed inverted logic of deprecation
...
The warning was supposed to be shown when `cookie` is specified not the
other way around.
2021-03-03 12:03:18 +01:00
Roman Zeyde
97389fa9a4
Use non-batched gettransaction RPC
...
Following https://github.com/romanz/electrs/issues/373#issuecomment-785753029
2021-02-27 20:13:28 +02:00
Roman Zeyde
b1b9525202
Use non-batched getblock RPC
...
Following https://github.com/romanz/electrs/issues/373#issuecomment-785753029
2021-02-27 20:03:39 +02:00
Roman Zeyde
aa40a947ea
Reduce the default index_batch_size
to 10
...
Following https://github.com/romanz/electrs/issues/373 .
2021-02-24 10:07:01 +02:00
Roman Zeyde
2e003aaa6b
Merge remote-tracking branch 'kixunil/cookie_deprecation_detailed_doc'
2021-02-23 09:58:42 +02:00
Martin Habovstiak
afe32bb5b7
Added in-depth explanation of cookie deprecation
...
This adds more informtion about cookie deprecation, especially
motivation, so the users won't be frustrated because of unexplained
change. It also removes a warning that's no longer applicable.
2021-02-22 19:52:40 +01:00