Bitcoin Forum
April 27, 2024, 09:13:57 AM *
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 23 24 25 26 27 28 29 30 [31] 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 ... 96 »
  Print  
Author Topic: [ANNOUNCE] Electrum - Lightweight Bitcoin Client  (Read 274473 times)
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
May 23, 2012, 03:47:47 AM
 #601

I just tried electrum for the first time and have the following observations:

I tried using 'electrum import' while the client was running.  It let me, and told me it had succeeded, but the balance displayed in the running client didn't change.  I shut down and restarted the client, and the balance still didn't change.  I shut down the client, then reimported the key, then started the client and then the updated balance showed up.

It seems that if I import a key while the client is running, then close the client, the imported key gets overwritten.  I would suggest either not allowing keys to be imported while the client is running, or have the running client notice the imported key and update itself accordingly.

Also, importing a key shouldn't require me to specify the address as well as the private key.  The address can be found from the private key, and in fact that is done in the code to tell me if I type the wrong address.  I'd rather just type the private key.

Other than that it seems to be working well so far.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714209237
Hero Member
*
Offline Offline

Posts: 1714209237

View Profile Personal Message (Offline)

Ignore
1714209237
Reply with quote  #2

1714209237
Report to moderator
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
May 23, 2012, 03:36:01 PM
 #602

Vietnamese translations have been added to the wiki.

ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 23, 2012, 03:57:01 PM
 #603

Vietnamese translations have been added to the wiki.

that's great!

if you use linux, you can try them right away.
download the electrum archive, untar it and in the directory type:
Code:
python mki18n.py
sudo python setup.py install
export LANGUAGE=vn
electrum

Electrum: the convenience of a web wallet, without the risks
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 24, 2012, 01:21:02 AM
 #604

If this has already been asked just let me know and I'll look harder but...

How is a HTTP request constructed to query electrum servers? (For example, are their get/post variables involved or anything of that nature?)
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
May 24, 2012, 01:41:58 AM
 #605

You can see how it's done here:

  https://gitorious.org/electrum/electrum/blobs/a5152462135b6e132c6776a50675eed15e0c46a2/lib/interface.py#line184

The data is sent using a POST request, and is JSON encoded.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 24, 2012, 02:44:15 AM
 #606

You can see how it's done here:

  https://gitorious.org/electrum/electrum/blobs/a5152462135b6e132c6776a50675eed15e0c46a2/lib/interface.py#line184

The data is sent using a POST request, and is JSON encoded.
Kudos mate!
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
May 25, 2012, 12:10:38 AM
 #607

What do you think of a "half-offline" wallet feature?

The client would never write the seed to the electrum.dat file. The only way you could spend money would be to enter in your key passphrase at startup. When the app closes, the electrum.dat file gets deleted.

Also, can we get the columns in the displays to sort when the headers are clicked?

Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 25, 2012, 12:17:39 AM
 #608

What do you think of a "half-offline" wallet feature?

The client would never write the seed to the electrum.dat file. The only way you could spend money would be to enter in your key passphrase at startup. When the app closes, the electrum.dat file gets deleted.

Also, can we get the columns in the displays to sort when the headers are clicked?

What's wrong with mktx?
https://en.bitcoin.it/wiki/Electrum#List_of_commands
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 25, 2012, 01:25:56 AM
 #609

What do you think of a "half-offline" wallet feature?

The client would never write the seed to the electrum.dat file. The only way you could spend money would be to enter in your key passphrase at startup. When the app closes, the electrum.dat file gets deleted.

Also, can we get the columns in the displays to sort when the headers are clicked?

What's wrong with mktx?
https://en.bitcoin.it/wiki/Electrum#List_of_commands
Whooops ment to say sendtx
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
May 25, 2012, 02:14:28 AM
 #610

Because currently, restoring the wallet writes the seed to disk, specifically a file that can easily be identified as a wallet (trying to avoid that).

The ideas that you can use your wallet on a corporate asset and not have to worry about IT finding a wallet file later and taking the money. With this solution, the seed/passphrase stays in memory. I know there may be remnants in a swap file and keyloggers rule out any security, but it's just one more level of protection on a "public" computer.

I seem to recall a command that, if a key was not present, it would prompt you for it... I can't find the documentation for that or what exactly it was for. That may be the solution. Someone help me recall it plz?

ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 25, 2012, 05:07:43 AM
 #611

Because currently, restoring the wallet writes the seed to disk, specifically a file that can easily be identified as a wallet (trying to avoid that).

how about :
Code:
electrum -w /dev/shm/wallet

Electrum: the convenience of a web wallet, without the risks
flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 25, 2012, 08:57:07 AM
 #612

Great! I guess it's donation time again for both of you : )

@flatfly: this font is also cool.

@ThomasV: any idea why do i get this message occasionally? It happens once out of 10 times in general... it also happened before, so it's not about this brand new build.

