Bitcoin Forum
April 18, 2024, 09:32:13 PM *
News: Latest Bitcoin Core release: 26.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 61407 times)
EagleTM
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
March 02, 2013, 10:25:09 PM
 #161

Electrum won't start O_O

You're probably referring to the client and not the server. Please use the other thread for discussing this, make sure you run the latest stable version and feel free to join us on IRC #electrum on freenode to try and help you fix this.
1713475933
Hero Member
*
Offline Offline

Posts: 1713475933

View Profile Personal Message (Offline)

Ignore
1713475933
Reply with quote  #2

1713475933
Report to moderator
1713475933
Hero Member
*
Offline Offline

Posts: 1713475933

View Profile Personal Message (Offline)

Ignore
1713475933
Reply with quote  #2

1713475933
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713475933
Hero Member
*
Offline Offline

Posts: 1713475933

View Profile Personal Message (Offline)

Ignore
1713475933
Reply with quote  #2

1713475933
Report to moderator
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 04, 2013, 07:40:18 AM
 #162

bad news for pruning servers:

I had to make modifications to the database structure of pruning servers.
The goal of this change is to handle p2sh addresses.

If you git pull, you'll see a message telling you that your database is deprecated.
you will need to create a new database and reimport the blockchain.

sorry about that.

note that this change is indicated by a new version number (0.7)

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

Activity: 349
Merit: 250


View Profile
March 04, 2013, 08:38:47 AM
 #163

bad news for pruning servers:

I had to make modifications to the database structure of pruning servers.
The goal of this change is to handle p2sh addresses.

If you git pull, you'll see a message telling you that your database is deprecated.
you will need to create a new database and reimport the blockchain.

sorry about that.

note that this change is indicated by a new version number (0.7)

So there will be 2 electrum-server versions running (0.6 for full & 0.7 for pruning)?

| Operating electrum.be & us.electrum.be |
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 04, 2013, 09:21:39 AM
 #164

bad news for pruning servers:

I had to make modifications to the database structure of pruning servers.
The goal of this change is to handle p2sh addresses.

If you git pull, you'll see a message telling you that your database is deprecated.
you will need to create a new database and reimport the blockchain.

sorry about that.

note that this change is indicated by a new version number (0.7)

So there will be 2 electrum-server versions running (0.6 for full & 0.7 for pruning)?

