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
35 views

Time-based wallet in Laboratory

I want to build a time-locked token with certain funding target to be used for crowdfunding. I have found the code for creating time bounds in javascript but I am unable to find the UI of Stellar ...
1
vote
0answers
15 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....
2
votes
1answer
138 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, ...
0
votes
1answer
103 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 ...
4
votes
1answer
43 views

Do transactions store information on when they were created?

I'm looking at the XDR definition for transaction and I can't find if there's any info on when a transaction was created. How do I look up date information for a transaction? I want to get some ...
0
votes
1answer
111 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} ...
1
vote
0answers
21 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
29 views

Setting the network interface for core?

it is possible to set the network interface that Core is using? Suppose my host has multiple interfaces, which one is selected?
0
votes
1answer
112 views

Facing issue while syncing nodes when CATCHUP_COMPLETE flag is set to true

I am running a private network with 3 nodes. DUe to some reason I have to stop 3rd node and when I am restarting getting following status again and again: "status" : [ "Catching up: downloading ...
4
votes
0answers
82 views

Stellar-Core won't sync anymore: “Replay failed: mismatched ledger hash”

Stellar-core was running smoothly, then crashed without log entries. Node now fails to catch-up and sync. Logs are complaining about a mismatched ledger hash and I am stuck in an endless loop of ...
0
votes
3answers
140 views

How to pass in a different config file when running a stellar quickstart docker container?

The Stellar quickstart contains a config file at stellar/core/etc/stellar-core.cfg which it uses by default to start stellar core once the container is first run. How can do a first run of the ...
1
vote
2answers
70 views

error accessing path: buckets/tmp

Two days after installing stellar-core, when I run ./stellar-core, I had this error: Got an exception: error accessing path: buckets/tmp [main.cpp:671] How can i handle it?
3
votes
0answers
42 views

Change stellar quickstart docker from ephemeral to persistent without shutting it down

I made the mistake of running my Stellar instances with the -v "/home/Drew/XCoin:/Drew/XCoin" flags instead of the required -v "/home/Drew/stellar:/opt/stellar"flags that Stellar recommends on the ...
4
votes
1answer
44 views

What are “LedgerEntry objects” and “Asset pairs” in relation to Stellar Core Configuration?

The following is mentioned in the example config but I am wondering what a LedgerEntry object and Asset pair actually are, in this context. # Data layer cache configuration # - ENTRY_CACHE_SIZE ...
3
votes
3answers
110 views

How does Stellar manage to cut the cost of remittances?

Disclaimer: I'm not a developer and just starting to learn Stellar and reading the documentation The way (international) payments work (simplified): When making a purchase on an app, the payment ...
1
vote
0answers
107 views

How should one decide how many and which nodes to select in the quorum set when configuring a Stellar Core Node

How should one decide how many and which nodes to select in the quorum set when configuring a Stellar Core Node (in archiver mode)? There is a list of validators in the link below, should all or some ...
1
vote
1answer
370 views

HTTP end point error while try to run in Testnet port

I am relatively new to this stellar-core testing and this is the first post of me on stack exchange, if there is any wrong format or mistake, please tell me. I am here because I have met some problems ...
2
votes
1answer
42 views

Does Stellar Laboratory query the DB, when it tries to get the Sequence Number?

In Stellar Laboratory, in the Transaction Builder tab, the Transaction Sequence Number is required, there is button which gets the next Sequence Number. Does Stellar Laboratory gets the sequence ...
5
votes
1answer
222 views

stellar core docker address in use

I am running stellar core docker. When I get into the container and type stellar-core. it gives this error: GAGCM [default INFO] Starting stellar-core v9.2.0 GAGCM [default INFO] Config from stellar-...
48
votes
3answers
7k views

What is the incentive to run a Stellar node?

In bitcoin, miners are rewarded by minting new coins. What's the incentive to do so in Stellar?
3
votes
1answer
218 views

How does node discovery work?

How does a stellar-core node discover its peers? I mean both on startup and on the go.
0
votes
2answers
110 views

monitoring stellar

As I understand, stellar block-chain is actually the ledgers using the previous hash to connect to its prev ledgers down to genesis ledger. my question is: how can i monitor the ledgers in order to ...
1
vote
0answers
94 views

Can a transaction be successful in a 2-node private Stellar Network?

I have a 2-node private network running, when I try to submit a transaction using an XDR generated from the Stellar Lab, it first shows up as "PENDING", then one of the node stops working. Any idea, ...
0
votes
2answers
352 views

How do I install Stellar-core?

I installed stellar-core through the source code and I don't know how to proceed. Do you have any good suggestions?
1
vote
3answers
97 views

Is it possible to change the asset issuer?

After issuing the asset I need to change the asset issuer, all trustors will remain trusting the same asset but the issuer is diffrent. scenario- issuer 1 - issued asset Dummyasset now need to ...
0
votes
1answer
249 views

Why stellar required XLM to activate account

I am using stellar for custom token. And each time a customer creating a account on stellar they required 1 XLM to activate there account. We are using custom coins only so why should be activate ...
1
vote
2answers
119 views

How do I keep track of payments to multiple address

To track the payments we can use streaming API is good solution. already answered. In my case I have a master account(M) as well sub-master(SM) account, I need to have multiple sub-master(SM) ...
1
vote
0answers
24 views

Is the seed stored inside the database associated with the core?

For security reasons, I'd like to know whether the seed is stored in the database. Obviously, its configured in the core's config file, but does the app copy it into the database? I suspect it does ...
0
votes
1answer
45 views

Multi-sign transaction is not working

I am creating a multi-sign transaction. When I am submitting the transaction to Stellar, response.isSuccess() returns false. Could anyone tell me where I am going wrong? link https://www.stellar.org/...
0
votes
1answer
80 views

Getting error on direct http tx call to stellar core

I am trying to send a transaction via http call without Horizon. Here is the tx information http://localhost:11626/tx?blob=...
0
votes
1answer
80 views

How to keep account balance up to date in wallet app

I'm building a simple wallet app and I want to keep the balance of my account up to date in the wallet. I have thought of a couple ways to do this, but neither seem that great. OPTION 1: Query the ...
1
vote
0answers
28 views

How to remove Stellar local node setup completely?

I am having some issues accessing the local node setup. I installed with this link and tried to fix it but now I want to remove the complete setup and reinstall it.
5
votes
1answer
270 views

Best practice for issuing a new asset and locking an account

When issuing a new asset, is it expected that the transfer of the asset to the distribution account and the locking (setting weight to 0) of the issuing account take place in one transaction or, can ...
-3
votes
1answer
97 views

stellar-core can be controlled via the commands (No config file FILE found)

following this link!. When specifying a config file to use. stellar-core --conf FILE default 'stellar-core.cfg' I get error : 2018-11-17T11:25:32.680 <startup> [default FATAL] Got an ...
6
votes
2answers
666 views

What can cause horizon to have incomplete data?

On a private network, I have 5 core nodes and 5 horizon instances, all of the horizon services were not configured with "history-retention-count", so according to this, this variable to should default ...
3
votes
1answer
34 views

How to do make the minimum XLM deposit upon account creation

How would one typically send the prerequisite 1 XLM to a new account upon creation? Is this done by including the transfer from another account to the new account as part of the creation process?
0
votes
1answer
69 views

Trustline for account purchasing an asset on an exchange

I have so far found out that an account needs to have a trustline for an asset if it is to receive a payment of that asset (from a given issuing account). Does an account need a trustline for an ...
3
votes
1answer
417 views

Best practices for Stellar core settings KNOWN_PEERS, PREFERRED_PEERS and PREFERRED_PEER_KEYS

What are the best practices for settings KNOWN_PEERS, PREFERRED_PEERS and PREFERRED_PEER_KEYS in the Stellar Core config? Under which circumstances would I use which? From https://www.stellar.org/...
1
vote
2answers
160 views

Where is the secret key for the standalone network?

I am running the docker quick start image for a standalone private test net. I have the network up and running, but I cannot find the secret key for the single funded test account. Where can I find ...
1
vote
2answers
149 views

How to get account historical balances?

how would I go about obtaining a list of historical data (tokens held, their quantities and a timestamp) for an address? The stellar expert explorer has a way of generating this kind of data, an ...
6
votes
1answer
194 views

What does this mean: “Ledger N (hash) closed and could NOT be fully validated by validator”

I see messages like this in the logs of Stellar Core: Ledger 20144734 (da1765) closed and could NOT be fully validated by validator What does this mean? Not sure if it matters, but the core node is ...
5
votes
1answer
115 views

What is done to create a stellar AccountID aside from the generated raw secret and derived pub/priv key?

I am curious on what is done when a public/private key pair is created on Stellar. I understand a key pair is generated with ed25519, but why are there additional pre-fix/postfix involved? Why would ...
1
vote
0answers
92 views

How to add nodes to my private network?

If I have started a private network on my local machine, it will be running only one node. If I want to add few more nodes to it, how will I do it? I am planning to use some AWS ec2 instances as ...
4
votes
0answers
156 views

Stellar-core failing to initialize history archives to S3

My archive setups are configured like this: [HISTORY.v1] get="aws s3 cp s3://my-bucket/v1/{0} {1}" put="aws s3 cp {0} s3://my-bucket/v1/{1}" [HISTORY.v2] get="aws s3 cp s3://my-bucket/v2/{0} {1}" [...
3
votes
1answer
87 views

What are the differences between Ripple and Stellar addresses

What are the differences between Ripple and Stellar public/private key pairs? I understand the cryptography and libraries that Ripple and Stellar use are quite similar, but are they practically ...
1
vote
0answers
23 views

How to create my own operations

I'm looking to alter stellar-core for my project, which deals less with financial transactions and more with data storage. I want to essentally rip out some of the operations such as allowTrust and ...
4
votes
1answer
284 views

How can I find out the seed key for my genesis account on a local testnet?

Since I am running a local testnet of stellar-core, I was wondering if there is a way to determine the seed key for the genesis account ? I currrently have only one account on my local testnet. TIA.
1
vote
3answers
42 views

Stellar all address has no data

Hi i was using stellar test account. It was working fine but suddenly showing no data in any related account to a asset issuer. is there any limit for using test network ? I have created a issuer and ...
1
vote
1answer
43 views

Stellar Core from Source vs. Stellar Core from Container

Are there any vulnerabilities or security considerations I should be aware of with running Stellar Core from source as opposed to running it from the Docker Container?
1
vote
1answer
544 views

How to be a Stellar Anchor?

There is currently not much info about this. I want to provide the ability to exchange for XLM using the local fiat currency I am at.

1
3 4
5
6 7