Bitcoin Forum
May 25, 2024, 05:56:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 »
261  Bitcoin / Electrum / Re: Electrum Offline Wallet not signing transaction on: August 01, 2014, 11:07:30 AM
Yes, I save the transaction to the removable media or at least I try to.  But I don't think it gets signed because usually the suggested name to be saved is "signed..." but the suggested name is still "unsigned..."  I hope that made sense.

When you load the unsigned transactions you see various input addresses. Are those input addresses present in your offline wallet? If they are not you should generate them:

https://bitcointalk.org/index.php?topic=344115.msg3690179#msg3690179


This issue was fixed a while back... you don't need to generate addresses.

ok! it's all good!

appears to have resolved itself on its own.

after several more attempts using, strangely enough, the exact same addresses it just worked all of a sudden.

no idea why. suddenly the offline wallet offered me the option of broadcasting or saving the transaction, as it should have initially.

I restarted the computer twice, god knows, maybe a second time helped.

anyway, thanks to anyone who scratched their head about it!

adrian

1.9.8 when in offline mode does not tell you when you input an incorrect password, and just sits there.

You probably were typing your password incorrectly, then today you suddenly typed it correctly.

(maybe you had CAPS lock on or some other reason why your password was incorrect)


The way you can tell if a transaction is properly signed is the box on the very top of the transaction window.

If it says "unknown" that means you are unsigned. Once it is signed, it will show your transaction ID in that box "676aced6720..." etc.

So unless you see the transaction id, that means you got your password wrong.



If you're on Linux, I suggest running Electrum from Terminal. Open up Terminal, type in "electrum" and hit enter. It will launch Electrum, and the Terminal will display hidden error messages. (The incorrect password notice will appear in the Terminal)
262  Bitcoin / Electrum / Re: Electrum Native Android version on: July 30, 2014, 12:18:49 AM
https://bitcointalk.org/index.php?topic=503830.0

I would assume they started early this year.
This post was up in March...
263  Bitcoin / Electrum / Re: Electrum Native Android version on: July 28, 2014, 04:49:06 PM
fyi there is a Kivy based Android Client that is officially being developed under the supervision of Thomas and his associates.


I'm all for competition... but look at the shiny!

https://www.flinto.com/p/2a99c7d8
264  Bitcoin / Electrum / Re: Is my paper wallet dependent on the electrum wallet and servers? on: July 28, 2014, 11:34:38 AM
https://bitcointalk.org/index.php?topic=612143.0

Here's a standalone python script.

Python already comes with hashlib... all you need is to install python-ecdsa and this script will work (replace the seed on the 10th or so line with your 12 word seed.
265  Bitcoin / Electrum / Re: Is my paper wallet dependent on the electrum wallet and servers? on: July 28, 2014, 11:23:06 AM
You can restore all your private keys from your seed without Electrum and import the keys individually into any client you wish.

All with the power of just math, and math alone...




of course... it's super complicated math... so you'll need a computer :-P
266  Bitcoin / Wallet software / Re: Which wallet will give me sound notifications? on: July 27, 2014, 10:12:49 AM
I could write three lines of code that would add sound notification to Electrum... but there's one HUGE caveat.

Electrum doesn't do well with +100 addresses.

The reason why is that most Electrum servers (all run by individuals on open source software) rate limit their servers. The "synchronizing" stage would most likely be seen as DOSing and you'll probably never get a server to give you the balances for all those addresses.

I would recommend finding someone with C programming experience to add sound notifications to bitcoind and then you can compile your own bitcoind (Bitcoin Core) and import the keys with a script. (remember to use the rescan=False option for every private key except for the last one you import)
267  Bitcoin / Wallet software / Re: Help with key imports and finding the best client on: July 27, 2014, 07:58:30 AM
For that number of addresses you really need a full-node client. (Armory or Core)

If you don't, then querying the lite-wallet servers will probably get you soft-banned from querying them (they'll view you as DOSing them)

I would use Core and write a script that will run the following RPC call for each private key
Code:
importprivkey <privatekey> "" False
(The private keys should be in WIF format and without the <> or any "" around them...)

The [ "" False ] part is a must. only remove that false (or change it to True) on the LAST private key you import...

If you don't, it will rescan the blockchain after every import and take a REAAAAALLLY long time, if it doesn't crash.




Maybe Armory has a better solution, but afaik bitcoind would be the best way to go.
268  Bitcoin / Electrum / Re: Electrum Walletnotify on: July 27, 2014, 07:44:53 AM
No, currently all queries for Electrum are pull-based.

