Suppose you run a infrastructure type of service, like a mining pool. Fundamentally it's just a wallet collecting and distributing outputs. Our Xor blockchain targets a block interval of 30s, that is to say, on average, there's a new block generated every 30s. That's 120 blocks every hour. Or 2880 block every day. Or 86400 blocks every month.
Yeah, so? Well, imagine a wallet with 86400 UTXOs. That's A LOT. Enough to slow your wallet to a halt.
The Xor blockchain had it's genesis block minted in November 2017. So far, at the time of writing this, there have been 1418733 blocks. If you have been with us for a while or even from very early on, if you are one of the very early miners, I bet your wallet has tens of thousands of UTXOs.
So now what? Maybe you should be cleaning some wallet dust, buddy!
How? Well, here's the deal: you can combine up to 33 inputs in one transaction, FOR FREE! That's a lot more than your average blockchain, which is usually limited to 6 inputs. Some blockchains even do not allow for free transactions!
If you are a linux user, the simplest way is to use crontab. The syntax is like this:
The example above runs every minute. Tune it for your needs: https://crontab.guru/every-1-minute
Code: Select all
* * * * * oracold sendtoaddress <addy> <amount>
Clean up your uneven inputs manually from the wallet, then fire up crontab and relax while your UTXOs are being consolidated.