Bitcoin Forum
April 30, 2024, 12:02:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »  All
  Print  
Author Topic: Electrum server discussion thread  (Read 61412 times)
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 04, 2012, 10:11:35 PM
Last edit: January 30, 2013, 05:48:09 AM by ThomasV
 #1

This thread is for announcements and questions concerning the Electrum server code.
You want to subscribe to it if you run an Electrum server.

________________________________


Today we just fixed a bug in bitcoin-abe, that was causing a memory allocation error.
https://github.com/jtobey/bitcoin-abe/commit/0b7f464b52454555c69a6b77b4ad0cf453a2cf48

The bug was silent because exceptions thrown by the library were not properly logged.
This is fixed too; exceptions thrown by the library are logged, and the server will enter its 'server not ready' status when such an exception is raised.

If you are a server operator, please pull the latest version of both abe and of the Electrum server.
Do not forget to reinstall the abe library ('python setup.py install') prior to restarting the electrum server.

Electrum: the convenience of a web wallet, without the risks
1714478538
Hero Member
*
Offline Offline

Posts: 1714478538

View Profile Personal Message (Offline)

Ignore
1714478538
Reply with quote  #2

1714478538
Report to moderator
1714478538
Hero Member
*
Offline Offline

Posts: 1714478538

View Profile Personal Message (Offline)

Ignore
1714478538
Reply with quote  #2

1714478538
Report to moderator
1714478538
Hero Member
*
Offline Offline

Posts: 1714478538

View Profile Personal Message (Offline)

Ignore
1714478538
Reply with quote  #2

1714478538
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2348


Eadem mutata resurgo


View Profile
June 07, 2012, 09:46:59 PM
 #2

watching.

duncant
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 10, 2012, 03:26:02 AM
 #3

I've been having some trouble with my server, uncle-enzo.info , getting killed by (what I assume is) an out of memory problem. I didn't have this problem before I upgraded to the lastest version of abe and electrum-server.

I'm going to try to debug it further and get back to you.
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 10, 2012, 10:21:27 PM
 #4

I've been having some trouble with my server, uncle-enzo.info , getting killed by (what I assume is) an out of memory problem. I didn't have this problem before I upgraded to the lastest version of abe and electrum-server.

I'm going to try to debug it further and get back to you.

I have always had memory problems with the server.
the memory used by bitcoind increases slowly but regularly; my patches may have introcuced a memory leak, but I did not find it.
electrum_server reads the memory pool every 10 seconds. this is pretty intensive, and could also cause this leak.

Electrum: the convenience of a web wallet, without the risks
anfedorov
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
June 11, 2012, 01:15:48 AM
Last edit: June 11, 2012, 02:12:15 AM by anfedorov
 #5

For the last couple of hours, the servers at ecdsa.org, btcback.com, and electrum.novit.ro have been responding to:

--> {"params": [], "id": 2, "method": "blockchain.numblocks.subscribe"}

with:

<-- {"id": 2, "result": 0}

Which seems... unlikely. Any idea of what could be causing it?
TheBitMan
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
June 11, 2012, 03:22:06 AM
 #6

everything is down..no server connection
NothinG
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500



View Profile
June 11, 2012, 03:23:03 AM
 #7

everything is down..no server connection
I've got connection to uncle-enzo.info

Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
June 11, 2012, 03:36:06 AM
 #8

Server connection is there (see debug info) but the client is erroneously reporting "no server connection" in place of a balance. If you run from the command line "electrum balance" you'll see the wallet balance.

ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 11, 2012, 05:09:40 AM
 #9

For the last couple of hours, the servers at ecdsa.org, btcback.com, and electrum.novit.ro have been responding to:

--> {"params": [], "id": 2, "method": "blockchain.numblocks.subscribe"}

with:

<-- {"id": 2, "result": 0}

Which seems... unlikely. Any idea of what could be causing it?

bitcoind crashed at ecdsa.org.

Electrum: the convenience of a web wallet, without the risks
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 11, 2012, 05:32:23 AM
 #10

For the last couple of hours, the servers at ecdsa.org, btcback.com, and electrum.novit.ro have been responding to:

--> {"params": [], "id": 2, "method": "blockchain.numblocks.subscribe"}

with:

<-- {"id": 2, "result": 0}

Which seems... unlikely. Any idea of what could be causing it?

