Qweder93
487ad84b23
storagenode:consoleAPI flacky tests for estimatedPayout fixed
...
joinedAt date now is 2 months before time.Now which should fix calculations on early dates.
Change-Id: I6250ec2463c2dd609e811b74d908a02a3e64f19a
2021-03-13 20:33:25 +02:00
Qweder93
f2be856864
storagenode/payouts: estimated payouts calculations upgraded
...
Added recalculations of estimated income in current month in case
node joined in current month
Change-Id: Iac925fd8bcf2be8f1089e5f001a01448ba7650be
2021-02-25 14:11:44 +00:00
NickolaiYurchenko
badd6d12d4
web/satellite: distributed amount added to tables, content changed
...
Change-Id: Ib0eb3fa3f4f9d451f4b4048a6409d19968a41956
2021-02-24 16:01:40 +00:00
Qweder93
dcf7b884ca
storagenode/payouts: estimated payouts calculations fixed
...
Change-Id: I9d5d180aea1606350e0d9214fbf352bf9f76c184
2021-02-17 12:58:41 +00:00
Qweder93
b92a86e524
storagenode/payouts: earned amount at satellite and list of paying satellites IDs added to DB
...
Change-Id: I66e34d6d80e37481d6eaae4c7bd017a7e096a751
2021-02-04 10:19:08 +00:00
Qweder93
e383722812
storagenode/payouts: Distributed added to paystubs
...
Change-Id: I02ba1f681be84765a0a5dae7af17d2a6674e7cca
2021-02-02 13:51:43 +00:00
Egon Elbre
5d895fb404
storagenode/{payouts,console}: use same time for all calculations
...
When using calling time.Now() multiple times, they can cross
month boundary causing errors in calculations.
Change-Id: I66b5be7598f3bf475b4b5fe0dcce82eee55b3134
2021-02-01 13:59:50 +02:00
Egon Elbre
8a3db08f68
storagenode/payouts/estimatedpayouts: fix calculations
...
Change-Id: Iaa01ebd06a32c19d3ddc46b52524020e51212a7b
2021-02-01 13:32:56 +02:00
Qweder93
c139cbd76b
storagenode/payouts: fix CurrentMonthExpectations timezone handling. Estimations based on node's join date.
...
On servers with non-UTC it would have calculated a different month boundary.
If node joined in current month calculations will be related on amount of days node've been working.
Change-Id: Ie572b197f50c6cdff5a044a53dfb5b9138f82f24
2021-01-25 19:03:30 +02:00
Qweder93
6ba8f6c8a9
storanode, satellite: payout renamed to payouts, expected estimation payouts added, console api for audits reworked
...
Change-Id: I4aa5e99bffaa87d0a800a429a4c83aa498ad4b7b
2021-01-18 10:56:03 +00:00