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
-1
votes
0answers
6 views

How does stellar-core/src/scp realize all 16 THEOREMS writing in “The Stellar Consensus Protocol”

We want to use the stellar consensus protocol in our project, can we just integrate stellar-core/src/scp to support the full stellar consensus protocol with all 16 THEOREMS?
0
votes
0answers
3 views

How can a node safely apply its externalized state while still allowing late commit messages?

Consider a case with Qset { N: 6, Threshold: 4}, 6 nodes and a threshold of 4. If a Node has received 4 commit confirmed messages for a ballot b then it is safe to act on it - as an example by ...
0
votes
1answer
15 views

How to regenerate Stellar Archives?

We are running a private stellar network and we are seeing missing archives files. Can the network regenerate the archive files? New nodes are not able to synch because of this.
1
vote
1answer
18 views

`tx_bad_auth` when submit transaction to TestNet

I submit a transaction to the TestNet by using the official horizon API (https://horizon-testnet.stellar.org/), and it returns tx_bad_auth. This is my code: Server server = new Server("...
0
votes
0answers
11 views

Genesis block/ledger on stellar-core

I am looking at how to generate the Genesis block/ledger on stellar-core. I have seen people suggest pre-populating the database, what is the easiest option for a newbie to stellar-core.
1
vote
1answer
27 views

What is the difference between SCP and FBA?

The Stellar white paper "presents federated Byzantine agreement (FBA), a model suitable for worldwide consensus." It then goes on to state that it "further presents the Stellar ...
0
votes
0answers
14 views

How to setup the first account in a private network?

Hi have setup a private network. Now how do I create the first account so I can start using the network? I have tried the following: const Stellar = require('stellar-sdk') const NETWORK_PASSPHRASE = &...
0
votes
1answer
16 views

Do I need to create and back my own USD token, or are there more distributed approaches to bring USD into my Stellar based app?

I'm transitioning my purely XLM based app to having USD as a deposit, exchange or withdrawal option. Once the USD is deposited, I'll issue a USD token to track that value. How should the exchange on ...
1
vote
1answer
32 views

Two local nodes stuck in syncing state

I've followed the guide here, but my two local nodes are stuck in catchup mode. When I try to for example run this: stellar-core http-command "generateload?mode=pay&txs=10000&txrate=29&...
0
votes
0answers
17 views

Making a horizon account request with http_request?

I am trying to make a request for account data using stellar-core's boost/asio HttpClient. //https://horizon.stellar.org/accounts/GALAXYVOIDAOPZTDLHILAJQKCVVFMD4IKLXLSZV5YHO7VY74IWZILUTO std::string ...
0
votes
1answer
38 views

Is it possible to recreate the history from stellar-core?

We have a private stellar network and for some reason the archive is corrupt and a new node cannot get the history. Is there a way to recreate the full archive from stellar-core?
0
votes
0answers
13 views

Stellar core Bad ledger-header history entry: claimed ledger

Stellar Core v13 stopped validating a few days ago. Unfortunately, I don't have the old logs anymore so I don't know what happened exactly. I can see there's an error in the core logs: 2020-06-08T17:...
0
votes
0answers
10 views

How accurate are Stellar timestamps in practice?

As described in How are timestamps deemed invalid?, it seems that the code enforces two checks on timestamps: monotonicity: the close_time of each block must be greater than the previous close_time ...
0
votes
1answer
29 views

stellar horizon docker install error -history-archive-urls must be set when --ingest is set

I'm trying to install stellar core and horizon via docker: and I get this error when start horizon_1 | 2020/05/26 23:50:15 --history-archive-urls must be set when --ingest is set $ docker ps ...
0
votes
1answer
13 views

xdrc 'cpp.exe' is not recognized as an internal or external command

I am trying to build stellar-core on Windows. I have followed the instructions in the windows install markdown but I am getting the error below. Error MSB6006 "cmd.exe" exited with code 1. stellar-...
0
votes
0answers
20 views

“ingest_latest_ledger” and “history_latest_ledger” freezes, though “core_latest_ledger” increases

I am using "docker-stellar-core-horizon" on Ubuntu-18.04, RAM -16GB (I have also tried the entire thing on CentOS-7, please provide a solution that works for both Ubuntu and CentOS). Docker version- ...
0
votes
1answer
69 views

horizon ingest the historical data

I'm running a new horizon v1.2 with ingest=true. It is connected to the stellar core with CATCHUP_COMPELTE enabled. (the status of the core is catching up 5%) My question is what is the command to ...
1
vote
0answers
36 views

How do i build a fiat payment processor(Gateway) on stellar

I want to develop a payment gateway that can be integrated into online stores, merchants can seamlessly receive payments directly to their bank account. I want to build all the features on stellar. ...
0
votes
0answers
10 views

Node sync using s3 bucket

I have set up a Stellar private network consisting of two nodes. First node stores the history in a s3 bucket. 2nd node stores the history in local AWS. Now I try to connect a 3rd node with the ...
1
vote
0answers
23 views

Root account balance about my own private network and connect with stellar network

I have set up my own stellar private network and the root account balance of that network is 100B. This is because as per my knowledge in the stellar-core source code the root account balance is ...
0
votes
1answer
22 views

Hand code a stellar transaction

I know how bitcoin transactions are built 4 Bytes version & 1 byte number of inputs ...etc similar to this how is stellar transaction built and signed ? Please help me find that information ? ...
0
votes
1answer
33 views

High available stellar core

I'm looking for a way to run a high available stellar validator core. Right now I run one stellar connected to Postgres DB in a k8s pod. My question is if I want to for example run 3 nodes do I need ...
0
votes
1answer
13 views

Stellar HD Path require apostrophe in the end?

I was recently going through some code and came across something new to me. The HD Paths for all the assets I saw ended with /0 but specifically for Stellar it ended with /0'. The complete form: m/...
0
votes
0answers
13 views

How to define your own value type?

I want to exchange not monetary values, but serialisable Plain Old Data Structs (say 4 int32 and char array of 128 items) in each message. One can not sum two of these values directly, yet can take ...
2
votes
1answer
168 views

How to connect to a stellar stand alone node?

My goal was to set up a small test network with two stellar nodes. Therefor, I forked the quickstart repo and made some small adjustments. I changed the public key and the network passphrase. On my ...
0
votes
1answer
26 views

Network.usePublicNetwork(); showing syntax error

I have just migrated to AndroidX (which may or may not be related to this issue). However, Network.usePublicNetwork(); is now showing a syntax error: Below are my imports: import org.stellar.sdk....
0
votes
1answer
26 views

How much time to fully sync Watcher Node

How much time does it take for a watcher node to sync?
1
vote
0answers
26 views

Unable to determine the status of “Catching up” node

My stellar-core node is not syncing past 1/2 children completed. In my config, I have: CATCHUP_COMPLETE=false CATCHUP_RECENT=1024 When I call "info" I see this: "info" : { "build" : "stellar-...
2
votes
1answer
40 views

Why is validator inactive on Stellarbeat despite logs showing validation activity?

I am trying to run a validator, and have configured it accordingly. I am running version 12.4 on an Ubuntu machine, which I installed using the stellar-core-postgres packages. According to stellar-...
1
vote
0answers
28 views

Stellar validator node quorumset not reaching threshold

I deployed a full validator node and it was 100% validating for a few months. A few days ago I check it's status on stellar beats and I saw this error Node not validating: quorum set not reaching ...
1
vote
1answer
24 views

Federation servers - are they just “DNS for Account ID”, or do they have more functions?

As far as I understand all non-faulty members of Stellar network maintain same transaction log (sequence of ledgers in Stellar terminology) and database state. This includes accounts public keys and ...
1
vote
1answer
21 views

Payment Deducted from channel account and not from source account

I am trying to implement the concept of channels in my stellar project. I have refered https://www.stellar.org/developers/guides/channels.html this link. As it is said that, the source account of the ...
0
votes
0answers
18 views

Stellar docker quick start high disk space usage

I'm using stellar docker quick start image. everything works well except disk space usage. i realized that it uses 100Megabyte per hour. I have changed the default settings of the postgresql 9.6 and ...
2
votes
0answers
59 views

No communication between Ledger Nano S and Stellar account viewer

If I try to connect the ledger Nano S to the Stellar account viewer, the relating field in the account viewer does not turn blue, but stays grey. So the ledger has not been detected by the account ...
1
vote
1answer
39 views

Stellar Core Data

Where can I download the full Stellar transactions and payments history? I have seen already that I can download one page at a time in the Stellar Website, but id like to do a full download since its ...
0
votes
1answer
21 views

What is the difference between watcher Node and Basic Validator Node

Can anyone explain what is the difference between watcher and basic validator node .
2
votes
1answer
42 views

Is it possible to implement custom transaction types in Stellar?

I see that it is possible to add custom data, but it seems like there is no validation of its correctness on the blockchain side. So the question - is it possible to implement custom transaction types ...
0
votes
0answers
13 views

What is the Procedure to Add New Node to the Network

What are the steps to be followed to add new node to the network. Do we have to add the new node address and public key to the other nodes in the network. -> i.e Do We need to make it KNOWN OR ...
0
votes
0answers
12 views

Why is the return value of SCP::nominate ignored in Stellar?

I've noticed this: https://github.com/stellar/stellar-core/blob/18d5d5ebc12a5d623b523c114a4ac77ae31964ea/src/herder/HerderSCPDriver.cpp#L869 https://github.com/stellar/stellar-core/blob/...
1
vote
1answer
33 views

Issue with History Archive - second node not syncing with the first

I ran second node but it's not reaching consensus with the first node. I think second node will sync up with the first node with History Archive. I ran the second node but it's giving 'Lost track of ...
1
vote
0answers
25 views

How to make two Stellar nodes run for History Archive?

I tried to run two Stellar nodes to make History Archive happen. But this is the log I received: 2020-01-30T12:09:21.894 <startup> [default INFO] RUN_STANDALONE enabled in configuration file - ...
0
votes
0answers
25 views

stellar-core upgrade v10 to v12

I am running a stellar-core private network with version v10. Now I need to upgrade it from v10 to v12. I have gone through the stellar documentation but did not get any steps. One more thing I would ...
0
votes
2answers
44 views

stellar payment tx_bad_seq error

I am using stellar sdk to send payments from one account to another. When i send payment one by one , there is no error . everything works fine. However when i try to send payments in batch i get ...
0
votes
0answers
69 views

“still Ingesting” horizon error after upgrading stellar core to the latest version

I am running a stellar private network. Earlier my core and horizon version were too old. so, i upgraded it to the latest versions mentioned below "horizon_version": "v0.24.1", "core_version": "v12....
0
votes
2answers
46 views

How to decode sellingasset and buyingasset in python

I checked in public.offers from the core database. The sellingasset and buyingasset are base64 encoded. Here's what I get from database and horizon api: database select buyingasset from offers ...
1
vote
0answers
34 views

externally connect to my stellar node

I created a private stellar node on my server using the documentation. When I am trying to externally connect to my node using curl I get the following error on stellar-core: [Overlay ERROR] TCP: ...
2
votes
2answers
63 views

Stellar-core catch up failed

My stellar node stop syncing with such error: 2020-01-15T05:43:46.809 GAES7 [History DEBUG] Verifying ledger headers from /mnt/volume_lon1_01/buckets/tmp/catchup-425e2f74558fb272/ledger/01/a7/8a/...
4
votes
1answer
61 views

Is a network of non-validators really necessary?

From my understanding, stellar-core nodes (i.e., including watchers and validators) will arbitrarily connect to other nodes by default (i.e., no preferred peers set). While it makes sense for watcher ...
1
vote
0answers
26 views

Using the STELLAR LABORATORY (HORIZON) UI to interface/connect to a LOCALHOST Standalone STELLAR core network

I am new to the Stellar network and would like to TEST Stellar's capabilities - via a standalone implementation (http://localhost:8000) of the 'STELLAR/QUICKSTART' on my MAC laptop. The installation ...
0
votes
0answers
20 views

stellar-core v.12.2.0 History ERROR

I've run my node for several months without any problem. I haven't changed any configs but it's a week or two my node started to stop syncing with such error: 2020-01-06T21:36:26.540 GDDVE [History ...

1
2 3 4 5
7