HomeSpacemesh FYI

How does the protocol work?

The Spacemesh protocol is unique across all of crypto!

The following is a much-simplified explanation of the Spacemesh protocol and mining. See the consensus mechanism document and Smesher’s Guide for the nitty gritty details.

  1. Consensus operation — The Spacemesh consensus mechanism is based on two protocols operated by eligible nodes:
    • “Hare” — the fast organization of “layers”, containing blocks of transactions.
    • “Tortoise” — the slower, ultimate ratification of the blockchain state.
  2. Epochs — Since “time” is an aspect of its consensus mechanism, Spacemesh activities happen within two-week cycles, known as “epochs”. For a smeshing node to participate and earn rewards in a given epoch, it must have established its eligibility in the previous epoch by publishing a “Proof of Space & Time” (PoST).
  3. PoST Init — The first job of a smeshing node, however, is to create its cryptographically dedicated computer space, known as “postdata”—a process in which a unique node identifier is additionally created associated with that data. This process requires a GPU, and can take a lengthy period of time. After the data has been created, the node registers its data and ID with the network in a process known as “PoST Init”. At this point, it’s known by the network and ready to start participating.
  4. Eligibility — A node establishes eligibility for participation in the subsequent epoch by interacting with “PoET” (Proof of Elapsed Time) servers, during a 12-hour window in the current epoch, known as the “Cycle Gap”. During a Cycle Gap, a smeshing node will receive a “time proof” calculated by the PoET server, used as input to calculate a “proof of space and time” proving it maintained its dedicated disk space during the entirety of the previous epoch. Calculating that cryptographic proof involves the CPU and reading of the node’s postdata. This proof must be calculated and communicated to the network—referred to as “publishing an activation transaction, ATX”. If successful, the network establishes the node’s eligibility to participate in, and receive rewards in particular “layers” in the subsequent epoch.

Next — Let’s now learn about the team behind Spacemesh →