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
0answers
12 views

stellar testnet drop my stellar core

I got the ERR_LOAD and drop me. Does anyone know how to figure out where the problem is ? 2019-08-13T02:59:47.846 GDJAU [Ledger INFO] Got consensus: [seq=201440, prev=7c753d, txs=39, ops=98, sv: [ ...
0
votes
1answer
20 views

stellar withdrawal -

I withdrew my stellar twice but it failed. Stellar charged me. How do I get the charges back and why can't stellar transfer coins to coinspot?
1
vote
0answers
17 views

Stellar channel implementation is giving an error “this.source.sequenceNumber is not a function”

i am trying to implement stellar channel concept. i am following stellar channel link. I have created 6 channel accounts. Below is the programme i wrote var destinationId = '...
0
votes
0answers
17 views

Stellar Beta did not transfer XLM yet charged me twice

I tried to withdraw XLM from my trezorto coinspot but it did not o through. Yet your exchanged charged me 2x. Email of trezor below. I have the error message. How do I email to you. Thank you for ...
0
votes
0answers
11 views

Network passphrase of stellar-core (Public Global Stellar Network ; September 2015) does not match Horizon configuration

I runned the stellar-horizon-cmd like this sudo stellar-horizon-cmd serve and I set all configuration parameters as environment variables, but it seems the $NETWORK_PASSPHRASE cannot be passed ...
0
votes
2answers
21 views

How to quickstart to pubnet while install SDF package

I had check previous question switch from testnet to pubnet, However, the answer is not helpful. I had installed stellar SDF package three times and switching pubnet after successfully install. How ...
0
votes
1answer
33 views

Run core with catchup complete

I have a new stellar core instance with CATCHUP COMPLETE true and one stellar horizon instance with INGEST true. I'm totally new with stellar. I've started the core node and it's catching up the data....
0
votes
0answers
10 views

Error in starting multiple test node

I am trying to get multiple test nodes using a single docker compose file. version: "3" services: node1: image: stellar/quickstart ports: - 8001:8000 - 11630:11626 - ...
0
votes
1answer
29 views

Stellar validator node

My question is about running a stellar validator node. Why Starting stellar-core in FORCE_SCP mode requires NODE_IS_VALIDATOR to be set?
1
vote
0answers
26 views

Stellar-core running in Docker container, but not inside supervisorctl. If run in supervisorctl it doesn't use the right config

In the docker container if I run stellar-core using supervisortctl, then logs do not get written to the file I have specified in my stellar-core.cfg, but if I start stellar-core outside of ...
0
votes
1answer
17 views

Inferring operationID from get transactions stream data

Currently, I am getting transaction detail from transaction stream using stellar sdk. So for getting the operation details the envelope XDR is decoded. But the operationID couldn't be retrieved from ...
0
votes
0answers
6 views

Create or recover archive from Postgres core data

Is it possible to create archive from existing Stellar core's Postgres database? Does it have all the data required for creating an archive? Is there any tool to do that?
1
vote
1answer
26 views

Can I change the Path of a Stellar history archive?

In stellar-core.cfg (stellar config file) we need to define a history configuration. The default setting is mkdir="mkdir -p /tmp/stellar-core/history/vs/{0}". Can I change this directory location, or ...
2
votes
1answer
57 views

How to create trustline between issuer's account and receivers accounts dynamically?

I am trying to create a trustline between issuer's account and receiver's account to send Custom Assets(token) I am following this link var StellarSdk = require('stellar-sdk'); StellarSdk.Network....
1
vote
1answer
22 views

How can I validate a stellar address in Python?

I am using python-sdk to perform stellar operations. Now I need to validate a stellar address. I know that the JS sdk has got a function StrKey.isValidEd25519PublicKey(address); however I cannot find ...
1
vote
1answer
33 views

Stop Horizon/Stellar node growing disk usage

I'm trying to find a way to keep Stellar disk usage in check. I only care about the last 24 hours or so of transactions and don't want to over-provision the instance I started a docker container ...
0
votes
1answer
19 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 ...
0
votes
1answer
31 views

Unable to sync testnet node

I am using stellar-core in ubuntu 18.04 . I want to create test-network . But my node is unable to sync , it is stuck showing the log For new syntax: stellar-core help 2019-06-07T11:38:26.889 ...
0
votes
0answers
17 views

Validation of federation server

I am trying to validate the address that a client typed to withdrawal his XLM to. Issue is that using the federation sdk takes over 10 seconds and if the address was not found it can take up to a ...
0
votes
1answer
25 views

When total coins will exceed beyond its storage data type

The total initial coins are 1000000000000000000 which is stored in const int64_t data type. Now this particular data type can support maximum 19 digits number. THis whole coin is possessed by root ...
0
votes
0answers
24 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 = ...
0
votes
1answer
31 views

New node is lagging behind the old one

Hi I was doing some experiment (especially after the news of stellar network going down) in my simple 2 nodes private network and got some confusion. Here are the steps I follow: Configured network ...
0
votes
1answer
22 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!
2
votes
1answer
22 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
19 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
20 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
60 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
48 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
9 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
37 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
31 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
37 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
64 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
55 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
51 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
83 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
44 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
19 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
13 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
26 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
14 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
72 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
32 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
55 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
55 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
53 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
65 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
49 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
47 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 ...