go-spacemesh
go-spacemesh copied to clipboard
Go Implementation of the Spacemesh protocol full node. 💾⏰💪
## Description Right now `go-spacemesh` supports only numUnits that are equal to 2KB, 3KB, and 4KB. We want to make it possible to set up a bigger PoS data size...
## Motivation Closes #3315 ## Changes * address moved to separate pkg. probably in future will be as independent library * address still array of bytes ([24]byte), but implement `bech32`...
we don't support regular spawn in the current implementation. as i understand there is big difference in how payload is encoded for spawn and self spawn: - for self spawn:...
## Motivation Part of #3271 ## Changes Applied scale codec to: - poet proofs (common/types/activation_scale.go) - sync request and response (timesync/peersync/sync_scale.go) - types renamed from private to public otherwise scalegen...
- add highest known base tick height from activation that are referenced in the proposals to the block. this will be used later in the tortoise to prevent adversarial votes...
the weight of the atx computed from tick count multiplied by the number of units. tick height of the atx computed from base tick height plus tick count. base tick...
EncodeScale/DecodeScale manually defined for ``` // Message defines weak coin message format. type Message struct { Epoch types.EpochID Round types.RoundID Unit uint64 MinerPK []byte Signature []byte } ``` should be...
``` // Post is an alias to postShared.Proof. type Post postShared.Proof // EncodeScale implements scale codec interface. func (p *Post) EncodeScale(enc *scale.Encoder) (total int, err error) { if n, err...
Sorry for only getting around to looking at this after it was merged, but I think we should remove the `NodeID` from the ATX. It was only there when we...