Document differences between share versions

This commit is contained in:
DataHoarder 2024-04-10 09:36:01 +02:00
parent f53e0b5dc0
commit 0ec08e8aac
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -52,14 +52,15 @@ const (
ShareVersion_V2
// ShareVersion_V3 Tentative future version with merge mining support.
// Fixed Merge Mining Tag with a proper merkle root + proof on side data
// Fixed Merge Mining Tag encoding, replace template id with a proper merkle root and other auxiliary data
// Merkle proof added on side data
// Template Id is now included as part of pruned blocks
ShareVersion_V3
)
// P2PoolShareVersion
// P2Pool forks to v2 at 2023-03-18 21:00 UTC
// Different miners can have different timestamps,
// so a temporary mix of v1 and v2 blocks is allowed
// so a temporary mix of old and new blocks is allowed
func P2PoolShareVersion(consensus *Consensus, timestamp uint64) ShareVersion {
hardForks := consensus.HardForks