Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [scp]

For questions regarding the Stellar Consensus Protocol (SCP).

0
votes
0answers
16 views

How to create a Private Stellar Blockchain with 4 nodes, each node is an ec2 instance?

I am a beginner, so please provide as much information as possible, even the most basic ones I need to know. I want to setup a private Stellar Blockchain and I want to have 4 nodes in the network, ...
2
votes
0answers
13 views

What are the message size limitations of stellar consensus protocol?

The question is a two part question: What is the message size limitation of stellar consensus protocol? Also how does the message size affect the TPS of stellar?
5
votes
1answer
26 views

Could consensus period be changed?

I'm trying to run a private network and so modifying stellar-core's source code is not out of the question. I noticed that the network is right now configured to come to consensus every 5 seconds, ...
1
vote
1answer
50 views

How does the Stellar protocol ensure a network doesn't have disjoint quorums?

Does Stellar maintain a set of nodes to achieve quorum intersection? If not, how can a Stellar network achieve quorum intersection at all times, meaning no disjoint quorums at all in the network?
4
votes
1answer
36 views

How a new node trusts another node in the network

Let's assume that a new node joined in the network.As per the SCP how this new node trusts another node in the network? Does this happens by exchanging messages between other nodes in the network ? ...
5
votes
1answer
30 views

SCP. Does non-intersecting quorums have different ledgers?

As I understand "slot" = ledger number, "value" = set of transaction. So сould you explain what happens when I(simple node with quorum slice) create a transaction ? 1) Do all nodes in stellar-...
5
votes
1answer
54 views

How does a node discover the quorums that it is in?

In order for a node to determine that a ledger has been confirmed, it needs to know that a proportion of other nodes in one of its quorum has accepted the ledger. In order to determine which nodes ...
1
vote
2answers
21 views

(SCP) When does a node get its higher-layer software's input?

According to the SCP document (draft-mazieres-dinrg-scp-04, https://datatracker.ietf.org/doc/draft-mazieres-dinrg-scp/), the following paragraph describes how a node get its higher-layer software's ...
2
votes
2answers
79 views

Is there a minimal implementation of Stellar Consensus Protocol besides stellar-core?

I'm learning about consensus and I'd like to explore SCP in depth. However, the stellar-core implementation is difficult for a newcomer to grok. Is there a minimal SCP implementation elsewhere I can ...
5
votes
1answer
74 views

Why does the high level threshold level for quorum have to be above 66%?

What is reason that the threshold of consensus bearing nodes must be above 66% for the network to operate successfully? This is straight from the docs of the stellar-core_example.cfg file. ...
3
votes
2answers
78 views

What is asymptotic security and why does Stellar, but not POW exhibit this?

One of the benefits mentioned of SCP in comparison to POW is 'asymptotic security' https://www.stellar.org/blog/stellar-consensus-protocol-proof-code/. What does this form of security mean in practice ...
5
votes
1answer
100 views

Questions about SCP and federated voting steps, with a focus on the Internet-Draft

I recently have studied the Stellar Consensus Protocol (SCP) based on the internet draft here: https://datatracker.ietf.org/doc/draft-mazieres-dinrg-scp/. I have several questions as follows. In the ...
3
votes
2answers
197 views

What does it mean with “surge pricing in effect” at Stellar-Core?

As I tested my private network by flooding transaction (around 60TPS) via Horizon using JS-sdk, SCP errored. The only abnormalty that I observed was: [Herder WARNING] surge pricing in effect! 142 ...
4
votes
1answer
109 views

How can I query or visualize the quorum slices of the Stellar network?

I think I remember faintly that a while ago there was a JS-based visualization of the quorums between various validators on Stellar but I seem unable to find it again. As far as I understand the ...
2
votes
1answer
60 views

Consensus about a transaction set

In the description of the transaction life cycle it is mentioned that: SCP resolves the differences between the various transaction sets proposed and decides on the one transaction set that the ...
2
votes
1answer
47 views

How are timestamps deemed invalid?

The Stellar Consensus Protocol orders block candidates (via ballots) by the maximum timestamp and union of their transactions. It says that "values [transactions/ballots] with invalid timestamps will ...
3
votes
1answer
78 views

How is the node ID assigned to a stellar core node?

Running the quorum command on a stellar-core node will presumably show the current node ID. The node ID looks like a stellar public account key. How is this assigned? Is the similarity to a public ...
5
votes
1answer
169 views

When is a slot created in the Stellar Consensus Protocol?

At what time during the protocol is a unique slot created for the nodes to vote on?
5
votes
1answer
79 views

How can a validator node earn trust on the network?

It's my understanding the SCP achieves consensus by having validator nodes agree with other validator nodes that they trust. Anyone can become a validator node, but won't they not actually be ...
11
votes
2answers
505 views

How does the Stellar Consensus Protocol prevent Sybil attacks?

A Sybil attack is an attack where a single adversary controls multiple nodes on a network in order to influence voting to their advantage. It is unknown to the rest of the network that the nodes are ...
20
votes
1answer
330 views

Are there any known weaknesses in the Stellar Consensus Protocol?

While SCP is superior to POW and POS in many ways, are there any known situations, although infrequent or difficult to meet, where the protocol could not work well or where the network can be attacked ...