the full servers will have the same version number.
however, a full server using 0.7 code will not support p2sh addresses, afaik (unless they were added to ABE recently, I don't know)

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

Activity: 76
Merit: 10


View Profile
March 07, 2013, 03:53:41 PM
 #165

I've added this question to the stackexchange site which is asking what the security considerations are for running an electrum server.

http://bitcoin.stackexchange.com/questions/8214/what-are-the-security-considerations-for-hosting-your-own-electrum-server

I'm also curious whether anyone has run this code on a JVM in say Jython or something like that? I'm interested in a Java based implementation.
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
March 07, 2013, 04:55:39 PM
 #166

I don't think anybody tried to run a JVM implementation. There is a ruby port of the electrum code which could in theory be ran as JRuby though. Please let us know your findings if you are going to experiment Smiley

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
barrymac
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
March 07, 2013, 09:57:59 PM
 #167

Well for that matter there's also Javascript implementations ! :-P
stepkrav
Full Member
***
Offline Offline

Activity: 188
Merit: 100



View Profile
March 25, 2013, 04:26:27 PM
 #168

I'm thinking about setting up an electrum server in order to help users. Any documentation on that?
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 25, 2013, 04:30:33 PM
 #169

I'm thinking about setting up an electrum server in order to help users. Any documentation on that?

there are documentation files in the repo.
I suggest that you start with a pruning server, it is easier

Electrum: the convenience of a web wallet, without the risks
stepkrav
Full Member
***
Offline Offline

Activity: 188
Merit: 100



View Profile
March 30, 2013, 01:22:32 PM
 #170

I'm half the way of setting this server up. I must say that compiling bitcoind was fun.  Cheesy But bicoind needs a lot of resources, my little 512 RAM vps can't do it i guess? Opinions?
eja
Newbie
*
Offline Offline

Activity: 39
Merit: 0



View Profile
March 30, 2013, 02:04:21 PM
 #171

It is probably close to the limit. For reference below is the resource usage on mine (1GB ram) after a couple of days running.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 2188 bitcoin   20   0  353m 200m 3708 S    3 20.2 310:23.68 bitcoind           
 4320 bitcoin   20   0  306m 108m 2732 S   35 10.9 729:14.69 python 
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
March 31, 2013, 09:18:24 AM
 #172

I'm half the way of setting this server up. I must say that compiling bitcoind was fun.  Cheesy But bicoind needs a lot of resources, my little 512 RAM vps can't do it i guess? Opinions?

I think it should be possible if you monitor the bitcoind process and reboot it every other day.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
stepkrav
Full Member
***
Offline Offline

Activity: 188
Merit: 100



View Profile
March 31, 2013, 12:19:55 PM
Last edit: April 01, 2013, 12:35:05 PM by stepkrav
 #173

To improve installation notes at github perhaps you could add the packages needed for debian servers :

Code:
apt-get install python make build-essential python-leveldb libboost-all-dev libdb++-dev libminiupnpc-dev python-setuptools python-openssl

Some of them already referred but perhaps it's better to have them all in one command/place.
inaltoasinistra
Full Member
***
Offline Offline

Activity: 142
Merit: 104


View Profile
April 18, 2013, 02:54:58 PM
 #174

I'm half the way of setting this server up. I must say that compiling bitcoind was fun.  Cheesy But bicoind needs a lot of resources, my little 512 RAM vps can't do it i guess? Opinions?

I think it should be possible if you monitor the bitcoind process and reboot it every other day.

bitcoind is using the 43% of my 1GB of RAM x.x

I have a problem lauching the server: (the bitcoin chain is updated)
Code:
[18/04/2013-16:42:33] Starting Electrum server on BlaBla
Traceback (most recent call last):
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 62, in __init__
    hist = self.deserialize(self.db.Get('height'))
KeyError
[18/04/2013-16:42:34] initializing database
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 1082, in run
    self.function(*self.args, **self.kwargs)
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 82, in <lambda>
    threading.Timer(0, lambda: self.catch_up(sync=False)).start()
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 783, in catch_up
    next_block = self.bitcoind('getblock', [next_block_hash, 1])
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 105, in bitcoind
    raise BaseException(r['error'])
BaseException: {u'message': u'getblock <hash>\nReturns details of a block with given block-hash.', u'code': -1}

ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
April 28, 2013, 07:42:36 AM
 #175

many electrum servers became unusable tonight, because of very large transactions in the memory pool.
I figured out the mempool code was not efficient, and I fixed it.
Please upgrade your servers!

Electrum: the convenience of a web wallet, without the risks
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
April 28, 2013, 08:18:53 AM
 #176

[...] Please upgrade your servers!

Done (and worked for me). Thank you, Thomas.
inaltoasinistra
Full Member
***
Offline Offline

Activity: 142
Merit: 104


View Profile
May 06, 2013, 01:20:19 PM
 #177

SLL/HTPPS connections increase the security?
They are needed only to hide the electrum service to the network, aren't they?
Thanks

stepkrav
Full Member
***
Offline Offline

Activity: 188
Merit: 100



View Profile
May 06, 2013, 01:29:26 PM
 #178

SSL/HTTPS ecrypts the data between your client and the server. They're only "hiding" the data from a third party inspecting the connection.
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
May 06, 2013, 02:10:14 PM
 #179

I've been thinking of an idea, but I lack the skills to follow through, so I'm going to lay it out here and let anyone who wishes take it up.

I would like to have an android client that can connect to any given electrum server, but also via TOR.  I'd also like the client to have the ability to create transactions offline using confirmed transactions for which it is already aware, and connect to other clients like itself via a shared wifi hotspot like a piratebox. (http://wiki.daviddarts.com/PirateBox_DIY)  In this fashion, the android client can develop a set of transactions in optimal amounts that would allow it to create several transactions without the need to reuse it's own change inputs for a time wherever the transacting parties have a piratebox (or any other accesspoint) with or without a live connection to an electrum server and whenever trust isn't an issue.  The use case here is like the cash you carry in your wallet.  There is only so much there, and it doesn't require live internet to work.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
sdp
Sr. Member
****
Offline Offline

Activity: 469
Merit: 280



View Profile WWW
May 16, 2013, 01:24:51 PM
 #180

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.

Couldn't these be coin generation transactions?  They are the only transactions that do not have a tx_in.  There should be one for each block as is listed in the error there.

Coinsbank: Left money in their costodial wallet for my signature.  Then they kept the money.
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!