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
9k 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?
user avatar
  • 1,581
14 votes
4 answers
446 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?
user avatar
  • 481
11 votes
1 answer
118 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 ...
user avatar
  • 241
9 votes
1 answer
543 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 ...
user avatar
  • 155
8 votes
1 answer
401 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 ...
user avatar
  • 188
7 votes
1 answer
291 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 ...
user avatar
  • 73
7 votes
2 answers
444 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 ...
user avatar
  • 315
7 votes
1 answer
212 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 ...
user avatar
6 votes
2 answers
753 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 ...
user avatar
6 votes
1 answer
466 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 ...
user avatar
6 votes
1 answer
285 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 ...
user avatar
6 votes
1 answer
624 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 ...
user avatar
  • 119
6 votes
2 answers
334 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 ...
user avatar
6 votes
2 answers
113 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 ...
user avatar
  • 1,581
6 votes
1 answer
224 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 ...
user avatar
6 votes
1 answer
186 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?
user avatar
  • 267
6 votes
1 answer
75 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 ? ...
user avatar
  • 171
6 votes
1 answer
95 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 ...
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 ...
user avatar
  • 161
6 votes
3 answers
925 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 ...
user avatar
  • 315
6 votes
1 answer
187 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 ...
user avatar
5 votes
2 answers
429 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 ...
user avatar
  • 455
5 votes
1 answer
1k 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.
user avatar
  • 421
5 votes
1 answer
338 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 ...
user avatar
5 votes
1 answer
300 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 ...
user avatar
  • 207
5 votes
1 answer
162 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 ...
user avatar
  • 455
5 votes
1 answer
352 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 ...
user avatar
  • 61
5 votes
1 answer
202 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. ...
user avatar
  • 455
5 votes
1 answer
297 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.
user avatar
5 votes
1 answer
86 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 ...
user avatar
  • 207
5 votes
1 answer
550 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/...
user avatar
5 votes
1 answer
970 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 ...
user avatar
5 votes
1 answer
242 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-...
user avatar
5 votes
1 answer
98 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 (...
user avatar
5 votes
1 answer
264 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: ...
user avatar
5 votes
0 answers
89 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 ...
user avatar
  • 576
5 votes
2 answers
150 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. ...
user avatar
  • 316
5 votes
2 answers
126 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 ...
user avatar
  • 171
4 votes
1 answer
110 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 ...
user avatar
  • 455
4 votes
1 answer
176 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 ...
user avatar
  • 141
4 votes
2 answers
105 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() ...
user avatar
4 votes
1 answer
273 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 ...
user avatar
4 votes
2 answers
313 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 ...
user avatar
  • 1,517
4 votes
1 answer
57 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?
user avatar
4 votes
1 answer
94 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?
user avatar
4 votes
1 answer
314 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 ...
user avatar
  • 1,517
4 votes
1 answer
209 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 ...
user avatar
4 votes
1 answer
108 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?
user avatar
  • 121
4 votes
1 answer
114 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? ...
user avatar
  • 1,581
4 votes
1 answer
54 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 ...
user avatar

1
2 3 4 5
8