4

I've created an application with bitcoinj that extracts all addresses which have been used out of the block chain files created by bitcoin-core.

I'm extracting the transactions only out of the blk*.dat files. Do these files really contain any transactions or are there further transaction in the rev*.dat files?

What does the rev*.dat files contain?

Pieter Wuille
  • 105,497
  • 9
  • 194
  • 308
eztam
  • 155
  • 5

1 Answers1

5

They are files to assist reversing additions to the blockchain, handling reorganisations. They essentially contain the references needed to quickly reverse a block being accepted and it’s changes being made to the nodes UTXO. It does not contain transactions.

Claris
  • 15,408
  • 2
  • 26
  • 43