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
43
votes
3answers
3k 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?
14
votes
4answers
390 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?
11
votes
1answer
102 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 ...
8
votes
1answer
349 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 ...
7
votes
1answer
193 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 ...
7
votes
1answer
315 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 ...
6
votes
1answer
170 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 ...
6
votes
2answers
303 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 ...
6
votes
1answer
444 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 ...
6
votes
1answer
135 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 ...
5
votes
2answers
476 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 ...
5
votes
1answer
130 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 ...
5
votes
2answers
255 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 ...
5
votes
2answers
67 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 ...
5
votes
1answer
58 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
138 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. ...
5
votes
1answer
84 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 ...
5
votes
1answer
82 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 ...
5
votes
1answer
134 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 ...
5
votes
1answer
177 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-...
5
votes
1answer
77 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 ...
4
votes
1answer
737 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.
4
votes
2answers
61 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() ...
4
votes
1answer
143 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?
4
votes
1answer
43 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?
4
votes
1answer
99 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 ...
4
votes
1answer
61 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? ...
4
votes
1answer
113 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 ...
4
votes
1answer
69 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?
4
votes
3answers
604 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 ...
4
votes
1answer
149 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 ...
4
votes
1answer
222 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 happens as ...
4
votes
1answer
255 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.
4
votes
1answer
1k 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 ...
4
votes
1answer
49 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?
4
votes
1answer
39 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 ...
4
votes
1answer
221 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/...
4
votes
1answer
74 views

List All Un-authrorized Truslines

I want to activate AUTHORIZATION REQUIRED and AUTHORIZATION REVOCABLE flags on my asset issuing account. How can I get list of all unauthorized trustlines after I activate those two flags? I have my ...
4
votes
1answer
755 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 ...
4
votes
1answer
43 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 ...
4
votes
1answer
28 views

Setting the network interface for core?

it is possible to set the network interface that Core is using? Suppose my host has multiple interfaces, which one is selected?
4
votes
1answer
38 views

Do transactions store information on when they were created?

I'm looking at the XDR definition for transaction and I can't find if there's any info on when a transaction was created. How do I look up date information for a transaction? I want to get some ...
4
votes
1answer
32 views

Where can i find info on the meaning of each metric of the core?

stellar-core has a lot of metrics that can be accessed with /metrics Is there someplace where I can find out what each metric means? For example "herder.pending-txs.age2", whats that? I tried ...
4
votes
1answer
82 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 (...
4
votes
1answer
82 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: ...
4
votes
0answers
61 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 ...
4
votes
2answers
73 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. ...
4
votes
1answer
118 views

Using S3 as Archive for Standalone Node

I assume this is a classical How To. But i can't find the answer. How do I configure S3 as archive for a standadlone stellar node? Here is what I did: 1) Started the node with quickstart template: ...
4
votes
0answers
111 views

Stellar-core failing to initialize history archives to S3

My archive setups are configured like this: [HISTORY.v1] get="aws s3 cp s3://my-bucket/v1/{0} {1}" put="aws s3 cp {0} s3://my-bucket/v1/{1}" [HISTORY.v2] get="aws s3 cp s3://my-bucket/v2/{0} {1}" [...
3
votes
2answers
238 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 ...