Skip to content

Commit 9a8ff92

Browse files
committed
add: add explanation about bitmap granularity
1 parent efe662b commit 9a8ff92

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

caps/eth.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Ethereum Wire Protocol (ETH)
22

33
'eth' is a protocol on the [RLPx] transport that facilitates exchange of Ethereum
4-
blockchain information between peers. The current protocol version is **eth/70**. See end
4+
blockchain information between peers. The current protocol version is **eth/69**. See end
55
of document for a list of changes in past protocol versions.
66

77
### Basic Operation
@@ -131,11 +131,13 @@ in the form of `Cell` separately between peers.
131131
Cells are computed by splitting the blob and applying the erasure-code defined in [EIP-7594].
132132
A cell has its `index`, according to its relative position in the erasure-coded blob.
133133

134-
When a blob transaction is added to a peer's pool, availability of its cell should be announced
135-
to the network using `cells` field in the [NewPooledTransactionHashes] message.
136-
All peers that receive the message can request the cell whose index is specified in the
137-
`cells` using the [GetCells] message. Clients can selectively store cells according to
138-
their local parameters.
134+
When a blob transaction is added to a peer's pool, availability of its cells should be
135+
announced to the network using the cells field in the [NewPooledTransactionHashes] message.
136+
If a bit in `cells` is set, it indicates that the peer holds the corresponding cell for all
137+
blobs included in the announced transactions.
138+
All peers that receive the message can then request the cells whose indices are
139+
specified in the cells field using the [GetCells] message. Clients can selectively store
140+
cells according to their local parameters.
139141

140142
A node should never announce availability to a peer that it can infer to already
141143
have the associated cell. This can be achieved by remembering set of versioned hashes
@@ -549,7 +551,7 @@ from other peers.
549551

550552
## Change Log
551553

552-
### eth/70 ()
554+
### eth/ ()
553555

554556
Version 70 changed the [NewPooledTransactionHashes] message to include custody information
555557
which represents cell indicies sending peer has stored. New message types,

0 commit comments

Comments
 (0)