Skip to content

Commit 276aac9

Browse files
authored
Update index.md
1 parent ba2c953 commit 276aac9

File tree

1 file changed

+12
-9
lines changed
  • public/content/developers/docs/data-availability/blockchain-data-storage-strategies

1 file changed

+12
-9
lines changed

public/content/developers/docs/data-availability/blockchain-data-storage-strategies/index.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,28 @@ There are multiple ways to store information either directly on the blockchain,
1515

1616
The choice of which method to use is based on several criteria:
1717

18-
- The source of the information. Information in calldata cannot come from the blockchain itself.
19-
- The destination of the information. Calldata is available only in the transaction it initiates. Events are not accessible onchain.
18+
- The source of the information. Information in calldata cannot come directly from the blockchain itself.
19+
- The destination of the information. Calldata is available only in the transaction it initiates. Events are not accessible onchain at all.
2020
- How much hassle is acceptable? Computers that run a full-scale node can perform more processing than a light client in an application running in a browser.
2121
- Is it necessary to facilitate easy access to the information from every node?
22+
- The security requirements.
2223

23-
## Prerequisites {#prerequisites}
24-
25-
You should have a good understanding of [blockchain fundamentals](/developers/docs/intro-to-ethereum/). This page also assumes the reader is familiar with [blocks](/developers/docs/blocks/), [transactions](/developers/docs/transactions/), and other relevant topics.
24+
## The security requirements {#security-requirements}
2625

27-
## The C.I.A. of information security {#cia-info-security}
26+
In general, information security consists of three attributes:
2827

29-
There are three attributes we'd like to have for data.
30-
31-
- _Confidentiality_, unauthorized entities are not allowed to read the information. This is useful in many cases, but _there are no secrets on the blockchain_. Blockchains work because everybody can verify the state transitions, so it is impossible to use them to store secrets directly. There are ways to store confidential information on the blockchain, but they all rely on some offchain component to store at least a key.
28+
- _Confidentiality_, unauthorized entities are not allowed to read the information. This is important in many cases, but not here. _There are no secrets on the blockchain_. Blockchains work because anybody can verify the state transitions, so it is impossible to use them to store secrets directly. There are ways to store confidential information on the blockchain, but they all rely on some offchain component to store at least a key.
3229

3330
- _Integrity_, the information is correct, it cannot be changed by unauthorized entities, or in unauthorized ways (for example, transferring [ERC-20 tokens](https://eips.ethereum.org/EIPS/eip-20#events) without a `Transfer` event). On the blockchain, every node verifies every state change, which ensures integrity.
3431

3532
- _Availability_, the information is available to any authorized entity. On the blockchain, this is usually achieved by having the information available on every [full node](https://ethereum.org/developers/docs/nodes-and-clients#full-node).
3633

34+
The different solutions here all have excellent integrity, because hashes are posted on L1. However, they do have different availability guarantees.
35+
36+
## Prerequisites {#prerequisites}
37+
38+
You should have a good understanding of [blockchain fundamentals](/developers/docs/intro-to-ethereum/). This page also assumes the reader is familiar with [blocks](/developers/docs/blocks/), [transactions](/developers/docs/transactions/), and other relevant topics.
39+
3740
## EIP-4844 blobs {#eip-4844-blobs}
3841

3942
Starting with [the Dencun hardfork](https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md) the Ethereum blockchain includes [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844), which adds to Ethereum data blobs with a limited lifetime (initially about [18 days](https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/p2p-interface.md#configuration)). These blobs are priced separately from the [execution gas](/developers/docs/gas), although using a similar mechanism. They are a cheap way to post temporary data.

0 commit comments

Comments
 (0)