Bitcoin Forum
May 27, 2024, 10:38:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: double spend attempt, client none the wiser  (Read 1057 times)
netrin (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


FirstBits: 168Bc


View Profile
July 05, 2011, 05:54:12 PM
 #1

Early last month, while trying to understand keys, wallets, security, and backup, I believe I inadvertently attempted to double spend. The client is not handling it gracefully (the UI displays two semi-duplicate transactions neither of which occurred and a zero balance even after thousands of blocks). While I am not entirely sure about the order of events, I believe the following steps might be correct:

I created a wallet (A), received coins, sent coins, closed client.

I copied wallet, rescanned with new copy (B), and sent the same coins to different addresses.

Now, when I open wallet A, I see a transaction sent to <blank> address with almost 7000 confirmations. In the new client I ALSO have a similar transaction sent to an address not known to the blockexplorer with the exact same June timestamp but with 0/unconfirmed.

While I would like to think the coins are still available to me, I believe they were actually sent (from the copied B wallet). I'll be happy to disclose the addresses in question to client developers (PM me) in order to improve the client transactional log.

--

But aside from this odd behavior, it highlights the need for more address transparency. I can not see to what address the transaction is sending (abnormal), nor can I see from which address the coins are coming (normal). In this case, I can guess at the sending addresses because I've received with a limited number of addresses. I do not know what addresses are 'hidden' in my wallet, and therefore do not know whether wallet A is a pure subset of B and can thus be deleted.

My personal feeling on the UX matter is to think of and display addresses as accounts and a wallet as a portfolio. I think the wallet metaphor creates confusion.

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
July 05, 2011, 07:25:14 PM
 #2

See http://forum.bitcoin.org/index.php?topic=5920.0

I do Bitcoin stuff.
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!