-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
feature 🚀New implemented featureNew implemented feature
Description
Why
We want to sign with Mithril the offset from the tip of the chain used to create the snapshot. This will allow the clients to rely on a verified information when assessing if the blocks/transactions verified are immutable enough to be trusted given their security requirements.
What
Add the offset from the tip of the chain in the Protocol Message signed for the Blocks and Transactions.
How
- Create a new
BlockNumberOffsetrepresenting the offset from a block number:- Create the new type (not alias, follow the implementation done for
KesPeriodandKesEvolutions) - Implement arithmetic operations between
BlockNumberandBlockNumberOffset - Implement
DerefandFromtraits - Update the block number offsets to the
BlockNumberOffsettype when they are usingBlockNumber
- Create the new type (not alias, follow the implementation done for
- Update the Signed entity type
CardanoBlocksTransactionsto include aBlockNumberOffset - Update the generic type used by the signable builder from
U=BlockNumber'toU=(BlockNumber,BlockNumberOffset) - Add a new variant for the
ProtocolMessagePartKey:CardanoBlocksTransactionsBlockNumberOffset - Sign the
BlockNumberOffsetin thecompute_protocol_messageof the signable builder implementation - Update the client library
- Run a backward compatibility test with previous distribution
2603.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature 🚀New implemented featureNew implemented feature