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
Roman Zeyde
e9d9f6b16c
Use parse_hash() for Daemon::getblocktxids()
2018-12-03 00:46:45 +02:00
Nadav Ivgi
bea7fd747f
Improve query.get_merkle_proof() performance
...
Query bitcoind for the list of txids in the block instead of
fetching the whole block, deserializing it and re-computing the txids.
2018-12-02 00:11:06 +02:00
Roman Zeyde
7061c53d97
Improve logging when closing RPC server
2018-12-01 15:20:02 +02:00
Daniel McNally
e446693c4c
Add NGINX SSL sample config
2018-11-27 17:56:12 -05:00
Roman Zeyde
09725e8615
Bump version
2018-11-22 11:24:23 +02:00
Roman Zeyde
1f1857947c
Consolidate tools/* under contrib/
2018-11-22 10:52:21 +02:00
Roman Zeyde
3982c9fd78
Support 'server.ping' Electrum RPC
2018-11-16 20:14:08 +02:00
Roman Zeyde
afcc93bc57
Sort Electrum RPC methods alphabetically
2018-11-16 20:11:43 +02:00
Roman Zeyde
783b8647eb
Add partial support for "blockchain.block.header" Electrum RPC
...
https://electrumx.readthedocs.io/en/latest/protocol-methods.html#blockchain-block-header
2018-11-16 17:29:49 +02:00
Roman Zeyde
33054e23f7
Allow skipping 'params' field in Electrum JSONRPC
2018-11-16 17:23:34 +02:00
sha-265
26a2912703
Fix typo
2018-11-14 15:30:02 +00:00
Roman Zeyde
582af3d697
Update rust-bitcoin to 0.15.1 and re-generate Cargo.lock
2018-11-10 21:40:07 +02:00
Daniel McNally
edc2532f0a
Update instructions with low RAM arguments
...
Closes #61 .
2018-11-03 17:47:10 +02:00
Roman Zeyde
c86245751e
Remove unneeded locking from MempoolStore
2018-10-21 23:33:58 +03:00
Roman Zeyde
42ab247776
Use LRU cache (instead of an unbounded HashMap) for transaction caching
2018-10-17 11:46:49 +03:00
Roman Zeyde
cb724352bc
Fix small typo in comment
2018-10-14 23:21:31 +03:00
Roman Zeyde
5895ad906d
Bump version
2018-10-14 14:40:55 +03:00
Roman Zeyde
1dcc8ac575
Don't run full compaction after initial import is over
2018-10-14 10:58:48 +03:00
Roman Zeyde
c2563701eb
Group 'use' statements
2018-10-06 21:31:43 +03:00