Bitcoin Forum
December 14, 2024, 10:51:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Proposal for new txid - internal use only.  (Read 579 times)
mb300sd (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000

Drunk Posts


View Profile WWW
February 10, 2014, 05:07:32 PM
 #1

Seems like we only need a new form of txid that can be used to make sure that a previously issued transaction made it into the blockchain. I propose:

sha256([prevout,vout],...,[address,amount],...)

It identifies the tx based on the unique set of inputs and outputs.

Normal clients have no need to implement this, only services issuing automated transactions. Just log the normal txid given to the client, and the new unique txid. If a transaction matching the unique txid is in the blockchain, deny duplicate withdrawal.

The proposed BIP (https://gist.github.com/sipa/8907691) seems a little far reaching and hard to implement. Any malleability that would require access to the private key is a non-issue.

1D7FJWRzeKa4SLmTznd3JpeNU13L1ErEco
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!