Questions tagged [horizon]
For questions regarding the Horizon API.
16
questions
5
votes
3
answers
314
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 ...
2
votes
1
answer
402
views
FATAL when switching from test network to public network on stellar-core
My question is about transitioning from the test-network to the public network. I am curious about whether there is a standard procedure to follow, not only in terms of configuration, but also in ...
1
vote
1
answer
490
views
If one operation is wrong then the whole transaction is wrong
Found such a problem if one operation is wrong then the whole transaction is wrong.
ZuluCrypto\StellarSdk\Horizon\Api\PostTransactionResponse Object
(
[result:protected] =>
[rawData:...
5
votes
2
answers
891
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
2
answers
332
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 ...
3
votes
1
answer
183
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 (...
2
votes
1
answer
2k
views
Error tx_bad_seq
In almost every case, this error indicates that the transaction submitted in the initial request will never succeed. There is one exception: a transaction that fails with the tx_bad_seq result code (...
1
vote
1
answer
75
views
How to configure native currency in a private network
I would like to know how we can configure the native currency in a private network?
I would like:
Change the name of the native currency
Change the number of native currency created in the first ...
1
vote
1
answer
55
views
Viewing trustlines for authorization required assets from an asset issuer perspective
From an asset holder perspective seeing which trustlines are approved or unapproved for authorization required assets is straightforward - we can see this with the is_authorized boolean on the account ...
1
vote
2
answers
94
views
How Horizon makes use of stelar-core?
By definition Horizon acts as the interface between stellar-core and applications, and apparently it needs access ... HTTP API that is published by stellar-core.
Is there a place where this API is ...
1
vote
2
answers
447
views
How to configure package stellar-horizon-postgres?
Using stellar-quickstart, I am able to install, then start and sync stellar-core. However, my attempts to install stellar-horizon fail with the following message:
Package stellar-horizon-postgres ...
1
vote
1
answer
63
views
How to interpret the output of the assets endpoint
I'm looking to list all unique assets on the network, per this endpoint/sdk.
I understand there are interesting public aggregations of this information, such as:
https://stellarasset.com/
https://...
1
vote
1
answer
363
views
Horizon not Synchronizing ("import session failed: failed to load header: sql: no rows in result set" pid=8077)
<< Background >>
Private network of 4 nodes on 4 VMs, hosted on same server.
Core and Horizon built on 1 VM, and then 3 copies were made from this VM. NODE_SEED (core) & corresponding IP (...
1
vote
1
answer
135
views
I'm really confused on the rate limit... Horizon.env has just an hourly rate limit (72000 in docker image). But http headers claim it is 100/sec?
This answer tells me to look at HTTP headers to determine the rate limit. It is 2 values:
X-Ratelimit-Limit: 101 which is # per window
X-Ratelimit-Reset: 1 which is the winlow size (1 second).
But ...
1
vote
1
answer
506
views
How do I disable rate limiting on my local Horizon server?
The docker quickstart doesn't tell me how to disable rate limiting.
Also, the Go SDK which we are using seems to have a rate limit function as well... I'm guessing that is just enforcing the rate ...
0
votes
1
answer
42
views
How to list all unique contracts on the network?
From a study comparing smart contracts on Ethereum and Stellar, there's a point in the study about downloading all contracts:
Testing Smart Contracts: Ethereum vs. Stellar
The researchers from ...