you must query the Electrum server for information, it will not push-notify you.
269  Bitcoin / Electrum / Re: Electrum not using change addresses on: July 26, 2014, 04:26:05 AM
Thanks for the issue report on Github:

Everyone else follow the issue here:

https://github.com/spesmilo/electrum/issues/769
270  Bitcoin / Electrum / Re: Feature request: Don't show zero-balance change addresses on: July 26, 2014, 04:25:13 AM
Thanks for the issue report on Github:

Anyone else, please follow the discussion here

https://github.com/spesmilo/electrum/issues/768
271  Bitcoin / Electrum / Re: Feature request: Don't show zero-balance change addresses on: July 26, 2014, 02:51:37 AM
Change addresses should never be used by the user, only as change from another transaction, so there is no use in showing change addresses with no bitcoins in them.

Change addresses with a balance of zero should be hidden.

Make an issue on Github.

When you do, please be more specific on how you want it to work: ie. What happens if change addresses have a balance? what if they don't have a balance but they have a transaction history? etc.
272  Bitcoin / Electrum / Re: Electrum not using change addresses on: July 26, 2014, 02:42:11 AM
I found the bug. (err... more like a good-intention feature gone wrong)

https://github.com/spesmilo/electrum/blob/f92b483942d3f8ee51506e0436d9b524db33a336/lib/wallet.py#L1142

The change selection method checks the first input, and if account == -1 (aka if the input is from imported keys) then it sets the change address as the address of the first input.
As your first input was from an imported address, it will send the change to your first input's imported address.

https://github.com/spesmilo/electrum/blob/master/lib/wallet.py#L602

It looks like this is how it still works with the current development HEAD as well.


My two cents: I think changing

Code:
if not self.use_change or account == -1:

to

Code:
if not self.use_change:

would be a good fix... as even if the input is from an imported key, if the user has change enabled, it shouldn't matter.



I assume this feature was created with this idea in mind:  "If the user imports a paper wallet into Electrum, then uses Electrum to send, then deletes Electrum... we want to make sure their paper wallet still has the change."


Another way to prevent your issue would be to add a loop that continues to check inputs as long as the inputs are from imported keys... if it finds even one input from a non-imported address, it should assume the user would like to follow the self.use_change option (the option you have set in the preferences)

If you have Electrum installed (using an installer) or are building it from source. Make the change I mentioned in "My two cents"... the line I mention is Line 1142 in the /lib/wallet.py file
273  Bitcoin / Electrum / Re: Multi-signature plugin for Electrum - How much would it cost to develop? on: July 24, 2014, 04:35:25 PM
Don't mean to triple post, but looks like there is an app for HD wallets and multisig transaction signing. Currently runs on android, and on the play store: Onchain.io's transaction signer - https://github.com/onchain/onchain-android

Works a charm, and really hoping to see more like it!

Copay is also great and it has an Android version + desktop browser plugin version.
274  Bitcoin / Electrum / Re: How to install last Electrum version on Android? on: July 20, 2014, 05:11:43 PM
Oops, my mistake, https://pypi.python.org/pypi/ecdsa is a '(pure python) library', compilation not needed.
How i can install easy_install or pip to android?

At now, i do it by hand:
* https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz - simple copy ecdsa folder from zip file to /sdcard/com.googlecode.pythonforandroid/extras/python/ but i think it's not properly method
* https://pypi.python.org/pypi/pyasn1 - copy egg file to /sdcard/Download and install it ('Import Modules' button in 'Python for Android' application)
* https://pypi.python.org/pypi/pyasn1-modules - also install from egg
* https://pypi.python.org/packages/source/t/tlslite/tlslite-0.4.6.tar.gz - also manual copy tlslite folder from zip to extras

After it, e4a.py started well, but after wallet creation dialog (both method tested - 'create' and 'restore' from seed, via qr-code) i have got a error:
Code:
AttributeError: 'OldWallet' object has no attribute 'init_seed'
full log:
Code:
dlopen libpython2.6.soelectrum directory /sdcard/electrum/
wallet path /sdcard/electrum/wallets/default_wallet
blocks: -1
saving certificate for electrum.novit.ro
connected to electrum.novit.ro 50002
saving certificate for erbium.sytes.net
connected to erbium.sytes.net 50002
switching to electrum.novit.ro:50002:s
gui callback True
saving certificate for electrum.stepkrav.pw
saving certificate for bitcoin.epicinet.net
connected to electrum.stepkrav.pw 50002
connected to bitcoin.epicinet.net 50002
saving certificate for electrum.thwg.org
connected to electrum.thwg.org 50002
gui callback True
Requesting chunk: 0
saving certificate for h.1209k.com
connected to h.1209k.com 50002
saving certificate for cube.l0g.in
connected to cube.l0g.in 50002
Traceback (most recent call last):
  File "/storage/sdcard0/sl4a/scripts/e4a-1.9.8/e4a.py", line 201, in <module>
    gui = gui.ElectrumGui(config, network)
  File "/storage/sdcard0/sl4a/scripts/e4a-1.9.8/gui/android.py", line 904, in _
