GPOS vote decay #36

Closed
opened 2020-12-17 15:23:20 +00:00 by bobinson · 2 comments
bobinson commented 2020-12-17 15:23:20 +00:00 (Migrated from gitlab.com)

here still seems to be a timing issue on GPoS voting. They are decaying quicker than they should. Last time I missed a vote time by a few days and instead of losing 1/6 of my voting power I lost all of it.

This time I'm only 10 days since my last vote but I'm already down to 83%. I shouldn't lose anything at all for 30 days. Something doesn't seem to be working right.

image

issue reported on Oct 19

> here still seems to be a timing issue on GPoS voting. They are decaying quicker than they should. Last time I missed a vote time by a few days and instead of losing 1/6 of my voting power I lost all of it. > > This time I'm only 10 days since my last vote but I'm already down to 83%. I shouldn't lose anything at all for 30 days. Something doesn't seem to be working right. ![image](/uploads/bfafa955e30cf3605984a1ee439d8a27/image.png) issue reported on Oct 19
serkixenos commented 2020-12-24 16:19:36 +00:00 (Migrated from gitlab.com)

Last registered voting time of this user is 2020-10-19T03:06:54 - two months ago.

locked >>> get_account senter1
get_account senter1
{
  "id": "1.2.12196",
  "membership_expiration_date": "1970-01-01T00:00:00",
  "registrar": "1.2.8870",
  "referrer": "1.2.8870",
  "lifetime_referrer": "1.2.8870",
  "network_fee_percentage": 10000,
  "lifetime_referrer_fee_percentage": 0,
  "referrer_rewards_percentage": 0,
  "name": "senter1",
  ...
  "statistics": "2.6.12196",
  ...
}
locked >>> get_object 2.6.12196
get_object 2.6.12196
[{
    "id": "2.6.12196",
    "owner": "1.2.12196",
    "name": "senter1",
...
    "last_vote_time": "2020-10-19T03:06:54"
  }
]

Users current vesting performance is 0.66666666666666663:

curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "id": "1", "method": "get_gpos_info", "params":["1.2.12196"]}' http://localhost:8090

{"id":1,"jsonrpc":"2.0","result":{"vesting_factor":"0.66666666666666663","award":{"amount":1,"asset_id":"1.3.0"},"total_amount":"86828073271","current_subperiod":5,"last_voted_time":"2020-10-19T03:06:54","allowed_withdraw_amount":650000000,"account_vested_balance":650000000}}

Users history

2020-10-19T03:06:57 Update Account 'senter1'   (Fee: 0.00294 PPY) 
2020-10-07T12:57:15 Update Account 'senter1'   (Fee: 0.00294 PPY) 
2020-10-07T12:56:42 Update Account 'senter1'   (Fee: 0.00298 PPY) 
2020-08-13T14:38:00 Update Account 'senter1'   (Fee: 0.00294 PPY) 
2020-08-13T14:33:48 Update Account 'senter1'   (Fee: 0.00298 PPY) 
2020-06-18T11:44:45 Update Account 'senter1'   (Fee: 0.00294 PPY) 
2020-06-17T01:16:51 Update Account 'senter1'   (Fee: 0.00302 PPY) 
2020-05-12T17:30:45 Update Account 'senter1'   (Fee: 0.00298 PPY) 
2020-04-19T03:17:12 Update Account 'senter1'   (Fee: 0.00294 PPY) 
2020-03-23T16:00:00 senter1 received dividend payments for PPY: 0.00011770 BTFUN 
2020-03-19T19:25:48 Update Account 'senter1'   (Fee: 0.00290 PPY) 
2020-03-19T19:23:48 Update Account 'senter1'   (Fee: 0.00251 PPY) 
2020-03-04T03:26:30 Update Account 'senter1'   (Fee: 0.00290 PPY) 
2020-02-22T16:00:00 senter1 received dividend payments for PPY: 0.01771 PPY, 0.00006427 BTFUN 
2020-02-19T14:15:24 vesting_balance_create_operation senter1 fee: 1 PPY   result: 1.13.97 
2020-01-23T16:00:00 senter1 received dividend payments for PPY: 0.00210 PPY, 0.00005485 BTFUN 
2019-12-24T16:00:00 senter1 received dividend payments for PPY: 0.02847 PPY, 0.00005859 BTFUN 
2019-12-20T14:44:36 Update Account 'senter1'   (Fee: 0.00294 PPY) 
2019-11-24T16:00:00 senter1 received dividend payments for PPY: 0.04978 PPY, 0.00003346 BTFUN 
...

