Linked Questions

2
votes
2answers
2k 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, ...
4
votes
1answer
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
4
votes
2answers
972 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 ...
3
votes
1answer
1k 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 ...
1
vote
4answers
623 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 ...
0
votes
1answer
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 ...
1
vote
1answer
338 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 ...
2
votes
1answer
270 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 ...
2
votes
1answer
213 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 ...
1
vote
0answers
206 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?
1
vote
1answer
140 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 ...
1
vote
0answers
72 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 ...