init__
    wallet.init_seed(None)
AttributeError: 'OldWallet' object has no attribute 'init_seed'

As i understand, this is a dev error, some refactoring is not completed, android.py has not been updated. (i compare some code with gtk.py, too much diffs)

p.s. https://github.com/spesmilo/electrum/issues/763

I replied in the issue. You must use 1.9.8 and NOT master head. Currently in the process of developing a Kivy based Android client, so the Android version is now abandoned until 2.0 comes out (and along with it, an official Play Store version for Android, using Kivy) Please use 1.9.8... which by the way, is actually on the download server, just the download page hasn't been updated.


Code:
e4a_install.py
import urllib, zipfile, os
p="http://download.electrum.org/download/e4a-198zip"
n="e4a-1.9.8"
nz=n+".zip"
urllib.urlretrieve(p,nz)
zipfile.ZipFile(nz).extractall()
os.rename(n,'scripts/'+n)

Use this script with the S4LA app instead of the QR on the download page.
275  Bitcoin / Wallet software / Re: Introducing Hive, a beautiful new wallet for Mac OS X on: July 20, 2014, 10:54:09 AM
Any plans/eta of porting bip 32/39 to android?

This +1
276  Bitcoin / Wallet software / Re: Introducing Hive, a beautiful new wallet for Mac OS X on: July 20, 2014, 10:47:12 AM
Will hiveJS ever have something like a username and password, or will it always be the 12 word phrase and pin?

I like the PIN, but not the 12 word phrase.

Just to add to the 12 word phrase. FYI this is known as BIP0039, and is used for generating seeds with over 128 bits - 256 bits of entropy. (You could utilize it for larger amounts, but 256 bits of entropy is a 24 word phrase, any longer would be hard to remember)

So the hive-js 12 word phrase is 128bits of entropy to create the seed. Plus it uses a key derivation algorithm to prevent (aka slow down) brute forcing.


User-name and password schemes require trust with the server of the service.

the 12 word phrase you have is nearly impossible to brute force, and you can use it on any device with hive-js.  In fact, the Android app Wallet32 uses the same algorithms, so you can input your 12 word phrase into it and use the exact same addresses as your hive-js wallet.

No server will ever store your private keys, they will only exist wherever you have placed the 12 word phrase. The 4-digit PIN is used to encrypt those words and save them on your device.
277  Bitcoin / Wallet software / Re: Deterministic Android wallets? on: July 20, 2014, 10:11:25 AM
https://play.google.com/store/apps/details?id=com.bonsai.wallet32&hl=en

It is open source, and allows for multiple "accounts" all under just one mnemonic phrase seed.

It's also open source, check it out on github.

https://github.com/ksedgwic/Wallet32
278  Bitcoin / Electrum / Re: How to install last Electrum version on Android? on: July 20, 2014, 09:50:21 AM
Certainly not, this package does not work on this android python installation.

Also, if I can compile python and all needed modules myself using arm gcc and root (but i can't), it does not give me a chance run any GUI applications. This is too complex problem to use this way.

6 months earlier, when I installed an older version (and another mobile version 2.x), everything worked well, I think that something has changed in the source electrum or I do not build it correctly under android

I just diffed my ecdsa folder on my android with the link I gave you, and there were maybe two methods added. Other than that, it is exactly the same as the ecdsa I am using on my Android for Electrum.
279  Bitcoin / Electrum / Re: Master Public Key and Addresses on: July 20, 2014, 09:36:04 AM
a guy on the forum told me that if by any chance someone finds out your Master Public Key and any of your public addresses PRIVATE KEYS he can know the Master Private keys of all the addresses created using that Master Public Key.

That was me, just making a correction on your post.

1 Master Public Key + 1 Private Key of any of the addresses generated by that private key = can calculate the Master Private Key (aka every single private key of the wallet)

https://bitcointalk.org/index.php?topic=657205.0

Here's the original post. It kind of explains how Electrum wallets work. So OP might want to read it.
280  Bitcoin / Electrum / Re: How to install last Electrum version on Android? on: July 19, 2014, 03:28:38 PM
https://pypi.python.org/pypi/ecdsa
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!