Variable min deposit size to promote consistent # of vals
See original GitHub issueIssue
Defining an explicit, unchanging value for the minimum size of deposits is risky because we do not have a clear idea as to how many validators will show up. Instead, we want to define a base deposit value and have the minimum a validator needs to deposit scale as the number of validators scales.
Proposed Implementation
- Track number of active validators with a new contract variable
num_validators
set to 0 at contract creation - When validator sends deposit
assert msg.value >= max(self.min_deposit_size, num_validators)
- Increment
num_validators
when a new validator sends adeposit
- Decrement
num_validators
when a validator submits alogout
or is slashed (if they haven’t logged out already)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Recommended Approach for Setting Regulatory Risk-Based ...
Variable Annuity Guaranteed Living Benefit (VAGLB) – A VAGLB is a guaranteed benefit providing, or resulting in the provision that, one or more...
Read more >Left ventricular mass normalization for body size in children ...
A normalized LVM can be presented as a standardized value (z-score) or visualized on a centile chart. It is considered that the centile...
Read more >FDIC Community Banking Study
The FDIC Community Banking Study is a data-driven effort to identify and explore issues and questions about community banks.
Read more >STATUTE-105-Pg2236.pdf - GovInfo
Section 14(a) of the Federal Deposit Insurance Act (12 U.S.C. ... "(B) any increase in total assets is consistent with the plan; and....
Read more >Financial Soundness Indicators: Compilation Guide
Specification of Financial Soundness Indicators for Deposit Takers. ... volume and the market price is listed at regular inter- vals.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I exposed the method
current_min_deposit_size
as a public method in the PR. This should probably suffice, right?https://github.com/ethereum/casper/pull/98/files#diff-5907966b02ce3d72c8259ba4206c1338R302
PR is welcome, remember to fix this comment in the PR too. That comment only makes sense in the dynamic min deposit size context.