Ripplesite's architecture

48 views
Skip to first unread message

Daniel Lidstrom

unread,
Jun 18, 2010, 9:50:38 AM6/18/10
to rippl...@googlegroups.com
Hi there.  I'm wondering if separate Ripple servers can communicate with one another?  Is it a 'federation of servers' type of architecture?

rg

unread,
Jun 18, 2010, 10:49:05 AM6/18/10
to rippl...@googlegroups.com
>Hi there. I'm wondering if separate Ripple servers can communicate
with one another? Is it a 'federation of servers' type of architecture? --

At the moment they can't communicate.
There is a project called "ripple protocol" to allow server to comunicate.
http://ripple.sourceforge.net/
The same protocol can be the base for a future peer to peer implementation.
Ryan Fugger said he considers ripple protocol a low priority today. I
agree with him.

Daniel Lidstrom

unread,
Jun 18, 2010, 11:42:58 AM6/18/10
to rippl...@googlegroups.com
My take on alternative currencies is that the really good ideas should be developed regardless of the present level of interest so that people have the most compelling possible alternative available in the event that today's widely used currencies become very obviously problematic in the eyes of the masses - something I see as inevitable in the near to medium term.  Basically, I think we should maximize our potential to be able to swoop in when the time is right, and grab as much of the market share as possible.  And gradual adoption is good too, of course.


--
You received this message because you are subscribed to the Google Groups "Ripple users" group.
To post to this group, send email to rippl...@googlegroups.com.
To unsubscribe from this group, send email to rippleusers...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rippleusers?hl=en.


Daniel

unread,
Jun 18, 2010, 3:52:25 PM6/18/10
to rippl...@googlegroups.com
It's definitely important to get the good ideas ready when possible, although resources are always limited so one can't develop every good idea right away. If you think that people will soon want a better form of payment, then the best way to help may be to contribute to the areas of alternative systems that you think are most important.

Daniel

Daniel Lidstrom

unread,
Jun 18, 2010, 7:17:14 PM6/18/10
to rippl...@googlegroups.com
That's my intention.  I'm currently studying Bitcoin and Ripple for some inspiration on this.

I have some other questions, though.  Does Ripple make payments with only your own IOUs, or can it also exchange the IOUs that you hold from others, and that others are willing to accept, in order to find more payment routes?  Also, does it make any attempt to find a route which minimizes transaction fees and interest rates?

Has anybody thought of any local trust metrics for the network which could be used to suggest new direct credit lines a user might want to extend?  This could help to increase the connectedness of the network, thereby reducing third party liability, and hence transaction fees and interest rates.

Has anybody here looked at Bitcoin yet?  I think an anonymous digital currency with zero third party liability and (practically) no transaction fees, like Bitcoin, would be very useful for settling debts within Ripple.  We should also keep in mind that Ripple will always need a complementary homogeneous currency to price goods in, since its assets, IOUs, are heterogeneous.  So for those of us who would like to move away from fiat currency, or who just want privacy and to save on transaction fees, we should also think about supporting and using something like Bitcoin concurrently.

For anybody interested, there is no third party liability in Bitcoin because there is no central issuer; the rate of money creation is fixed, and the supply asymptotically approaches a cap.  Also, transactions are verified by a p2p network.

Disclosure: I own 505 bitcoins, which is currently worth about $2.50. ;)

Thanks for any responses,

Dan

Ryan Fugger

unread,
Jun 19, 2010, 4:07:41 AM6/19/10
to rippl...@googlegroups.com
On Fri, Jun 18, 2010 at 4:17 PM, Daniel Lidstrom <lidst...@gmail.com> wrote:
> That's my intention.  I'm currently studying Bitcoin and Ripple for some
> inspiration on this.
>
> I have some other questions, though.  Does Ripple make payments with only
> your own IOUs, or can it also exchange the IOUs that you hold from others,
> and that others are willing to accept, in order to find more payment
> routes?  Also, does it make any attempt to find a route which minimizes
> transaction fees and interest rates?
>

If others are willing to accept IOUs you hold, then there is always a
path through the issuer of those IOUs, so yes, it does find those
routes, and many more.

Right now it doesn't attempt to optimize routes to minimize interest,
and charging transaction fees isn't implemented yet, but such an
optimization is always possible in the future.

> Has anybody thought of any local trust metrics for the network which could
> be used to suggest new direct credit lines a user might want to extend?
> This could help to increase the connectedness of the network, thereby
> reducing third party liability, and hence transaction fees and interest
> rates.
>

