Questions tagged [stellar-core]

stellar-core is the backbone of the Stellar network. It maintains a local copy of the ledger, communicating and staying in sync with other instances of stellar-core on the network.

Filter by
Sorted by
Tagged with
49 votes
3 answers
10k views

What is the incentive to run a Stellar node?

In bitcoin, miners are rewarded by minting new coins. What's the incentive to do so in Stellar?
FuzzyAmi's user avatar
  • 1,581
14 votes
4 answers
455 views

Can Stellar-core be packaged in a container system such as Docker?

I want to incorporate Stellar-core and horizon into my private infrastructure using Docker. Can Stellar-core be packaged in a container system such as Docker?
Lilynut's user avatar
  • 491
11 votes
1 answer
119 views

Info on metrics

Is there any documentation as to what each of the metrics outputted by stellar-core -c metrics means? In particular, I'm interested in determining the number of transactions reviewed by a particular ...
Ryan's user avatar
  • 241
9 votes
1 answer
586 views

Securing Stellar node

I would like to know how I can secure the Stellar node from unauthorized access. I run a Stellar node (still learning) as a Full validator with the following services on the default port. Stellar ...
Sivaji's user avatar
  • 155
8 votes
1 answer
415 views

Best way to test maximum possible TPS on private network?

I have setup a private network and want to do max possible TPS(Transactions per second). Hardware is not an issue, working with GCP and can use 160 core CPU and 4000GB RAM for my machine. A few ...
Sohan's user avatar
  • 188
7 votes
1 answer
307 views

Testing Stellar for high volume of operations per second

I'm testing Stellar for a project where we want to be able to get ~4000 operations per second. Multiple sources ( including this question's answer: Scalability on Stellar network ) indicate that I ...
ChriSF's user avatar
  • 73
7 votes
2 answers
779 views

What can cause horizon to have incomplete data?

On a private network, I have 5 core nodes and 5 horizon instances, all of the horizon services were not configured with "history-retention-count", so according to this, this variable to should default ...
Ron Serruya's user avatar
7 votes
2 answers
460 views

Lost ledger data: what is the proper way to shutdown and restart a node?

I had to restart Docker Engine, and I stopped the services by attaching to the container and issuing ctrl+c. It was in the process of downloading ledger files, and I thought that it would pick up from ...
relik's user avatar
  • 315
7 votes
1 answer
227 views

What is a trigger ledger?

While my node is catching up with the rest of the nodes, I see this in stellar-core -c info: "status" : [ "Catching up: Waiting for trigger ledger: 20194405/20194433, ETA: 140s", "Publishing ...
Ramon Tayag's user avatar
6 votes
1 answer
501 views

Best practice for issuing a new asset and locking an account

When issuing a new asset, is it expected that the transfer of the asset to the distribution account and the locking (setting weight to 0) of the issuing account take place in one transaction or, can ...
Christopher Mills's user avatar
6 votes
1 answer
293 views

aws architecture recommendations for stellar

Most of the documentation seems to be about running a single server. However, I'm wondering if it makes more sense to have a shared DB (e.g. RDS) and multiple application servers that use that. I'd ...
Jilles van Gurp's user avatar
6 votes
1 answer
644 views

Help - why can’t I synch stellar core?

I am using the latest packaged binaries for Ubuntu - and running Stellar core (not the quick start) - with a connection to a PostgreSQL database. Two questions - 1) How long does it typically take ...
tylerc's user avatar
  • 119
6 votes
2 answers
337 views

Core full catchup time to completion

So our c5.xlarge instance in AWS is processing about 1k checkpoints per day on average. With somewhere around 275068 checkpoints, it would take around 275 days to complete the full sync. Now the rate ...
Christian Haynes's user avatar
6 votes
2 answers
121 views

Huge temporary bucket files created - and then destroyed on all cores. Is this normal?

I'm maintaining a network of Stellar nodes with quite a lot of traffic, for quite some time now (almost half a year). Everything has been quite stable so far, but last week I noticed that all the core ...
FuzzyAmi's user avatar
  • 1,581
6 votes
1 answer
232 views

What does this mean: "Ledger N (hash) closed and could NOT be fully validated by validator"

I see messages like this in the logs of Stellar Core: Ledger 20144734 (da1765) closed and could NOT be fully validated by validator What does this mean? Not sure if it matters, but the core node is ...
Ramon Tayag's user avatar
6 votes
1 answer
214 views

Is it possible to submit transactions to Stellar Core directly without Horizon?

