I released version 5.2.0 to help on exchange issues.
The changes are:
When a generated transaction is too big the error message is now explicit.
-multitx option. When this option is activated the
sendmany RPCs will generate multiple transactions if the operation doesn’t fit in a single transaction. In this case the RPCs will return a string with all transaction hashes separated by newlines.
splitshareoutputs RPC to change the way shares are split without restarting the client.
The default value for
splitshareoutputs is now 0, so that shares are not split by default anymore. Share splitting should only be activated on nodes that intend to mint for a long period. To activate it on your minting node you can add this to your config file:
splitshareoutputs=10000. If you do that it is advised to disable splitting before you send funds to someone else, especially for large amounts, to avoid the extra fees and the problems with transactions being too large.
mergeoutputs RPC. It should be used by users who transact large amounts of NSR that may have been split and would generate too large transactions. The command takes all the unspent outputs of an address and sends them to the same address in a single output. If the transaction is too large it generates multiple transactions (and one output per transaction). If no address is provided to the RPC this process is done for all the addresses that have at least 2 unspent outputs. This RPC may take some time to proceed. Exchanges should run this command on a regular basis.
-stakegen option to enable or disable minting (enabled by default). This is useful for nodes that do not want to mint (full nodes, exchanges, etc.). Without this option turned off the node may use CPU to generate blocks even when it doesn’t have any shares. Put
stakegen=0 in your config file to disable minting.
So exchanges should probably use these options:
multitx=1 stakegen=0 splitshareoutputs=0 avatar=0
Minting nodes should use this option:
Nodes without shares should use this option:
The code changes are here: https://bitbucket.org/JordanLeePeershares/nubit/pull-requests/273/52-stable/commits
57f1d900e9620bc5f434ac091c80fec639a6275ac825c1a3f4d7e39e1cdf59cb nu-5.2.0-win-gitian.zip eeec33f07ea32e34697774faf9f637499562ba6f97858950d3ad56400bde878d nu-5.2.0-linux-gitian.zip bc97f13a3d76a2963833d61a1622b74b1886dafc2900fe3f80c61035cb70e5b6 64/Nu-5.2.0-win-setup.exe e9f36252285a41f4ddb2fe288d380ca2a5731be33d92e9ac32328896e1d2e0ee 64/nu.exe 7949750f5744c354c25946d485169528e8f44ca696d6435d535fe52b67220f88 64/nud.exe 76c5939bdb08ad8c8686d6d8f3dfb57181f658cf7df889fd867decdc4ce668b1 bin/32/nu a08dd12e6a25ac021162c459abe3e750d78ddb051420f46a9c61896c394c71f4 bin/32/nud 64c729e308d7bc2dd4d2fd94b9bef12c0719978b0f71c01e370aee64e8cdd91c bin/64/nu 63438bc0ca3a78987ddb83124e5806ebd2296f435c7efcd6d7b9d049a9d81d88 bin/64/nud