oxen-core/external
Sean Darcy 866691d9d8 Batching of service node rewards
This updates the coinbase transactions to reward service nodes
periodically rather than every block. If you recieve a service node
reward this reward will be delayed x blocks, if you receive another
reward to the same wallet before those blocks have been completed it
will be added to your total and all will be paid out after those x
blocks has passed.

For example if our batching interval is 2 blocks:

Block 1 - Address A receives reward of 10 oxen - added to batch
Block 2 - Address A receives reward of 10 oxen - added to batch
Block 3 - Address A is paid out 20 oxen.

Batching accumulates a small reward for all nodes every block

The batching of service node rewards allows us to drip feed rewards
to service nodes. Rather than accruing each service node 16.5 oxen every
time they are pulse block leader we now reward every node the 16.5 /
num_service_nodes every block and pay each wallet the full amount that
has been accrued after a period of time (Likely 3.5 days).

To spread each payment evenly we now pay the rewards based on the
address of the recipient. This modulus of their address determines which
block the address should be paid and by setting the interval to our
service_node_batching interval we can guarantee they will be paid out
regularly and evenly distribute the payments for all wallets over this
2022-04-29 09:51:14 +10:00
..
boost/archive Merge remote-tracking branch 'origin/master' into master-to-dev 2020-09-21 19:09:14 -03:00
cpr@beb9e98806 Downgrade cpr to 1.7.2 2022-04-14 14:34:49 -03:00
db_drivers Define _WANT_SEMUN for FreeBSD to ensure union semun is defined 2020-07-06 12:17:07 -03:00
easylogging++ Merge commit 'c038cc8b791ffb4bcd5f13e47de1ea98815059fe' into MergeUpstream3 2020-05-28 12:23:19 +10:00
fmt@b6f4ceaed0 Update submodules to latest stable versions 2022-04-14 14:32:02 -03:00
ghc-filesystem@cd6805e94d Update submodules to latest stable versions 2022-04-14 14:32:02 -03:00
googletest@e2239ee604 Update gtest 2021-07-06 16:31:07 -03:00
libuv@e8b7eb6908 Update submodules to latest stable versions 2022-04-14 14:32:02 -03:00
loki-mq@5c72a57eca Update oxenmq to latest oxen-mq+oxen-encoding 2022-04-14 14:32:01 -03:00
oxen-encoding@a0912ab4bf Update oxenmq to latest oxen-mq+oxen-encoding 2022-04-14 14:32:01 -03:00
randomx@006b90a485 Update randomx with arm64 patch 2021-02-16 18:56:15 -04:00
rapidjson@ce81bc9edf Update submodules and static build deps to latest versions 2020-09-16 11:46:38 -03:00
SQLiteCpp@ce6dd9b822 Batching of service node rewards 2022-04-29 09:51:14 +10:00
trezor-common@beb242691c Update submodules and static build deps to latest versions 2020-09-16 11:46:38 -03:00
uWebSockets@eea4b7e0f6 Update submodules to latest stable versions 2022-04-14 14:32:02 -03:00
CMakeLists.txt Remove UPnP support 2022-04-14 14:34:49 -03:00