Bitcoin Forum
May 22, 2024, 10:41:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ⌛️How do I create a Dump file of the blockchain.  (Read 106 times)
WonderGateLeaks (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 11, 2022, 10:52:38 PM
 #1

I don't want to manually type every Block Address Hash PKscript , sigscript in a text file because it would take years and would need to be updated constantly.

⌛️How do I create a Dump File of the blockchain ?

I need all Blockchain data in text format is basically what I am saying and then I need to have that shown preferably in a gui program in which I can use Ctrl F to find specific transactions.

Creating a dump file will quickin the process on our project.

Thank you for replying,

Alice,
ZeroPointSpectra,
Madhatter
NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
November 12, 2022, 03:40:57 AM
Merited by WhyFhy (2)
 #2

This functionality seems to be only available in the CLI, so open a terminal and type bitcoin-cli dumpwallet <wallet name> . The output is going to be in pseudo-CSV format.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10576



View Profile
November 12, 2022, 05:44:40 AM
Merited by ABCbits (1)
 #3

I need all Blockchain data in text format is basically what I am saying and then I need to have that shown preferably in a gui program in which I can use Ctrl F to find specific transactions.
That is basically what block explorers do, they create a database from the blockchain data and index it in a way that you could search it. There are open source block explorer projects on github which you can find with a quick search.

This functionality seems to be only available in the CLI, so open a terminal and type bitcoin-cli dumpwallet <wallet name> . The output is going to be in pseudo-CSV format.
That would export the wallet file information not the blockchain data.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Offline Offline

Activity: 3318
Merit: 16677


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 12, 2022, 07:00:47 AM
 #4

⌛️How do I create a Dump File of the blockchain ?
Search for a "block parser", there are a few options available. Be careful which software you trust, I haven't tried any of them by myself.

Quote
I need all Blockchain data in text format is basically what I am saying
How about Bitcoin block data (728 GB): inputs, outputs and transactions? See the Samples in that topic to see if it's what you're looking for.

Quote
then I need to have that shown preferably in a gui program in which I can use Ctrl F to find specific transactions.
A GUI is terrible to load large data files, unless you mean putting it in a database first. I just use CLI grep to search, which is as fast as your hard drive can read it.

btc-room101
Member
**
Offline Offline

Activity: 182
Merit: 30


View Profile WWW
November 12, 2022, 11:19:35 PM
 #5

I don't want to manually type every Block Address Hash PKscript , sigscript in a text file because it would take years and would need to be updated constantly.

⌛️How do I create a Dump File of the blockchain ?

I need all Blockchain data in text format is basically what I am saying and then I need to have that shown preferably in a gui program in which I can use Ctrl F to find specific transactions.

Creating a dump file will quickin the process on our project.

Thank you for replying,

Alice,
ZeroPointSpectra,
Madhatter

The bitcoin blocks are just compressed dump of the block-chain;

Most of us just 'roll our own' python scripts to take the compressed binary from the blocks and convert into human readable hex;

There are 100's of block-parsers, but most are not maintained and fail, so they die at block 10010001, or some non-sense, that's why its best to write your own one page python script to generate hex;

Do you want to dump the entire 500gb blocks? Do you realize converting them to ascii hex will be 10's of terrabytes of human readable data and very hard to manage on computers??

Most of the time with our small python code we do stuff like

for all transactions in all blocks ..
find address of transaction, if value of transaction > 1000 satoshi then print address

The above two lines will generate 400M lines of text of hex addresses, which you can then feed into another algo;

If you post a request for an example of a small one page python routine to do the above I will post; Keep it Simple Stupid is the law of the land;

On github its common to see 10M code files of block-chain parsers that don't even run 10% of the blocks before they die

First step is to define what you want from the blocks, back in the day a common was to dump the 'pristine', e.g. dump all BTC addresses that were mined +50 BTC, but never spent, that's the kind of DUMP that people do in the real world; Once you have that list, then if your a hacker of BTC blockchain, you know what addresses to look for.

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!