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
0
votes
1answer
30 views

Where is fee deduced from balance in the source code?

Simple question, but I failed to grep for the answer… It’s sayed balances are already deduced but where ? I mean which file and which line ? // if we are in applying mode fee was already deduced ...
4
votes
1answer
33 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 ...
2
votes
2answers
955 views

stellar-code stuck with Joining SCP

I have a private network running on my local mac laptop. The network has two nodes. Both the nodes were syncing correctly on Friday, March 16, 2018. I shutdown the nodes by ctrl c. Now when I start ...
0
votes
0answers
32 views

Full LCL error when running private nodes

I have set up a private Network by three Nodes. After running sometime, showing below message from Node2. 2019-05-27T09:49:55.006 GCTXZ [Ledger ERROR] Full LCL: { hash = ...
2
votes
2answers
238 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 ...
0
votes
1answer
28 views

Inflation Destination or public address [duplicate]

Why do I have an inflation destination and a public address in my stellarport account. How can I tell if I've received any staking rewards? Thank you!
0
votes
1answer
21 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
32 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
38 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 ...
2
votes
1answer
67 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 ...
2
votes
1answer
142 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 ...
4
votes
1answer
89 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? ...
0
votes
0answers
26 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
201 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
66 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 ...
3
votes
1answer
35 views

How to changing port on stellarterm?

I installed Stellar term on my own server but the default port is 3001 and i want to change that, How can i change the ports in my own Stellar term?
0
votes
0answers
46 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::...
11
votes
1answer
113 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 ...
-1
votes
1answer
26 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 ...
1
vote
1answer
147 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
95 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,...
0
votes
0answers
151 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
71 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 ...
0
votes
1answer
68 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" ...
4
votes
1answer
75 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
1answer
55 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 ...
3
votes
1answer
71 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 ...
4
votes
1answer
244 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 ...
1
vote
2answers
559 views

How can I determine if a transaction is confirmed, pending or successful after submitting to the Stellar network?

If someone sends me lumens, what happens if the transaction neither succeed nor fails? How can I determine whether I will receive lumens or not when the transaction is pending? From the getting ...
0
votes
1answer
50 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 ? ...
6
votes
2answers
100 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 ...
2
votes
1answer
32 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 ...
1
vote
1answer
23 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 ...
6
votes
2answers
317 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 ...
0
votes
2answers
66 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 ...
4
votes
1answer
83 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?
1
vote
1answer
59 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 ...
0
votes
1answer
28 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?
3
votes
1answer
75 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
47 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
37 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
51 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:...
2
votes
1answer
152 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-...
2
votes
1answer
274 views

is it possible to perform multiple payment operation in single transaction?

Scenario: when user pay(100%) on my website using my API in which I want to perform 2 payment operation 1. goes to production account(50% amount) 2. goes to manager account (50% amount) is this ...
1
vote
0answers
22 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 ...
1
vote
1answer
162 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
112 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
45 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 ...
0
votes
1answer
194 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 ?
3
votes
0answers
25 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 2 3
4
5
7