Skip to content

Instantly share code, notes, and snippets.

Partial Endorser Block Certification via Merkle Trees

This proposal adds merkle tree structures to EBs, enabling partial transaction set certification when full EB propagation is delayed. We trade larger EB size for improved resilience under adverse network conditions.

Motivation

Current Leios requires RB producers to resolve all EB transaction references before proceeding. When network conditions prevent full EB propagation within $\Delta_{RB}$, producers face unacceptable choices: violate timing assumptions, create forks, or include invalid transactions.

Note

The Paradox

@will-break-it
will-break-it / secure-key-storage.md
Created August 7, 2023 16:09 — forked from hanwencheng/secure-key-storage.md
Parity-Signer Secure Key Storage Proposal

Parity-Signer Secure Key Storage Proposal

Here I conclude the recent research and discussions with the storage of the seed/private key in parity-signer.

Current Implementation

secureStorage1 Currently, we require a user to input a pin code for encrypting the seed, and then put the encrypted seed together with other account data into a secure store. The secure store then uses the native KeysStore or KeyChain to store the encrypted account data.

Possible improvement

secureStorage2

@will-break-it
will-break-it / freeable.ts
Last active May 22, 2023 11:31
CIP30 Cardano Wallet Service for deserializing wallet cbor to standard typescript types
export interface Freeable {
free: () => void;
}
/**
* A scope to ease the management of objects that require manual resource management.
*
*/
export class ManagedFreeableScope {
private scopeStack: Freeable[] = [];