Is it possible to submit transactions to Stellar Core directly without Horizon? Or do you need to use Horizon for all interactions with the Stellar network?
aroooo's user avatar
  • 267
6 votes
1 answer
76 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 ? ...
Nadendla's user avatar
  • 171
6 votes
1 answer
96 views

Should an address be restricted from sending unlimited XLM to itself?

Hello Stellar Community, While testing our wallets yesterday we noticed that an address is able to 'send' itself more XLM than the current total supply limit, ex: 105 Billion XLM. Although the net ...
JLister's user avatar
  • 61
6 votes
1 answer
3k views

How to withdraw Stellar lumens into USD?

I was one of the (lucky?) people to have signed up for Stellar and now have about 6000 lumens, but I have no clue how to convert it into USD i.e withdraw . Also wondering is there a fixed rate of ...
3zzy's user avatar
  • 161
6 votes
3 answers
962 views

How to get status of historical ledgers synced after setting CATCHUP_COMPLETE=true

I had problems getting the node to resync all past ledgers and had to start from scratch. I can see that stellar-core is writing ledgers to disk, but I'm not sure how to check the status of it, or ...
relik's user avatar
  • 315
6 votes
1 answer
190 views

Is it possible to fully sync Stellar node without history archive access?

The answer to this question might be trivial, since the Stellar foundation history archives might be always available, but I am just trying to understand how the full syncing works. Could I complete ...
Till Kolter's user avatar
5 votes
2 answers
464 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 ...
Brutus123's user avatar
  • 455
5 votes
1 answer
2k views

Convert XDR to text

I want to convert the XDR fromat of the transaction to text using JS or java SDK in stellar.Or if there are any methods outside stellar also fine.
Sharmilan's user avatar
  • 421
5 votes
1 answer
457 views

captive core does not work

I want to use the captive core of stellar-horizon v2.0.0, but the following command does not work. Instance is building a new. As far as I read the docs, I don't think it will make http requests to ...
fatminer's user avatar
5 votes
1 answer
320 views

History Archive Configuration for Private Networks

I have a similar question to this but it remains unanswered and there is no documentation to be found when it comes to running a stable and resilient production network. Setup I am working on a ...
Owen's user avatar
  • 207
5 votes
1 answer
177 views

What is done to create a stellar AccountID aside from the generated raw secret and derived pub/priv key?

I am curious on what is done when a public/private key pair is created on Stellar. I understand a key pair is generated with ed25519, but why are there additional pre-fix/postfix involved? Why would ...
Brutus123's user avatar
  • 455
5 votes
1 answer
408 views

Pruning and keeping disk usage low

Does the Stellar network have the concept of pruning? If so, how do I go about configuring it? I am running a node for development purposes but don't want the database and disk usage to become larger ...
kahmed's user avatar
  • 61
5 votes
1 answer
216 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. ...
Brutus123's user avatar
  • 455
5 votes
1 answer
305 views

How can I find out the seed key for my genesis account on a local testnet?

Since I am running a local testnet of stellar-core, I was wondering if there is a way to determine the seed key for the genesis account ? I currrently have only one account on my local testnet. TIA.
ZeroGraviti's user avatar
5 votes
1 answer
94 views

How to handle docker container restarts with persistent data and missing buckets

I have a private network of Stellar core nodes running on docker swarm with the DB and ledger data persisted correctly. When I remove or update the service for maintenance/upgrade of the docker image ...
Owen's user avatar
  • 207
5 votes
1 answer
611 views

Best practices for Stellar core settings KNOWN_PEERS, PREFERRED_PEERS and PREFERRED_PEER_KEYS

What are the best practices for settings KNOWN_PEERS, PREFERRED_PEERS and PREFERRED_PEER_KEYS in the Stellar Core config? Under which circumstances would I use which? From https://www.stellar.org/...
jonas's user avatar
  • 98
5 votes
1 answer
1k views

Stellar Horizon not synchronizing

