Bitcoin Forum
May 25, 2024, 09:17:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Convenient way to follow a transaction chain?  (Read 703 times)
LordNacho (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
November 04, 2013, 02:26:33 PM
 #1

On blockchain.info it's possible to look at a random transaction and see where it came from and where it was spent. You can click back and forth until you find an unspent transaction at the end of the chain (or coinbase at the beginning). Unfortunately, the JSON call doesn't seem to return the same source/sink info as the web page (or am I wrong?)

I'm looking for a simple interface for doing this on BitcoinJ. At the moment, all I can think of is to scan future blocks for sequential transactions as inputs, but that doesn't seem very efficient, in time or storage space required. Perhaps there is a way using just the block headers this could be done?
LordNacho (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
November 05, 2013, 07:37:30 AM
 #2

Okay, so I've found a couple of solutions.

1) Parse the web pages of the explorer services.
2) Manipulate the Bloom filters in the newer versions of the protocol.
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!