spacemeshos / pm

Project management. Meta-tasks related to research, dev, and specs for the Spacemesh protocol and infrastructure.
http://spacemesh.io/
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

Genesis nonce scheme #104

Closed lrettig closed 1 year ago

lrettig commented 2 years ago

Under account unification, each principal account is free to implement its own nonce scheme. For genesis, we need to design and implement one standard, recommended nonce scheme that will be included in the genesis smart contracts.

See https://community.spacemesh.io/t/nonce-schemes-and-account-unification/202

Other links to read:

SMIP: https://github.com/spacemeshos/SMIPS/issues/79

Related: #20

lrettig commented 1 year ago

Noam described this in tx structure doc

lrettig commented 1 year ago

Finished reviewing forum thread, and updated tx structure doc. Next step: discuss with Noam and Dima, make final decisions (see checklist above), then write dev task breakdown.

lrettig commented 1 year ago

Discussed this with @noamnelke and @selfdual-brain today. We decided to stick with a simple "int nonces with gaps" scheme: see #150 for the straightforward proposed design and dev tasks breakdown. We'll continue to discuss more sophisticated, generalized nonce schemes for the future.