after maintenance interval sidechain_txs_reported counter is not getting reset to 0 #165

Closed
opened 2021-08-08 11:18:33 +00:00 by prandnum · 19 comments
prandnum commented 2021-08-08 11:18:33 +00:00 (Migrated from gitlab.com)

Steps:

  1. Transferred half of nathan account to peerplaysuser01 account
  2. reserved all the peerplaysuser01 TEST tokens
  3. witness and son budgets became non-zero.
  4. Transferred TESTS tokens from hiveuser01 to peerplaysuser01
  5. Amount got credited in peerplaysuser01 account
  6. total_sidechain_txs_reported got incremented

Issue seen:
After maintenance interval sidechain_txs_reported values are not reset to zero

Did a deposit of HIVE token

unlocked >>> get_dynamic_global_properties
get_dynamic_global_properties
{
  "id": "2.1.0",
  "head_block_number": 26307,
  "head_block_id": "000066c32e605089588309850c0aa0f73f282901",
  "time": "2021-08-08T11:11:18",
  "current_witness": "1.6.8",
  "next_maintenance_time": "2021-08-08T11:20:00",
  "last_budget_time": "2021-08-08T11:10:00",
  "witness_budget": 177000000,
  "last_son_payout_time": "2021-08-08T11:10:00",
  "son_budget": 20000000,
  "accounts_registered_this_interval": 0,
  "recently_missed_count": 0,
  "current_aslot": 4559760,
  "recent_slots_filled": "340282366920938463463374607431768211455",
  "dynamic_flags": 0,
  "last_irreversible_block_num": 26300
}