You mean something like, "If you trust X, then maybe you also trust
[or want to try trusting] Y," because lots of people who trust X also
trust Y? That might be a good idea.

> Has anybody here looked at Bitcoin yet?  I think an anonymous digital
> currency with zero third party liability and (practically) no transaction
> fees, like Bitcoin, would be very useful for settling debts within Ripple.
> We should also keep in mind that Ripple will always need a complementary
> homogeneous currency to price goods in, since its assets, IOUs, are
> heterogeneous.  So for those of us who would like to move away from fiat
> currency, or who just want privacy and to save on transaction fees, we
> should also think about supporting and using something like Bitcoin
> concurrently.
>

Sure, you can use anything to settle debts within Ripple if you need
to. What's more promising for me is using Ripple to connect
alternative currencies like Bitcoin into a single global payment
network where holders of Bitcoin don't need to find someone who
accepts Bitcoin in order to spend it. Instead, they can pay anyone
who uses Ripple through someone else who uses Bitcoin.

In other words, Ripple is a clearing house for alternative currencies.
In Ripplepay, I've emphasized personal currencies, but really they
could be any kind of currencies.

> For anybody interested, there is no third party liability in Bitcoin because
> there is no central issuer; the rate of money creation is fixed, and the
> supply asymptotically approaches a cap.  Also, transactions are verified by
> a p2p network.
>

Hmm... Bitcoin looks interesting, but I can't figure out what gives
the currency value. Simply making a coin hard to create doesn't imply
value to me.

Ryan

Daniel Lidstrom

unread,
Jun 19, 2010, 6:24:21 AM6/19/10
to rippl...@googlegroups.com
That's a great use for Ripple!  So in addition to possible transaction fees and interest rates, a user could set currency exchange rates as well?  Very neat.  Especially if routes are optimized for cheapness.  This could really help expand the marketability of alternative currencies.

Can Ripple aggregate and broadcast market data somehow?

The initial value thing (the regression theorem) with Bitcoin is definitely a problem.  I've been thinking about possible ways to organize a decentralized reserve network to overcome this.  It would need a suitable local trust metric in order to recommend a safe bitcoin price floor for everyone to agree upon, given their individual reserves and the properties of the network, as well as optimally safe individual reserve targets, given this price floor, so their risk is appropriately balanced.  An agreeable spread would also have to be decided upon somehow.  Indeed, I've also been thinking about whether Ripple could be used among reserve holders in order to balance this risk by moving reserves around between them.  Since Bitcoin is basically an inflation-free currency, the reserves would have to keep up with demand in order to maintain a true peg, though.  The longer and more transparently and consistently the peg can be maintained, the more confidence is created, and the more liquid the currency will become.  But there's no loss to the reserve holders when demand eventually outstrips reserves.  This would be a risk for reserve holders to take on, but with the potential for reward; although I don't really know what would happen if all the reserve holders started competing with each other...  Based on your suggestion, I think this would all work very well (if it would work at all :P) within the Ripple network, provided we can get Ripple to take off.

Would be nice if Ripple became a common financial network to tie them all together.

I have to finish writing up my thesis first, but afterward I'm happy to help if the project is indeed starting back up.  My background is mathematical physics, though, so I don't know how useful this will be.  But I'm more than willing to learn any new stuff.  Any thoughts on top priorities?

Dan

Ryan Fugger

unread,
Jun 19, 2010, 1:48:06 PM6/19/10
to rippl...@googlegroups.com
On Sat, Jun 19, 2010 at 3:24 AM, Daniel Lidstrom <lidst...@gmail.com> wrote:
> I have to finish writing up my thesis first, but afterward I'm happy to help
> if the project is indeed starting back up.  My background is mathematical
> physics, though, so I don't know how useful this will be.  But I'm more than
> willing to learn any new stuff.  Any thoughts on top priorities?
>

Top priority is always to come up with a feasible plan to grow Ripple
to the point where it's useful as a payment system in its own right,
and not just an IOU tracker between friends.

rg

unread,
Jun 19, 2010, 8:57:35 PM6/19/10
to rippl...@googlegroups.com

