Bitcoin Forum
June 24, 2024, 02:30:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blog post: Fast blockchain scanning  (Read 825 times)
crispweed (OP)
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 20, 2014, 01:11:05 PM
 #1

I just added a blog post about faster blockchain scanning through bitcoind RPC calls, by replacing gettransaction queries per transaction with getblock <blockhash> false and DIY block and transaction decoding.

The blog post is here:
http://upcoder.com/8/fast-blockchain-scanning/

Feedback welcome.

Thomas
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
June 20, 2014, 04:34:18 PM
 #2

Interesting, thanks!
kolinko
Full Member
***
Offline Offline

Activity: 518
Merit: 101



View Profile
June 23, 2014, 09:48:06 AM
 #3

This is something that we'll be needing soon. Thanks Cheesy
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
June 23, 2014, 05:35:05 PM
 #4

Well, if you query large chunks of raw data and process it yourself, no wonder that you get faster response times...

However in your example you end up with a raw encoded transaction, in the "obvious" case you have a nicely decoded transaction in JSON format... if I needed high speeds + python I'd rather use something like pynode or let Armory do the parsing for me, if I were just trying out stuff, the few GB or RAM or SSD space for the index are much cheaper than me writing a raw transaction decoder.

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
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!