this is the answer returned by the server when the local bitcoin daemon cannot be reached.
this causes the client to display "server not ready"

Electrum: the convenience of a web wallet, without the risks
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 11, 2012, 11:48:49 AM
 #11

we are having problems with ecdsa.org and electrum.novit.ro
both servers are down.
sorry for the inconvenience.

Electrum: the convenience of a web wallet, without the risks
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
June 11, 2012, 12:05:50 PM
 #12

Dunno if this will be helpful, but this is how I keep bitcoind running on my tor exit servers:

Code:
2012-06-11:0803 EDT
[redacted@tor-exit-alpha ~]$ crontab -l
*/5 * * * * /home/redacted/bin/check-bitcoind &> /dev/null


2012-06-11:0803 EDT
[redacted@tor-exit-alpha ~]$ cat /home/redacted/bin/check-bitcoind
#!/bin/bash

pgrep "^bitcoind$" &> /dev/null
if [ $? -gt 0 ]; then
  echo "bitcoind not running. Starting process..."
  /usr/local/bin/bitcoind &
else
  echo "bitcoind is alive."
  true
fi


ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 11, 2012, 12:28:55 PM
 #13

Dunno if this will be helpful, but this is how I keep bitcoind running on my tor exit servers:

bitcoind is fine. we just both upgraded Abe and it somehow corrupted our databases.
my server is back now.
I applied a workaround, but I still have to understand what really happened, and if the database is ok.

Electrum: the convenience of a web wallet, without the risks
duncant
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 12, 2012, 01:51:38 AM
 #14

I see that bitcoin-abe and electrum/server have been updated. Should I go ahead an upgrade or should I wait until everything is stable?
duncant
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 12, 2012, 09:38:04 PM
 #15

I see that bitcoin-abe and electrum/server have been updated. Should I go ahead an upgrade or should I wait until everything is stable?

Well, I went ahead and upgraded (after making a backup of the database). The server is outputting messages like those below. Should I be worried/should I restore from backup and downgrade?

Code:
block number: 184242
WARNING: missing tx_in for tx 3977349
WARNING: missing tx_out for tx 3977349
block number: 184243
WARNING: missing tx_in for tx 3977352
block number: 184244
WARNING: missing tx_in for tx 3977356
block number: 184245
WARNING: missing tx_in for tx 3977404
block number: 184246
WARNING: missing tx_in for tx 3977413
block number: 184247
WARNING: missing tx_in for tx 3977461
block number: 184248
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 12, 2012, 09:48:05 PM
 #16

I see that bitcoin-abe and electrum/server have been updated. Should I go ahead an upgrade or should I wait until everything is stable?

Well, I went ahead and upgraded (after making a backup of the database). The server is outputting messages like those below. Should I be worried/should I restore from backup and downgrade?

Code:
block number: 184242
WARNING: missing tx_in for tx 3977349
WARNING: missing tx_out for tx 3977349
block number: 184243
WARNING: missing tx_in for tx 3977352
block number: 184244
WARNING: missing tx_in for tx 3977356
block number: 184245
WARNING: missing tx_in for tx 3977404
block number: 184246
WARNING: missing tx_in for tx 3977413
block number: 184247
WARNING: missing tx_in for tx 3977461
block number: 184248
no, don't worry. I added these warnings after the last schema change in abe, but they seem to be harmless.

Electrum: the convenience of a web wallet, without the risks
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 13, 2012, 09:23:54 PM
 #17

today I fixed a major performance issue with the server.

if you upgrade, please note that I updated the bitcoind patch. (for 0.6.2)
you need to recompile bitcoind with this new patch in order to complete the upgrade.

Electrum: the convenience of a web wallet, without the risks
TheBitMan
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
June 13, 2012, 10:26:55 PM
 #18

today I fixed a major performance issue with the server.

if you upgrade, please note that I updated the bitcoind patch. (for 0.6.2)
you need to recompile bitcoind with this new patch in order to complete the upgrade.

will you loose any coins?
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
June 13, 2012, 10:41:15 PM
 #19

will you loose any coins?

can you explain your question?

Electrum: the convenience of a web wallet, without the risks
TheBitMan
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
June 13, 2012, 11:49:32 PM
 #20

will you loose any coins?

can you explain your question?
When I update it, will I still have my coins afterword?
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »  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!