Skip to content

Commit

Permalink
Merge pull request #1 from jacogr/jacogr-patch-1
Browse files Browse the repository at this point in the history
Consistent object indentation
  • Loading branch information
jacogr authored Nov 24, 2017
2 parents d610264 + 89d13f6 commit 9f82a43
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ A block contains all information required to evaluate a relay-chain block. It in

```
Block: [
header: Header,
transactions: [ Transaction ],
signatures: [ Signature ]
header: Header,
transactions: [ Transaction ],
signatures: [ Signature ]
]
```

Expand All @@ -119,7 +119,7 @@ In order to describe the signature format, it is useful to define the `UnsignedT

```
UnsignedTransaction: [
tx: Transaction,
tx: Transaction,
nonce: TxOrder
]
```
Expand All @@ -134,20 +134,20 @@ The header stores or cryptographically references all intrinsic information rela

```
Header: [
parent_hash: Hash,
number: BlockNumber,
state_root: Hash,
transaction_root: Hash,
digest: Digest
parent_hash: Hash,
number: BlockNumber,
state_root: Hash,
transaction_root: Hash,
digest: Digest
]
```

`Digest` is a second-class item of data that contains summary information of activity that happened in the block that is useful for light-clients. For PoC-1 this is the set of logs and a bit field of active parachains. Its contents are set through the System object.

```
Digest: [
parachain_activity_bitfield: bytes,
logs: [bytes]
parachain_activity_bitfield: bytes,
logs: [bytes]
]
```

Expand Down

0 comments on commit 9f82a43

Please sign in to comment.