Linked Questions

0 votes
0 answers
34 views

Are all blocks stored in one file or is every block stored in an individual file? [duplicate]

I couldn't find an answer to that. So, are blocks stored in one or multiple files and in which file format?
user avatar
44 votes
1 answer
10k views

What do the different .dat files contain?

What data do different Bitcoin .dat files contain? How about the other files in the same folder? The wallet.dat file is somewhat documented and there are some ways to convert it to human-readable ...
ThePiachu's user avatar
  • 43k
4 votes
1 answer
1k views

mysql instead of leveldb for bitcoin core

Is it possible to use db other than leveldb for bitcoin core? I'd like to make queries on running node and make views with decoded data
Igor Barinov's user avatar
4 votes
2 answers
3k views

How to retrieve all transactions from bitcoind?

I am working on a project that need to parse all transactions from bitcoind. I have been using bitcoind which the option txindex=1 and pulling transactions using RPC call getRawTransaction. It work, ...
ematiu's user avatar
  • 223
4 votes
3 answers
1k views

Format of a block key's contents in bitcoind's LevelDB?

I am trying to use bitcoind's LevelDB block index files (that are stored in blocks/index) to find the file (e.g. blk00029.dat) and byte position of specfic blocks. Thanks to questions What is the ...
Arjen's user avatar
  • 143
1 vote
4 answers
2k views

How is data in a blockchain stored? Structure of block and blockchain

I'm trying to build a blockchain-based application and I have a problem with understanding some crucial issues. What exactly is a block? I mean, I've seen application where blocks were just String ...
mmaciek's user avatar
  • 13
3 votes
1 answer
2k views

Bitcoin blockchain search algorithm and consistency policy

The blockchain looks like a double linked list, and all the transactions are stored into each block. What kind of algorithm does bitcoin use to find a specific transaction efficiently, since the ...
Ting's user avatar
  • 31
1 vote
1 answer
1k views

View backed up wallet.dat using sqlite browser

I backed up my wallet.dat using the command as mentioned in the api ref: bitcoin-cli -rpcport=18332 -rpcuser=user -rpcpassword=password backupwallet "/bitcoin/backup.dat" I would like to ...
leo_cape's user avatar
2 votes
1 answer
438 views

Why is mempool deleted when restart bitcoind and how to keep it?

I'm using bitcoin core version 0.12.1 (To say precisely, I'm using addrindex patched bitcoin core by btcdrak) I expected that mempool was maintained after restart bitcoind but that was deleted. As ...
zono's user avatar
  • 1,915
0 votes
1 answer
1k views

What is current size of various databases in Bitcoin Core as of July 2014?

This question is related to question: What is the database for? What is size in MB of: blockchain itsef - blocks/blk*.dat blocks/index/* chainstate/* blocks/rev*.dat Is the size of chainstate and ...
Martin Husak's user avatar
2 votes
1 answer
1k views

File structure of wallet.dat

I have a corrupted wallet.dat that is unreadable by pywallet and db5.3-util. Having a look in the corrupted wallet in a hex editor, its easy to find the plaintext pubkeys. Is the structure of the dat ...
watermelon's user avatar
2 votes
1 answer
323 views

Manually checking for credited bitcoins

If I have the bitcoin address, the private key and a transaction ID from Bitcoin (regtest mode) in shell variables, what Python code do I need to run to claim the Bitcoins are indeed intended for this ...
cogitoergosum's user avatar
1 vote
0 answers
216 views

What type of database does Bitcore use?

What type of database does Bitcore use to store the blockchain data? I can't find information on it. Does it use leveldb?
Alphonse's user avatar
1 vote
0 answers
75 views

What is the format of the databases that are used in the core bitcoin client? [duplicate]

This question tells what each of the files in the bitcoin directory are, but it doesn't explain the structure of the databases used. What is the table structure (columns, data type, etc) for each of ...
morsecoder's user avatar