gyverlb
|
|
January 11, 2013, 12:44:25 PM |
|
Still no android love: sl4a crashes when trying to run the install script.
|
|
|
|
zebedee
Donator
Hero Member
Offline
Activity: 668
Merit: 500
|
|
January 12, 2013, 04:35:33 AM |
|
Looking at the wiki it has
mktx [-s sourceaddr] [-c changeaddr] [-f fee] <address> <amount>
There is no documentation for what units "fee" and "amount" are in. Are they in BTC or in Satoshis?
What happens: - if a change address isn't specified? Does the same as when in GUI mode, depending on wallet settings? - if a fee isn't specified? Does it use the default fee, or no fee, or ...? - if a source address isn't specified? Does it use the freeze and priority settings of the wallet?
Can the docs be improved to specify these things? It's far too scary to create a transaction without knowing the answers.
Particularly as there seems to be no way to dump a given transaction in a human readable form that shows inputs, outputs and fee. Hint. Hint.
|
|
|
|
BkkCoins
|
|
January 12, 2013, 05:28:40 AM |
|
Looking at the wiki it has
mktx [-s sourceaddr] [-c changeaddr] [-f fee] <address> <amount>
There is no documentation for what units "fee" and "amount" are in. Are they in BTC or in Satoshis?
What happens: - if a change address isn't specified? Does the same as when in GUI mode, depending on wallet settings? - if a fee isn't specified? Does it use the default fee, or no fee, or ...? - if a source address isn't specified? Does it use the freeze and priority settings of the wallet?
Can the docs be improved to specify these things? It's far too scary to create a transaction without knowing the answers.
Particularly as there seems to be no way to dump a given transaction in a human readable form that shows inputs, outputs and fee. Hint. Hint.
I had a quick look at the code for you. Amount is definitely in BTC not satoshi. Other items appear to work the same as if you entered a send in the GUI because the values provided on the cmd line are passed to the same function as if from the GUI entry fields. Ideally the docs would be better but it does take people effort to get that done and no one is getting paid for it. I think it may be a good idea if perhaps adding a -v (verbose) flag would cause additional mktx info to be output. And in the case of pay_to cmd it could output details and prompt for final confirmation since it cannot be reversed. I could do that myself that if other devs nod agreement.
|
|
|
|
zebedee
Donator
Hero Member
Offline
Activity: 668
Merit: 500
|
|
January 12, 2013, 07:28:17 AM |
|
Looking at the wiki it has
mktx [-s sourceaddr] [-c changeaddr] [-f fee] <address> <amount>
There is no documentation for what units "fee" and "amount" are in. Are they in BTC or in Satoshis?
What happens: - if a change address isn't specified? Does the same as when in GUI mode, depending on wallet settings? - if a fee isn't specified? Does it use the default fee, or no fee, or ...? - if a source address isn't specified? Does it use the freeze and priority settings of the wallet?
Can the docs be improved to specify these things? It's far too scary to create a transaction without knowing the answers.
Particularly as there seems to be no way to dump a given transaction in a human readable form that shows inputs, outputs and fee. Hint. Hint.
I had a quick look at the code for you. Amount is definitely in BTC not satoshi. Other items appear to work the same as if you entered a send in the GUI because the values provided on the cmd line are passed to the same function as if from the GUI entry fields. Ideally the docs would be better but it does take people effort to get that done and no one is getting paid for it. I think it may be a good idea if perhaps adding a -v (verbose) flag would cause additional mktx info to be output. And in the case of pay_to cmd it could output details and prompt for final confirmation since it cannot be reversed. I could do that myself that if other devs nod agreement. Sounds good to me. If you make the code to "dump details" self-contained, it could be used by mktx, the confirmation for pay_to, and a new dumptx command to show what's going on. That would be v. cool.
|
|
|
|
keewee
Legendary
Offline
Activity: 1025
Merit: 1000
|
|
January 12, 2013, 12:47:55 PM |
|
You could try a build from git but if you are not familiar with terminals it might be a bit tricky. I can tell you that there is no reason a future version will suddenly work. It's not a problem with Electrum but the tools used to build a binary version from the Python source. Is there anybody else with the same problem on OS X?
I just tried 1.6.1 with the same result so decided to try some things in the command line. Ran it with -v and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Illegal instruction: 4 So then I renamed the electrum.dat file and tried to recover my old wallet and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Using random server... electrum.no-ip.org:50001:t electrum.bitcoin.cz:50001:t missing tx [] Illegal instruction: 4 Finally I deleted the electrum.dat file and this time created a new wallet and it seems to fail in a similar manner except this time 5 new addresses were generated before the crash. Is there anything here that might lead to a solution? Is there anything else I can try?
|
1keewee2vRp63UWvPBynT55ZYw6SUCKDB
|
|
|
BkkCoins
|
|
January 12, 2013, 02:31:27 PM |
|
You could try a build from git but if you are not familiar with terminals it might be a bit tricky. I can tell you that there is no reason a future version will suddenly work. It's not a problem with Electrum but the tools used to build a binary version from the Python source. Is there anybody else with the same problem on OS X?
I just tried 1.6.1 with the same result so decided to try some things in the command line. Ran it with -v and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Illegal instruction: 4 So then I renamed the electrum.dat file and tried to recover my old wallet and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Using random server... electrum.no-ip.org:50001:t electrum.bitcoin.cz:50001:t missing tx [] Illegal instruction: 4 Finally I deleted the electrum.dat file and this time created a new wallet and it seems to fail in a similar manner except this time 5 new addresses were generated before the crash. Is there anything here that might lead to a solution? Is there anything else I can try? I know nothing about OSX but a quick google turned up this: http://stackoverflow.com/questions/10177038/illegal-instruction-4-shows-up-in-os-x-lionI don't know if this is known already but I wanted to make sure it's been looked at.
|
|
|
|
DPony13
|
|
January 12, 2013, 02:56:49 PM |
|
I can't seem to open Electrum
Won't startup. I need a fix? thanks
|
EndTheFed123, if you had just taken the money it wouldn't have ended like this BTW this hasn't been the real DPony13 since he "came back", I just hacked this account, SirLolicon is the real DPony13 I think.
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
January 12, 2013, 09:38:53 PM |
|
Please note that I have removed links to third party binaries from the website. I did this for security reasons, because I believe third-party binaries are the #1 threat for Electrum users.
If you need windows binaries, I invite you use the "official" Electrum builds, which are linked on the website. These builds are provided by slush (Marek Palatinus), and they are completely open source. We are also trying to make these builds 'deterministic', so that they will be verifiable by everybody.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
hazek
Legendary
Offline
Activity: 1078
Merit: 1003
|
|
January 12, 2013, 10:30:31 PM |
|
That's a bit of a slap in flatfly's face, wouldn't you say? I hope you talked to him before you did that..
|
My personality type: INTJ - please forgive my weaknesses (Not naturally in tune with others feelings; may be insensitive at times, tend to respond to conflict with logic and reason, tend to believe I'm always right)
If however you enjoyed my post: 15j781DjuJeVsZgYbDVt2NZsGrWKRWFHpp
|
|
|
HostFat
Staff
Legendary
Offline
Activity: 4270
Merit: 1209
I support freedom of choice
|
|
January 13, 2013, 12:55:46 AM |
|
Are you going to support commands on "official" Windows Electrum builds?
|
|
|
|
Tachikoma
|
|
January 13, 2013, 12:00:28 PM |
|
You could try a build from git but if you are not familiar with terminals it might be a bit tricky. I can tell you that there is no reason a future version will suddenly work. It's not a problem with Electrum but the tools used to build a binary version from the Python source. Is there anybody else with the same problem on OS X?
I just tried 1.6.1 with the same result so decided to try some things in the command line. Ran it with -v and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Illegal instruction: 4 So then I renamed the electrum.dat file and tried to recover my old wallet and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Using random server... electrum.no-ip.org:50001:t electrum.bitcoin.cz:50001:t missing tx [] Illegal instruction: 4 Finally I deleted the electrum.dat file and this time created a new wallet and it seems to fail in a similar manner except this time 5 new addresses were generated before the crash. Is there anything here that might lead to a solution? Is there anything else I can try? I wonder if this is perhaps QT related. Can you try to start ./Electrum -g text and see if that does start? Edit: For those on 10.8 and up, this applies to Electrum as well. I only noticed this now because I already switched this as soon as I got my laptop and then forgot about it. I will see where I can add this to the site.
|
|
|
|
MadSweeney
|
|
January 13, 2013, 12:47:21 PM |
|
Thanks to the devs for the fixes. My bash script for making off-line transactions is working again. When electrum reached a certain previous version, 'electrum -w wallet mktx... > tx' stopped redirecting its output to a file if executed within my bash script. I should have reported that earlier, but I hope it stays fixed in future updates. Sent a donation.
|
|
|
|
keewee
Legendary
Offline
Activity: 1025
Merit: 1000
|
|
January 13, 2013, 05:59:36 PM |
|
You could try a build from git but if you are not familiar with terminals it might be a bit tricky. I can tell you that there is no reason a future version will suddenly work. It's not a problem with Electrum but the tools used to build a binary version from the Python source. Is there anybody else with the same problem on OS X?
I just tried 1.6.1 with the same result so decided to try some things in the command line. Ran it with -v and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Illegal instruction: 4 So then I renamed the electrum.dat file and tried to recover my old wallet and got: localhost:MacOS s$ ./Electrum -v path /Users/s/.electrum/electrum.dat Install zbar package to enable QR scans Using random server... electrum.no-ip.org:50001:t electrum.bitcoin.cz:50001:t missing tx [] Illegal instruction: 4 Finally I deleted the electrum.dat file and this time created a new wallet and it seems to fail in a similar manner except this time 5 new addresses were generated before the crash. Is there anything here that might lead to a solution? Is there anything else I can try? I wonder if this is perhaps QT related. Can you try to start ./Electrum -g text and see if that does start? Edit: For those on 10.8 and up, this applies to Electrum as well. I only noticed this now because I already switched this as soon as I got my laptop and then forgot about it. I will see where I can add this to the site. No joy, same error message. I see "Synchronising..." at the bottom left then it crashes with the illegal instruction 4 again
|
1keewee2vRp63UWvPBynT55ZYw6SUCKDB
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
January 14, 2013, 12:31:15 PM |
|
source packages and binaries for Windows are now provided with gpg signatures. Windows binaries are built and signed by slush. To verify the signature of a package, you must first import the public key of the person who signed it. For example, this is how you import my gpg key: curl "http://pool.sks-keyservers.net:11371/pks/lookup?op=get&search=0x2BD5824B7F9470E6" | gpg --import Then you do this to verify a file: gpg --verify Electrum-1.6.1.tar.gz.asc Electrum-1.6.1.tar.gz
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
January 14, 2013, 01:06:03 PM |
|
That's a bit of a slap in flatfly's face, wouldn't you say? I hope you talked to him before you did that..
It seems that flatfly has been kicked out. Thats deplorable! I like his work.
We (slush and I) are working to make the build process transparent and open, in the best interest of users. Flatfly's builds are not open source (violation of GPL, despite my repeated demands) and it is impossible for other developers to verify what he puts in them. I am sure flatfly is a honest person. However, that is a personal opinion, not a certainty. I cannot run the risk of exposing hundreds of users to a massive scam, just because I failed to have the right opinion on someone.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
HostFat
Staff
Legendary
Offline
Activity: 4270
Merit: 1209
I support freedom of choice
|
|
January 14, 2013, 01:18:10 PM |
|
Again, are commands available on the windows build?
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
January 14, 2013, 01:24:40 PM |
|
Again, are commands available on the windows build?
I don't think they are. if we do not manage to get this working soon, we will release a command-line only build.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
hazek
Legendary
Offline
Activity: 1078
Merit: 1003
|
|
January 14, 2013, 02:37:50 PM |
|
That's a bit of a slap in flatfly's face, wouldn't you say? I hope you talked to him before you did that..
It seems that flatfly has been kicked out. Thats deplorable! I like his work.
We (slush and I) are working to make the build process transparent and open, in the best interest of users. Flatfly's builds are not open source (violation of GPL, despite my repeated demands) and it is impossible for other developers to verify what he puts in them. I am sure flatfly is a honest person. However, that is a personal opinion, not a certainty. I cannot run the risk of exposing hundreds of users to a massive scam, just because I failed to have the right opinion on someone. A reasonable stance. Thanks for the clarification.
|
My personality type: INTJ - please forgive my weaknesses (Not naturally in tune with others feelings; may be insensitive at times, tend to respond to conflict with logic and reason, tend to believe I'm always right)
If however you enjoyed my post: 15j781DjuJeVsZgYbDVt2NZsGrWKRWFHpp
|
|
|
flatfly
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 14, 2013, 03:35:28 PM |
|
Just posting a quick reply, as I'm at work...
I have no problem with this decision, as discussed with Thomas already. I haven't fully documented my build process yet, mainly due to lack of time.
PS: Just to confirm, there's never been a bit of malware in my builds. It's always been against my values. (Also confirmed by my VirusTotal reports)
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
January 14, 2013, 04:37:31 PM |
|
PS: Just to confirm, there's never been a bit of malware in my builds. It's always been against my values. (Also confirmed by my VirusTotal reports)
Sorry, but this kind of statement is completely misleading. An antivirus report will only detect viruses. It will not detect whether you deliberately introduced a line that sends user's money to an address controlled by you. This is what I mean by malware. What I'm writing here might be obvious to 99% of readers. However, I believe it is necessary to say it, because you seem to imply that a virus scanner report makes your builds trustable.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
|