-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stake directly from wallet via staking pool contract and participating nodes #62
Comments
It is not clear how will be nodes added to the list. Can anybody make an entry and act as a delegated staking node?
Minor comment: the whole design should be denoted as a delegated staking. |
I think we shouldn't just allow everyone to automatically become a node at the beginning. There should be a quick approval process by voting. Existing nodes are incentivized to add new nodes because that increase the total capacity of the nodes. Note that a note cannot get more shares from the pool than their credit limit, and their credit limits are determined by the deposit they put in and the reward they accumulated so far. If there is too few nodes (and too little deposit) there would be too much left-over in the contract's pool, left un-staked. Yes, most conditions cannot be validated by the contracts. There is simply no opcodes that allow us to query the state of the blockchain with respect to staking, and/or any historical transaction. That's also why I highly disfavor this design (hence calling it a poorman's version) and would rather wait until #9 is implemented. But I was told it is going to take at least 2+ more months.
|
So, to me, it means that there is no fixed total reward per block that validators "compete" on. (If there would be, the nodes would not decrease their relative chance of earning it by adding new nodes.) Instead, the total block reward is given by some linear function dependent on the total state => the more total stake, the higher block reward, and vice versa. Because Harmony has capped total supply, it should not impact inflation long term; it might impact it only short term since the speed of mining is increased. Is it correct? |
This is superseded by new smart-contract staking mechanisms described in #9 (comment) |
Since #9 might take a few more weeks to implement at https://github.com/harmony-one/harmony, my thoughts on a poor man's version of staking support are summarized as below.
As a simplified version, we may start with only one participating node and leave all the voting mechanisms for later implementation. This simplification will also make the staking contract very easily to implement. The node essentially will be a trusted node holding all staked funds from wallet users. It may be sufficient until total wallet balance becomes high, and the usage of this feature becomes significant enough.
The text was updated successfully, but these errors were encountered: