Pages:
Author

Topic: [ANNOUNCE] Electrum - Lightweight Bitcoin Client - page 42. (Read 274534 times)

legendary
Activity: 1386
Merit: 1097
Thomas, than you for the release! It's great to see that there's some development. I feel a bit shy that I promised some work on server, but didn't finished it yet :-(.

Btw do you have any plans with BIP 32? Although current deterministic algorithm works great and I don't have any problem with it, standardization is definitely the way to go. You're also one of few Electrum developers who is capable to implement it (safely)...
legendary
Activity: 1896
Merit: 1353
Today I released version 1.1 of Electrum

You can get it from here: http://electrum.ecdsa.org/  (new website)

It has been a long time since the last release, and a lot of changes have made it into this new version; I will not list them all.
Here are the main changes:
* support for TCP/SSL and HTTPS.
* icons to display confirmation levels < 6
* new system to store user preferences, with user-defined configuration file (see previous post)
* new "merchant" script to process payments (see previous post)
* the "qt" gui is now refered to as "classic" gui. ("qt" was confusing because the "lite" gui uses qt too)

I started to implement Simple Payment Validation, this is what the new "validate_tx" script is about.
However, SPV is not implemented in the wallet for the moment; this will require another upgrade.

Thanks to all the developers, and I hope you enjoy this new release.
legendary
Activity: 1078
Merit: 1003
So I installed electrum on my Ubuntu 12.04.1 USB stick with two users, one the installation administrator, second standard. And although I'm able to start the Electrum GUI on both users I have problems on both. On admin user I have a problem where I can't select the http server option for some reason which doesn't really matter since it's always offline anyway. On the standard user I have the same problem plus when I do "electrum -w wallet" to import a deseeded offline wallet it starts the simple GUI where if I click receive it rotates between the 5 addresses but if I switch to pro mode I don't see any addresses under the receive tab. Btw I setup ufw to block everything except 53/udp,80tcp,443/tcp out.

I'm a complete Ubuntu noob and I can't tell you how frustrating Ubuntu is if you aren't familiar with the thousands of commands one needs to know in order to operate it smoothly, not to mention there are no guides online. Anything I'm able to find googling is written so stupid by stuck in their own world developers that probably only those they themselves who already have the answers can understand (file permission and file sharing is just one example for which I didn't find a single good guide when I couldn't do one simple task - give the standard user permission to set shared directories).

I don't know, can you help me out?

EDIT: nvm, all it took was to open 8081 port and it synced and is showing my offline wallet receiving addresses as it's suppose to
full member
Activity: 156
Merit: 100
Firstbits: 1dithi
You can test that feature this way:
Code:
./electrum -f 0.0001 -s 1SourceAddress payto 1TargetAddress 0.01
It will ask for the private key of 1SourceAddress in SIPA format. You can also provide it in the argument:
Code:
./electrum -f 0.0001 -s 1SourceAddress:5PrivateKeyOfSourceAddress payto 1TargetAddress 0.01
Neither the source address nor the key will be saved in the wallet. It's useful for making sporadic transactions from vanity addresses without messing with the wallet.

The -f is to set a lower fee, I used to set -f 0 but it no longer works, probably the server I used don't support 0-fee transactions.
hero member
Activity: 938
Merit: 1000
I've asked Genjix to look into your pull request a while ago since I wasn't sure I understood the commit to the fullest. He is taking a little time-out since the conference but he should be back soon (I hope Smiley).

I will make sure the Spanish translation gets compiled into the next release, which shouldn't be too long Smiley
full member
Activity: 156
Merit: 100
Firstbits: 1dithi
Hello, I just have written a full spanish translation in the wiki.

Also I made a rather simple pull request which fixes the --fromaddr command line feature, two weeks ago (actually I posted this in july in this thread, before making a proper fix).

In the spanish translation (and in the german one), it mentions using comma (,) instead of dot (.) as decimal separator, which is not implemented.
legendary
Activity: 1896
Merit: 1353
Quote
And why did you call the directory "lib" instead of "electrum" in the first place? This would avoid the need for all this "try..except ImportError" stuff.

lol. because that filename was already taken Smiley

It would make more sense IMO to rename "electrum" into "electrum.py" and "lib/" to "electrum/". The main executable can be renamed to "electrum" while installing it.

that makes sense, at least for linux users.
full member
Activity: 154
Merit: 100
Quote
And why did you call the directory "lib" instead of "electrum" in the first place? This would avoid the need for all this "try..except ImportError" stuff.

lol. because that filename was already taken Smiley

It would make more sense IMO to rename "electrum" into "electrum.py" and "lib/" to "electrum/". The main executable can be renamed to "electrum" while installing it.
legendary
Activity: 1896
Merit: 1353
Which part of the patch are you referring to? If this is the lib/gui_lite.py or lib/simple_config.py one, then you do not need to qualify the import as it is done relative to the lib/electrum (depending on whether it is installed or not) in any case.
oh you are right. I thought it was in the "electrum" file.

Quote
And why did you call the directory "lib" instead of "electrum" in the first place? This would avoid the need for all this "try..except ImportError" stuff.

lol. because that filename was already taken Smiley

btw, your patch has been merged.
full member
Activity: 154
Merit: 100
I have submitted a fix for this 8 days ago, I don't understand why it has not been accepted yet, I've not even had a comment.

