Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
von-steinkirch committed Feb 1, 2024
1 parent 3980f0f commit 162ee80
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions blockchains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@
* settlement: finality and dispute resolution.
* consensus: agreement on transaction ordering.
* data availability: prove data was published to the network.

* in a blockchain, each block consists of two pieces:
* a block header: metadata for the block, which consists of some basic information about the block, including the Merkle root of txs.
* the transaction data: making up the majority of the block, and consisting of actual transactions.

* in general, a blockchain has two types of nodes:
* full nodes (fully validating nodes): they download and check that every tx in the blockchain is valid, and require lots of resources.
* light clients: they don't download or validate any tx, but instead thye only download the block header and assume that the block only contains valid txs (less secure). light clients can rely on full nodes sending them a fraud proof if a block contains a invalid tx.

* the data availability problem: in order to a full node to generate a fraud proof for a block, they need to know the tx data for that block. if a block producer just publishes the block header, but not the tx data, then full nodes won't be able to check if the txs are valid and generate fraud proofs.
- it's a requirement that block producers must publish all the data for the blocks, but this needs to be enforced.
- to solve this problem, there need to be a way for light clients to check that the tx data for a block was actually published to the network so full nodes can check it.




Expand Down

0 comments on commit 162ee80

Please sign in to comment.