I think we'll end up with making the small changes you mentioned so once we have a more active community we can discuss something more to implement.
The small changes can be made by anyone with minimal knowledge of the code, including me. So the developer wouldn't have to bother with that. But if he includes the change for the same money it would be obviously best.
I think the following changes are uncontroversial, as nobody has opposed them so far in any of the discussion channels (they are basically anti-spam features inherited by the old Peercoin code, but spam hasn't been a problem and wouldn't be because a fee market can always develop if there is shortage of space in the blocks):
- Reduce the minimum amount for an output from 0.01 SLM to 1 "slimtoshi" (=> the minimal amount)
- Reduce the mimimum transaction fee from 0.01 SLM to 0.0001 SLM per kB
- The minimum absolute transaction fee which is currently also 0.01 SLM, could be abolished totally, so for a 200 byte transaction you would pay 0.00002 SLM. I am however not sure how this is organized, will have to take a look into the code.
- Increase the length of OP_RETURN messages from 80 to
256 259 bytes (see below).
The PoS reward instead is something which should be discussed in the community as it can be controversial, so this could be saved for a later hard fork, maybe when we decide to implement the "hard cap" for PoS blocks I proposed in the wiki and on Discord.
PS: The variables corresponding to the changes in my list (I highlighted the variables and the values which would correspond to the changes proposed above):
in main.h:
Minimum transaction fee:
MIN_TX_FEE and
MIN_RELAY_TX_FEE. Both are currently CENT, which is 0.01 SLM or 10000 slimtoshi.
- A minimal fee of 0.0001 per kB would result in a MIN_TX_FEE value of
100.
-MIN_RELAY_TX_FEE is the minimum transaction fee to be relayed, which should be also
100. (Edit: corrected an error in the earlier version of this post)
- Minimum output value:
MIN_TXOUT_AMOUNT. Should be changed to
1. (1 "slimtoshi")
for OP_RETURN:
-
MAX_OP_RETURN_RELAY in script.h (in the new Peercoin version, it's in scripts/standard.h) . It was recently increased by gjhiggins to 100, so it's not longer 80. I have seen that Peercoin changed it to 259 bytes, not 256, because it seems so after taking into account the opcode itself 256 bytes of data would remain. I think as Slimcoin will use Peerassets heavily it should follow this value, so it should also be set to
259.
Edit: I just saw that Peercoin 0.7+ uses additionally a fee called PERKB_TX_FEE. This seems to be the fee per kB, while the other two (MIN_TX_FEE and MIN_RELAY_TX_FEE) are "absolute" minimum numbers. I have also thought a bit about possible DoS/spam attacks. So perhaps the following values would be good:
PERKB_TX_FEE = 1000
MIN_TX_FEE = 100 (so all transactions with less than 100 bytes would pay this value. Normal transactions are however 120+ bytes large, most 180+)
MIN_RELAY_TX_FEE = 100