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.

1
vote
1answer
11 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
12 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
17 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
15 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 ...
-1
votes
0answers
17 views

How much disk space required to run a stellar node with complete history?

I was trying to setup a node with CACHUP_COMPLETE true, I thought 350 GB is enough for an archive node initially , now at this point I realized it would need at least 1 TB of free space, let me know ...
0
votes
1answer
17 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
15 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
0answers
16 views

Encountering database errors while running Stellar-core

I am trying to run Stellar-core in Linux 18.04 , but encountering this error. I do not know much about database management. Please help me out here. 2019-06-04T10:52:58.559 <startup> [default ...
0
votes
1answer
15 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
22 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
19 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
18 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
18 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
16 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
18 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
32 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
47 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
8 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
35 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
20 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 ...
0
votes
0answers
24 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
41 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
40 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
29 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
63 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
38 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
10 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
21 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
13 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
59 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
30 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
50 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
25 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
48 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
62 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
44 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
40 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
34 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
15 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
29 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
31 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
16 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
31 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
38 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
71 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
73 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
30 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
13 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? ...