> Can Ripple aggregate and broadcast market data somehow?
>
> The initial value thing (the regression theorem) with Bitcoin is
> definitely a problem. I've been thinking about possible ways to
> organize a decentralized reserve network to overcome this. It would
> need a suitable local trust metric in order to recommend a safe
> bitcoin price floor for everyone to agree upon, given their individual
> reserves and the properties of the network, as well as optimally safe
> individual reserve targets, given this price floor, so their risk is
> appropriately balanced. An agreeable spread would also have to be
> decided upon somehow. Indeed, I've also been thinking about whether
> Ripple could be used among reserve holders in order to balance this
> risk by moving reserves around between them. Since Bitcoin is
> basically an inflation-free currency, the reserves would have to keep
> up with demand in order to maintain a true peg, though. The longer
> and more transparently and consistently the peg can be maintained, the
> more confidence is created, and the more liquid the currency will
> become. But there's no loss to the reserve holders when demand
> eventually outstrips reserves. This would be a risk for reserve
> holders to take on, but with the potential for reward; although I
> don't really know what would happen if all the reserve holders started
> competing with each other... Based on your suggestion, I think this
> would all work very well (if it would work at all :P) within the
> Ripple network, provided we can get Ripple to take off.
>
In my vision Ripple is a tool to better take advantage of existing
"credit lines".
A credit line can be seen as the capacity to move value between two
nodes, without any commission or with very low cost or effort.
Ripple is agnostic about the origin of credit lines. It is not important
what kind of warranty, deposit, trust mechanism is behind this credit lines.

If Bitcoin is a way to move value between two nodes, it can be used on
ripple.

In my vision a Reserve is something that stays in a safe place and
usually do not moves. A reserve can improve accountability and help
create a Credit Line. That credit line can be used in Ripple net.

Maybe you can describe it the other way around and consider Ripple a way
to move "virtual reserves". But I do not think this makes things more clear.
I hope we can collaborate now or after you finish your studies.
Romualdo.

Daniel Lidstrom

unread,
Jun 20, 2010, 11:03:38 PM6/20/10
to rippl...@googlegroups.com
Romualdo,

I completely agree with you everything you've said here.  I do, however, think that Ripple has some limitations that require something like Bitcoin to complement it (and vice-versa).  This was just a proposal for a way to make Bitcoin more liquid using Ripple, and vice-versa if it would work.

It shouldn't be much longer before I've finished my studies, and I look forward to collaborating with you then. 

Dan



If something like Bitcoin could become very liquid, then it would greatly complement Ripple by


--

Daniel Lidstrom

unread,
Jun 20, 2010, 11:04:16 PM6/20/10
to rippl...@googlegroups.com
Whoops, disregard that last line.

Mats

unread,
Jun 21, 2010, 9:07:20 AM6/21/10
to Ripple users
Hi Daniel,

could you elaborate a bit on this? Would be most delightful to hear
your thoughts about it.

Mats

On Jun 21, 5:03 am, Daniel Lidstrom <lidstro...@gmail.com> wrote:
>I do, however,
> think that Ripple has some limitations that require something like Bitcoin
> to complement it (and vice-versa).  
>

Daniel Lidstrom

unread,
Jun 21, 2010, 11:23:59 AM6/21/10
to rippl...@googlegroups.com
Hi Mats,

It seems to me that nodes will have to be able to scale beyond the friend-to-friend model and make businesses out of extending credit in order to accommodate the less socially connected users, or those whose friends simply aren't able to extend to them the credit they require.  And don't forget Shakespeare's, 'neither a borrower nor a lender be'; lending money to friends is not for everybody.  These, I think, will be reflected by a high degree of 'preferential attachment' in the Ripple network, if it's successful.  But nodes in Ripple are going to have a very hard time scaling up if they can't become independent of the traditional financial system.  The Ripple network will always require external debt clearing mechanisms to function, and while Paypal and the traditional banking system will work fine for small and infrequent payments among friends, if any node tries to make a successful business out of extending credit, they will face high fees from them, invasions of privacy (KYC), frozen accounts (see Paypal's 'Acceptable Use Policy'), and legal bullying (see Liberty Dollar, and e-gold).  A viable alternative financial system is a competitor to the traditional one, and will be treated as such.  I see Bitcoin is a potential solution to these problems.  It would also be nice to be able to eventually stop pricing things in inflationary fiat currencies, and to reduce the creepy amounts of power these give governments.

Conversely, Bitcoin needs a financial network to complement it; people need to be able to lend what they don't need, and borrow what they don't have.  This is particularly important for Bitcoin market makers, since they need to be able to take on short positions in anticipation of times of falling demand, in order to smooth out the exchange rate and add liquidity to Bitcoin.

I guess, ideally, I'd like to see something like Ripple as being sort of a standardized banking protocol and a financial network that anybody is free to be a part of, and something like Bitcoin would be the cash that this financial network is built upon.