User's vesting performance is decreased in accordance with -1/6 per gpos subperiod rule.

Last registered voting time of this user is 2020-10-19T03:06:54 - two months ago. ``` locked >>> get_account senter1 get_account senter1 { "id": "1.2.12196", "membership_expiration_date": "1970-01-01T00:00:00", "registrar": "1.2.8870", "referrer": "1.2.8870", "lifetime_referrer": "1.2.8870", "network_fee_percentage": 10000, "lifetime_referrer_fee_percentage": 0, "referrer_rewards_percentage": 0, "name": "senter1", ... "statistics": "2.6.12196", ... } locked >>> get_object 2.6.12196 get_object 2.6.12196 [{ "id": "2.6.12196", "owner": "1.2.12196", "name": "senter1", ... "last_vote_time": "2020-10-19T03:06:54" } ] ``` Users current vesting performance is 0.66666666666666663: ``` curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "id": "1", "method": "get_gpos_info", "params":["1.2.12196"]}' http://localhost:8090 {"id":1,"jsonrpc":"2.0","result":{"vesting_factor":"0.66666666666666663","award":{"amount":1,"asset_id":"1.3.0"},"total_amount":"86828073271","current_subperiod":5,"last_voted_time":"2020-10-19T03:06:54","allowed_withdraw_amount":650000000,"account_vested_balance":650000000}} ``` Users history ``` 2020-10-19T03:06:57 Update Account 'senter1' (Fee: 0.00294 PPY) 2020-10-07T12:57:15 Update Account 'senter1' (Fee: 0.00294 PPY) 2020-10-07T12:56:42 Update Account 'senter1' (Fee: 0.00298 PPY) 2020-08-13T14:38:00 Update Account 'senter1' (Fee: 0.00294 PPY) 2020-08-13T14:33:48 Update Account 'senter1' (Fee: 0.00298 PPY) 2020-06-18T11:44:45 Update Account 'senter1' (Fee: 0.00294 PPY) 2020-06-17T01:16:51 Update Account 'senter1' (Fee: 0.00302 PPY) 2020-05-12T17:30:45 Update Account 'senter1' (Fee: 0.00298 PPY) 2020-04-19T03:17:12 Update Account 'senter1' (Fee: 0.00294 PPY) 2020-03-23T16:00:00 senter1 received dividend payments for PPY: 0.00011770 BTFUN 2020-03-19T19:25:48 Update Account 'senter1' (Fee: 0.00290 PPY) 2020-03-19T19:23:48 Update Account 'senter1' (Fee: 0.00251 PPY) 2020-03-04T03:26:30 Update Account 'senter1' (Fee: 0.00290 PPY) 2020-02-22T16:00:00 senter1 received dividend payments for PPY: 0.01771 PPY, 0.00006427 BTFUN 2020-02-19T14:15:24 vesting_balance_create_operation senter1 fee: 1 PPY result: 1.13.97 2020-01-23T16:00:00 senter1 received dividend payments for PPY: 0.00210 PPY, 0.00005485 BTFUN 2019-12-24T16:00:00 senter1 received dividend payments for PPY: 0.02847 PPY, 0.00005859 BTFUN 2019-12-20T14:44:36 Update Account 'senter1' (Fee: 0.00294 PPY) 2019-11-24T16:00:00 senter1 received dividend payments for PPY: 0.04978 PPY, 0.00003346 BTFUN ... ``` User's vesting performance is decreased in accordance with -1/6 per gpos subperiod rule.
serkixenos commented 2021-01-12 20:35:14 +00:00 (Migrated from gitlab.com)

Works as expected, test added:
545d485690

Works as expected, test added: https://gitlab.com/PBSA/peerplays/-/commit/545d4856907f6dc2b199eab73dfbd4c1a84bcabe
serkixenos (Migrated from gitlab.com) closed this issue 2021-01-12 20:35:15 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#36
No description provided.