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

737 Commits

Author SHA1 Message Date
Roman Zeyde
1167cbfb04
Support latest bitcoind mempool entry vsize field name
It was changed by https://github.com/bitcoin/bitcoin/pull/15637.
2019-04-04 11:06:30 +03:00
Roman Zeyde
e9c06d816a
Remove 'static life-time from &str constants 2019-04-04 10:45:11 +03:00
Roman Zeyde
6625f6aa58
Merge remote-tracking branch 'dagurval/fix-remove-mempool' 2019-04-03 21:04:51 +03:00
Dagur Valberg Johannsson
af227013f1 [mempool] Fix bug on removing entries
Fixes issue where old mempool entires were only removed if new ones were
also added.
2019-04-01 11:59:58 +02:00
Roman Zeyde
9dae910288
Merge pull request #126 from JeffVandrewJr/patch-2
Update docs for use with Eclair Mobile
2019-03-29 21:03:31 +03:00
Jeff Vandrew Jr
18890b78e3
Update for use with Eclair Mobile 2019-03-29 11:26:31 -04:00
Roman Zeyde
8af98a3b9f
Update more crates 2019-03-28 15:10:45 +02:00
Roman Zeyde
18a1d29509
Update bitcoin to 0.18 2019-03-28 13:51:46 +02:00
Roman Zeyde
72eb1e1c62
Update rockdb to 0.12.1 2019-03-28 13:45:54 +02:00
Roman Zeyde
5497824b0e
Update Cargo.lock 2019-03-26 11:14:24 +02:00
Roman Zeyde
d5b7f509d2
travis: add clippy via rustup 2019-03-25 20:37:47 +02:00
Roman Zeyde
ff002bf6ac
Merge pull request #124 from JeffVandrewJr/patch-1
Documentation Updates
2019-03-25 20:34:14 +02:00
Jeff Vandrew Jr
8c6472bab3
Update usage.md
If I don't set a `electrum-rpc-addr` flag, by default electrs only listens for tcp6 connections. In order to accept tcp4, I need to add `--electrum-rpc-addr="127.0.0.1:50001`.

This is not a big deal since setting the flag fixes it, but adding this info to the docs should make it easier for users.

Also, the `config.rs` file should be changed since the help for this option lists `127.0.0.1:50001` as the default, which is not correct (at least on my install).

I also added a sample unit file for systemd.
2019-03-23 14:31:57 -04:00
Roman Zeyde
878f81cfeb
Return correct 'server.version' response 2019-03-09 11:58:23 +02:00
Roman Zeyde
f48e395d35
Update Electrum protocol support 2019-03-08 22:03:16 +02:00
Roman Zeyde
710a15e822
Switch README badge to CircleCI 2019-03-08 22:02:44 +02:00
Roman Zeyde
b84745e146
Add CircleCI support 2019-03-08 21:59:17 +02:00
Roman Zeyde
f4605069b9
Add cargo clippy to Travis 2019-03-08 21:16:35 +02:00
Roman Zeyde
ef54e452bf
Fix more Clippy warnings 2019-03-08 21:16:35 +02:00
Roman Zeyde
807a200542
Fix some Clippy warnings 2019-03-08 18:15:50 +02:00
Roman Zeyde
182aba8460
Prefix Prometheus metrics with 'electrs_' 2019-03-06 09:39:16 +02:00
Roman Zeyde
b2b7e1c42a
Bump version 2019-03-03 22:36:35 +02:00
Roman Zeyde
bb8baf4108
Update Dockerfile to install libsnappy-dev and to use current source code
Also, update Docker usage documentation.
2019-03-03 22:34:39 +02:00
Roman Zeyde
77ee699ed5
Update bitcoin crate to 0.17 2019-03-02 21:34:49 +02:00
Roman Zeyde
ac577f9565
Merge branch 'dagurval-resolve-hostname' 2019-02-25 21:20:13 +02:00
Roman Zeyde
ed125ebe92
Change defaults addresses to 'localhost' 2019-02-25 21:10:30 +02:00
Roman Zeyde
5ab3b46487
Document how to persist Electrum wallet configuration 2019-02-23 20:45:21 +02:00
Dagur Valberg Johannsson
d614071dd4 Resolve hostname for arguments passing an address
This allows hostname to be passed, rather than only IP addresses.
2019-02-22 22:17:33 +01:00
Roman Zeyde
5037673af6
Upgrade Bitcoin crate 2019-01-21 14:47:26 +02:00
Roman Zeyde
f51c7dc6b4
Add a few TODOs 2019-01-21 14:18:39 +02:00
Roman Zeyde
088eff5a86
Fix formatting 2019-01-21 14:18:27 +02:00
Roman Zeyde
ec7b0b7378
Upgrade Prometheus crate 2019-01-21 14:17:45 +02:00
Roman Zeyde
4c5f7f8751
Explicitly set RPC connections as blocking 2019-01-19 20:26:22 +02:00
Roman Zeyde
e996edbb82
Update RocksDB crate to 0.11 2019-01-13 10:01:29 +02:00
Roman Zeyde
8e31df8511
Update SSL instructions to nginx
Remove hitch example
2019-01-08 12:51:22 +02:00
Roman Zeyde
e1825fdc77
Fail RPC queries for "too popular" addresses
Since electrs is not optimized for this use-case, the query may take a lot
of time (on HDDs, the transaction lookups take most of the time).

The limit can be disabled by passing --txid-limit=0 flag.
2019-01-06 09:11:15 +02:00
Roman Zeyde
b77cd541d5
Allow JSONRPC 'id' to be of any type 2019-01-06 08:26:53 +02:00
Roman Zeyde
db9b174680
Ignore _* directories 2018-12-23 10:05:05 +02:00
Roman Zeyde
5453ffe72a
Bump version 2018-12-23 09:55:54 +02:00
Dagur Valberg Johannsson
1ea6a50325
Let server banner be configurable
This lets the operator set a custom server banner using the
configuration flag --server-banner. In addition it adds the daemon
version to the banner.
2018-12-23 09:34:49 +02:00
Dagur Valberg Johannsson
07eb413f8c tx_id -> tx_hash in transaction.id_from_pos 2018-12-19 11:14:40 +01:00
Roman Zeyde
afa82a0a49
Minor fixes before merging to master 2018-12-19 09:20:20 +02:00
Dagur Valberg Johannsson
8ad6d29caa Bump verison in server.version 2018-12-14 13:22:42 +01:00
Dagur Valberg Johannsson
7e69eb8984 Remove methods no longer supported in v1.4 2018-12-14 13:22:42 +01:00
Dagur Valberg Johannsson
d284ba772e Add cp_height support to blockchain.block.header/s 2018-12-14 13:22:32 +01:00
Dagur Valberg Johannsson
537e85f2db Implement 'blockchain.transaction.id_from_pos' 2018-12-14 13:21:30 +01:00
Dagur Valberg Johannsson
4e28d67c20 Refactor to create_merkle_branch_and_root 2018-12-14 13:20:59 +01:00
Roman Zeyde
5f2d4289dc
Support Rust 2018 edition
Builds on Rust 1.31
2018-12-08 11:40:04 +02:00
Roman Zeyde
0dae2f198a
Re-format latest Rust version 2018-12-07 16:36:00 +02:00
Roman Zeyde
e49cef1bbc
Simplify .map() at Daemon::getblocktxids() 2018-12-03 07:27:08 +02:00