Bitcoin Forum
November 16, 2024, 10:30:43 AM *
News: Latest Bitcoin Core release: 28.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 82 83 84 85 86 87 88 89 90 91 92 93 94 ... 231 »
  Print  
Author Topic: Armory - Discussion Thread  (Read 521838 times)
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 16, 2012, 10:17:44 PM
 #861


... However, please consider the electrum-way of doing this (random seed, mnemonic phrase to memorize).


I actually really like the electrum-way for making seeds memorable.  It's a really slick technique.  But the current wallet design in Armory requires 512 bits of data to recover the wallet.  Electrum uses 128 bits, which takes 12 words to represent.  If I were to leech the idea right now, the user would be memorizing 50 words!

However, after beta when I get the new wallet format implemented, I'll probably be dropping to 160-bit wallet seeds, which would be about 15 words.  That's do-able.


cool! looking forward to that. Maybe you could even use the electrum wordlist? that way, I could just use my electrum sentence (adding 3 more words) which I already remembered (or course giving me a different set of addresses).

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 17, 2012, 12:14:22 AM
Last edit: June 17, 2012, 12:17:36 PM by etotheipi
 #862


Armory Version 0.79.99 -- Initial Testing release


I didn't have time to compile for all architectures -- but I got 64-bit windows and 64-bit-Linux compiled (with an attempt at static compiling python, so it may actually work on any 64-bit linux...)  I have tested most of the features in both Windows and Linux, and there's no hint of a problem with anything.  This is mainly due to the fact that everything I changed in the C++ code was transparent to the UI-layer:  I hardly had to change any python code to get it to work!  This is very satisfying.


Windows 64-bit installer:
   Load Time:  Slower!  My VM is loading in 80 seconds.  Yes, that is unacceptable, and will be adding between-load memory so it only does it the first time.
   RAM Usage:  700 MB -- this time that RAM usage is a hard-number:  it's not going to scale with programs opening and closing.  On the upside, it should be no more than 200 MB, and I just have to find out where I'm allocating memory and not cleaning it up (luckily, there does not appear to be a time-dependent memory leak).



Linux 64-bit installer: armory_0.79.99-python2.6-1_amd64.deb:
   Load Time:  About the same -- my desktop is loading in about 25 seconds.  
   RAM Usage:  700 MB -- see above



Some other comments about what to expect:

(1) There's no reason this won't work in Windows 32-bit, I just have to get it compiling and built, there.

(2)  This version isn't going to look a lot different.  In fact, it's not supposed to.  But it's got entirely new architecture under-the-hood for blockchain scanning, which I have actually tested and maintains consistent data through a blockchain-file-split.  Previous versions will stop working when that happens... in about 2 weeks.

(3) If you are on 64-bit linux and normally use the python2.7 version, please try installing and running this version using the
Code:
dpkg -i --force-depends armory_0.79.99*.deb
The static compiling went way too smoothly, which suggests maybe I didn't actually do it right...  Please let me know if it works!

(4) I think that the unconfirmed balances are fixed.  They definitely had an error before (counting change-to-self as unconfirmed).

A few minor tweaks here and there, but it should work the same at 0.77.

Please help test!  Testing really just means, install it and use it like you would the previous version, and let me know if there's any strange/undersirable behavior, and/or any crashes!

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 17, 2012, 08:34:36 AM
 #863

I would like to test 0.79.99

Is there a git-branch corresponding to that or can the source be had some other way? I'd like to compile myself.

newest master says:

Quote
armoryengine.py:BTCARMORY_VERSION    = (0, 77, 0, 0)  # (Major, Minor, Minor++, even-more-minor)

I'm having a problem (this is on a NFS volume):

Quote
/home/nick/.bitcoin/blk0001.dat is 1728.69 MB
***ERROR: mmap'ing file failed, despite exist w/ read access.
Segmentation fault

Is this potentially fixed in the just-released version?

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 17, 2012, 08:38:28 AM
 #864

So I'm testing my multi-address brainwallet further (got a large part of my savings on 3 of the addresses and 5 BTC for testing on one of them).

Now the goal is to move the 5 BTC (complete amount of that one address). I figured I could do the following:

  • 1) create a new wallet with ONLY this one address in it
  • 2) create a transaction that moves all the funds (5 BTC) from that address
  • 3) sign it offline and broadcast

it fails at step 1 because armory doesn't allow me to add an address to a wallet, only a private key (which I can't do on the online machine).

