Author

Topic: Does listtransactions show all Transactions on the Bitcoin network? (Read 1300 times)

sr. member
Activity: 458
Merit: 250
From nothing to nothing
Traverse through block chain if you want to list all transactions.
legendary
Activity: 1120
Merit: 1000
Free & Fast Neotox Escrow http://bit.ly/1OGVykp
it show the transaction of your wallet not the transaction of whole network
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
in case you want to check a specific  transaction you can check them on block explorer
newbie
Activity: 20
Merit: 0
If you need all transactions since the beginning of time, just write a script to use the JSON RPC API to and call "get best block" then increment through the blocks from 1 to n (best block).  For each block grab the transactions.

This will result in a HUGE dataset.  Most people don't need all this historical data.  They either want a live feed of current transactions or a list of unspent transactions.
BitcoinJ has an implementation in their sample code that can get you the later and stuff it into a popular RDBMS for later querying.
No idea what to do about the live feed short of opening up a port and listening to the network.
full member
Activity: 149
Merit: 100
listtransactions shows only the transactions associated with your wallet.
If you are running a full node you already have all transactions on your harddisk, you just need a blockchain parser.
full member
Activity: 134
Merit: 100
If not, what is the best way to do it?
Jump to: