protocol
protocol copied to clipboard
This repo contains the Spacemesh protocol specifications and related documentation
Here is a detailed output of all the buffers during a transaction. This might be helpful for someone who wants to implement transactions in a wallet ``` Restarted application in...
Based on https://github.com/spacemeshos/SMIPS/issues/13. Once the design for this is finalized, and maybe implemented, document it here.
This belongs in https://github.com/spacemeshos/protocol/blob/master/consensus/02-deepdive.md#other-proof-of-space-based-protocols. I asked about this [on slack](https://spacemesh.slack.com/archives/CG91F13C7/p1589829796035300) but didn't get any response. We still have some homework to do here.
# Consensus - ~~What would happen if we had a Hare but no Tortoise?~~ - We could still achieve consensus but it would be a different kind of consensus. Tortoise...
This is less critical because it only happens once per network but it should be documented
Nodes in Spacemesh have multiple personality disorder :) They each use multiple, distinct identities. Per @noamnelke (https://github.com/spacemeshos/protocol/pull/22#discussion_r399941966): > We use 3 distinct keypairs: > > For P2P auth - ephemeral,...
Continuing the conversation from https://github.com/spacemeshos/protocol/pull/22#discussion_r399825012... @noamnelke pointed out: > While I agree that it would be nice if it wasn't possible to discover the entire network, unfortunately, this is not...
Closes #12
As discussed yesterday on call with @ilans, apparently the P2P layer implements some sort of priority queue on outgoing gossip messages - since some, e.g., Hare messages, are more time-sensitive....
https://github.com/spacemeshos/protocol/blob/master/mining/04-nipost.md should be updated to explain exactly how a NIPoST is validated.