unlocked >>> get_object 2.25.0
get_object 2.25.0
[{
    "id": "2.25.0",
    "owner": "1.33.0",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.1
get_object 2.25.1
[{
    "id": "2.25.1",
    "owner": "1.33.1",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.2
get_object 2.25.2
[{
    "id": "2.25.2",
    "owner": "1.33.2",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.3
get_object 2.25.3
[{
    "id": "2.25.3",
    "owner": "1.33.3",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.4
get_object 2.25.4
[{
    "id": "2.25.4",
    "owner": "1.33.4",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.5
get_object 2.25.5
[{
    "id": "2.25.5",
    "owner": "1.33.5",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.6
get_object 2.25.6
[{
    "id": "2.25.6",
    "owner": "1.33.6",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.7
get_object 2.25.7
[{
    "id": "2.25.7",
    "owner": "1.33.7",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.8
get_object 2.25.8
[{
    "id": "2.25.8",
    "owner": "1.33.8",
    "total_txs_signed": [[
        "hive",
        2
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.9
get_object 2.25.9
[{
    "id": "2.25.9",
    "owner": "1.33.9",
    "total_txs_signed": [[
        "hive",
        2
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.10
get_object 2.25.10
[{
    "id": "2.25.10",
    "owner": "1.33.10",
    "total_txs_signed": [[
        "hive",
        2
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.11
get_object 2.25.11
[{
    "id": "2.25.11",
    "owner": "1.33.11",
    "total_txs_signed": [[
        "hive",
        2
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.12
get_object 2.25.12
[{
    "id": "2.25.12",
    "owner": "1.33.12",
    "total_txs_signed": [[
        "hive",
        3
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.13
get_object 2.25.13
[{
    "id": "2.25.13",
    "owner": "1.33.13",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.14
get_object 2.25.14
[{
    "id": "2.25.14",
    "owner": "1.33.14",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 79800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-08T11:09:47",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ],
    "sidechain_txs_reported": [[
        "peerplays",
        2
      ],[
        "hive",
        3
      ]
    ]
  }
]
unlocked >>> get_object 2.25.15
get_object 2.25.15
[{
    "id": "2.25.15",
    "owner": "1.33.15",
    "total_txs_signed": [],
    "txs_signed": [],
    "total_voted_time": 0,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "1970-01-01T00:00:00",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [],
    "sidechain_txs_reported": []
  }
]
unlocked >>>

Steps: 1) Transferred half of nathan account to peerplaysuser01 account 2) reserved all the peerplaysuser01 TEST tokens 3) witness and son budgets became non-zero. 4) Transferred TESTS tokens from hiveuser01 to peerplaysuser01 5) Amount got credited in peerplaysuser01 account 6) total_sidechain_txs_reported got incremented Issue seen: After maintenance interval sidechain_txs_reported values are not reset to zero Did a deposit of HIVE token ``` unlocked >>> get_dynamic_global_properties get_dynamic_global_properties { "id": "2.1.0", "head_block_number": 26307, "head_block_id": "000066c32e605089588309850c0aa0f73f282901", "time": "2021-08-08T11:11:18", "current_witness": "1.6.8", "next_maintenance_time": "2021-08-08T11:20:00", "last_budget_time": "2021-08-08T11:10:00", "witness_budget": 177000000, "last_son_payout_time": "2021-08-08T11:10:00", "son_budget": 20000000, "accounts_registered_this_interval": 0, "recently_missed_count": 0, "current_aslot": 4559760, "recent_slots_filled": "340282366920938463463374607431768211455", "dynamic_flags": 0, "last_irreversible_block_num": 26300 } unlocked >>> get_object 2.25.0 get_object 2.25.0 [{ "id": "2.25.0", "owner": "1.33.0", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.1 get_object 2.25.1 [{ "id": "2.25.1", "owner": "1.33.1", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.2 get_object 2.25.2 [{ "id": "2.25.2", "owner": "1.33.2", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.3 get_object 2.25.3 [{ "id": "2.25.3", "owner": "1.33.3", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.4 get_object 2.25.4 [{ "id": "2.25.4", "owner": "1.33.4", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.5 get_object 2.25.5 [{ "id": "2.25.5", "owner": "1.33.5", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.6 get_object 2.25.6 [{ "id": "2.25.6", "owner": "1.33.6", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.7 get_object 2.25.7 [{ "id": "2.25.7", "owner": "1.33.7", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.8 get_object 2.25.8 [{ "id": "2.25.8", "owner": "1.33.8", "total_txs_signed": [[ "hive", 2 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.9 get_object 2.25.9 [{ "id": "2.25.9", "owner": "1.33.9", "total_txs_signed": [[ "hive", 2 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.10 get_object 2.25.10 [{ "id": "2.25.10", "owner": "1.33.10", "total_txs_signed": [[ "hive", 2 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.11 get_object 2.25.11 [{ "id": "2.25.11", "owner": "1.33.11", "total_txs_signed": [[ "hive", 2 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.12 get_object 2.25.12 [{ "id": "2.25.12", "owner": "1.33.12", "total_txs_signed": [[ "hive", 3 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.13 get_object 2.25.13 [{ "id": "2.25.13", "owner": "1.33.13", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.14 get_object 2.25.14 [{ "id": "2.25.14", "owner": "1.33.14", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 79800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-08T11:09:47", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ], "sidechain_txs_reported": [[ "peerplays", 2 ],[ "hive", 3 ] ] } ] unlocked >>> get_object 2.25.15 get_object 2.25.15 [{ "id": "2.25.15", "owner": "1.33.15", "total_txs_signed": [], "txs_signed": [], "total_voted_time": 0, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "1970-01-01T00:00:00", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [], "sidechain_txs_reported": [] } ] unlocked >>> ```
prandnum commented 2021-08-08 11:19:30 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos

CC: @hbelakon @sierra19XX

@bobinson @serkixenos CC: @hbelakon @sierra19XX
serkixenos commented 2021-08-09 12:12:42 +00:00 (Migrated from gitlab.com)

If #161 is fine, this one must be fine too. The reason for counters not being reset to 0, is because there was not enough funds to pay SONs. So, the counters must be preserved, in order to properly calculate rewards when funds are available. If they are rested to 0 with rewards 0, the signed transaction count would be lost, and it would not be included in reward calculation, and SONs would be treated unfairly, and not receiving proper rewards for their work.

If #161 is fine, this one must be fine too. The reason for counters not being reset to 0, is because there was not enough funds to pay SONs. So, the counters must be preserved, in order to properly calculate rewards when funds are available. If they are rested to 0 with rewards 0, the signed transaction count would be lost, and it would not be included in reward calculation, and SONs would be treated unfairly, and not receiving proper rewards for their work.
serkixenos commented 2021-08-09 12:21:35 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos and @prandnum

assigned to @serkixenos and @prandnum
serkixenos commented 2021-08-09 13:22:18 +00:00 (Migrated from gitlab.com)

changed time estimate to 8h

changed time estimate to 8h
prandnum commented 2021-08-09 18:02:38 +00:00 (Migrated from gitlab.com)

mentioned in issue #146

mentioned in issue #146
serkixenos commented 2021-08-09 20:43:40 +00:00 (Migrated from gitlab.com)

Addressed here

e8238f1cb4

Addressed here https://gitlab.com/PBSA/peerplays/-/commit/e8238f1cb404d4fea39b6b80451873c18bebcf78
bobinson commented 2021-08-10 08:19:08 +00:00 (Migrated from gitlab.com)

@serkixenos Is this available for verification now ?

@serkixenos Is this available for verification now ?
serkixenos commented 2021-08-15 00:09:10 +00:00 (Migrated from gitlab.com)

Yes, it is.

Yes, it is.
prandnum commented 2021-08-17 15:40:28 +00:00 (Migrated from gitlab.com)

Took the latest code(git clone https://github.com/peerplays-network/peerplays-utils.git) and it is not having the options you mentioned.

Son budget was setup(shown below) 

unlocked >>> get_dynamic_global_properties
get_dynamic_global_properties
{
  "id": "2.1.0",
  "head_block_number": 6097,
  "head_block_id": "000017d130eb883ee638b459defc527d3ae3ede6",
  "time": "2021-08-17T14:36:48",
  "current_witness": "1.6.8",
  "next_maintenance_time": "2021-08-17T14:40:00",
  "last_budget_time": "2021-08-17T14:30:00",
  "witness_budget": 67000000,
  "last_son_payout_time": "2021-08-17T14:30:00",
  "son_budget": 20000000,
  "accounts_registered_this_interval": 0,
  "recently_missed_count": 0,
  "current_aslot": 4823379,
  "recent_slots_filled": "340282366920938463463374607431768211455",
  "dynamic_flags": 0,
  "last_irreversible_block_num": 6089
}
unlocked >>>

To start with there were no sidechain transactions reported:

unlocked >>> get_object 2.25.0
[{
    "id": "2.25.0",
    "owner": "1.33.0",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 18000,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-17T14:35:11",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [],
    "sidechain_txs_reported": []
  }
]
unlocked >>>

Transfered using "transfer hiveuser01 son-account "10000.000 TBD" "account05" true"

unlocked >>> transfer hiveuser01 son-account "10000.000 TBD" "account05" true
transfer hiveuser01 son-account "10000.000 TBD" "account05" true
3304549ms websocket_api.cpp:102         on_message           ] message: {"jsonrpc":"2.0","result":[{"id":40,"name":"hiveuser01","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST8aTvMfS3PFXmrX9hJ4sA57o2Zwcihfe8XjisA4arFGNrBRSna8",1]]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x",1]]},"posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST69jMe4mWboU2bR9zkN7yRbPdJGRF1tEam32juH75gmhTjWD8Z7",1]]},"memo_key":"TST7Au6h62exu9cKfuLYEG8EeVwCW1Lni9xRBfr5s9KFya8EiHPhb","json_metadata":"","posting_json_metadata":"","proxy":"","last_owner_update":"1970-01-01T00:00:00","last_account_update":"1970-01-01T00:00:00","created":"2021-08-17T14:53:48","mined":false,"recovery_account":"initminer","last_account_recovery":"1970-01-01T00:00:00","reset_account":"null","comment_count":0,"lifetime_vote_count":0,"post_count":0,"can_vote":true,"voting_manabar":{"current_mana":283022952,"last_update_time":1629212067},"downvote_manabar":{"current_mana":70755738,"last_update_time":1629212067},"voting_power":0,"balance":"4990000.000 TESTS","savings_balance":"0.000 TESTS","hbd_balance":"5000000.000 TBD","hbd_seconds":"0","hbd_seconds_last_update":"2021-08-17T14:54:15","hbd_last_interest_payment":"1970-01-01T00:00:00","savings_hbd_balance":"0.000 TBD","savings_hbd_seconds":"0","savings_hbd_seconds_last_update":"1970-01-01T00:00:00","savings_hbd_last_interest_payment":"1970-01-01T00:00:00","savings_withdraw_requests":0,"reward_hbd_balance":"0.000 TBD","reward_hive_balance":"0.000 TESTS","reward_vesting_balance":"0.000000 VESTS","reward_vesting_hive":"0.000 TESTS","vesting_shares":"283.022952 VESTS","delegated_vesting_shares":"0.000000 VESTS","received_vesting_shares":"0.000000 VESTS","vesting_withdraw_rate":"0.000000 VESTS","post_voting_power":"283.022952 VESTS","next_vesting_withdrawal":"1969-12-31T23:59:59","withdrawn":0,"to_withdraw":0,"withdraw_routes":0,"pending_transfers":0,"curation_rewards":0,"posting_rewards":0,"proxied_vsf_votes":[0,0,0,0],"witnesses_voted_for":0,"last_post":"1970-01-01T00:00:00","last_root_post":"1970-01-01T00:00:00","last_vote_time":"1970-01-01T00:00:00","post_bandwidth":0,"pending_claimed_accounts":0,"delayed_votes":[{"time":"2021-08-17T14:54:27","val":283022952}],"vesting_balance":"0.000 TESTS","reputation":0,"transfer_history":[],"market_history":[],"post_history":[],"vote_history":[],"other_history":[],"witness_votes":[],"tags_usage":[],"guest_bloggers":[]}],"id":112}
3304553ms websocket_api.cpp:102         on_message           ] message: {"jsonrpc":"2.0","result":[{"id":40,"name":"hiveuser01","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST8aTvMfS3PFXmrX9hJ4sA57o2Zwcihfe8XjisA4arFGNrBRSna8",1]]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x",1]]},"posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST69jMe4mWboU2bR9zkN7yRbPdJGRF1tEam32juH75gmhTjWD8Z7",1]]},"memo_key":"TST7Au6h62exu9cKfuLYEG8EeVwCW1Lni9xRBfr5s9KFya8EiHPhb","json_metadata":"","posting_json_metadata":"","proxy":"","last_owner_update":"1970-01-01T00:00:00","last_account_update":"1970-01-01T00:00:00","created":"2021-08-17T14:53:48","mined":false,"recovery_account":"initminer","last_account_recovery":"1970-01-01T00:00:00","reset_account":"null","comment_count":0,"lifetime_vote_count":0,"post_count":0,"can_vote":true,"voting_manabar":{"current_mana":283022952,"last_update_time":1629212067},"downvote_manabar":{"current_mana":70755738,"last_update_time":1629212067},"voting_power":0,"balance":"4990000.000 TESTS","savings_balance":"0.000 TESTS","hbd_balance":"5000000.000 TBD","hbd_seconds":"0","hbd_seconds_last_update":"2021-08-17T14:54:15","hbd_last_interest_payment":"1970-01-01T00:00:00","savings_hbd_balance":"0.000 TBD","savings_hbd_seconds":"0","savings_hbd_seconds_last_update":"1970-01-01T00:00:00","savings_hbd_last_interest_payment":"1970-01-01T00:00:00","savings_withdraw_requests":0,"reward_hbd_balance":"0.000 TBD","reward_hive_balance":"0.000 TESTS","reward_vesting_balance":"0.000000 VESTS","reward_vesting_hive":"0.000 TESTS","vesting_shares":"283.022952 VESTS","delegated_vesting_shares":"0.000000 VESTS","received_vesting_shares":"0.000000 VESTS","vesting_withdraw_rate":"0.000000 VESTS","post_voting_power":"283.022952 VESTS","next_vesting_withdrawal":"1969-12-31T23:59:59","withdrawn":0,"to_withdraw":0,"withdraw_routes":0,"pending_transfers":0,"curation_rewards":0,"posting_rewards":0,"proxied_vsf_votes":[0,0,0,0],"witnesses_voted_for":0,"last_post":"1970-01-01T00:00:00","last_root_post":"1970-01-01T00:00:00","last_vote_time":"1970-01-01T00:00:00","post_bandwidth":0,"pending_claimed_accounts":0,"delayed_votes":[{"time":"2021-08-17T14:54:27","val":283022952}],"vesting_balance":"0.000 TESTS","reputation":0,"transfer_history":[],"market_history":[],"post_history":[],"vote_history":[],"other_history":[],"witness_votes":[],"tags_usage":[],"guest_bloggers":[]}],"id":113}
3304554ms wallet.cpp:626                sign_transaction     ] v_approving_keys: ["TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x"]
3304554ms wallet.cpp:629                sign_transaction     ] approving_key: TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x
3304556ms websocket_api.cpp:102         on_message           ] message: {"jsonrpc":"2.0","result":{"head_block_number":11495,"head_block_id":"00002ce701f520344666b4212aa82b8fb94c720f","time":"2021-08-17T14:55:03","current_witness":"initminer","total_pow":"18446744073709551615","num_pow_witnesses":0,"virtual_supply":"286250346.189 TESTS","current_supply":"250084520.308 TESTS","init_hbd_supply":"7000000.000 TBD","current_hbd_supply":"36165825.881 TBD","total_vesting_fund_hive":"33075640.920 TESTS","total_vesting_shares":"936116.420512 VESTS","total_reward_fund_hive":"0.000 TESTS","total_reward_shares2":"0","pending_rewarded_vesting_shares":"0.000000 VESTS","pending_rewarded_vesting_hive":"0.000 TESTS","hbd_interest_rate":1000,"hbd_print_rate":0,"maximum_block_size":131072,"required_actions_partition_percent":0,"current_aslot":59201901,"recent_slots_filled":"340282366920938463463374607431768211455","participation_count":128,"last_irreversible_block_num":11474,"vote_power_reserve_rate":10,"delegation_return_period":432000,"reverse_auction_seconds":300,"available_account_subsidies":8906066,"hbd_stop_percent":1000,"hbd_start_percent":900,"next_maintenance_time":"2021-08-17T15:18:51","last_budget_time":"2021-08-17T14:18:51","next_daily_maintenance_time":"2021-08-17T15:18:51","content_reward_percent":6500,"vesting_reward_percent":1500,"sps_fund_percent":1000,"sps_interval_ledger":"192.584 TBD","downvote_pool_percent":2500},"id":114}
3305612ms websocket_api.cpp:102         on_message           ] message: {"jsonrpc":"2.0","result":{"id":"e0e444043ffc56a8240379c5663f1318167e2102","block_num":11496,"trx_num":0,"expired":false},"id":115}
{
  "ref_block_num": 11495,
  "ref_block_prefix": 874575105,
  "expiration": "2021-08-17T14:55:33",
  "operations": [[
      "transfer",{
        "from": "hiveuser01",
        "to": "son-account",
        "amount": "10000.000 TBD",
        "memo": "account05"
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "2077ff0b182f9f983b6f3da258bae62f5ac3a35e4000b47e85e011cd28344bbd194185b94d707cb937b7306a0592cc5e058ed6543f91a2d9a60e31a6584208b982"
  ],
  "transaction_id": "e0e444043ffc56a8240379c5663f1318167e2102",
  "block_num": 11496,
  "transaction_num": 0
}
unlocked >>>

The payment was supposed to happen on "2021-08-17T15:00:00"

unlocked >>> get_dynamic_global_properties
get_dynamic_global_properties
{
  "id": "2.1.0",
  "head_block_number": 6463,
  "head_block_id": "0000193f04fca01b639beddd4c6b20916360bd67",
  "time": "2021-08-17T14:55:24",
  "current_witness": "1.6.9",
  "next_maintenance_time": "2021-08-17T15:00:00",
  "last_budget_time": "2021-08-17T14:50:00",
  "witness_budget": 95000000,
  "last_son_payout_time": "2021-08-17T14:50:00",
  "son_budget": 20000000,
  "accounts_registered_this_interval": 0,
  "recently_missed_count": 0,
  "current_aslot": 4823745,
  "recent_slots_filled": "340282366920938463463374607431768211455",
  "dynamic_flags": 0,
  "last_irreversible_block_num": 6456
}
unlocked >>>

The sidechain transaction count is not decremented after maintenance period.

unlocked >>> get_object 2.25.0
get_object 2.25.0
[{
    "id": "2.25.0",
    "owner": "1.33.0",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 19800,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-17T15:01:11",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "hive",
        1
      ]
    ],
    "sidechain_txs_reported": [[
        "hive",
        1
      ]
    ]
  }
]
unlocked >>>

peerplays@525ff3f23396:~/peerplays-network$ ls -lrt ../src/peerplays/build/programs/witness_node/witness_node

-rwxr-xr-x 1 root root 585707816 Aug 16 19:48 ../src/peerplays/build/programs/witness_node/witness_node

peerplays@525ff3f23396:~/peerplays-network$ ls -lrt ../src/peerplays/build/programs/cli_wallet/cli_wallet

-rwxr-xr-x 1 root root 631794632 Aug 16 19:43 ../src/peerplays/build/programs/cli_wallet/cli_wallet

peerplays@525ff3f23396:~/peerplays-network$ ./witness_node --version

Version: test-1.5.4-44-ge8238f1c

Git Revision: e8238f1cb404d4fea39b6b80451873c18bebcf78

Built: Aug 16 2021 at 19:47:00

SSL: OpenSSL 1.1.1f  31 Mar 2020

Boost: 1.67

peerplays@525ff3f23396:~/peerplays-network$
Took the latest code(git clone https://github.com/peerplays-network/peerplays-utils.git) and it is not having the options you mentioned. ``` Son budget was setup(shown below) unlocked >>> get_dynamic_global_properties get_dynamic_global_properties { "id": "2.1.0", "head_block_number": 6097, "head_block_id": "000017d130eb883ee638b459defc527d3ae3ede6", "time": "2021-08-17T14:36:48", "current_witness": "1.6.8", "next_maintenance_time": "2021-08-17T14:40:00", "last_budget_time": "2021-08-17T14:30:00", "witness_budget": 67000000, "last_son_payout_time": "2021-08-17T14:30:00", "son_budget": 20000000, "accounts_registered_this_interval": 0, "recently_missed_count": 0, "current_aslot": 4823379, "recent_slots_filled": "340282366920938463463374607431768211455", "dynamic_flags": 0, "last_irreversible_block_num": 6089 } unlocked >>> To start with there were no sidechain transactions reported: unlocked >>> get_object 2.25.0 [{ "id": "2.25.0", "owner": "1.33.0", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 18000, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-17T14:35:11", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [], "sidechain_txs_reported": [] } ] unlocked >>> Transfered using "transfer hiveuser01 son-account "10000.000 TBD" "account05" true" unlocked >>> transfer hiveuser01 son-account "10000.000 TBD" "account05" true transfer hiveuser01 son-account "10000.000 TBD" "account05" true 3304549ms websocket_api.cpp:102 on_message ] message: {"jsonrpc":"2.0","result":[{"id":40,"name":"hiveuser01","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST8aTvMfS3PFXmrX9hJ4sA57o2Zwcihfe8XjisA4arFGNrBRSna8",1]]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x",1]]},"posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST69jMe4mWboU2bR9zkN7yRbPdJGRF1tEam32juH75gmhTjWD8Z7",1]]},"memo_key":"TST7Au6h62exu9cKfuLYEG8EeVwCW1Lni9xRBfr5s9KFya8EiHPhb","json_metadata":"","posting_json_metadata":"","proxy":"","last_owner_update":"1970-01-01T00:00:00","last_account_update":"1970-01-01T00:00:00","created":"2021-08-17T14:53:48","mined":false,"recovery_account":"initminer","last_account_recovery":"1970-01-01T00:00:00","reset_account":"null","comment_count":0,"lifetime_vote_count":0,"post_count":0,"can_vote":true,"voting_manabar":{"current_mana":283022952,"last_update_time":1629212067},"downvote_manabar":{"current_mana":70755738,"last_update_time":1629212067},"voting_power":0,"balance":"4990000.000 TESTS","savings_balance":"0.000 TESTS","hbd_balance":"5000000.000 TBD","hbd_seconds":"0","hbd_seconds_last_update":"2021-08-17T14:54:15","hbd_last_interest_payment":"1970-01-01T00:00:00","savings_hbd_balance":"0.000 TBD","savings_hbd_seconds":"0","savings_hbd_seconds_last_update":"1970-01-01T00:00:00","savings_hbd_last_interest_payment":"1970-01-01T00:00:00","savings_withdraw_requests":0,"reward_hbd_balance":"0.000 TBD","reward_hive_balance":"0.000 TESTS","reward_vesting_balance":"0.000000 VESTS","reward_vesting_hive":"0.000 TESTS","vesting_shares":"283.022952 VESTS","delegated_vesting_shares":"0.000000 VESTS","received_vesting_shares":"0.000000 VESTS","vesting_withdraw_rate":"0.000000 VESTS","post_voting_power":"283.022952 VESTS","next_vesting_withdrawal":"1969-12-31T23:59:59","withdrawn":0,"to_withdraw":0,"withdraw_routes":0,"pending_transfers":0,"curation_rewards":0,"posting_rewards":0,"proxied_vsf_votes":[0,0,0,0],"witnesses_voted_for":0,"last_post":"1970-01-01T00:00:00","last_root_post":"1970-01-01T00:00:00","last_vote_time":"1970-01-01T00:00:00","post_bandwidth":0,"pending_claimed_accounts":0,"delayed_votes":[{"time":"2021-08-17T14:54:27","val":283022952}],"vesting_balance":"0.000 TESTS","reputation":0,"transfer_history":[],"market_history":[],"post_history":[],"vote_history":[],"other_history":[],"witness_votes":[],"tags_usage":[],"guest_bloggers":[]}],"id":112} 3304553ms websocket_api.cpp:102 on_message ] message: {"jsonrpc":"2.0","result":[{"id":40,"name":"hiveuser01","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST8aTvMfS3PFXmrX9hJ4sA57o2Zwcihfe8XjisA4arFGNrBRSna8",1]]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x",1]]},"posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["TST69jMe4mWboU2bR9zkN7yRbPdJGRF1tEam32juH75gmhTjWD8Z7",1]]},"memo_key":"TST7Au6h62exu9cKfuLYEG8EeVwCW1Lni9xRBfr5s9KFya8EiHPhb","json_metadata":"","posting_json_metadata":"","proxy":"","last_owner_update":"1970-01-01T00:00:00","last_account_update":"1970-01-01T00:00:00","created":"2021-08-17T14:53:48","mined":false,"recovery_account":"initminer","last_account_recovery":"1970-01-01T00:00:00","reset_account":"null","comment_count":0,"lifetime_vote_count":0,"post_count":0,"can_vote":true,"voting_manabar":{"current_mana":283022952,"last_update_time":1629212067},"downvote_manabar":{"current_mana":70755738,"last_update_time":1629212067},"voting_power":0,"balance":"4990000.000 TESTS","savings_balance":"0.000 TESTS","hbd_balance":"5000000.000 TBD","hbd_seconds":"0","hbd_seconds_last_update":"2021-08-17T14:54:15","hbd_last_interest_payment":"1970-01-01T00:00:00","savings_hbd_balance":"0.000 TBD","savings_hbd_seconds":"0","savings_hbd_seconds_last_update":"1970-01-01T00:00:00","savings_hbd_last_interest_payment":"1970-01-01T00:00:00","savings_withdraw_requests":0,"reward_hbd_balance":"0.000 TBD","reward_hive_balance":"0.000 TESTS","reward_vesting_balance":"0.000000 VESTS","reward_vesting_hive":"0.000 TESTS","vesting_shares":"283.022952 VESTS","delegated_vesting_shares":"0.000000 VESTS","received_vesting_shares":"0.000000 VESTS","vesting_withdraw_rate":"0.000000 VESTS","post_voting_power":"283.022952 VESTS","next_vesting_withdrawal":"1969-12-31T23:59:59","withdrawn":0,"to_withdraw":0,"withdraw_routes":0,"pending_transfers":0,"curation_rewards":0,"posting_rewards":0,"proxied_vsf_votes":[0,0,0,0],"witnesses_voted_for":0,"last_post":"1970-01-01T00:00:00","last_root_post":"1970-01-01T00:00:00","last_vote_time":"1970-01-01T00:00:00","post_bandwidth":0,"pending_claimed_accounts":0,"delayed_votes":[{"time":"2021-08-17T14:54:27","val":283022952}],"vesting_balance":"0.000 TESTS","reputation":0,"transfer_history":[],"market_history":[],"post_history":[],"vote_history":[],"other_history":[],"witness_votes":[],"tags_usage":[],"guest_bloggers":[]}],"id":113} 3304554ms wallet.cpp:626 sign_transaction ] v_approving_keys: ["TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x"] 3304554ms wallet.cpp:629 sign_transaction ] approving_key: TST5QnWNfmqwUtkPn6FWSPY1NdCcBhc4uEt9of9ia6E1eWzpaoa9x 3304556ms websocket_api.cpp:102 on_message ] message: {"jsonrpc":"2.0","result":{"head_block_number":11495,"head_block_id":"00002ce701f520344666b4212aa82b8fb94c720f","time":"2021-08-17T14:55:03","current_witness":"initminer","total_pow":"18446744073709551615","num_pow_witnesses":0,"virtual_supply":"286250346.189 TESTS","current_supply":"250084520.308 TESTS","init_hbd_supply":"7000000.000 TBD","current_hbd_supply":"36165825.881 TBD","total_vesting_fund_hive":"33075640.920 TESTS","total_vesting_shares":"936116.420512 VESTS","total_reward_fund_hive":"0.000 TESTS","total_reward_shares2":"0","pending_rewarded_vesting_shares":"0.000000 VESTS","pending_rewarded_vesting_hive":"0.000 TESTS","hbd_interest_rate":1000,"hbd_print_rate":0,"maximum_block_size":131072,"required_actions_partition_percent":0,"current_aslot":59201901,"recent_slots_filled":"340282366920938463463374607431768211455","participation_count":128,"last_irreversible_block_num":11474,"vote_power_reserve_rate":10,"delegation_return_period":432000,"reverse_auction_seconds":300,"available_account_subsidies":8906066,"hbd_stop_percent":1000,"hbd_start_percent":900,"next_maintenance_time":"2021-08-17T15:18:51","last_budget_time":"2021-08-17T14:18:51","next_daily_maintenance_time":"2021-08-17T15:18:51","content_reward_percent":6500,"vesting_reward_percent":1500,"sps_fund_percent":1000,"sps_interval_ledger":"192.584 TBD","downvote_pool_percent":2500},"id":114} 3305612ms websocket_api.cpp:102 on_message ] message: {"jsonrpc":"2.0","result":{"id":"e0e444043ffc56a8240379c5663f1318167e2102","block_num":11496,"trx_num":0,"expired":false},"id":115} { "ref_block_num": 11495, "ref_block_prefix": 874575105, "expiration": "2021-08-17T14:55:33", "operations": [[ "transfer",{ "from": "hiveuser01", "to": "son-account", "amount": "10000.000 TBD", "memo": "account05" } ] ], "extensions": [], "signatures": [ "2077ff0b182f9f983b6f3da258bae62f5ac3a35e4000b47e85e011cd28344bbd194185b94d707cb937b7306a0592cc5e058ed6543f91a2d9a60e31a6584208b982" ], "transaction_id": "e0e444043ffc56a8240379c5663f1318167e2102", "block_num": 11496, "transaction_num": 0 } unlocked >>> The payment was supposed to happen on "2021-08-17T15:00:00" unlocked >>> get_dynamic_global_properties get_dynamic_global_properties { "id": "2.1.0", "head_block_number": 6463, "head_block_id": "0000193f04fca01b639beddd4c6b20916360bd67", "time": "2021-08-17T14:55:24", "current_witness": "1.6.9", "next_maintenance_time": "2021-08-17T15:00:00", "last_budget_time": "2021-08-17T14:50:00", "witness_budget": 95000000, "last_son_payout_time": "2021-08-17T14:50:00", "son_budget": 20000000, "accounts_registered_this_interval": 0, "recently_missed_count": 0, "current_aslot": 4823745, "recent_slots_filled": "340282366920938463463374607431768211455", "dynamic_flags": 0, "last_irreversible_block_num": 6456 } unlocked >>> The sidechain transaction count is not decremented after maintenance period. unlocked >>> get_object 2.25.0 get_object 2.25.0 [{ "id": "2.25.0", "owner": "1.33.0", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 19800, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-17T15:01:11", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "hive", 1 ] ], "sidechain_txs_reported": [[ "hive", 1 ] ] } ] unlocked >>> peerplays@525ff3f23396:~/peerplays-network$ ls -lrt ../src/peerplays/build/programs/witness_node/witness_node -rwxr-xr-x 1 root root 585707816 Aug 16 19:48 ../src/peerplays/build/programs/witness_node/witness_node peerplays@525ff3f23396:~/peerplays-network$ ls -lrt ../src/peerplays/build/programs/cli_wallet/cli_wallet -rwxr-xr-x 1 root root 631794632 Aug 16 19:43 ../src/peerplays/build/programs/cli_wallet/cli_wallet peerplays@525ff3f23396:~/peerplays-network$ ./witness_node --version Version: test-1.5.4-44-ge8238f1c Git Revision: e8238f1cb404d4fea39b6b80451873c18bebcf78 Built: Aug 16 2021 at 19:47:00 SSL: OpenSSL 1.1.1f 31 Mar 2020 Boost: 1.67 peerplays@525ff3f23396:~/peerplays-network$
prandnum commented 2021-08-17 15:42:44 +00:00 (Migrated from gitlab.com)

attaching command logs sidechain_txn.txt

attaching command logs [sidechain_txn.txt](/uploads/d15d8f96bfc62bc651a10986ee424c72/sidechain_txn.txt)
prandnum commented 2021-08-19 18:19:35 +00:00 (Migrated from gitlab.com)

@serkixenos the fix is not working

unlocked >>> get_object 2.25.0
get_object 2.25.0
[{
    "id": "2.25.0",
    "owner": "1.33.0",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 4200,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-19T18:17:19",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [[
        "hive",
        2
      ]
    ],
    "sidechain_txs_reported": [[
        "hive",
        2
      ]
    ]
  }
]
unlocked >>> 
@serkixenos the fix is not working ``` unlocked >>> get_object 2.25.0 get_object 2.25.0 [{ "id": "2.25.0", "owner": "1.33.0", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 4200, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-19T18:17:19", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [[ "hive", 2 ] ], "sidechain_txs_reported": [[ "hive", 2 ] ] } ] unlocked >>> ```
serkixenos commented 2021-08-20 13:29:39 +00:00 (Migrated from gitlab.com)

The counter was not reset, because this particular SON did not signed any hive transactions, and it is not considered for payment.

Retest with SON that signed at least one transaction in a current payment period.

The counter was not reset, because this particular SON did not signed any hive transactions, and it is not considered for payment. Retest with SON that signed at least one transaction in a current payment period.
serkixenos commented 2021-08-20 13:31:24 +00:00 (Migrated from gitlab.com)

txs_signed[hive] is 0

To start with there were no sidechain transactions reported:

unlocked >>> get_object 2.25.0
[{
    "id": "2.25.0",
    "owner": "1.33.0",
    "total_txs_signed": [[
        "hive",
        1
      ]
    ],
    "txs_signed": [[
        "hive",
        0
      ]
    ],
    "total_voted_time": 18000,
    "total_downtime": 0,
    "current_interval_downtime": 0,
    "last_down_timestamp": "1970-01-01T00:00:00",
    "last_active_timestamp": "2021-08-17T14:35:11",
    "deregistered_timestamp": "1970-01-01T00:00:00",
    "total_sidechain_txs_reported": [],
    "sidechain_txs_reported": []
  }
]
txs_signed[hive] is 0 ``` To start with there were no sidechain transactions reported: unlocked >>> get_object 2.25.0 [{ "id": "2.25.0", "owner": "1.33.0", "total_txs_signed": [[ "hive", 1 ] ], "txs_signed": [[ "hive", 0 ] ], "total_voted_time": 18000, "total_downtime": 0, "current_interval_downtime": 0, "last_down_timestamp": "1970-01-01T00:00:00", "last_active_timestamp": "2021-08-17T14:35:11", "deregistered_timestamp": "1970-01-01T00:00:00", "total_sidechain_txs_reported": [], "sidechain_txs_reported": [] } ] ```
serkixenos commented 2021-09-22 14:06:35 +00:00 (Migrated from gitlab.com)

@prandnum What is the status of this ticket?

@prandnum What is the status of this ticket?
serkixenos commented 2021-09-22 14:06:40 +00:00 (Migrated from gitlab.com)

unassigned @serkixenos

unassigned @serkixenos
prandnum commented 2021-09-22 18:51:36 +00:00 (Migrated from gitlab.com)

the counters are getting reset, closing the bug.

the counters are getting reset, closing the bug.
prandnum (Migrated from gitlab.com) closed this issue 2021-09-22 18:51:37 +00:00
yviter commented 2021-10-18 11:45:11 +00:00 (Migrated from gitlab.com)

mentioned in commit 39263ba774

mentioned in commit 39263ba7745b074d389ba83191f7c56dd56bcbac
serkixenos commented 2021-11-22 19:38:12 +00:00 (Migrated from gitlab.com)

mentioned in commit 890079c33f

mentioned in commit 890079c33f605f6408d3c8cdaf433bfff56cb005
pavel.baykov commented 2021-11-26 06:49:41 +00:00 (Migrated from gitlab.com)

mentioned in commit 7d1db4e883

mentioned in commit 7d1db4e88387bd87037888cb2f8d6d063bcfdd19
Sign in to join this conversation.
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#165
No description provided.