found a bug after processing half a BTC. Some earlier tx had too low a txfee (only 0.0001 for the tx) and are actually still unconfirmed after all this time.
I didnt do an unconfirmed check until a pair of utxo were processed, which meant that if one unconfirmed utxo was combined with a confirmed, both were invalidated. This made it so there were no more available utxo to process.
The fix was to make sure no unconfirmed tx was paired in the first place and now the portfolio balancer is kicking into action again. One good thing is that after about 40 KMD/BTC atomic swaps all the p2sh outputs other than a few that had bugs in them, are properly spent as can be seen by:
https://blockchain.info/address/1L6cNgLMyX18T5H7ZRSj6u8bo9qfXcvXduhttp://kmd.explorer.supernet.org/address/RUNoTCDeaLohX5eK2bRrCRToZRJG8Fjg5wStill some issues to track down as I think the BTC side is getting a bit more KMD than it should. Also noteworthy is that the JUMBLR side is running smoothly all during this process.