docs: add initial f02 design proposal - #13
Conversation
| ``` | ||
| SetShares(stream_id, new_map): | ||
| caller must be the stream's designated writer | ||
| validate sum(new_map shares) == 1; normalise recipients to ID addresses |
There was a problem hiding this comment.
if recipient does not yet have an ID, create placeholder account
There was a problem hiding this comment.
what's the case for allowing nonexistent actors to be recipients once we get to this point? it seems like that might be a failure mode and silently letting it sail through might not catch someone's fat fingers. I think I'd rather reject if no actor rather than letting it sail through
|
Pushed updates in latest commit:
Want to take a look @wjmelements? I might get a FIP update PR going so others can see the implications. |
|
integrated to FIP in filecoin-project/FIPs#1272 |
|
New commit added here 1d4b1d3 with some details that came up during implementation - the two values in state now that we can delete cause they're constant are a little weird, well, "simple" is fixed at 330M FIL but "baseline" got fixed at It's static now in practice so we can const these but calibnet is slightly off that number: |
Coming out of this, if we agree on this approach, the next steps would be to integrate it into the FIP as one or more PRs:
Claim; delete the failed-send-burns rule.FilMinedunchanged, decomposition derived, accrual-time minting stated.burn = BR - miner - service) as authoritative; drop "per-block and per-epoch division are identical" (false under integer rounding).SetSharesbinds immediately, so the quarterly cadence becomes normative SRA discipline rather than an f02 property.MAX_STREAMSandMAX_RECIPIENTS(currently named, never valued) low, with the assertion that raising them takes a future FIP + network upgrade that also reshapes storage for the new scale.