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
2
votes
1answer
25 views

Is all the history of ledgers required for consensus?

In Bitcoin when a validator (miner) decides to join the consensus process, the history of all blocks must be downloaded. Is this concept the same in Stellar? We have encountered a scenario where one ...
1
vote
1answer
22 views

How to send Lumens to an uninitialised stellar address pragmatically

I am new to stellar so please bear with my question if it sounds too basic. So, using the stellar laboratory, I created two accounts lets name 1 and 2. I funded the 1st account with test-net coins ...
0
votes
0answers
22 views

Trying to increase integer value of total coins for root account

i have changed the earlier values of total coins by adding 1 more zero. const uint64_t LedgerManager::GENESIS_LEDGER_TOTAL_COINS = 10000000000000000000 # if __WORDSIZE == 64 typedef long long int ...
0
votes
1answer
86 views

How to configure Full Validator node?

The docs state to set the validator env var, which I did, but how do I specify that I want to run a full validator and not just a basic one? NODE_IS_VALIDATOR=true What other settings are required? ...
1
vote
0answers
50 views

Troubles Setting up Private Stellar Network

I am trying to setup a stellar private network for experimentation purposes. Unfortunately, no matter what i do, the nodes end up not being able to sync up. Mostly, as soon as I change the network ...
0
votes
0answers
11 views

History isnt published during catchup, why?

I noticed that stellar-core does not publish history during catchup. It only publishes history once its actually synced. I'm wondering why this is the case. What's the reasoning behind this? I'm ...
0
votes
0answers
38 views

Made few changes in stellar core file. Saved it but cannot see the changes in the new transactions i am performing

I have made certain changes in LedgerManagerImpl.cpp file under src-> ledger folder on line approx 68-72 const uint32_t LedgerManager::GENESIS_LEDGER_BASE_FEE = 50; const uint32_t LedgerManager::...
2
votes
1answer
53 views

Publishing history to new history archive results in error of loading history state

I keep getting the [History ERROR] Error loading history state: rapidjson internal assertion failure: IsObject() when trying to publish the state of a recently added node to it's recently initialized ...
1
vote
0answers
49 views

How to update the transaction fees in private network - normally it is 100 stroops

I have updated the config file by putting the below value COMMANDS=["upgrades?mode=set&upgradetime=1970-01-01T00:00:00Z&basefee=1&basereserve=1"] By using the command stellar-...
1
vote
1answer
81 views

How to restore database after Stellar testnet reset?

I have read their post reset maintenance here: https://github.com/stellar/packages#testnet-reset can we still use test account in testnet after reset or do we always have to create new one? if we ...
2
votes
1answer
62 views

How to relaunch a Testnet node to use the new Testnet after a reset while using the Docker quickstart container?

What are the recommended steps that should be taken to get a stellar testnet node using the quickstart docker reset on the new testnet? Currently it is still using the old network by the looks of it,...
2
votes
1answer
71 views

Error while installing stellar core

I am trying to follow this tutorial in order to build a private stellar network. https://labs.imaginea.com/post/stellar-bc-wallet/ And i am still trying to install stellar-core. when i ran ./configure ...
0
votes
0answers
95 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
46 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
22 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
16 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
33 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
1answer
16 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
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 ...
0
votes
1answer
33 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 ? ...
0
votes
1answer
59 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
28 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
56 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
54 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 ...
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 ...
3
votes
1answer
55 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
54 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
41 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
22 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
37 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
59 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
20 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
44 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
46 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
80 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
80 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 ...
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 ...
3
votes
0answers
17 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
12 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
37 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
96 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
16 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
94 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
89 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
19 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 ...
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: ...
0
votes
1answer
16 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
75 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
11 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
40 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 ...