lane T2: the phase's leaf self-report is its own accounting, not the report's
This commit is contained in:
parent
5d29ee60e4
commit
fa5e190bce
1 changed files with 5 additions and 4 deletions
|
|
@ -77,10 +77,11 @@ TreatyStampResult StampTreatyTurns(std::vector<PlayerEntry>& players, std::int32
|
||||||
if (field) *field = frame;
|
if (field) *field = frame;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// A created entry puts a whole record on the wire, not one value: its own leaf plus the
|
// The phase's own accounting: one for each stamp that moved a value, plus one for each
|
||||||
// element leaf the container gains. A stamp into an entry that already existed moves one
|
// record that did not exist before. It is deliberately NOT an attempt to predict the
|
||||||
// leaf. Counting it this way keeps the phase's self-report in the same currency as the
|
// divergence report's leaf count, which also charges two container leaves to each player
|
||||||
// divergence report rather than in a currency of its own.
|
// whose ledger goes from empty to non-empty -- on the reference pair this reports 28
|
||||||
|
// where the report closes 26. The report is the authority; this is what the phase did.
|
||||||
r.leafWrites = r.fieldsWritten + r.entriesCreated;
|
r.leafWrites = r.fieldsWritten + r.entriesCreated;
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue