Evgeni Pandurski made a "Circular Multilateral Barter" fork before they tokenised Ripple & killed it
On Wednesday, February 26, 2025 at 9:56:30 AM UTC Johan Nygren wrote:neither RipplePay nor ripple.com seemed to do active credit clearing, as it happens indirectly anyway
so with payments done, my system has all main components finishedtisdag 25 februari 2025 kl. 21:28:47 UTC+7 skrev Johan Nygren:payments now finished, still have to do credit clearing
8 user simulation available
summary available on https://ripple.archi/fredag 21 februari 2025 kl. 23:06:08 UTC+7 skrev Johan Nygren:I suggest an architecture for Ripple Inter Server Protocol:
https://bitbucket.org/bipedaljoe/ripple
Single-hop consensus is needed for true Ripple Inter Server Protocol.
With it, secure multi-hop consensus can be done person-to-person, without central coordination. I think.
Single-hop consensus is easily done by the two users (vertices) of an account (edge) taking turns to "validate" every new decision. I call this mechanism "Lockstep".
--
You received this message because you are subscribed to the Google Groups "Ripple Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rippleusers...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/d72de0af-2dea-4593-9677-afc9d111ea7an%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/bd03a450-4477-4f09-93f6-84ec4dad4db3n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/4f66f93b-1ec1-4b64-b266-da3922d5ed59n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/0d9ca936-9a8f-4f8a-a783-081e7079d227n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/f3da2f12-6fd7-45ee-a0a5-f1ecbd960daen%40googlegroups.com.
Hi Michiel, I am happy to correspond over video or text, but maybe we could take the conversation to Ryans forum first.
I suggest that single-hop consensus has been "missing piece".
If I am right, it explains why Ripple did great progress in 2003/2004 when Ryan Fugger invented it, and he easily built RipplePay.
But, why it then kind of just went around in a circle for years with attempts to come up with architecture for Ripple Inter Server Protocol.
Why the ideas for RISP always changed.
It is simply impossible to design it if you do not have single-hop consensus guaranteed, is my premise.
If I am right, it adds some certainty to the problem of "how do we get the real Ripple... "
Also, I already built it, the codebase is complete. It already works. You and I can already have our own Ripple servers and interact in a true RISP way.
What do you think - try and have conversation as "community" (Ryans Ripple group community) first and maybe later on we can correspond over video or something.
Chime in in the forum thread if you want to try and steer conversation towards some kind of certainty.
As for the payment steps, I derive them from the "fundamentals" I describe in the whitepaper.
Once path has been agreed on "lightly", the lockstep steps are:
Buyer -> Intermediaries -> Sender: LOCKSTEP_COMMIT_PAYMENT
Sender -> Buyer: COUNTERPART_FINALIZE_PAYMENT
Buyer -> Intermediaries -> Sender: LOCKSTEP _FINALIZE_PAYMENT
And that is it. With single-hop consensus you have guarantees that make it simple.
Peace /Johan
also invented https://bitpeople.org and Resilience...Den ons 26 feb. 2025 kl 19:07 skrev Michiel de Jong <mic...@unhosted.org>:Hi Johan,Great that you're working on this! Looks like you're making some good progress with the code. I must admit I understand your single-hop protocol "Lockstep", and I like it! I don't fully understand how you do multi-hop, would you be available for a video call so we can talk through it? I would love to learn more about your work.I have been involved in several similar projects, including LedgerLoops, Interledger, and Credit Commons. Here are some of my older blogposts about the topic:Cheers,Michiel de Jong
--
You received this message because you are subscribed to the Google Groups "Ripple Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rippleusers...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/f22fdd96-9cd4-44d8-8110-0d8a91ed9b66n%40googlegroups.com.
I publicly apologize for my wrong analysis last week.
Since Ripple is not at person-to-person level agreement-wise but at payment routing level, payment routing level consensus mechanism ("global commit mechanism") is logical.
(I still like the person-to-person-only consensus approach. I think it is a step-up from single-server approach like RipplePay, and I am not aware of many multi-server Ripple implementations, or, I am not aware of any other, but maybe those exist and I just do not know about them. I like the extreme simplicity, and that it requires symmetric cryptography only. I think the "reserve credit attack" could be manageable, socially. My platform is already built and it already works and it is just 4000 lines of code with more or less zero dependencies. Any computer engineer could recreate it from scratch with minimal work - sha256 is the only part that would be hard to build from scratch. My platform does not need certificate authorities - all authentication is user-to-user, not globally per server. The bidirectional path finding is probably very efficient. The UDP+Retransmission is efficient. The consensus mechanism Lockstep is minimalistic and has perfect consensus. But I made grandiose and wrong statements, as the logical true version of a Ripple Inter Server Protocol probably does payment routing level consensus, as this community has recognized for 15 years. And I apologize for that here. And since I want to see a true Ripple Inter Server Protocol built, and this community has been on the right track, I want to apologize and I want to mention payment routing consensus mechanism as maybe being what has been missing.
Payment routing consensus mechanism
Multi-general problem requires a single general ("validator"), and can also use validator alternation. Same concepts as Nakamoto consensus. 51% majority rule.
Every node (account or user, probably ideally account) in the payment chain is a validator. Validators produce blocks, have "slots" with X units of time, the block chain with the most signed slots is canon (my people-vote consensus engine also uses that).
Everyone can commit, and until everyone has committed, anyone can cancel. There is a singular (one-time-use) block chain, everyone is in agreement.
Comparing with previous ideas for Ripple Inter Server Protocol
With payment routing consensus mechanism, there is no "distributed race condition". Historically this community saw a problem ("reserve credit attack"), created a solution ("distributed race condition"), the solution created a problem ("stuck commits"), that problem motivated another solution ("global commit mechanism"), and it seems to me that other solution meant the first solution ("distributed race condition") was then actually redundant.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/9a310920-dece-4d05-8980-8555de76227en%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/CAKaEYhKvCu6o_nCjWFuz-o5r%2BX2hUeiyNObwnKrzf7VKiJMyjw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/CA%2BMLsgNA6nahu6jnAtXRVhj%3D8ajanoNNcPM%3DTKvKUPpASPfCng%40mail.gmail.com.
Presumably by "crypto nonsense" you don't mean cryptography, but cryptocurrencies.After all, I think you yourself are using cryptography in your project, through gunicorn, for ssl.
Certainly ripple doesn't need a blockchain, but trying to design a decentralized ripple without signatures would be a really bad idea, I think. You're basically relying on users cutting credit lines when one of their neighbors misbehave, but the with signatures you can eliminate the possibility of misbehavior altogether. And it's really not that hard, it's not like we need to implement our own cryptography. We could use a library that's already done, for example, libsecp256k1, but it doesn't have to be that one.There's no need for a global "consensus" or anything like that. You just need atomicity within ripple's transitive transactions, which of course is trivial to achieve in a single server.
Regarding ripple "creating money the same way as cryptocurrency", I strongly disagree with that. ripple is based on credit, it's more of a generalization of LETS than anything, it is mutual credit. Whereas bitcoin is more like "digital cash", someone's asset is nobody else's liability. In that sense ripple is even closer to the way central banks create money than to how bitcoin does it (central planning, monetary monopoly privileges, etc aside, evidently).
Although I find circular barter cool, I kind of see as a specific use case for the more general ripple. You could implement that based on a decentralized ripple system too. Probably even on top of xrp (which is not really decentralized, sadly), even though in my opinion they took several bad design decisions, seemingly oriented to make the chain easier to monitor (ie to harm privacy).
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/CABm2gDrETZMMbJUGODZhUvJaQiyjdyAtROiYNVvawmjfn93bwQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/CA%2BMLsgMh1dmoKRnqjtF94CggoiiBvN4Cgr6R%2BLvQW1pn1d_PiA%40mail.gmail.com.
Well, different people mean different things by "consensus" in this context. What I mean, specifically, is a system that has consensus rules that all nodes must validate like a blockchain. With a global state that all nodes must validate.I disagree that money creation is a complex emerging phenomena in ripple. and that the whole network is the issuer. no, each user is the issuer of his own IOUs, in that sense, it's actually simpler than in LETS. There it is the whole LETS community that issues the money.And the system is much more stable than a LETS or a
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/CABm2gDo06oyM2P9sxLWOpCP%2BYXoxiOsQvhA49P2vQUa4-OchBg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/rippleusers/CA%2BMLsgO-468UgvkBevsimPfx0CSLSdXMNAxkz-cGfDa0%2B9q5FQ%40mail.gmail.com.