Bitcoin Forum

Bitcoin => Armory => Topic started by: Houseonfire on March 08, 2013, 07:07:08 PM



Title: Add address without sending or receiving coins from it.
Post by: Houseonfire on March 08, 2013, 07:07:08 PM
I would like to add addresses to my address list without having to send/receive coins from it.

Is this possible?
Am I missing something?


EDIT:
And by this, I mean I want in my list of people to send stuff to to be populated with the people I want to send stuff to without having to send anything in the first place.


Title: Re: Add address without sending or receiving coins from it.
Post by: etotheipi on March 08, 2013, 07:33:41 PM
I would like to add addresses to my address list without having to send/receive coins from it.

Is this possible?
Am I missing something?


EDIT:
And by this, I mean I want in my list of people to send stuff to to be populated with the people I want to send stuff to without having to send anything in the first place.

Unfortunately not.  There actually is no saved address book system ... it simply constructs your address book from your transaction history, meaning that address must have been used in a transaction anywhere.  One day, I will add proper address book support, but for now this solution is extremely simple and reliable, even if it's not very flexible...



Title: Re: Add address without sending or receiving coins from it.
Post by: Houseonfire on March 08, 2013, 07:43:20 PM
I would like to add addresses to my address list without having to send/receive coins from it.

Is this possible?
Am I missing something?


EDIT:
And by this, I mean I want in my list of people to send stuff to to be populated with the people I want to send stuff to without having to send anything in the first place.

Unfortunately not.  There actually is no saved address book system ... it simply constructs your address book from your transaction history, meaning that address must have been used in a transaction anywhere.  One day, I will add proper address book support, but for now this solution is extremely simple and reliable, even if it's not very flexible...



Thank you for getting back to me. I'm glad it came right from the developer and not someone else.

I've been learning python myself so i figure i'd tinker around and see what i can learn by editing/ doing stuff with your app...


Title: Re: Add address without sending or receiving coins from it.
Post by: etotheipi on March 08, 2013, 08:56:46 PM
I would like to add addresses to my address list without having to send/receive coins from it.

Is this possible?
Am I missing something?


EDIT:
And by this, I mean I want in my list of people to send stuff to to be populated with the people I want to send stuff to without having to send anything in the first place.

Unfortunately not.  There actually is no saved address book system ... it simply constructs your address book from your transaction history, meaning that address must have been used in a transaction anywhere.  One day, I will add proper address book support, but for now this solution is extremely simple and reliable, even if it's not very flexible...



Thank you for getting back to me. I'm glad it came right from the developer and not someone else.

I've been learning python myself so i figure i'd tinker around and see what i can learn by editing/ doing stuff with your app...


Jump right in!  Python is fun, and the code should be fairly well-commented (though organization could be improved).   Let me know if you have any questions about anything, I'm always happy to help people get interested in the code.

If you were to make modifications that do what you're looking for, let me know and I'll try to review them and find a way to integrate them...




Title: Re: Add address without sending or receiving coins from it.
Post by: Houseonfire on March 09, 2013, 03:04:28 AM
I would like to add addresses to my address list without having to send/receive coins from it.

Is this possible?
Am I missing something?


EDIT:
And by this, I mean I want in my list of people to send stuff to to be populated with the people I want to send stuff to without having to send anything in the first place.

Unfortunately not.  There actually is no saved address book system ... it simply constructs your address book from your transaction history, meaning that address must have been used in a transaction anywhere.  One day, I will add proper address book support, but for now this solution is extremely simple and reliable, even if it's not very flexible...



Thank you for getting back to me. I'm glad it came right from the developer and not someone else.

I've been learning python myself so i figure i'd tinker around and see what i can learn by editing/ doing stuff with your app...


Jump right in!  Python is fun, and the code should be fairly well-commented (though organization could be improved).   Let me know if you have any questions about anything, I'm always happy to help people get interested in the code.

If you were to make modifications that do what you're looking for, let me know and I'll try to review them and find a way to integrate them...






I wasn't sure sure why it would be too hard. There just needs to be a tab with a list in there, the list allows you to add the address/IDname. Then you click on the address/name and it opens up the send window and the listen item clicked is automatically placed into the send window.

I haven't even tried yet, but is that preposterous?


Or maybe even a simple config file with a simple format to put them in by hand?


Title: Re: Add address without sending or receiving coins from it.
Post by: etotheipi on March 09, 2013, 03:25:25 AM
Honestly, it's not hard at all -- but there is tremendous value in the simplicity of the current design.  Armory is a very large, complicated beast.  Any time I can come up with a solid solution that doesn't requiring maintaining/synchronizing new files to disk, and doesn't require any new interfaces, data entry, error checking, etc -- is better for me and less bugs for users.  Pulling all the data from the blockchain scan and organizing it into a table is pretty darned easy.

Most importantly, is that I get to avoid all issues with serialization/deserialization, and partially-written/corrupted files that crash Armory.  It works 99.99% of the time, but then I spend many hours chasing down bugs for users that ends up being a corrupted address book file, or a bug in the code that reads/writes the data incorrectly and corrupts other things, causes crashing, or just a cascade of buggy behavior.  In fact, I have had this happen with mempool.bin, and is actually why I added the "Revert All Settings" option.

On second thought, this could piggyback on the Armory wallet file itself.  Create a new entry type (http://bitcoinarmory.com/armory-wallet-files/) and create an interface for converting user data into the new entry type.  This is favorable, because the wallet files have some corruption resistence built into them, and it makes sense to put address-book data in there anyway.



Title: Re: Add address without sending or receiving coins from it.
Post by: Houseonfire on March 09, 2013, 03:41:35 AM
Honestly, it's not hard at all -- but there is tremendous value in the simplicity of the current design.  Armory is a very large, complicated beast.  Any time I can come up with a solid solution that doesn't requiring maintaining/synchronizing new files to disk, and doesn't require any new interfaces, data entry, error checking, etc -- is better for me and less bugs for users.  Pulling all the data from the blockchain scan and organizing it into a table is pretty darned easy.

Most importantly, is that I get to avoid all issues with serialization/deserialization, and partially-written/corrupted files that crash Armory.  It works 99.99% of the time, but then I spend many hours chasing down bugs for users that ends up being a corrupted address book file, or a bug in the code that reads/writes the data incorrectly and corrupts other things, causes crashing, or just a cascade of buggy behavior.  In fact, I have had this happen with mempool.bin, and is actually why I added the "Revert All Settings" tab.

On second thought, this could piggyback on the Armory wallet file itself.  Create a new entry type (http://bitcoinarmory.com/armory-wallet-files/) and create an interface for converting user data into the new entry type.  This is favorable, because the wallet files have some corruption resistence to them, and it makes sense to put address-book data in there anyway.



I understand what you're saying. More features = more problems.
But there are plenty of lists being populated already. Is populating a list of something like addresses/comments different than the others?
Eh, i'm sure I can test it out myself.