Bitcoin Forum
May 07, 2024, 01:41:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: An efficient re-implementation of Electrum Server in Rust  (Read 507 times)
MrNayda
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
March 04, 2020, 09:13:29 PM
Merited by HCP (1)
 #21


Quote
So, try this:
Code:
cargo run --release -- -vvv --timestamp --db-dir ./db --daemon-dir /mnt/HDD/ --electrum-rpc-addr="127.0.0.1:50001" --cookie-file /home/user/.bitcoin/.cookie

It worked! Electrs is up & running, financial self-sovereignty is within very close reach. Yes my apologies, I meant to refer to electrs not Electrum in my previous comment - rookie mistake.

As a non-techie noob I'm blown away by this world of open source development & the remarkable minds working together to make it all happen.

HCP Sir, a MASSIVE thank you for walking me through this. Means a lot. Hope to be able to contribute in some way myself in future.
1715089295
Hero Member
*
Offline Offline

Posts: 1715089295

View Profile Personal Message (Offline)

Ignore
1715089295
Reply with quote  #2

1715089295
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715089295
Hero Member
*
Offline Offline

Posts: 1715089295

View Profile Personal Message (Offline)

Ignore
1715089295
Reply with quote  #2

1715089295
Report to moderator
MrNayda
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
March 04, 2020, 11:01:12 PM
 #22

Unable to get Electrum wallet to connect to electrs

Unsure if this is the right thread to ask this, however I couldn't find a thread that related to this issue so here goes -

Have electrs running (confirmed with: sudo systemctl status electrs). Have installed Electrum wallet, & edited the electrum.desktop file as follows to connect to localhost -

Code:
Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum --oneserver --server localhost:50001:t %u"

Network Server tab in Electrum wallet shows "Server: localhost 50001" & all other servers greyed out, however within Network OverviewStatus: shows "Not connected" & Server: shows "None"

Perhaps there are config edits I need to make elsewhere for Electrum to connect to electrs?

Any suggestions greatly appreciated! Thank you in advance.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 07, 2020, 05:36:01 PM
 #23

Are you running electrs as a background process or are you running it in a terminal window and can see all of it's debug output?

When you run Electrum, do you see any notifications in the electrs output that shows any connection attempts? You might also want to run manually running Electrum from a terminal with the 'debug' option (-v) to see why it isn't able to connection.

There is also an option in Electrum to log to disk: Tools menu > Preferences > General tab, and tick "Write logs to file"

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!