Last part added to Resilience, code available via
http://ripple.archi/code.
The "who pays the tax" now uses the pay-it-forward mechanism I conceptualized (I think) in 2014/2015/2016 when "BitNation" started promoting me (I also went on to build
https://bitpeople.org under my foundation as I had gotten associated with the bullshit-BitNation and wanted to emphasize I always had pure intentions with my interest in globalization and digitalization of government, so I built a true vision for it under my Panarchy foundation in Sweden).
The pay-it-forward is simple: everyone donates same amount as previous hop. People participate in payments that use tax-rates they tolerate. The rule in the codebase is more than 50% and less than 150% of "trust index". If your "trust index" is 4% tax, you would participate in payments over 2% and below 6%. This rule is a bit arbitrary, the point is that your credit lines get "conductivity" from the tax you pay, and you may not
want to participate in 0% payments because you get disconnected from the Resilience network. An attacker also loses nothing from those payments
if they just do them back and forth. Thus you might want to refuse to be an intermediary in such payments, and you can then use a lower-bound/upper-bound rule such as the one in my codebase.
Note, the premise of swarm redistribution is it always continues to propagate if someone who receives it also has net positive balance to someone else. Thus only people who have no measurable income in the system get a "net positive" - thus guaranteed basic income...
Also, those who think "swarm redistribution just causes too many messages", yes but the idea has always been that each hop "fills up" like a dam before propagating. This is in the codebase, if you have already queued a swarm redistribution command to an account, you buffer any incoming tax until you sent the previous command (or the buffer is full). So you are right in seeing the problem, but there is also a simple solution: buffering, and it is in the codebase.
Also those who notice "what if the redistribution gets stuck in a circle?". Well, then it clears that circle eventually, thus acting also as a credit-clearing system, for free. So you are right in noticing that, but maybe miss that you actually get the credit clearing more or less for free.
What I have built is what I described in 2012: a truly decentralized - no centralized point of control - swarm-based "welfare system". I was a bit famous for a while, many "crypto" articles on websites such as Cointelegraph mentioned Resilience (but misunderstood the design and misunderstood it being based on Ripple and did not even know what Ripple actually is). I originally used metaphors like "dividend pathways" instead of credit lines to be able to communicate the ideas a bit broader. Seemed like the right thing to do, and in hindsight now that I have built what I promised to build, maybe it was the best path.
Anyone interested feel free to correspond.
Peace Johan