Bitcoin Forum
November 07, 2024, 09:47:37 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ⌛️How do I create a Dump file of the blockchain.  (Read 123 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: 1778
Merit: 7365


Top Crypto Casino


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.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3626
Merit: 11010


Crypto Swap Exchange


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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17642


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.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
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!