... | ... | @@ -6,12 +6,12 @@ Como esta definido en `core/block.go`, un *block header* (cabeza de bloque) tien |
|
|
|
|
|
| **Bytes** | **Nombre en Go** | **Tipo** | **Nombre en geth** |
|
|
|
|-------:|--------------|----------------|------------------|
|
|
|
| 64 | ParentHash | common.Hash | parentHash |
|
|
|
| 64 | UncleHash | common.Hash | sha3Uncles |
|
|
|
| 40 | Coinbase | common.Address | miner |
|
|
|
| 64 | Root | common.Hash | stateRoot |
|
|
|
| 64 | TxHash | common.Hash | transactionsRoot |
|
|
|
| 64 | ReceiptHash | common.Hash | receiptsRoot |
|
|
|
| 32 | ParentHash | common.Hash | parentHash |
|
|
|
| 32 | UncleHash | common.Hash | sha3Uncles |
|
|
|
| 20 | Coinbase | common.Address | miner |
|
|
|
| 32 | Root | common.Hash | stateRoot |
|
|
|
| 32 | TxHash | common.Hash | transactionsRoot |
|
|
|
| 32 | ReceiptHash | common.Hash | receiptsRoot |
|
|
|
|256 | Bloom | [256]byte | logsBloom |
|
|
|
| 8 | Difficulty | int64 | difficulty |
|
|
|
| 8 | Number | int64 | number |
|
... | ... | @@ -19,7 +19,7 @@ Como esta definido en `core/block.go`, un *block header* (cabeza de bloque) tien |
|
|
| 8 | GasUsed | uint64 | gasUsed |
|
|
|
| 8 | Time | int64 | timestamp |
|
|
|
| 97[^1] | Extra | []byte | extraData |
|
|
|
| 64 | MixDigest | common.Hash | mixHash |
|
|
|
| 32 | MixDigest | common.Hash | mixHash |
|
|
|
| 8 | Nonce | [8]byte | nonce |
|
|
|
|
|
|
[^1]: El único campo con un tamaño flexible es el `Extra`. Esta compuesto por 32 bytes de Vanity + 65 bytes con la firma del bloque. Cada 30.000 bloques (un epoch), también tiene una lista (n * 64 bytes) de todos los selladores. |
|
|
\ No newline at end of file |