So I would have to use the offline machine, make a new wallet there with only that one private key, make a watch-only copy and use that?

Would it be possible to add a feature "add address to wallet" to make this a little easier?

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
unclescrooge
aka Raphy
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
June 17, 2012, 11:03:19 AM
 #865

Hello etotheipi,

The linux for the linux version 0.79.99 seems broken, can you please fix it?

Thank you
Raphy
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 17, 2012, 11:24:19 AM
 #866

Hello etotheipi,

The linux for the linux version 0.79.99 seems broken, can you please fix it?

Thank you
Raphy

I think you will have to be more specific.

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
interlagos
Hero Member
*****
Offline Offline

Activity: 496
Merit: 500


View Profile
June 17, 2012, 11:30:04 AM
 #867

So I just destroyed 10 BTC (by my own stupidity). This is what I did:

on a offline machine, I generated 10 private keys using a brainwallet scheme, importet them into a fresh armory wallet and put the addresses and a watch-only version of the wallet onto a usb stick.

I then sent 20 BTC to one of the addresses using an online machine.

Then I constructed a transaction using the watch-only wallet that would send 10 BTC to an external address, signed it using the offline machine and deleted the wallet on the offline machine (I wanted to test losing the machine)! I wrongly figured I'd be safe, because I could always regenerate the private keys using my brainwallet scheme. Stupid, stupid, stupid.

I totally didn't think of the fact that armory would send the 10 BTC change to a newly generated address. In fact, I didn't think of the 10 BTC change at all at that point... so I fucked up and the 10 is gone. Well, lesson learned.

