Linked Questions

1
vote
0answers
68 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 ...
15
votes
1answer
7k views

How does Bitcoin read from/write to LevelDB

I know that Bitcoin Core uses LevelDB since 0.8 version. However, I couldn't find detailed explanation about how Bitcoin stores and retrieves from LevelDB. E.g. If B transaction uses an output from ...
4
votes
1answer
2k views

How get raw block data?

I can use getblock json rpc method to get parsed block, but I need raw data. Is there any way to get raw block data using bitcoin core?
6
votes
1answer
2k views

How block explorer technology works?

If you click on random wallet at block explorer you get an instant info of all the transactions, balance etc etc. My question is, how their technology works exactly? Do they transform blk????.dat ...
6
votes
1answer
1k views

Where can I query the UTXO database?

Currently there are 35 million unspent transaction outputs. Is there a site somewhere where I can query this data to see, for instance, how many UTXO's exist with a value less than 20,000 satoshis? Or ...
4
votes
2answers
811 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 ...
4
votes
1answer
2k views

How can I read chainstate database?

1) What is the format of the LevelDB databases stored in the database directory? I know there are some custom blockchain parsing libraries, such as this one, but I'm wondering if I can just do a read ...
3
votes
1answer
744 views

Trying to understand how bitcore-node stores the data in the DB

I'm looking into the data and source of bitcore-node ( http://bitcore.io/ ), I'm a bit confused how all the information is stored in the database, probably it's in a similar way to others block ...
1
vote
2answers
518 views

How is blockchain stored on disk?

Hi how is blockchain actually stored on disk? I noticed bitcoin uses key store database level DB but what is the structure? https://github.com/bitcoin-core/leveldb-old/blob/bitcoin-fork/doc/...
1
vote
1answer
363 views

How can I extract the values of all UTXO for a specific section of the blockchain?

I'm working on some statistics concerning the distribution of the UTXO set. I'm especially interested in the values of the UTXO, and would perhaps like to limit extraction to certain sections of the ...
1
vote
1answer
420 views

Bitcoin block index synchronization

What is the work done by the bitcoin core client during the initialization process? Is the block index created locally or downloaded at other partner nodes?
1
vote
1answer
231 views

Bitcoin resistance against forged slow chain

I'm implementing a new protocol with a custom blockchain, and I'm trying to figure out what is the correct way to deal with the "slow chain" problem. In the Bitcoin protocol, nodes constantly gossip ...
1
vote
1answer
220 views

How exactly do I decode the block file info in leveldb?

Base on the links https://github.com/bitcoin/bitcoin/blob/fcbc8bfa6d10cac4f16699d6e6e68fb6eb98acd0/src/main.h#L392 and What are the keys used in the blockchain levelDB (ie what are the key:value ...
0
votes
1answer
206 views

Python - Querying bitcoin's block header using leveldb

I am facing a stupid problem. I am trying to read bitcoin/blocks/index leveldb using plyvel. I've set up a regtest and i know there is a block with the hash : ...
0
votes
1answer
143 views

SPV clients querying the full node

Is there a way currently where an SPV client can send a TxID to a full node which is present in the UTXO set of the full node and have the full node not scan its entire blockchain to fetch the ...

15 30 50 per page