Skip to main content
3 of 3
edited tags
Murch
  • 77.8k
  • 35
  • 190
  • 641

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 structures and a blockchain was an ArrayList of these String structures. But my question is, does it work like that in real blockchains? Are blockchains just ArrayLists or maybe they are stored in some files that are distributed among a P2P network?