I'd really like to use a brainwallet scheme that doesn't require me to safekeep anything physical (assuming I'm magically transported to some other location, totally naked, and I want my coins)

Is it possible to have armory send the change to one of the existing imported addresses instead of to a newly generated one? Maybe a special wallet type could be made up (imported addresses only)?


Just use send-multi to spend the whole balance of that imported address. One output will be your desired destination address, another output will be your desired change address.
If you can forget to use send-multi from your brain wallet address, then you can equally forget to mark checkbox somewhere to use imported addresses only.

EDIT: in UI send-multi is probably called something like "Add another recipient"
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 17, 2012, 11:32:37 AM
 #868

So I just destroyed 10 BTC (by my own stupidity). This is what I did:

on a offline machine, I generated 10 private keys using a brainwallet scheme, importet them into a fresh armory wallet and put the addresses and a watch-only version of the wallet onto a usb stick.

I then sent 20 BTC to one of the addresses using an online machine.

Then I constructed a transaction using the watch-only wallet that would send 10 BTC to an external address, signed it using the offline machine and deleted the wallet on the offline machine (I wanted to test losing the machine)! I wrongly figured I'd be safe, because I could always regenerate the private keys using my brainwallet scheme. Stupid, stupid, stupid.

I totally didn't think of the fact that armory would send the 10 BTC change to a newly generated address. In fact, I didn't think of the 10 BTC change at all at that point... so I fucked up and the 10 is gone. Well, lesson learned.

I'd really like to use a brainwallet scheme that doesn't require me to safekeep anything physical (assuming I'm magically transported to some other location, totally naked, and I want my coins)

Is it possible to have armory send the change to one of the existing imported addresses instead of to a newly generated one? Maybe a special wallet type could be made up (imported addresses only)?


Just use send-multi to spend the whole balance of that imported address. One output will be your desired destination address, another output will be your desired change address.
If you can forget to use send-multi from your brain wallet address, then you can equally forget to mark checkbox somewhere to use imported addresses only.

send-multi...? will this work? How to select the source address?

forget checkbox: the "use imported addresses only" checkbox I have to set exactly once when I construct the wallet.

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
unclescrooge
aka Raphy
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
June 17, 2012, 11:35:11 AM
 #869

Hello etotheipi,

The linux for the linux version 0.79.99 seems broken, can you please fix it?

Thank you
Raphy

I think you will have to be more specific.

Sorry, I meant, the link to download the linux version seems broken Cheesy

Typo, my bad Smiley
interlagos
Hero Member
*****
Offline Offline

Activity: 496
Merit: 500


View Profile
June 17, 2012, 11:38:09 AM
Last edit: June 17, 2012, 12:01:36 PM by interlagos
 #870

Just use send-multi to spend the whole balance of that imported address. One output will be your desired destination address, another output will be your desired change address.
If you can forget to use send-multi from your brain wallet address, then you can equally forget to mark checkbox somewhere to use imported addresses only.

send-multi...? will this work? How to select the source address?

forget checkbox: the "use imported addresses only" checkbox I have to set exactly once when I construct the wallet.


It works!
Create new armory wallet with just one imported address from your brain.
That will be your source address as there aren't any others.
When sending coins, add desired destination address first,
then "add another recipient" and choose your second brain address as a change.

EDIT: by the way, according to devs, you can even use your original source address as your change address that way, but I haven't tried it.

EDIT2: the only drawback of send-multi is that you have to manually calculate the change balance so that the whole source is spent, but that's hardly an obstacle.

EDIT3: from network perspective a regular transaction with change is a send-multi with two outputs, the only difference is that client forms it implicitly, but you can always make it explicit.
Also if you need to send more coins than one particular address has, then import several addresses with enough balance and use the same send-multi to spend the whole balance of that wallet.
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 17, 2012, 12:23:20 PM
 #871

Hello etotheipi,

The linux for the linux version 0.79.99 seems broken, can you please fix it?

Thank you
Raphy

I don't know why dropbox does that!  I removed and re-added the file and it works now.  Sorry about that!


Just use send-multi to spend the whole balance of that imported address. One output will be your desired destination address, another output will be your desired change address.
If you can forget to use send-multi from your brain wallet address, then you can equally forget to mark checkbox somewhere to use imported addresses only.

EDIT: in UI send-multi is probably called something like "Add another recipient"

Yes, this does work.  And I will be adding a "MAX" button that will fill in the maximum remaining amount (total balance minus values you've already plugged in for other recipients and fee).  It means you're moving your entire balance every time, but it doesn't actually make any difference (unless you care about the age of your coins).  In fact, it's probably better as it would always keep all your savings in a single address... 

I know that doesn't solve molec's problem, but it's something that always bothered me about other programs, that should be plenty easy to add.

Also, you could just make a paper backup of the offline wallet Smiley  



Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
unclescrooge
aka Raphy
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
June 17, 2012, 12:38:42 PM
 #872

Thanks, I wil test it Smiley
interlagos
Hero Member
*****
Offline Offline

Activity: 496
Merit: 500


View Profile
June 17, 2012, 12:41:01 PM
 #873

... I will be adding a "MAX" button that will fill in the maximum remaining amount (total balance minus values you've already plugged in for other recipients and fee) ...

Great idea!
This will simplify management of imported brain addresses one step further.
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 17, 2012, 11:02:35 PM
 #874

Hello etotheipi,

The linux for the linux version 0.79.99 seems broken, can you please fix it?

Thank you
Raphy

I don't know why dropbox does that!  I removed and re-added the file and it works now.  Sorry about that!


Just use send-multi to spend the whole balance of that imported address. One output will be your desired destination address, another output will be your desired change address.
If you can forget to use send-multi from your brain wallet address, then you can equally forget to mark checkbox somewhere to use imported addresses only.

EDIT: in UI send-multi is probably called something like "Add another recipient"

Yes, this does work.  And I will be adding a "MAX" button that will fill in the maximum remaining amount (total balance minus values you've already plugged in for other recipients and fee).  It means you're moving your entire balance every time, but it doesn't actually make any difference (unless you care about the age of your coins).  In fact, it's probably better as it would always keep all your savings in a single address... 

I know that doesn't solve molec's problem, but it's something that always bothered me about other programs, that should be plenty easy to add.

Also, you could just make a paper backup of the offline wallet Smiley  


oh yeah, I did that now Wink

interlagos: thanks for the send-multi "trick", that's pretty cool.

I switched over to using a wholly different method now: I'm now using the strongcoin offline javascript stuff (slightly modded to add brainwallet sha256 calculation, so I don't even have to do that in the shell) to generate and sign a transaction (sending complete amount of one of the addresses) and inject that using http://bitsend.rowit.co.uk/.

I kindof like this method for it's simplicity and down-to-earthness.

I still use armory to view my little wealth in the watch-only wallet.

I just sent all my savings to my brain. It feels weird, but I feel very confident that I will be able to access it safely and that it wont get stolen.

thanks, guys for helping me with this not-so-easy (it does take balls to a certain extent and I was really nervous at times) process of moving my savings to a brainwallet.

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 17, 2012, 11:50:49 PM
Last edit: June 18, 2012, 12:31:18 AM by etotheipi
 #875

Armory works on Windows XP 32-bit!  Hell yeah!

That is all.  (32-bit .msi files coming soon)

EDIT:  Except I just noticed loading is slow as molasses...  3 min on my WinXP VM!  why does Windows hate me?

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
June 18, 2012, 01:16:46 AM
 #876

Armory works on Windows XP 32-bit!  Hell yeah!

That is all.  (32-bit .msi files coming soon)

EDIT:  Except I just noticed loading is slow as molasses...  3 min on my WinXP VM!  why does Windows hate me?

when will beta 0.8 come out?
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 18, 2012, 01:57:11 AM
 #877

Given that testing is going so smoothly, hopefully I'll have something to release this week!

I have a bunch of little things to do, but none of it will be major functionality -- mainly a "Help-->About" window, adding a couple buttons, cleaning up some dialogs, and some other general polishing.  And I need some time for folks to get back to me with any bugs/complaints.

I also want to spend some time developing user-documentation.  I expect a flurry of new users once Armory gets the official "Beta" tag, and thus I should be a little more prepared for that.  I don't want to delay the release just for that, but I also don't want to be unprepared for the new users.

Any last-minute requests for minor additions/improvements?  On my list I have: 

Help-->About window
Help-->Help link to webpage
Memory-pool-corruption prevention
Adding a "MAX" button
Labeling addresses in your wallets that were created for change
Fixing stretching/resizing of a couple windows
Update intro dialog and splash screen to match current capabilities (like warning about 3 min load times on XP!)









Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Gladamas
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


Bitcoin today is what the internet was in 1998.


View Profile
June 18, 2012, 02:38:53 AM
 #878

The current Armory version cannot parse transactions with inputs directly from mined coins. Maybe you could add that functionality? (For P2Pool payouts, etc.)

Also, like other users have said, it would be very useful to choose which coins you use for inputs to a transaction.

1GLADMZ5tL4HkS6BAWPfJLeZJCDHAd9Fr3 - LQ6Zx8v7fHVBiDX5Lmhbp6oEDB7dUFjANu
GPG 0xF219D5BB3C467E12 - Litecoin Forum
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 18, 2012, 03:14:51 AM
 #879

The current Armory version cannot parse transactions with inputs directly from mined coins. Maybe you could add that functionality? (For P2Pool payouts, etc.)

Also, like other users have said, it would be very useful to choose which coins you use for inputs to a transaction.

I actually took the time to fix the coinbase transactions, a long time ago.  But it seems that I re-broke it since then... and I've been too busy to investigate it.  I guess now is a good time to do it!  However, some unusual behaviors (mainly with unconfirmed balance) was fixed in 0.79.99.  Maybe that too?  Have you tested it with that version?  Either way, I'll go hunt down an address that is used to receive P2Pool coinbases and check it out.

Adding a coin-control feature won't be too difficult, but it affects transaction creation and sending, so I don't want to rush it.  I want time to be really careful, and give myself lots of time to play with it and test it, so it won't go into Beta.  But it will be one of the first things I add after Beta.


Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
June 18, 2012, 04:30:40 AM
 #880

What branch should I checkout? blkchainagain? It looks like master is still .77

I am looking at line 29 of cppForSwig/Makefile, and it has "libpython2.6.a" in it.  Is this how you meant to do it? shouldn't this be dynamic based on the installed version or something?

When I run "make swig", it (expectedly) errors out with:
Code:
g++ -shared -lpthread  UniversalTimer.o BinaryData.o FileDataPtr.o BtcUtils.o BlockObj.o BlockUtils.o EncryptionUtils.o libcryptopp.a libpython2.6.a CppBlockUtils_wrap.o -o ../_CppBlockUtils.so
i686-apple-darwin11-llvm-g++-4.2: libpython2.6.a: No such file or directory
make: *** [swig] Error 1

I do have libpython2.7.a in "/usr/local/lib/python2.7/config/libpython2.7.a"  What is the proper way to put that in the Makefile?

Also, it would be really nice if the dependency directory was easy to change.  Something like a variable at the top of the file just like in the Satoshi client Makefile.  I'm always having to edit the Armory Makefile to change the paths to "/usr/local/include" for my Mac.

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 82 83 84 85 86 87 88 89 90 91 92 93 94 ... 231 »
  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!