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:
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