📜 ⬆️ ⬇️

Bitcoin blockchain parser (with source code)

The developer znort987 laid out on github the program blockparser - a fast parser on C ++ chains of blocks with Bitcoin transactions. As you know, in Bitcoin all transactions are published in the public domain from the moment the system was founded until today: these are 4.4 million addresses that BTC ever received, and 17.8 million addresses that sent BTC.

Each address is a hash of ripemd-160 from the user's public key (usually addresses are transferred to base58 format for convenience). For each transaction, you can use the new address.

The parser allows you to create all transactions for any address (<20 seconds), determine the addresses that probably belong to the same wallet (20 seconds), and even display a list of all existing addresses with a calculated balance for each (30 seconds). In general, a very useful utility.

Here are some results that the parser produces.
')
For example, the twenty “richest” Bitcoin addresses as of June 19, 2012 (hash160 format).

  28150.00000000 14c1ed72d09150b8e5f49d94d53070d2c1f1db36 29999.99000000 e6071c924e820f01ac64ed98ec739235e6a2f089 31000.00000000 12d5a845f2b212ce0c3bd65a4035881d9219090e 38000.00000000 4ff9d8d6614b1da5b3e46ef51c61a544626bf6e5 38057.08507373 a235c56e106baeeefc2b02bb82643179f89664f1 40000.00000000 06b7e90bb7a54137beb01c87119a3cd9061d7d52 40000.00000000 3a9a59b996775fbfec889caf30d58368fb368c0e 40000.00000000 0e1d5b7a760ddc32481d9cfc6062107624bac625 44511.44100000 73048525c8c4dda15cf0e9b648a795ef30371e00 44913.50856333 dff15b42ce923b6a9fbae4024600ac9c13dd0029 45000.00000000 f68212be6db427d4b30f01113920db0e9e457c8d 47457.46000000 6fbe1851f5d1de5477d147e93b3da5c0c98f4e8e 50000.00000000 f1c87a5e8ff7d14e74b858089bf771c94b1b6db4 50000.00000000 863ec44fbf7c9ed0819b52f275006b22ba781794 50129.66980000 2004f419e735115cb2a42cbc76f5b0a20c9698f8 53000.00000000 3d9e561f21d312f9b8b46e74169263e2452d5591 59258.88000000 89a37004da17f792487bcc26f853c7722c56fd91 79956.00100000 a0b0d60e5991578ed37cbda2b17d8b2ce23ab295 105555.00000000 582431b9e63d2394c8b224d1bc45d07ae95d2379 438824.90216295 8bf24a18a58ab500d30c73bf21dbf4703d31ad2c 

The current BTC rate is $ 6.50 for 1 BTC.

In the above forum, the author published a cluster of addresses for the wallet, to which the bitcoins were listed as a result of the well-known robbery of Linode.

Source: https://habr.com/ru/post/146388/


All Articles