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
1
vote
1answer
40 views

Stellar Core from Source vs. Stellar Core from Container

Are there any vulnerabilities or security considerations I should be aware of with running Stellar Core from source as opposed to running it from the Docker Container?
1
vote
1answer
318 views

How to be a Stellar Anchor?

There is currently not much info about this. I want to provide the ability to exchange for XLM using the local fiat currency I am at.
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/...
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 ...
2
votes
0answers
66 views

History buckets not found in history.stellar.org

After update to stellar-core 10.0.0rc4 I got history issue. Synchronization is stuck. Here is errors: 2018-09-14T14:08:36.090 GCUCN [default INFO] Loading last known ledger 2018-09-14T14:10:19....
2
votes
1answer
149 views

Stellar standalone and network fees

I am building a non-financial app using Stellar. Basically the app is going to transfer assets between accounts. So I want to run a few standalone nodes under same (private) network. As far as I ...
1
vote
0answers
48 views

Dropping peer, but peer seems to be fine

In Stellar Core 10.0.0, I keep seeing log entries like this: I 2018-09-25T03:35:16.416 GBCS2 [Overlay INFO] New connected peer 52.55.85.153:11625 I 2018-09-25T03:35:16.516 GBCS2 [Overlay INFO] ...
3
votes
2answers
118 views

Stellar Core node is typically behind SDF by 20 to 100 ledgers

I'm attempting to synch Stellar core (v10.0.0) and most of the time, it is behind https://horizon.stellar.org/ by 20 to 100 ledgers. To make sure it's not just horizon that's lagging, I check the ...
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 ...
3
votes
0answers
129 views

Docker image installation private network detailed instructions

I am able to install a stand alone network on an aws ec2 instance with the command docker run --rm -it -p "8000:8000" -v "/home/scott/stellar:/opt/stellar" --name stellar stellar/quickstart --...
2
votes
0answers
101 views

Can't continue stellar-core sync. Stuck in Joining SCP

I'm in the middle process of stellar-core sync, but I need to restart my server for some reason so I stopped the stellar-core sync. Then when I continue the sync process I keep getting this message: ...
3
votes
1answer
84 views

Stellar Java SDK: Retrieve Account Data

I can see how to add data to an account using ManageDataOperation. But is there a way to retrieve the same data using the Java SDK? I fund a JS example: https://www.reddit.com/r/Stellar/comments/...
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?
1
vote
1answer
77 views

Using Stellar for a non-financial private network

I'm new to Stellar and this community. I want to create a decentralized network for information sharing. Essentially a distributed database with data validation using blockchain. I have looked into ...
3
votes
0answers
97 views

Where should the stellar-core root account seed be stored?

Should the root account seed from stellar-core be stored in the stellar-core config? After upgrading to the latest version of stellar-core, I'm not able to find the transactions related to the ...
2
votes
1answer
147 views

Core breaks after upgrade to 10.0.0

After upgrading both Horizon and Core to new stable versions, I can no longer get stellar-core to start. before: ENV STELLAR_CORE_VERSION 9.2.0-551-7561c1d5 ENV HORIZON_VERSION 0.13.1 after: ENV ...
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() ...
2
votes
0answers
119 views

How to resolve 500 Internal Server Error on /transactions/<hash>/operations?

My node returns an error when I query the /operations endpoint in horizon. curl http://127.0.0.1:8000/transactions/73ce2618095d2c17bdaf08a6a6617cef549f974b1619f03b84eb46747e5e4eb0/operations { "...
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 ...
3
votes
2answers
213 views

Catching up stellar-core ledger can't be synched

I keep getting this error after the initial download of ledger files has caught up. After this error, it attempts to re-download the ledger files. 2018-08-27T13:04:12.199 GDU4N [History ERROR] ...
1
vote
2answers
97 views

What is the syntax of the 'tx' (transaction) command, to execute a transaction?

So using docker I started a private Stellar Network by typing in the below command: docker run --rm -it -p "8000:8000" --name stellar stellar/quickstart --standalone Then I opened another terminal ...
2
votes
2answers
165 views

Can we encrypt stellar memo text with receiver's public key and sender's private key?

I was trying to figure out a way to encrypt a small payload in a transaction memo to anonymize the memo id without having to store anything on the server. So can anyone help me to encrypt the memo ...
3
votes
1answer
214 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 ...
2
votes
1answer
97 views

Upgrading core protocol version (docker quickstart, standalone)

I built the v10 docker image and launched it exposing the HTTP port for core. docker build -f Dockerfile.testing -t stellar:v10 . docker run --rm -it -p "5432:5432" -p "8000:8000" -p "11626:11626" \ ...
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?
1
vote
1answer
78 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?
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 ...
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 ? ...
2
votes
2answers
142 views

create a stellar application without installing stellar core in local system

I want to create a stellar application which will have these functionality Account creation XLM Balance checking Doing Transaction XLM Receive notification I have read stellar documenation https://...
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 ...
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 ...
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 ...
3
votes
1answer
84 views

Effects of a stellar-core node running on too slow hardware?

What are the effects of running a stellar-core node on slow/weak hardware, e.g. not meeting stellar-core hw requirements? Does that create a problem for consensus? If so, are only those affected, ...
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 ...
2
votes
1answer
125 views

Secured ways to check if a node is up working?

To monitor nodes' healthiness, there are tools for Bitcoin and Ethereum (e.g. https://github.com/cubedro/eth-net-intelligence-api). Some of them are tools that sends heartbeats representing an ...
0
votes
2answers
89 views

Stellar Validators, Transaction fees, Inflation fees.

I've been trying to find some answer in regards to the following questions. Hope someone can help me. Because I was able to find the only unnecessary answer in regards to my questions; Why would ...
2
votes
3answers
161 views

Stellar logs are getting bigger and bigger

Stellar logs are getting larger and larger. How do you get them to print log logs according to time rules
1
vote
2answers
98 views

How do I generate an xPub using stellar SDK?

How do I generate an xPub using stellar SDK ? could anyone show me the format of a stellar extended public key ?
3
votes
1answer
178 views

How does node discovery work?

How does a stellar-core node discover its peers? I mean both on startup and on the go.
2
votes
2answers
130 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 ...
1
vote
2answers
259 views

How to move assets from one account to another account?

I'm still newbie on developing simple app using Stellar JS SDK(node.js) and I read their docs. I've created an asset using this code var asset = new StellarSdk.Asset('USD', issuingKeys.publicKey()); ...
3
votes
2answers
522 views

Horizon waiting for Stellar-core to sync

I have built stellar-core and horizon instances from source on Ubuntu 18.04 LTS. I managed to make them work for the test-net, yet now, whilst trying to configure stellar-core.cfg for the public ...
2
votes
1answer
112 views

Can the Horizon Server be hacked?

What is the guarantee that the Horizon Server which I am interacting is actually fetching (correct) data from ledger SQL database of Stellar Core?
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. ...
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 ...
2
votes
1answer
257 views

FATAL when switching from test network to public network on stellar-core

My question is about transitioning from the test-network to the public network. I am curious about whether there is a standard procedure to follow, not only in terms of configuration, but also in ...
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 ...
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 ...
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-...
1
vote
1answer
78 views

Question on offers on Distributed Exchange

SOVED: I thought Test2 was buying 3 AXX, but in fact it was selling 3 XLM. Don't forget to check the ordering and meaning of parameters! I'm having trouble explaining what's going on with my bid and ...