You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/content/developers/docs/data-availability/blockchain-data-storage-strategies/index.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,25 +15,28 @@ There are multiple ways to store information either directly on the blockchain,
15
15
16
16
The choice of which method to use is based on several criteria:
17
17
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.
20
20
- 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.
21
21
- Is it necessary to facilitate easy access to the information from every node?
22
+
- The security requirements.
22
23
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}
26
25
27
-
## The C.I.A. of information security {#cia-info-security}
26
+
In general, information security consists of three attributes:
28
27
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.
32
29
33
30
-_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.
34
31
35
32
-_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).
36
33
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
+
37
40
## EIP-4844 blobs {#eip-4844-blobs}
38
41
39
42
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