11

Transactions are near-instantaneous in Stellar because of the Stellar Consensus Protocol.

How exactly do the nodes verify transactions and check them with each other? Can a malicious node hurt the network?

2 Answers 2

7

The developer guide has a link to a Medium post that details how it works using a lunch analogy that does it's best to explain this quite complicated topic. You can read it in full here https://medium.com/a-stellar-journey/on-worldwide-consensus-359e9eb3e949

The ELI5 version is that the individual nodes rely on peer pressure from trusted nodes to come to a decision. So, for example, Stellar runs a node that is super well trusted and I run a node that is moderately well trusted. I calculate that a certain transaction comes to state X but I admit it could come to Y. Stellar says it could come to Y but could never come to X. Thus I'll change my vote to be for state Y and we'll come to a 'consensus'.

As for a malicious node hurting the network I'll say that anything is possible but it's highly unlikely. If a node is constantly wrong it will be distrusted and the rest of the nodes wont care about what it voted for, it's befouled and it doesn't need to be a part of a vote for X or Y to reach a consensus.

0
0

A technical talk by the author of the Stellar whitepaper is available here. In it he goes over the possibility of malicious nodes @33m5s.

He does it better justice than I ever could.

2
  • 3
    Then summarize it
    – manjuu5
    Jan 18, 2018 at 17:18
  • Got it. I'll have to take a few hours when I get spare time to better my understanding. Thanks for the criticism.
    – Jpunsal
    Jan 18, 2018 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.