Oddbean new post about | logout
 The more I refine code and fix bugs for calculating splits, the more the thing gets complicated. 

With value time split many splits can result in less than 1 sat payments. 

Should we discard them? 
Should we round them to 1 sat and send a total amount greater than the one the user selected? 
Should we delay and aggregate them? 

The first and last options would completely screw the splits used to do stats. 
 @027d609a 
Sending a single sat may be problematic with routing fees as well. I would think fees should properly be rounded up to a viable boost amount

Aggregating makes sense for streaming, but less so for boosts

Currently I'm just discarding anything under 2 sats until I can come up with a better solution. 
 @027d609a the way I'm handing it is this. If it's a fee, I don't care if it's a base or remote, I pull it out and don't apply any split percent. I figure fees are for things like stats. Then I pay the full amount to all fees. Then I apply the base/remote percent to the splits. I also have a rule that anything under 1 sat is dropped, so even a 1% fee won't see anything under a 100 sat payment.