Bitcoin Forum
April 24, 2024, 01:44:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic:    (Read 450 times)
abrkn (OP)
Full Member
***
Offline Offline

Activity: 232
Merit: 150



View Profile WWW
 
April 11, 2013, 11:12:57 AM
Last edit: March 15, 2015, 03:44:30 AM by abrkn
 #1

 

keybase.io/abrkn/key.asc
1713923074
Hero Member
*
Offline Offline

Posts: 1713923074

View Profile Personal Message (Offline)

Ignore
1713923074
Reply with quote  #2

1713923074
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1128


View Profile
April 11, 2013, 11:23:19 AM
 #2

As far as I'm aware virtually all exchanges have written their own Bitcoin implementations, at least to some extent. It's a complex task. If all you're doing is looking for payments to your addresses, you could try writing an app using bitcoinj instead which may be a higher performance way to get what you want (connect it to a bitcoind you control, obviously). You will also need to handle re-org events and other tricky things.
deeper-blue
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 11, 2013, 01:05:55 PM
 #3

The RPC interface certainly is not the fastest. There is a C++ blockchain parser that someone wrote that you could base your system on. If you want a really simple and quick solution that depends on a central server: use blockchain.info's api. It can be queried for all txs regarding a certain address.

On another node I wrote a python script to parse through all txs in all blocks, does some calculations and stores everything back into a database - it takes a while but works fast enough. The biggest hurdle for me was that I ran out of network sockets since somehow bitcoin-qt or my python rpc interface never closed them - so I had to tweak some parameters of linux network stack. Other than that look ups and writes to my database were much slower than the RPC interface.
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!