What are your thoughts on this?

Dan

Thomas Hartman

unread,
Jun 21, 2010, 11:35:20 AM6/21/10
to rippl...@googlegroups.com
I wouldn't approach ripple as something to get out of tax, KYC (know
your customer) privacy invasion, or other onerous aspects of
civilization.

This dooms it to be a victim of its own success (and predictable
crackdown). After all, people that really want to get off the grid can
use well established hawala networks, or trade with trusted people in
untraceable commodities (gold, drugs, whatever). And people that care
remember what happened to egold.

The ideal thing would be a business model that is appealing to a
certain population, *including* the tax and KYC stuff. I admit I am
not sure what that would be.

But I think something that would increase transparancy and
accountability, rather than some kind of underground thing. These
things are just imho impossible to get bootstrapped given the current
situation, where after all you can do drug deals and paper cash is
"anonymous enough". Personally I like todd boyle's ideas about shared
transaction repositories. (Bitrotted but still available via wayback
if I recall correctly.)

--
Need somewhere to put your code? http://patch-tag.com
Want to build a webapp? http://happstack.com

Daniel Lidstrom

unread,
Jun 21, 2010, 1:12:41 PM6/21/10
to rippl...@googlegroups.com
I agree with you about how to approach Ripple.  I'm sorry if I gave the wrong idea about my motivations, I'm just thinking defensively about it.  I mean, it's not like Liberty Dollar did anything wrong, so you clearly don't have to break the law to become a target.  And, for example, using Paypal for Ripple appears to violate their Acceptable Use Policy.

Oh, and the lesson I learned from e-gold is that digital cash has to be totally decentralized, like Bitcoin is ;)  But yes, the bootstrapping problem is a doozy.

Thomas Hartman

unread,
Jun 21, 2010, 1:51:34 PM6/21/10
to rippl...@googlegroups.com
I think even getting to the point where you can *be* a target is
somewhat , especially intractable in the current environment when you
are trying to bootstrap a community oriented open source deal that
doesn't tether transactions to anything of value.

Sure if you had a few million dollars you could do like egold, or set
up your own hawala network. But it doesn't look like that would happen
with ripple.

In terms of "striving to becoming a target" :) I'm actually more
interested in what happened with prosper.com than egold. prosper also
got shut down, and seemingly for reasons that I think could be an
issue with ripple if it ever got going. namely, lenders abusing
creditors crust, and creditors taking on more risk than they expected
given prosper's pitch and generally getting screwed.

I think this is a case where most people were idealistic but it still
didn't end well.

Thomas Hartman

unread,
Jun 21, 2010, 1:52:43 PM6/21/10
to rippl...@googlegroups.com
garbled

I think even getting to the point where you can *be* a target is
somewhat , especially intractabl

should be

I think even getting to the point where you can *be* a target is

somewhat intractable, especially in the current environment...

On Mon, Jun 21, 2010 at 10:51 AM, Thomas Hartman

Daniel Lidstrom

unread,
Jun 22, 2010, 1:07:22 AM6/22/10
to rippl...@googlegroups.com
My worry is that Ripple won't be able to scale much beyond occasional small purchases and micropayments for too many users unless nodes can safely tether to something of value.  Haven't done any sort of detailed analysis, though - this is just my intuition.  What are your thoughts on this?

Lending club seems to be working much better than Prosper.  I wonder what they've done differently to avoid similar problems?

Also garbled: "lenders abusing creditors crust" :D

Thomas Hartman

unread,
Jun 22, 2010, 1:12:57 AM6/22/10
to rippl...@googlegroups.com
> unless nodes can safely
> tether to something of value.

I pretty much agree

Chris Wagner

unread,
Jun 22, 2010, 1:34:56 AM6/22/10
to rippl...@googlegroups.com
On Mon, 2010-06-21 at 22:07 -0700, Daniel Lidstrom wrote:
> My worry is that Ripple won't be able to scale much beyond occasional
> small purchases and micropayments for too many users unless nodes can
> safely tether to something of value. Haven't done any sort of
> detailed analysis, though - this is just my intuition. What are your
> thoughts on this?

Depends on what exactly you mean, but I think you can look to the
current credit-card regime for some inspiration in what is possible in
terms of credit networks. My intuition leads me to believe that what is
essentially a more distributed version of the current, credit-card-based
network (i.e., Ripple) would be more robust and more reliable. Seems
more a matter of gaining critical mass; small purchases and
micropayments could be the way to get there.

