Bitcoin Forum
June 22, 2024, 11:55:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Tying labels to individual tx's rather than just addresses  (Read 534 times)
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
June 28, 2013, 04:58:50 AM
 #1

Although best practice is to always use a different address for every tx sometimes you might accidentally re-use an address or someone might send you another payment to a previous address (for another purpose) and using bitcoin-qt you currently can't label the tx itself (although it may *look* a bit that way in the UI).

Whilst it makes sense to label an address and to make that the "default" label for a tx involving the address when editing the "label" in the tx history I think it would better to have that label just apply to the tx and not to the address itself (technically a map from tx id to label rather than the current address to label).

Without this it becomes impossible to fix up labels when the same address was inadvertently used two (or more) times.

e.g.

tx1 to address 1addr... labelled "payment for item #1234"

now a tx2 comes into the same address (assume this was not done intentionally) - if we change the label in the tx to read "payment for item #2345" then now both this tx and the original tx show the same label description (as it is not keyed to the tx id but to the address itself).

Thoughts or suggestions?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
etotheipi
Legendary
*
expert
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 28, 2013, 06:21:51 AM
 #2

Armory does exactly this.  It implements "comments" individually for addresses and transactions.  On the main window, you have a list of transactions.  You can double-click them and individually set the comment for that transaction.  If there is no transaction comment (tied to the tx ID), then it displays the address comment instead.  You can modify the address comments in the wallet properties address list the same way.

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!)
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
June 28, 2013, 06:27:27 AM
 #3

Armory does exactly this.

Yup - seemed like the most logical way to do it - hopefully the same approach will be added to the Satoshi client as well down the track.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Pages: [1]
  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!