Skip to main content

Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
14 votes
4 answers
457 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?
Lilynut's user avatar
  • 491
11 votes
1 answer
309 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, ...
ExMachima's user avatar
  • 619
9 votes
1 answer
603 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 ...
Sivaji's user avatar
  • 155
8 votes
2 answers
1k 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 ...
Daniel Valencia's user avatar
8 votes
1 answer
420 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 ...
Sohan's user avatar
  • 188
7 votes
1 answer
314 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 ...
ChriSF's user avatar
  • 73
7 votes
2 answers
791 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 ...
Ron Serruya's user avatar
7 votes
2 answers
462 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 ...
relik's user avatar
  • 315
7 votes
1 answer
166 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 ...
Lilynut's user avatar
  • 491
6 votes
1 answer
295 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 ...
Jilles van Gurp's user avatar
6 votes
1 answer
219 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?
aroooo's user avatar
  • 267
6 votes
3 answers
977 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 ...
relik's user avatar
  • 315
6 votes
1 answer
122 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. ...
Ace Subido's user avatar
6 votes
2 answers
528 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 ...
Munawar's user avatar
  • 157
5 votes
2 answers
954 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" --...
Prashant Prabhakar Singh's user avatar
5 votes
2 answers
115 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 ...
chris_b's user avatar
  • 193
5 votes
1 answer
59 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....
challet's user avatar
  • 173
5 votes
1 answer
97 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 ...
p3scobar's user avatar
  • 117
5 votes
1 answer
499 views

captive core does not work

I want to use the captive core of stellar-horizon v2.0.0, but the following command does not work. Instance is building a new. As far as I read the docs, I don't think it will make http requests to ...
fatminer's user avatar
5 votes
1 answer
250 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 ...
Iva Kam's user avatar
  • 187
5 votes
1 answer
71 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 ...
aroooo's user avatar
  • 267
5 votes
3 answers
323 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 ...
yulemata's user avatar
  • 312
5 votes
1 answer
1k 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 ...
Ace Subido's user avatar
5 votes
1 answer
424 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 ...
B.Li's user avatar
  • 649
5 votes
1 answer
164 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....
Sivaji's user avatar
  • 155
5 votes
2 answers
906 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}/...
Harmit's user avatar
  • 303
5 votes
0 answers
42 views

What are the Horizon 2.0 PostgreSQL settings required to vacuum the DB regularly

Need guidelines on how to best manage the size of the horizon captive-core postrgesql DB. We're currently at 1TB of disk for horizon DB only ingesting ledgers from June 2020.
user83948's user avatar
  • 191
5 votes
2 answers
163 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. ...
shredding's user avatar
  • 316
4 votes
2 answers
498 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 ...
Steve Kirsch's user avatar
4 votes
4 answers
1k 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 ...
Malcolm's user avatar
  • 41
4 votes
2 answers
374 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 ...
Jeff's user avatar
  • 404
4 votes
1 answer
67 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 ...
Hans Tausend's user avatar
4 votes
1 answer
196 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 ...
John Murphy's user avatar
4 votes
1 answer
133 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 ...
Brian Ng's user avatar
  • 188
4 votes
1 answer
130 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 ...
John Murphy's user avatar
4 votes
2 answers
182 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 ...
Paul Puey's user avatar
4 votes
1 answer
124 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 ...
Sentient's user avatar
  • 143
4 votes
1 answer
230 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) ?
legend10's user avatar
4 votes
3 answers
276 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 ...
Cryptobrant's user avatar
4 votes
1 answer
149 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 ...
chris_b's user avatar
  • 193
4 votes
1 answer
112 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?
AndreaBorio's user avatar
4 votes
1 answer
245 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 ...
Christianto's user avatar
4 votes
1 answer
33 views

Internal error on trades API

Why do I get an internal error when requesting this url? https://horizon.stellar.org/trades?base_asset_type=native&counter_asset_code=MOBI&counter_asset_issuer=...
Nikitka's user avatar
  • 141
4 votes
2 answers
343 views

Streaming API not working?

I'm trying to enable streaming via the REST API but it doesn't seem to be working. curl -H "Accept: text/event-stream" "https://horizon-testnet.stellar.org/payments" This curl statement only returns ...
Riina's user avatar
  • 143
4 votes
3 answers
657 views

How should the changeTrust Operation be used?

If I want to create a trustline between my issuing account and new users accounts, how do I do this. I tried with this code: const StellarSdk = require('stellar-sdk'); StellarSdk.Network....
John Murphy's user avatar
4 votes
1 answer
283 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.
Sebastian M's user avatar
3 votes
1 answer
43 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": "...
Synesso's user avatar
  • 3,367
3 votes
1 answer
132 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 ...
CryptoDev's user avatar
3 votes
1 answer
329 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 ...
V V's user avatar
  • 31
3 votes
1 answer
49 views

Can't find Horizon X-RateLimit-* headers

I found a lot of discussion on how rate limits work, ex: Did Stellar's public Horizon Server Changes its rate limit? But I can't find X-RateLimit-* headers in any of the responses, ex: curl -i ...
Alexey Yatsyshin's user avatar

1
2 3 4 5