But if you're talking more in terms of the units of measure (gold versus
USD versus "bitcoins"), I'd probably be more in agreement. I think that
the popular fiat monies of the world will continue to deteriorate and,
eventually, each will die... but that doesn't necessarily mean you
couldn't have a stable fiat-style currency, if its "creation" were
somehow severed from the control of any one person or group of people.
(Is that how Bitcoin works? I haven't looked into it too much.)

Daniel Lidstrom

unread,
Jun 22, 2010, 3:04:23 AM6/22/10
to rippl...@googlegroups.com
I agree that any form of Ripple network would likely be more robust and reliable, but no matter how well connected the network is, you are always limited in how much you can purchase at any given time by the total credit your friends are willing to extend to you, unless nodes are able to safely scale up and make formal businesses out of lending - like credit cards are.  I certainly hope this is possible in today's environment, but I have my serious doubts.  And maybe this amount of credit could be enough for some, but I'm not very popular :)

That's sort of how Bitcoin works.  The total production rate is fixed and distributed according to CPU cycle contributions, but it halves every four years, so the supply asymptotically approaches a fixed quantity (twice the supply created in the first four years).  So there is nobody setting 'monetary policy'.  I agree that fiat currencies can be stable long-term, but they are irresistible to abuse, so they never are.  Bitcoin also doesn't inherently come with any redemption promises, though, so in that sense it's similar to fiat currencies - except there isn't any fiat either.  So bootstrapping it is a really difficult problem.  But governments have managed to solve this with coercion, so I'm interested in whether or not it's possible through voluntarily means.


--

Ryan Fugger

unread,
Jun 22, 2010, 3:21:11 AM6/22/10
to rippl...@googlegroups.com
There's certainly no limitation on the nature of the financial
relationships in a Ripple network -- it doesn't have to be just
friendly trust. Bank accounts would work on Ripple just as easily.
So there's no theoretical worry about being limited by one's friends'
credit any more than there is today. Just take your credit rating
somewhere and get a line of credit based on a full legal agreement,
just like today.

Ryan

Daniel Lidstrom

unread,
Jun 22, 2010, 4:41:26 AM6/22/10
to rippl...@googlegroups.com
But if a bank were to operate on Ripple, aren't the lines of credit it issues basically just banknotes or bearer bonds?  You told me earlier in this thread that I can use Ripple to trade not only the debts I issue myself, but those I hold from others as well.  I don't think it's legal in many jurisdictions for commercial banks to issue banknotes, and bearer bonds are illegal in the US as of 1982.  I'm no lawyer though, so let me know if this is just a straw man.

I think this could be avoided in Ripple, but at the cost of debt issuers having to set up KYC compliant accounts with everyone who would at any time hold their debt, and the trade of such debt instead being done indirectly, through the issuer.  Again, please correct me if I'm wrong, cause I have no idea of what I'm talking about here.

Miles Thompson

unread,
Jun 22, 2010, 5:33:05 AM6/22/10
to rippl...@googlegroups.com
Daniel,

I think the point about ripple is that you don't actually transfer the paper that represents other's debts from one person to another but rather create a chain 'debts - a connected line of obligations agreed to ahead of time (via credit limits) and put into force at the moment of the ripple transaction.At each point in the chain there can be a full legal agreement binding the two sides of the trade, but no 'bearer bonds' or any kind of representation of a third parties debt actually ends up in your hands at the other end. Rather you only ever have to manage debts with people or groups in your immediate circle.

Of course a chain is only as strong as its weakest link, so if I wanted to use, Ripple to transfer say $100,000 through the ripple 'chain' to someone three degrees of separation from myself then one would hope that each link on that chain carried a reasonably strong binding legal agreement requiring the settlement of the debt (that is, strong enough to last until all the debts along the chain are finally settled). That way I could be confident that when I paid the 100,000 to the first link in the chain it would result in 100,000 ending up in the hands of the final link in the chain (the person I'm actually trying to do business with).

As Ryan explained there is no reason why the links along the chain can't (in theory) be full banks or carry proper legal documentation as to the arrangements of those debts and credit limits, though of course, in practice it will be unlikely at first and we would be much more likely to see things start off at the small, informal level.

Miles

Daniel Lidstrom

unread,
Jun 22, 2010, 6:45:29 AM6/22/10
to rippl...@googlegroups.com
Thanks Miles, that cleared some things up.  And sorry Ryan, I misunderstood what you said back there.  Seems I was thinking there were some extra, probably illegal, ways debts could move around in Ripple.

--
Reply all
Reply to author
Forward
0 new messages