Skip to content

[SPEC] Post-mortem 7/14/2023  #681

@drewstone

Description

@drewstone

Overview

  • Delete debug logs before the previous session always ([TASK][Testnet] Purge old logs from testnet deployment tangle#207)
  • Delete the last local keys before the previous previous session (or just previous session)
  • Identify how to make Signing set selection intelligent using reputation
  • Identify how to not end up with corrupted DB or at least not corrupt our LocalKey
  • Avoid Substrate offchain database for LocalKey storage, use directly a rocksdb or sql database
  • Identify how to give reputation points and not only take away.
  • Use reputation in signing set selection.

Reputation + Adaptive mechanisms for signer selection

  • Give reputation on successful new key generation because all best_authorities are required to participate.
  • Use handshakes to assign reputation at the networking layer
  • Do frequent handshakes per session (maybe 1 every minute).
  • Use combined reputation (substrate + libp2p dkg gadget + onchain dkg metadata)

Research

  • Doing handshakes on proposed signing sets (getting handshakes from all the peers involved)
  • Generate multiple sets and continue to cycle through them after failures and until success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions