Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
14
votes
4answers
404 views

Can Stellar-core be packaged in a container system such as Docker?

I want to incorporate Stellar-core and horizon into my private infrastructure using Docker. Can Stellar-core be packaged in a container system such as Docker?
11
votes
1answer
273 views

Why is Stellar on HTTP and not HTTPS?

On the Stellar website: "API: Horizon Most applications interact with the Stellar network through Horizon, a RESTful HTTP API server. Horizon gives you a straightforward way to submit transactions, ...
8
votes
1answer
393 views

Securing Stellar node

I would like to know how I can secure the Stellar node from unauthorized access. I run a Stellar node (still learning) as a Full validator with the following services on the default port. Stellar ...
7
votes
1answer
216 views

Testing Stellar for high volume of operations per second

I'm testing Stellar for a project where we want to be able to get ~4000 operations per second. Multiple sources ( including this question's answer: Scalability on Stellar network ) indicate that I ...
7
votes
2answers
348 views

Lost ledger data: what is the proper way to shutdown and restart a node?

I had to restart Docker Engine, and I stopped the services by attaching to the container and issuing ctrl+c. It was in the process of downloading ledger files, and I thought that it would pick up from ...
7
votes
2answers
772 views

How can I create a real account using the stellar Horizon API?

I have been practicing with the test-net for a while and creating test accounts with the friendbot. Now I want to create a real account throught the API with the lumens that I already have. Is there ...
7
votes
1answer
352 views

Best way to test maximum possible TPS on private network?

I have setup a private network and want to do max possible TPS(Transactions per second). Hardware is not an issue, working with GCP and can use 160 core CPU and 4000GB RAM for my machine. A few ...
6
votes
1answer
203 views

aws architecture recommendations for stellar

Most of the documentation seems to be about running a single server. However, I'm wondering if it makes more sense to have a shared DB (e.g. RDS) and multiple application servers that use that. I'd ...
6
votes
1answer
131 views

Is there a speed difference between the SDKs?

The JavaScript Stellar SDK facilitates integration with the Stellar Horizon API server and submission of Stellar transactions, either on Node.js or in the browser. It has two main uses: querying ...
6
votes
2answers
373 views

Horizon gives 504 after firing many transactions

I have three stellar-core instances and one Horizon server. The Horizon server is connected to the first of three nodes. All goes well for a while, until I start firing many, many transactions at ...
5
votes
2answers
569 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 ...
5
votes
1answer
36 views

What state is a transaction in after being succesfully posted?

Related to how to trace the state of a transaction after submit? After a transaction has been sent to the Post Transaction endpoint and it returns a successful response: A successful response (i.e....
5
votes
1answer
112 views

Stellar Bridge not POSTing callbacks with mac_key configured

Background: using Bridge Server v0.0.30.0 I'm making payments to a test account and looking to receive callbacks. I've been successful so far, but I'm going through securing the callback endpoint. ...
5
votes
1answer
137 views

Could not complete “horizon db init” exec failed: pq: unrecognized configuration parameter “lock_timeout”

I get the following error on running the command - horizon db init. My Horizon install is compiled from the source for CentOS 7 following https://www.stellar.org/developers/horizon/reference/admin....
4
votes
4answers
709 views

What to do about the rate limit exceeded problem?

I keep getting the rate_limit_exceeded error when I try to process a transaction on the testnet. I looked at the guide on how to fix it but as someone relatively new to programming, I'm still unsure ...
4
votes
2answers
620 views

Unable to connect to horizon via JavaScript SDK

I am just getting started with Stellar. I run a node connected with test network with the following command. docker run --rm -it -p "8000:8000" -v "/home/prashant/stellar/steler-node:/opt/stellar" --...
4
votes
2answers
94 views

Why are overspending transactions added to the ledger?

I always assumed that this could not make its way into the ledger, but while testing with (seemingly) invalid transactions, I created the following: A custom asset I created a custom asset. As you ...
4
votes
1answer
153 views

Is it possible to submit transactions to Stellar Core directly without Horizon?

Is it possible to submit transactions to Stellar Core directly without Horizon? Or do you need to use Horizon for all interactions with the Stellar network?
4
votes
1answer
166 views

How do you use the stellar quickstart without docker?

It says "The easiest way to install Horizon is by using stellar/quickstart docker image." But I can't run the "docker pull" command without docker. I went to download docker from their site and ...
4
votes
1answer
79 views

Amount in XDR is negative. Why?

I'm trying to submit a transaction that includes a payment operation. Sometimes the transaction succeeds. However, sometimes it fails. I believe this has something to do with the decimal being ...
4
votes
1answer
80 views

ChangeTrustNotAllowed Error

I'm trying to run a Change Trust operation in order to add a trustline, but it throws me a ChangeTrustNotAllowed error which I can't reference in the documentation. Here's my Transaction Envelope and ...
4
votes
1answer
61 views

Is Horizon semi-centralized?

While anyone can host a Horizon server, is this considered a semi-centralized entry point because the primary REST endpoint for most clients will be through Stellar's own horizon.stellar.com? Are ...
4
votes
1answer
95 views

How to use the Stellar SDK API Reference?

I am trying to understand how the API reference is meant to be used. For example I want to see how to set up a trust line for an account using the changeTrust() operation. I went to the API ...
4
votes
3answers
699 views

How to get status of historical ledgers synced after setting CATCHUP_COMPLETE=true

I had problems getting the node to resync all past ledgers and had to start from scratch. I can see that stellar-core is writing ledgers to disk, but I'm not sure how to check the status of it, or ...
4
votes
1answer
79 views

Why horizon cursors are so obfuscated?

I wonder if there is any system in values for stellar horizon cursors. I tried to ask testnet horizon for ledgers, starting from https://horizon-testnet.stellar.org/ledgers/ and then pressing next ...
4
votes
2answers
112 views

Horizon returns 404 when trying to query accounts/{ID}/payments

I've spun up a Stellar horizon server using the Docker image mentioned in the repo below https://github.com/stellar/docker-stellar-core-horizon It spins up just fine but I don't get any payment ...
4
votes
1answer
87 views

Transaction, Operations, and Payments

I am currently trying to get the memo and amount of a transaction, but am confused over the differences between a transaction, an operation, and a payment. From my understanding, a transaction ...
4
votes
1answer
830 views

Stellar Horizon not synchronizing

Background: Using satoshipay/stellar-horizon:0.11.1 for Horizon Stellar Core seems to be running. Based on logs, we get the latest sequence number and ledger: 2018-04-18T10:31:32.695 GDYMW [Ledger ...
4
votes
3answers
209 views

Is pathfinding implemented somewhere yet? Is it complicated to do? Why isn’t it universal?

I’m dying to use pathfinding for exchanging assets and it would greatly expand the way people trade over the network. Why isn’t it implemented by UI exchanges? Is it complicated to do? Is work from ...
4
votes
3answers
218 views

Bonds on Stellar

A couple of years ago Jed wrote about the possibility of using Stellar to issue Bonds (http://jedmccaleb.com/blog/bonds-on-stellar/). The example is clear, however I would like to know what is the ...
4
votes
1answer
267 views

How to expose a Horizon URL

I created a private network using only stellar-core, but I'm finding it increasing difficult to work with the network without SDK support. This can be all solved if I can use stellar-lab with my ...
4
votes
1answer
89 views

How to find cursor of a specific timestamp?

I need to find what's the cursor of a specific timestamp in order to let my users see their transactions by date. Is there any function in an SDK or any endpoint on horizon server?
4
votes
1answer
154 views

stellar docker and nginx reverse proxy

I am running a stellar docker using this command: sudo docker run -d --rm -it -p "7777:8000" --name stellar stellar/quickstart --testnet which will bind the horizon (port 8000) to my host port ...
4
votes
2answers
731 views

Horizon server returning 404 for GET /accounts/{id}/payments

I am setting up a private stellar network in my local MAC environment. It does not connect to testnet or public stellar networks. Horizon server returns status code 404 for GET /accounts/{id}/...
4
votes
2answers
103 views

Own stellar horizon is not showing data prior to own instance launch date

I run a stellar node using the docker quickstart image and due to some syncing error the underlying ec2 instance was terminated and restarted on 2018-12-28T10:45:19Z, state of core is Synced. ...
4
votes
1answer
221 views

Backfilling nodes that have ledger gaps

One more for you: What are the steps to make horizon db backfill to a specific elder ledger number? A core node may not be fully synced and may have ledger gaps.
3
votes
2answers
137 views

Are there any publicly available horizon servers or do you always have to run your own private servers?

Stellarbeat.io has a list of hundreds of horizon servers, but if you try to connect to any of them with a simple GET request (like to get account info), it immediately closes the connection. Are they ...
3
votes
2answers
200 views

How can I configure horizon to download and retain the entire history and never delete it?

When using the stellar/quickstart docker image, how can I configure horizon (stellar-core?) to download and retain the entire history and never delete it? By default it seems to only download the last ...
3
votes
1answer
42 views

Check with simple API request if account has received prior transactions

I want to check if a simple API request if an account has received prior transactions. I know that one has to do a transaction to "initialize the account" but how do I check if it has received any ...
3
votes
1answer
40 views

Distinction between signers.key and signers.public_key in Account response

In the signers block of an Account response: "signers": [ { "public_key": "GBH25RYXAEDKPZUIMC5VJBKNYRUULY5B2LH5NVG6Q3RZPHK5KPFBZX7T", "weight": 1, "key": "...
3
votes
1answer
110 views

Is a payment returned through horizon api call: “Payments for Account” always “confirmed”?

Is a payment returned through horizon api call: "Payments for Account" always "confirmed"? In comparison to Ripple a transaction could be returned but not validated yet. Is Horizon filtering this out ...
3
votes
1answer
267 views

Who hosts and maintains Stellar Horizon server?

I'm thinking of developing apps on one of the Dapp platforms. When I skimmed through the Stellar doc, it seems the entry point to the network is the Stellar Horizon RESTful server. According to the ...
3
votes
1answer
136 views

How to create and fund a stellar account on live network?

I have used the JS SDK to create a set of keys, and then send some money to it using friendbot cfr the docs to create an account (https://www.stellar.org/developers/guides/get-started/create-account....
3
votes
1answer
116 views

Horizon Database Size / Are there very large indexes (yet)?

Could someone with a running Horizon instance please check current index sizes in the Horizon DB? I was told it currently needs around 300GB disk space but curious about index sizes to determine (...
3
votes
1answer
104 views

Why does this SSE stream go stale?

While implementing server sent events (SSE) requests I've come across a problem. The streams quickly become stale. The client continues to request data, but the server will only respond with "hello". ...
3
votes
1answer
215 views

Do I need to run Stellar-core and horizon to conduct crowdsale?

Do I need to run Stellar-core and horizon-server to conduct crowdsale ? if yes, Why stellar public horizon is not enough for this case (crowdfunding) ?
3
votes
1answer
43 views

What is HorizonRequestError error 11?

Horizon returns errors with numbers, but as far as I can see, there aren't numbers in the error reference. The operation couldn’t be completed. (stellarsdk.HorizonRequestError error 11.) What is ...
3
votes
1answer
125 views

Monitor transactions of non-native asset

is there a convenient way to monitor all transactions/payments/operations of a custom asset? It seems like the REST API only allows this for either one account or the whole network, but not for a ...
3
votes
1answer
39 views

How to tell if sequence number has been incremented from transaction post response

Is there a straightforward way to ascertain from the horizon txn post response if the seqno has been incremented? For example, an underfunded operation will cause the seq number to increment, but a ...
3
votes
1answer
136 views

Path payment accounting

I've noticed a weird path payment and I'm confused as to how to interpret it. The payment is represented on stellar.expert as GBN2KFK sending 3.333 XLM to a path and GATEMHC receiving 1 XLM at the ...

1
2 3 4 5