Code:
---------------------------
Error
---------------------------
error: error: transaction rejected by memorypool: Transaction not accepted to memory pool.
0100000001c806158ebcd026bedd3f58d958d08ca54571fc2278bb630f18435c0971544cdd010000008c493046022100e48326a3da1d2e46a36ecd8a7da860a128c82abc51e6a6d1ff9887bd78c4bce2022100ba0aaa6868453df71ed51c96d392c69883d12cbd63b247b031435223349613fa014104cd06feb6b3b1dd4f190b644f3a7e1a85ed5de5307ef14cc47476594a7eedb84a7fb0f9c9965a320dd88a1556c5f279768a3a6040abfd8eaf0ecc5bc767271b3bffffffff0200e1f505000000001976a9141656d23d35bf965c791649f0664c28bd7f41829f88acb6427200000000001976a9143479b2cc1da46bd7d3ebb4d88b3e854d5eadf65488ac00000000
---------------------------
OK   
---------------------------

I click OK and try sending again and then it works...


I have found that this always happens when trying to 2 payments too fast (within 5-10 seconds of each other)
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
May 25, 2012, 10:41:35 AM
 #613

how about :
Code:
electrum -w /dev/shm/wallet

Wow, Never new about this. I always just mounted a /dev/ram device. That's really cool and easy!

But, it's a Linux only solution. Installing a windows ram disk app would require rights a regular user in a corporate environment might not have. Perhaps this is just something to add to your roadmap and implemented later since we're still living in a mostly nerd bitcoin community, but I think this will be a useful feature to help protect people's money when they need access on semi-trusted multip-user systems.

Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 25, 2012, 10:43:45 AM
 #614

I'm having difficulties finding the scripts for running an electrum server?
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
May 25, 2012, 10:50:36 AM
 #615

http://gitorious.org/electrum/server

Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 25, 2012, 11:53:22 AM
 #616

Ah! was looking in the wrong spot -- thanks mate!
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 25, 2012, 12:47:34 PM
 #617

Might I suggest you add a
Code:
sys.exit(0)

at the end of the while(True) in the watch_addresses file and then add an option to allow the script to end after its looped?

I've been trying to call this python script from another language and it just sits there awaiting for the connection to end and it never did i spent hours trying to figure out why. Anyways my situation is probably really specific but still adding a comment in thurr to reduce future programmers frustration or something. anyways great work mate, I've learned a lot about bitcoin tearing your library apart!
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 25, 2012, 01:01:07 PM
 #618

Might I suggest you add a
Code:
sys.exit(0)

at the end of the while(True) in the watch_addresses file and then add an option to allow the script to end after its looped?

I've been trying to call this python script from another language and it just sits there awaiting for the connection to end and it never did i spent hours trying to figure out why. Anyways my situation is probably really specific but still adding a comment in thurr to reduce future programmers frustration or something. anyways great work mate, I've learned a lot about bitcoin tearing your library apart!

indeed, an option to end the loop would be useful
In fact I am thinking of making it a more general purpose program, that calls a command-line program each time an address receives or sends a payment
Something similar to the linux "at" command.


Electrum: the convenience of a web wallet, without the risks
Xenland
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 25, 2012, 03:24:09 PM
 #619

Might I suggest you add a
Code:
sys.exit(0)

at the end of the while(True) in the watch_addresses file and then add an option to allow the script to end after its looped?

I've been trying to call this python script from another language and it just sits there awaiting for the connection to end and it never did i spent hours trying to figure out why. Anyways my situation is probably really specific but still adding a comment in thurr to reduce future programmers frustration or something. anyways great work mate, I've learned a lot about bitcoin tearing your library apart!

indeed, an option to end the loop would be useful
In fact I am thinking of making it a more general purpose program, that calls a command-line program each time an address receives or sends a payment
Something similar to the linux "at" command.



Would be interesting to see how that comes out, I don't know python well enough to contribute to anything but I see the amount of time it took to create everything..

I'm having an issue on an angstrom linux flavor maybe you could help me out with this Its a fresh install python version 2.7.2 and i installed electrum with no bugs(with the edcsa, slowaes packages installed) but i get the following error
Quote
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    for lang in os.listdir('locale'):
OSError: [Errno 2] No such file or directory: 'locale'


What shall I do?  (I'm guessing for a quick fix I should look through the python and set the locale but i thought you'd like to know bow this error.)
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 25, 2012, 09:00:29 PM
 #620

Might I suggest you add a
Code:
sys.exit(0)

at the end of the while(True) in the watch_addresses file and then add an option to allow the script to end after its looped?

I've been trying to call this python script from another language and it just sits there awaiting for the connection to end and it never did i spent hours trying to figure out why. Anyways my situation is probably really specific but still adding a comment in thurr to reduce future programmers frustration or something. anyways great work mate, I've learned a lot about bitcoin tearing your library apart!

indeed, an option to end the loop would be useful
In fact I am thinking of making it a more general purpose program, that calls a command-line program each time an address receives or sends a payment
Something similar to the linux "at" command.



Would be interesting to see how that comes out, I don't know python well enough to contribute to anything but I see the amount of time it took to create everything..

I'm having an issue on an angstrom linux flavor maybe you could help me out with this Its a fresh install python version 2.7.2 and i installed electrum with no bugs(with the edcsa, slowaes packages installed) but i get the following error
Quote
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    for lang in os.listdir('locale'):
OSError: [Errno 2] No such file or directory: 'locale'


What shall I do?  (I'm guessing for a quick fix I should look through the python and set the locale but i thought you'd like to know bow this error.)

just create the locale dir, or run mki18n.py
(I hope you have this problem because you are using the current git version)

Electrum: the convenience of a web wallet, without the risks
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 [31] 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 ... 96 »
  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!