Bitcoin Forum
April 26, 2024, 07:17:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RPC method listtransactions behavior in double spend attack scenario  (Read 618 times)
Defiance (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 27, 2012, 10:34:03 PM
 #1

RPC method listtransactions behavior in double spend attack scenario
I am developing code to process bitcoin payments for my upcoming business venture.  I am using the RPC method listtransactions - I've found some useful information about that method's behavior in a few other posts ; my thanks to those who provided that info.  What I haven't found is how this method will behave in a double spend attack scenario.  Suppose a transaction is created and it gets to 2 confirmations (the more complex attacks) before it is detected.  Once it is detected, I need to know whether:
1)  listtransactions continues to return the transaction, OR
2)  listtransactions stops returning the transaction

And if the answer is #1, will the confirmations count returned by the method decrease?  Or just never increase?  Or is the transaction marked some other way to indicate what has happened?

Many thanks,
Defiance
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!