Bitcoin Forum
May 04, 2024, 03:40:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [2014-12-07] Ripple/Stellar Consensus System May Have Serious Issues  (Read 1103 times)
LiteCoinGuy (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1010


In Satoshi I Trust


View Profile WWW
December 07, 2014, 08:30:09 AM
 #1

Ripple/Stellar Consensus System May Have Serious Issues as Stellar Forks

The Ripple-style consensus system has come under serious doubt of working for all transaction systems, as Stellar, based on the same consensus algorithm has experienced a ledger fork. Even though any fork is a matter of concern for a cryptocurrency that works based on the network reaching a consensus for the current state which prevents double-spend and other attacks, it seems like this fork was related to the underlying consensus mechanism itself, thus making it a more serious issue. Stellar announced these issues in a blog post today.

http://www.coinsetter.com/bitcoin-news/2014/12/06/ripplestellar-consensus-system-may-serious-issues-stellar-forks-1969



note: tokens produced 100% in premine and controlled completely by a private limited liability corporation

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
bibbit
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
December 07, 2014, 01:45:35 PM
 #2

That main problem with this assertion is that Stellar has modified the Ripple consensus mechanism, so the two systems are no longer equivalent.

fintechophile examined the stellar consensus modifications and found that when he fed identical inputs into the code, that the stellar consensus implementation produces different results than the ripple implementation.

Read his analysis.

I do not understand the consensus code well enough to explain based on the code itself, but I will direct your attention to the Stellar code commit that made the change and let it speak for itself:

https://github.com/stellar/stellard/commit/067d7158720331937fc782cbb230e8d422cd7341

The title of the commit is as follows:

Quote
consensus changes: faster catch up, delay when out of sync

The title and location of the change indicate that stellard is no longer using the same consensus algorithm as rippled.

Now, examine the actual commit comment:

Quote
* Consider there is consensus when we detect that we've fallen behind (old code was waiting to reach consensus with other part of the network); this increases the chance that we catch up to the network.
* If we can't catch up to the last closed ledger in SQL consider ourselves syncing

When David Schwartz described why the Ripple algorithm would not fork, it was because nodes that found themselves in the minority would wait to rejoin the consensus before advancing.

However, the plain English reading of this stellar commit comment implies that this behavior was discarded and that in the Stellar consensus algorithm, nodes plow forward blindly instead of actually waiting to reach consensus with the rest of the network. This sounds like a recipe for a fork.

Regardless, it appears that the two systems are no longer using the same consensus algorithm.

The Ripple Labs response is here:
https://ripple.com/why-the-stellar-forking-issue-does-not-affect-ripple/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!