Stack Exchange Network

Stack Exchange network consists of 175 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 [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.

0
votes
1answer
7 views

Does AUTO_MAINTENANCE setting clear Horizon DB?

I want to have in my node information only about last 300 000 ledgers.Should I always manually clean DB or I can automate it.Especially interested in autocleaning of Horizon DB.
-1
votes
0answers
27 views

Select failed: pq: relation “signers” does not exist

I have set up private Stellar Core and Horizon with 2 nodes. I am following this tutorial. I am first creating an account and then I am executing the code below. It is showing select failed: pq: ...
2
votes
1answer
15 views

How to create an account on a private network?

I have already started a stellar private network. I need to generate an account on a stellar private network. I have a secret key and private key also. But I have a question about what should I enter ...
1
vote
1answer
14 views

SCC: why are there 2 SQL files?

The SCC (Stellar Core Commander) is a tool used to generate a "state" for Horizon's tests. When I run it against an .rb script, it generates a single .sql file - essentially a 'pg_dump' of the sql ...
0
votes
1answer
7 views

Stellar_core_commander: Getting an exception trying to run “scc -r base.rb”

Stellar's utility ("Stellar_Core_Commander") is a tool used to deterministically create snapshots of the SQL DB by running a set of stellar operations. Its written in ruby. To run it, you need to ...
2
votes
1answer
17 views

How do private network upgrades work?

I don't understand how network upgrade work. When I call the endpoint /upgrades?mode=set&upgradetime=2019-04-13T20:23:55Z&basefee=1000000&basereserve=1&protocolversion=10 Will the ...
-1
votes
0answers
10 views

YAML Configuration Template Issue

So I was going from this nebula package config for AWS that was created, but I was trying to POC what the prod version of the configs for this would look like. I am not that verbose with YAML and am ...
4
votes
1answer
39 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 ...
0
votes
1answer
21 views

Connecting private set of quorum of 3 nodes on stellar test network

I have a 3 nodes running on a private network paraphrase and all of them are validators. Able to send the transactions over horizon. Now, can I connect my quorum of 3 validators with test-network ? ...
-1
votes
1answer
44 views

Unable to store archive in s3 bucket

I need to store archive in aws s3 bucket. My Node configuration is: LOG_FILE_PATH="/home/ubuntu/04.04.2019/Node1/my-core/logs" BUCKET_DIR_PATH="/home/ubuntu/04.04.2019/Node1/my-core/buckets" ...
2
votes
1answer
21 views

What's (number of lumens in existence) in inflation? It needs clarification

The inflation pool is (number of lumens in existence)*(weekly inflation rate) + fee pool. And I know that I need to have more than 0.05% of existing Lumens to receive inflation without joining ...
2
votes
1answer
34 views

Stellar scalability to 4000 tx/s

I tried to scale Stellar Standalone to process 4000 tx per second. I use AWS EC2 m4.large for Core, and Horizon. Also I use Postgres RDS for core and Horrizon, but I have only 560 tx per second. My ...
1
vote
1answer
49 views

How to decode Core DB Account.Signers using the stellar js-sdk

In the recent core v10.3, there is a new base64 encoded column in the accounts table in the core db which replaces the signers table in earlier core versions. How can I decode this column to produce a ...
-1
votes
0answers
59 views

Can I access the private instance created by the docker, using the javascript sdk given?

I have already set StellarSdk.Network.use(new StellarSdk.Network('Standalone Network ; February 2017')); let stellarServer = new StellarSdk.Server('http://localhost:8000', {allowHttp: true}); and ...
6
votes
2answers
52 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 ...
3
votes
1answer
38 views

Network maintenance & maintaining archive

I have set up a private network. I am writing history archive in local server as of now since it is in dev phase. I have noticed that the archive is missing few ledger/bucket as a result of which if ...
3
votes
1answer
35 views

Dynamic Quorum set configuration for master node - Add / Remove Validators

Is it possible to dynamically set / configure validators in a Quorum set? For example I have a Quorum set of 4 nodes say - {A,B,C,D}. Which have equal slice or equal participation. Now, if we would ...
2
votes
1answer
33 views

Can an account hold multiple assets?

Can an account hold multiple assets? If yes, how do transactions get recorded for each asset? If no, should we create multiple accounts, one for each asset?
1
vote
0answers
13 views

stellar-core on CentOS 7 - systemd issue

I run stellar-core on CentOS7. When I run by using command line, everything is fine, and I can create account. However, when I run it on systemd, I always encounter timeout failure The user I ...
1
vote
1answer
22 views

Stellar core log: idle timeout and connectHandler error: Operation aborted

Is this normal? How do I fix? 2019-03-15T19:55:53.368 GDDAN [Ledger INFO] Got consensus: [seq=22945300, prev=a60b85, tx_count=20, sv: [ txH: f5976e, ct: 1552679752, upgrades: [ ] ]] 2019-03-15T19:55:...
1
vote
1answer
23 views

Error: XDR Write Error: not an integer while issuing the asset in stellar network

I am trying to issue an asset in stellar using the following code var StellarSdk = require('stellar-sdk'); StellarSdk.Network.useTestNetwork(); var server = new StellarSdk.Server('https://horizon-...
1
vote
0answers
15 views

peer's txhistory table is not updating after making payment

I have successfully set up stellar-core in my private network using a different network passphrase with 3 nodes. When I run stellar-core -c 'info' output says state: Synced!. I have configured one ...
0
votes
3answers
29 views

My stellar-core can't run on the Public

I just want to run a node which can download the public data.my config stellar-core.cfg like this: DATABASE="postgresql://dbname=stellar_core user=stellar password=123456 host=localhost" #配置数据存储路径 ...
3
votes
2answers
28 views

Stellar's Quorum Structure

In the Stellar whitepaper, there are examples of various Quorum structures. Which one does Stellar use? Is there a visual representation that I should look at?
1
vote
1answer
57 views

tx_bad_seq error when funding the account

I am trying to create a Stellar Standalone network using my own network passphrase. I m able to set up stellar-core and horizon in my private network and it is working fine, I m able to get the root ...
1
vote
2answers
64 views

Should I start with docker quickstart or stellar core? Any difference?

Situation: I am trying to implement a payment network, I guess kind of similar to World Wire, and I am not sure how should I start off. Have yet to use docker before, so I'm a bit overwhelmed by the ...
3
votes
1answer
26 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 ...
3
votes
0answers
10 views

How does Stellar-Core handle multiple archives in a secure manner?

For a stellar code, if a node is configured with multiple history archives for reading, presumably from sources of different nodes. How does this node handle discrepancies between the historical data? ...
1
vote
0answers
11 views

Collecting Core metrics

I want to collect core metrics using the /metrics endpoint. However /metrics seems to collect metrics indefinitely, never resetting them. This means that (for example) the "average database.insert....
3
votes
1answer
28 views

Nomination protocol differences between implementation and specification

To get a more intuitive understanding of the SCP I'm trying to implement a generic version of it. For the implementation I'm using 3 references: Stellar-core source code The SCP paper Internet Draft ...
2
votes
1answer
68 views

Partial vs Complete Catchup: what are the differences in terms of security?

Lets assume I power-up a new core and join (as validator) to a network of pre-existing other nodes. In addition, to speed things up, I chose to do a partial catchup from one history archive. Now, ...
1
vote
1answer
14 views

Partial Catch-up on Validator nodes

I'm curious to know what would happen in the following scenario: Suppose I have a network of 7 validator cores of which 4 performed a complete catchup (replay) of history (say a month's worth of ...
0
votes
1answer
31 views

How to use Stellar to Build International Remittance app

I want to build a money remittance app using stellar as a middleware.If a person sends money how can a receiver withdraw money ?
0
votes
1answer
48 views

Issue while creating account

I have set up a private network with core & horizon, when creating accounts I am getting internal server error. In horizon logs I am getting msg="select failed: pq: relation "signers" does not ...
1
vote
0answers
14 views

How to properly update stellar-xdr and recreate docker image of stellar-horizon?

I want to increase the memo field from 28 bytes by changing this line in Stellar-transaction.x for my private network: MEMO_TEXT: string text<28>. I am able to pull the stellar-go repo into my ...
3
votes
0answers
19 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: ...
0
votes
1answer
13 views

core binding to localhost instead of ip address

I have setup a stellar core in local. However when I start the core, it binds to local host. How can I bind it to ip address instead?
0
votes
1answer
41 views

Understanding how nodes catch up

I have set up a private network of 4 nodes. Out of 4 nodes I am writing history in one node only. Here is the config of node1: [HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}" put="cp {0} ...
0
votes
0answers
10 views

Which uses more server resources, Horizon or Core? And is more CPU or RAM intensive?

Looking for rough estimates on which uses more resources, Horizon or Core and whether either is more CPU or RAM intensive? Thanks.
2
votes
1answer
31 views

Getting an old build and set up stellar core

I want to set up old build (not using docker). If I download the source code, how do i build the core from that? Say I download v10.2.0rc4 from https://github.com/stellar/stellar-core/releases. I ...
0
votes
1answer
42 views

Facing issue while syncing nodes when CATCHUP_COMPLETE flag is set to true

I am running a private network with 3 nodes. DUe to some reason I have to stop 3rd node and when I am restarting getting following status again and again: "status" : [ "Catching up: downloading ...
0
votes
2answers
48 views

Issue during Stellar core setup

./stellar-core --genseed command should always generate same seed or it can generate different seed. What is the logic behind executing this command? As per my understanding , it should generate same ...
2
votes
1answer
52 views

History configuration? (404s)

I'm attempting to get a full-history horizon & core setup going, and I'm running into 404s fetching history buckets, with every combination of configurations I've seen on stackexchange and in the ...
5
votes
1answer
27 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
34 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 ...
0
votes
3answers
30 views

How to pass in a different config file when running a stellar quickstart docker container?

The Stellar quickstart contains a config file at stellar/core/etc/stellar-core.cfg which it uses by default to start stellar core once the container is first run. How can do a first run of the ...
4
votes
1answer
34 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?
0
votes
1answer
19 views

If stellar-core maintains the data, how to view the deleted data

stellar-core will automatic maintenance.Maintenance code:main/Maintainer.cpp. it will delete old data in maintenance process,how to view the deleted data?
3
votes
1answer
47 views

Timeout after 6000ms after submitting a transaction

Whenever I submit a transaction I get a timeout error (after 60 secs). The server is a docker quickstart image in standalone mode. To solve the issue I am have to run the image with -e LOG_LEVEL="...
4
votes
0answers
32 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? ...