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
We want to avoid a protocol update from stopping the production of new blocks, so we should check that every valid protocol update leaves the validation layer in a state where it is possible to produce new blocks, including all the data they carry such as delegation certificates, update proposals, votes, and transactions.
The text was updated successfully, but these errors were encountered:
For Byron at least, we can't guarantee this (for instance, we don't have checks in place that assert that the minimum block size is high enough to allow the production of blocks). So a liveness property like the one required in this issue depends on having checks in place for the parameter values of an update proposal.
287: Add a abstractSize function to compute the abstract size of values r=dnadales a=dnadales
This PR defines a function:
```haskell
abstractSize :: HasTypeReps a => AccountingMap -> a -> Size
```
where
```haskell
type Size = Int
type AccountingMap = Map TypeRep Size
```
By providing the size associated to different `TypeRep`s we can compute the total size of a value.
The typeclass `HasTypeReps` ensures that we can extract the list of all `TypeReps` found inside a given value.
Close#278.
290: Add: Explicit epoch/slot calculations. r=nc6 a=nc6
Built atop #283
- Epoch length is now a protocol parameter.
- Ledger maintains a map of epoch to epoch length both to slot/epoch
calculations, and for the database layer.
Addresses #255
Co-authored-by: Damian Nadales <damian.nadales@iohk.io>
Co-authored-by: Nicholas Clarke <nick@topos.org.uk>
We want to avoid a protocol update from stopping the production of new blocks, so we should check that every valid protocol update leaves the validation layer in a state where it is possible to produce new blocks, including all the data they carry such as delegation certificates, update proposals, votes, and transactions.
The text was updated successfully, but these errors were encountered: