ouroboros-consensus
ouroboros-consensus copied to clipboard
[DavidEichmann] Add ledger configuration node-to-client query
Key changes:
- Add
GetLedgerConfig :: Query blk (LedgerConfig blk)
- Make
SerialiseNodeToClient blk (LedgerConfig blk)
a superclass ofSerialiseNodeToClientConstraints
- This makes sense now that the Node-to-Client protocol includes a
GetLedgerConfig
query.
- This makes sense now that the Node-to-Client protocol includes a
- Add CBOR serialization instances for ledger configs and nested types.
This is merely a migration of https://github.com/input-output-hk/ouroboros-network/pull/3214.
In particular, that PR ^^^ has literally 100+ comments that might be of interest to you :'(
The rebased involved tedious conflicts. I deferred them by merely adding them to the content of the commits!