Bitcoin Forum

Bitcoin => Armory => Topic started by: bcbrad on May 10, 2014, 08:47:15 PM



Title: Bulk Generate Addresses on Offline Armory Instance
Post by: bcbrad on May 10, 2014, 08:47:15 PM
I have an online/offline Armory setup.  I've just restored my wallet to the offline PC, so it has no addresses listed yet.  I'd like to now receive bitcoins to a new address.  For security purposes, I am considering the online machine untrusted, and I don't want to necessarily trust that the addresses it displays actually belong to me.  So instead I want to get a new address from the offline PC.  Assuming I've used 50 addresses in this wallet so far, how do I obtain the 51st address from my offline wallet?  Do I just have to keep pushing the Receive Bitcoins button until I get there?  Surely there must be a way to bulk generate?


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: goatpig on May 11, 2014, 02:12:47 AM
Start Armory in expert mode and click the number next to "Addresses Used" in the wallet's property window.


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: bcbrad on May 11, 2014, 02:27:06 AM
Start Armory in expert mode and click the number next to "Addresses Used" in the wallet's property window.

Thanks.  It seems that allows you to compute more addresses, but I'm still not sure how to display them.  How do I get to the 51st address without clicking "Receive Bitcoins" 50 times?


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: goatpig on May 11, 2014, 04:47:29 AM
Try "Backup This Wallet" -> "Export Key List"


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: bcbrad on May 11, 2014, 07:37:28 PM
Ahh that works as long as you check the box to show unused addresses!  Thanks!

I'd really like a way to indicate to the offline client how many addresses to show in the main interface.  Since the addresses are all generated and available, this doesn't seem to be a difficult proposition.


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: etotheipi on May 11, 2014, 09:13:55 PM
Ahh that works as long as you check the box to show unused addresses!  Thanks!

I'd really like a way to indicate to the offline client how many addresses to show in the main interface.  Since the addresses are all generated and available, this doesn't seem to be a difficult proposition.

The offline computer automatically keeps a lookahead of 100 addresses (you just don't see it).  Everytime you sign for a transaction, it's going to re-extend the key-pool to keep 100 addresses lookahead.  So if you have used 2 addresses, the offline computer has the first 102 addresses computed.  If you sign a tx for addr 51, it will computer the next 49 addresses so it is "tracking" the first 151 addresses.  As long as there are no gaps more than 100 addresses (I might have upped it recently to 1,000), then you will have no problems.  And if you do experience any issues, you can just use the expert interface to generate the extra addresses.


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: bcbrad on May 11, 2014, 10:58:16 PM
My problem is not with computing addresses.  It's accessing new ones easily.  It's common for me to receive bitcoin in several different new addresses before I conduct a spending transaction.  I'd just like a way to be able to easily see my new receive address on the offline computer since that's the only device I can unequivocally trust.


Title: Re: Bulk Generate Addresses on Offline Armory Instance
Post by: etotheipi on May 11, 2014, 11:02:20 PM
My problem is not with computing addresses.  It's accessing new ones easily.  It's common for me to receive bitcoin in several different new addresses before I conduct a spending transaction.  I'd just like a way to be able to easily see my new receive address on the offline computer since that's the only device I can unequivocally trust.

Well then just do what goatpig suggested:  make sure to generate a ton of addresses as described, then open the Backup Wallet -> Export Key List window.  They should even be numbered (as long as you select to show chain index).   Let me know if that doesn't satisfy your needs (besides the convenience factor)