Bitcoin Forum
May 03, 2024, 03:30:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: June 25, 2019, 06:00:29 PM
The underlying storage format didn't change, so the instructions above should work Smiley
2  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: February 02, 2019, 07:03:58 PM
It should work with latest Bitcoin Core (0.16+).
Didn't test with Parity or with Bitcoin Cash nodes...
3  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: January 13, 2019, 07:32:02 AM
Thanks!
This project was designed for personal use (e.g. optimized for HDD, no DoS prevention mechanisms).

Currently, it doesn't utilize SSD for better performance (so it would be hard to support thousands users), but there is a WIP branch for a new (more SSD-friendly) indexing schema here:
https://github.com/romanz/electrs/commits/new-index
4  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: October 14, 2018, 07:11:42 AM
Sorry for the delayed response - you can use a TLS-terminating proxy (such as https://hitch-tls.org/).
See https://github.com/romanz/electrs/commit/288cda518c3df6d49ed6d27fcd8f9f10d69a84cd#diff-9d70860c70981206f00c69a429b69ad1.
5  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: July 22, 2018, 10:12:44 AM
Cool, glad to hear that it works Smiley
6  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: July 15, 2018, 09:01:48 AM
Quote
I'll update how I get on.

Thanks a lot!
Please let me know if there are any issues/problems Smiley
7  Bitcoin / Electrum / Re: An efficient re-implementation of Electrum Server in Rust on: July 04, 2018, 07:26:39 PM
Thanks for the compliment Smiley

Quote
I will suggest though is that you list the limitations of your implementation so others, if not you, can improve on it as it grows.

Good point, will add a document for that!

N.B.
https://github.com/romanz/electrs/issues/8
8  Bitcoin / Electrum / An efficient re-implementation of Electrum Server in Rust on: July 03, 2018, 08:27:51 AM
Hello all,

I was working on this project for the last few months, so a user could run his own Electrum server, with required hardware resources not much beyond those of a full node (using ideas from ElectrumX [1], Electrum Personal Server [2] and bitcoincore-indexd [3]).

The code and usage instructions can be found here:
https://github.com/romanz/electrs

The server indexes the entire Bitcoin blockchain, and the resulting index [4] enables fast queries for any given user wallet, allowing the user to keep real-time track of his balances and his transaction history using the Electrum wallet [5].
Since it runs on the user's own machine, there is no need for the wallet to communicate with external Electrum servers, thus preserving the privacy of the user's addresses and balances.

Features:
 * Supports latest Electrum protocol [6].
 * Maintains an index of transaction inputs and outputs, allowing fast balance queries
 * Fast synchronization of the Bitcoin blockchain (~2.5 hours for ~185GB @ June 2018) on modest hardware [7]
 * Low CPU & memory usage (after initial indexing)
 * Low index storage overhead (~20%), relying on a local full node for transaction retrieval
 * Efficient mempool tracker allowing better fee estimation [8].
 * `-txindex` is not required for the Bitcoin node
 * Uses `rust-bitcoin` library [9] for efficient serialization/deserialization of Bitcoin transactions
 * Uses a single RocksDB [10] database, for better consistency and crash recovery

Hope you'll find it useful Smiley
Questions, suggestions and pull requests are welcome!

[1] https://github.com/kyuupichan/electrumx
[2] https://github.com/chris-belcher/electrum-personal-server
[3] https://github.com/jonasschnelli/bitcoincore-indexd
[4] https://github.com/romanz/electrs/blob/master/doc/schema.md
[5] https://electrum.org
[6] https://electrumx.readthedocs.io/en/latest/protocol.html
[7] https://gist.github.com/romanz/cd9324474de0c2f121198afe3d063548
[8] https://github.com/spesmilo/electrum/blob/59c1d03f018026ac301c4e74facfc64da8ae4708/RELEASE-NOTES#L34-L46)
[9] https://github.com/rust-bitcoin/rust-bitcoin
[10] https://github.com/spacejam/rust-rocksdb
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!