Bitcoin Forum
June 14, 2024, 05:02:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: monitor all transactions  (Read 793 times)
MrKain (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
May 31, 2013, 07:51:15 AM
 #1


 Hi,

 Will calling 'listtransactions '*'' list the last transactions by accounts on my
server -

 Is there a way to view all transactions on the bitcoin network - rather than
just my users ?

QuinnHarris
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
June 01, 2013, 08:10:33 PM
 #2

You can use getrawmempool to get a list of all the transactions in the memory pool which should be everything the node knows about that is not in a block in the current chain.  getrawtransaction will then give you the unparsed transaction data.

If you want to process all new transactions immediately you will probably need something that connects as a peer into the network (a node you trust) to get broadcasted transactions and new blocks.  Clients like Armory do this now.  There might already be some code around to do this depending on the language you are using.

I think bitcoind needs an interface to request transactions and notifications of specified addresses or with specific outputs.  Do you actually need every transaction or just all transactions associated with some set of addresses?
CoinBomb
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile WWW
June 01, 2013, 08:17:45 PM
 #3

Bitcoind 0.8.2 has a -walletnotify argument, whenever a balance affecting transaction triggers, it sends the tx hash to an external script.

Promote our site for no risk BTC / LTC profit! 1% gross profit, LTC/BTC payments weekly. Click through for more details.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
June 01, 2013, 08:47:49 PM
 #4

Bitcoind 0.8.2 has a -walletnotify argument, whenever a balance affecting transaction triggers, it sends the tx hash to an external script.
keep in mind it only triggers when a transaction affects the wallet. this will not list other user's transactions. only transactions related to addresses you own will trigger.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
CoinBomb
Full Member
***
Offline Offline

Activity: 179
Merit: 100



View Profile WWW
June 02, 2013, 07:42:02 AM
 #5

Oops, my fault, didn't read the original question properly! Sorry

Promote our site for no risk BTC / LTC profit! 1% gross profit, LTC/BTC payments weekly. Click through for more details.
Brunt, FCA
Member
**
Offline Offline

Activity: 68
Merit: 10



View Profile
June 03, 2013, 02:20:52 PM
 #6

This Python program works great.
https://bitcointalk.org/index.php?topic=102740.0
You can use it to monitor the blockchain, and have fun watching how much people are spending, in real time.
It also tells you when a new block has been mined.
Is this what the OP was after?
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!