-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Closed
Milestone
Description
- Block is now the RLP encoding of
[
Header,
[tx0, tx1, ..., txN],
[uncle0, uncle1, ... uncleN]
]
Tx = transaction and not full receipt
- Header is now RLP encoding of
[
parentHash,
sha3Uncles, //NOTE: no longer '' for no uncles.
coinbaseAddress,
stateRoot,
transactionsRoot,
receiptsRoot,
logsBloom,
difficulty,
number,
minGasPrice,
gasLimit,
gasUsed,
timestamp,
extraData,
nonce
]
- receiptsRoot is the root of the trie formed by:
{
0: receipt(tx0),
1: receipt(tx1),
...
N: receipt(txN)
}
- receipt(tx) is defined as the RLP encoding of:
[
postStateRoot,
gasUsed,
txLogsBloom, ('' if no logs)
[log0, log1, ..., logN]
]
for bloom filter see #156