Background: Using satoshipay/stellar-horizon:0.11.1 for Horizon Stellar Core seems to be running. Based on logs, we get the latest sequence number and ledger: 2018-04-18T10:31:32.695 GDYMW [Ledger ...
Ace Subido's user avatar
5 votes
1 answer
295 views

Stellar-core not syncing on testnet after restart. Missing Buckets not being retrieved

After attempting to restart a stellar core node I had running on the test net I got an error, and when I tried to run stellar-core (inside docker container) with stellar-core run I got the following: ...
John Murphy's user avatar
5 votes
1 answer
256 views

stellar core docker address in use

I am running stellar core docker. When I get into the container and type stellar-core. it gives this error: GAGCM [default INFO] Starting stellar-core v9.2.0 GAGCM [default INFO] Config from stellar-...
Christianto's user avatar
5 votes
1 answer
102 views

Are the stellar history (XDR) files available in other regions or on other cloud providers

Most of the documentation or configuration info I have seen reference the history.stellar.org bucket on AWS S3 as the official source of history data. This bucket appears to be in the eu-west-1 (...
talawahtech's user avatar
5 votes
0 answers
93 views

Stellar-Core won't sync anymore: "Replay failed: mismatched ledger hash"

Stellar-core was running smoothly, then crashed without log entries. Node now fails to catch-up and sync. Logs are complaining about a mismatched ledger hash and I am stuck in an endless loop of ...
marcinx's user avatar
  • 586
5 votes
2 answers
156 views

Own stellar horizon is not showing data prior to own instance launch date

I run a stellar node using the docker quickstart image and due to some syncing error the underlying ec2 instance was terminated and restarted on 2018-12-28T10:45:19Z, state of core is Synced. ...
shredding's user avatar
  • 316
5 votes
2 answers
136 views

What is the process for the community to propose an XLM lockup?

Let me start by saying I am not proposing a wholesale token "burning" as I believe that could have unintended negative consequences long term. However, considering the tremendous price appreciation ...
Ngb19's user avatar
  • 171
4 votes
1 answer
112 views

When do validators know to push the data from the latest ledger to archive nodes?

As Validators agree on the latest transaction sets to apply to the ledger when do they know to update the data being stored in the archive nodes? Is it based on the owner of an archive node listening ...
Brutus123's user avatar
  • 455
4 votes
1 answer
189 views

SQL Database and Stellar Ledger State

Browsing through src code, saw below line in https://github.com/stellar/stellar-core/tree/master/src/database: The Database object manages connections to an SQL database, in which the current ...
selvan's user avatar
  • 141
4 votes
2 answers
114 views

Retrieving operations for a transaction unexpectedly slow?

I am trying to retrieve the operations for the transactions of a given ledger. First retrieve the transactions: List<TransactionResponse> transactionResponses = this.server.horizonServer() ...
Joanes Espanol's user avatar
4 votes
1 answer
296 views

A complete catchup of the testnet keeps failing on verifying ledger

Trying to perform a full sync on the Stellar testnet using a recent dockerized stellar/quickstart in persistent mode (horizon: v0.13.1, core: v9.2.0, docker: v18.06.0-ce). After around 10 hours the ...
jbrejcha's user avatar
4 votes
2 answers
332 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 ...
cesarm's user avatar
  • 1,527
4 votes
1 answer
59 views

Why is asset conversion limited to 6 hops?

Is there a technical reason asset conversion in the builtin distributed exchange is limited to 6 hops? Or is it because of the six degrees of separation principle?
OpenUserX03's user avatar
4 votes
1 answer
96 views

Is it possible to set up a virtual machine(like evm for smart contracts ) using stellar consensus protocol?

What could be the challenges associated with something like this?
tatepairing's user avatar
4 votes
1 answer
322 views

For 'txBadSeq', when is tx_fee charged?

Test Plan: The testing transactions were all "Pay 0.0001XLM", and there is far enough XLM to send. 5000 channel accounts were set up to try to prevent bad seq, but unfortunately it still ...
cesarm's user avatar
  • 1,527
4 votes
1 answer
226 views

Error while installing stellar core

I am trying to follow this tutorial in order to build a private stellar network. And I am still trying to install stellar-core. When I run ./configure, this is the error I get: ./configure: line ...
user2219's user avatar
4 votes
1 answer
110 views

Deprecated Commands in Core 10.1.0?

After upgrading to stellar core 10.1.0, it says that some of the commands have been deprecated. Which are those commands, Could someone please help?
Anthrose's user avatar
  • 131
4 votes
1 answer
123 views

Limiting the size of local buckets on the core

I'm running a core. It's generating a lot of files in its internal bucket (not the history bucket): files that contain the recent-ish history of the blockchain. Is there a way to limit this amount? ...
FuzzyAmi's user avatar
  • 1,581
4 votes
1 answer
55 views

What are "LedgerEntry objects" and "Asset pairs" in relation to Stellar Core Configuration?

The following is mentioned in the example config but I am wondering what a LedgerEntry object and Asset pair actually are, in this context. # Data layer cache configuration # - ENTRY_CACHE_SIZE ...
John Murphy's user avatar

1
2 3 4 5
8