An L2PS (or Demos Subnet) is a shard of Demos nodes that share a cryptographic secret such as an RSA keypair and is able to exchange private informati…
export interface BlockContent {
[...]
l2ps_partecipating_nodes: Map<string, Map<string, string>> // ? "l2ps_uid": {"public_key": "connection_string"}
l2ps_banned_nodes: Map<string, string> // ? "l2ps_uid": "public_key" (to implement)
encrypted_transactions_hashes: Map<string, string> // ? "l2ps_uid": "hash"
}
// Partecipating nodes to the L2PS will have the full transactions (encrypted) of the L2PS
export interface L2PSBlockExtension extends BlockContent {
l2ps_transactions: EncryptedTransaction[]
}