Your patch is good, but the "try..except importError" block must be kept.
This is because users who install electrum using the install script are a minority (linux users with admin rights).
Most users (windows, mac, linux non-admins, or users who do not want to run an unknown script with sudo) need something that works out of the box, without needing to install anything.

Which part of the patch are you referring to? If this is the lib/gui_lite.py or lib/simple_config.py one, then you do not need to qualify the import as it is done relative to the lib/electrum (depending on whether it is installed or not) in any case.

And why did you call the directory "lib" instead of "electrum" in the first place? This would avoid the need for all this "try..except ImportError" stuff.

if you want, I suggest you get a developer account and write access, because the fact that these bugs were introduced in the code, and the current lack of responsiveness, shows that we need more people scrutinizing and caring for this software.

I don't use Electrum much right now, so I won't be able to spend a lot of time on it. Using pull requests is fine, I just need to find someone to merge them Smiley


legendary
Activity: 1896
Merit: 1353
I have submitted a fix for this 8 days ago, I don't understand why it has not been accepted yet, I've not even had a comment.

Your patch is good, but the "try..except importError" block must be kept.
This is because users who install electrum using the install script are a minority (linux users with admin rights).
Most users (windows, mac, linux non-admins, or users who do not want to run an unknown script with sudo) need something that works out of the box, without needing to install anything.

if you want, I suggest you get a developer account and write access, because the fact that these bugs were introduced in the code, and the current lack of responsiveness, shows that we need more people scrutinizing and caring for this software.

full member
Activity: 154
Merit: 100
another regression: simple_config is not correctly imported

Code:
ubuntu@domU-12-31-39-09-88-02:~$ electrum balance
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 27, in
    from electrum.util import print_error
  File "/usr/local/lib/python2.7/dist-packages/electrum/__init__.py", line 4, in
    from simple_config import SimpleConfig
ImportError: No module named simple_config

I have submitted a fix for this 8 days ago, I don't understand why it has not been accepted yet, I've not even had a comment.
legendary
Activity: 1896
Merit: 1353
another regression: simple_config is not correctly imported

Code:
ubuntu@domU-12-31-39-09-88-02:~$ electrum balance
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 27, in
    from electrum.util import print_error
  File "/usr/local/lib/python2.7/dist-packages/electrum/__init__.py", line 4, in
    from simple_config import SimpleConfig
ImportError: No module named simple_config
legendary
Activity: 1896
Merit: 1353
another regression:

Code:
ubuntu@domU-12-31-39-09-88-02:~/electrum$ ./electrum create
Traceback (most recent call last):
  File "./electrum", line 106, in
    simple_config = SimpleConfig()
  File "/home/ubuntu/electrum/lib/simple_config.py", line 37, in __init__
    self.save_config()
  File "/home/ubuntu/electrum/lib/simple_config.py", line 14, in save_config
    f = open(self.config_file_path(), "w+")
IOError: [Errno 2] No such file or directory: '/home/ubuntu/.electrum/config.json'
legendary
Activity: 1896
Merit: 1353
i am getting "Not enough funds" when attempting a transaction. there should be more than enough funds in the wallet and i even set a free. but whatever balance i type in the send field it is immediately shown red and i cant send any coins at all.

Any addresses that you have frozen, perhaps? (Check in the Receive tab)
nope, no frozen addresses.
actually there are only two addresses which contain inputs. one of those has a lot of small inputs (coming from mining).

the thread for this bug is here: https://bitcointalksearch.org/topic/coins-stuck-in-electrum-client-106732
legendary
Activity: 1896
Merit: 1353
Are multisig address supported?
Grazcoin

no they are not supported at the moment.
sr. member
Activity: 284
Merit: 250
what about multisig addresses?
I am using electrum 1.0
When I am trying to send funds to a multisig address (e.g. 35TjgrZxKzfFESJVYysbiNWgjXdSKqfzKm), I get an Error popup saying:

Invalid Bitcoin Address:
35TjgrZxKzfFESJVYysbiNWgjXdSKqfzKm

I verify this address with bitcoind:

$ bitcoind validateaddress 35TjgrZxKzfFESJVYysbiNWgjXdSKqfzKm
{
    "isvalid" : true,
    "address" : "35TjgrZxKzfFESJVYysbiNWgjXdSKqfzKm",
    "ismine" : false
}
$

Are multisig address supported?

Grazcoin
sr. member
Activity: 351
Merit: 250
i am getting "Not enough funds" when attempting a transaction. there should be more than enough funds in the wallet and i even set a free. but whatever balance i type in the send field it is immediately shown red and i cant send any coins at all.

Any addresses that you have frozen, perhaps? (Check in the Receive tab)
nope, no frozen addresses.
actually there are only two addresses which contain inputs. one of those has a lot of small inputs (coming from mining).
legendary
Activity: 1092
Merit: 1016
760930
i am getting "Not enough funds" when attempting a transaction. there should be more than enough funds in the wallet and i even set a free. but whatever balance i type in the send field it is immediately shown red and i cant send any coins at all.

Any addresses that you have frozen, perhaps? (Check in the Receive tab)
sr. member
Activity: 351
Merit: 250
i am getting "Not enough funds" when attempting a transaction. there should be more than enough funds in the wallet and i even set a free. but whatever balance i type in the send field it is immediately shown red and i cant send any coins at all.
Pages:
Jump to: