oxen-core/utils
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
..
build_scripts Fix apple static libs check 2022-04-15 14:32:06 -03:00
gpg_keys Remove unused gpg_keys (#1068) 2020-03-12 10:54:13 +11:00
local-devnet Batching of service node rewards 2022-04-29 09:51:14 +10:00
munin_plugins Update 2019 copyright 2019-03-05 22:05:34 +01:00
python-rpc Merge commit '8136bf37e2c0a76851c0bb6482b6e4c2b653f5d7' into MergeUpstream3 2020-05-27 15:40:27 +10:00
translations translations: fix "monero_" prefix when taking languages from file 2019-11-15 13:21:46 +00:00
.gitignore year updated in license 2015-01-02 18:52:46 +02:00
doxygen-publish.sh cleaning up, removing redundant files, renaming, fixing incorrect licenses 2015-05-31 13:40:18 +02:00
generate-quorum-matrix.py Add support for N=11 and N=12 quorum comms (#1178) 2020-06-22 11:10:52 +10:00
lmq-rpc.py Update default ipc socket in lmq-rpc.py 2021-01-07 18:40:22 -04:00
lmq-watch.py lokinet revert 2021-01-07 18:40:22 -04:00
loki-launcher-to-debs.sh Improve wording on deb conversion script 2020-09-18 20:53:04 -03:00
qnet-ping.py lokinet revert 2021-01-07 18:40:22 -04:00