84 points · by calder · 13y ago · 55 comments
As a Mesh Networking Practitioner, I see I'm once again going to have to deal with namespace collision. (Ripple has been well used name in another domain: http://www.ietf.org/proceedings/75/slides/roll-2/roll-2_file...)
Interesting - Ripple the routing protocol is primarily about Directed Acyclic Graphs, while Ripple, the payment network, works with merkle trees.
Combine the two concepts together, a directed acyclic graph of tags stored as a merkle tree, and you basically have git.
Sometimes it's just a funny way of getting introduced to something that's really cool.
"Our consensus process uses peering ... instead of mining. The ledger is a data structure that describes the current state of the network as a merkle tree"
From a mobile dev perspective this other Ripple is some worthless alternative payment method no one uses because PayPal has all the accounts so is easier for the user, or iTunes or Google or amazon or Samsung Fusion payments are built into their stores and protected by TOS as being the only payment processor you can use.
So an article on another payment method is pretty worthless and the name collision is pretty annoying because I have to sometimes follow the link before I see it for what it is.
I know what you mean, I love Ripple chocolate bars. ;)
Personally I don't think we'll see much grassroots adoption of any cryptocurrency technology that can be categorized as "pre-mined" or anything less than full decentralization, and that includes both Ripple and Mastercoin.
Now if they're able to get the existing banking system on board they could have some chance. It sounds like they're handing out large chunks of XRP (the Ripple cryptocurrency) to companies that implement Ripple integration as an incentive.
Every server has a copy of the LCL, so there can't be a case of ledgers being different anyway.
Anyone on Ripple can send XRP to anyone else regardless of who they trust; in order for Alice and Bob to transact in a currency other than XRP, the Ripple network will find a path between them to allow the transaction.
There a video from Ripple Labs that explains how consensus works: http://ripplefederation.org/videos/how-ripple-works-gateways....
- Currently, there's a small clique of servers run by OpenCoin Inc and their partner businesses which only trust each other and which everyone uses. The ledger closure process and transaction acceptance are effectively centrally controlled by that group; if your server closes the ledger itself rather than waiting for the official ledger from on high, it will be permanently stuck on its own fork of the network.
- Because of the way the ledger closure process works, if you set up your server wrong and end up in a part of the trust network that's poorly connected to the official servers you will end up permanently stuck on your own fork of the transaction history. (In practice, since you can't disagree with the official OpenCoin servers and you can't influence their consensus, you should just set your trust list to the OpenCoin-approved list exactly and forget about peer-to-peer stuff.)
- There's a mandatory transaction fee in a virtual currency, XRP, and unlike in Bitcoin the XRP used in that transaction fee is destroyed. The fee is set as part of the ledger consensus process, which is controlled by OpenCoin Inc. They also control the supply of XRP. In effect, there's a central organisation with the power to charge arbitrarily large fees for the use of Ripple.
Besides, the definition of centralization is that there's a central authority with arbitrary power, such as changing balances or freezing accounts.
Does that mean it does an intersect of sets of trusted validators? How does it determine which sets of trusted validators to use? What if the intersection is the empty set?
The idea that I'm interested in is that it seems to solve the double-spending issue that Bitcoin so eloquently solved, but without all the electricity wasting issue, and the 51% issue, that currencies with proof-of-work (POW aka mining) have. Currencies that use the POW system are designed to work well only if half of the computational power of the network is used by honest nodes. If by any means more than 50% of the network is in control of dishonest nodes, they could do all kinds of things and perhaps even kill the entire currency.
Replacing the proof-of-work system with something based on reputation seems very interesting in my opinion: https://bitcointalk.org/index.php?topic=10193.0
After reading a bit, I've concluded that Ripple doesn't actually solve the consensus problem. Whether it works or not depends on the shape of the graph of the core validating nodes. If the graph is too centralized (as it is now, and probably will always be), it can be controlled by fiat.
Supposedly, ripple reaches consensus under diverse graphs of validator node networks. But its a research topic still undergoing study (Ripple Labs say they have whitehats closely examining the protocol).
1. http://en.wikipedia.org/wiki/Byzantine_failure#Practical_Byz...
I'd still prefer something like Open Transactions which supports blinded instruments, though.
All other currencies exist on Ripple in the form of balances. (Similar to how I store my money at Citibank in the form of USD balances. This is how our traditional financial system works).
The protocol needs a native currency (XRP) in order to pay the anti-DDOS fee. Every payment or trade requires the user to pay a 0.0001XRP fee which the protocol destroys.
It's purpose is to create a cost to sending "transaction SPAM" and make it extremely expensive to DDOS Ripple servers for any sustained period of time. This transaction fee is dynamic and scales higher in terms of heavy server load.
It's important that this type of fee be paid in a currency that is native to the protocol. This allows the protocol to remain neutral and global.
No, it doesn't. Have you seen the various pre-OpenCoin ripple protocols, or the currently competing colored coin proposals? None of them necessarily needed or would have benefited from a scarce-money fee currency. Ripple is a protocol for generating ad-hoc user-issued assets and arranging trade networks for exchanging these currencies. There's no reason fees can't be collected in whatever currency is being transacted, and then atomically converted into whatever currency the collecting node desires. That's what ripple is designed to do.
XRP also provides anti-DDOS, which is also something you'd also need to consider carefully in implementing my original designs, as well as a brilliant way to finance the creation, development, and maintenance of the network.
User-issued assets on ripple have a customizable transit fee which is effectively collected in the issued currency (since the fee is paid from the balance of the issue back to the issuer). For example, bitstamp's issuer fee is 0.2%, so any trades of bitstampBTC or bitstampUSD pay 0.2% of the amount back to bitstamp's issuer address. (the fee is set at creation of the issuing address and can't be changed later).
Bitcoin achieves BFT by using its native currency (bitcoins) in a proof-of-work scheme. Basically BFT means a malicious node can't do anything which will break the blockchain, because the only way any node can make changes to the blockchain is if it has solved a block (has the private keys to next block of bitcoins). Nodes with private keys to previous bitcoins have to get changes relayed through the node which solves the next block.
Likewise, Ripple achieves BFT by using its native currency (XRP) in a consensus scheme. The consensus scheme relies on Unique Node Lists (UNL), instead of proof-of-work. So nodes can only propose changes to the ripple ledger if they are on the UNL of some other node. And changes will only be accepted if they are signed by the private keys of the native currency (XRP). Nodes which aren't on any UNLs have to broadcast their changes to nodes which are on a UNL, and of course, must still have the private keys to make those changes.
There are probably other ways to provide BFT, but using a native crypto-currency is one of them.
So am I surprised? No.
The drama that took place earlier this year when there were several denial of service attacks against Mt. Gox, causing the price of BTC to drop so that it could be bought cheaper by the attackers and their friends is way less likely to happen to Ripple.
Unlike transfering BTC, sending XRP from one Ripple user to another is free and confirmation is instant—no need for miners to confirm the transaction.
Now Mallory deploys ripple clients, which behave like ordinary ripple clients, but are under her control. After a while, 51% of the biggest consensus room are straw men for Mallory. She "flips the switch" introduces a transaction that places the entire network's balances into her accounts.
How does ripple prevent this?