Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [horizon]

For questions regarding the Horizon API.

-1
votes
0answers
17 views

How much disk space required to run a stellar node with complete history?

I was trying to setup a node with CACHUP_COMPLETE true, I thought 350 GB is enough for an archive node initially , now at this point I realized it would need at least 1 TB of free space, let me know ...
2
votes
1answer
24 views

Why failed transactions are not shown in Horizon in any way?

Anything I can get of the Horizon about the failed transactions is their count in a ledger. No other info is shown about them. Currently, no one can calculate lumen balance using horizon only because ...
1
vote
0answers
16 views

Why is the /paths endpoint on my custom Horizon deployment abnormally slow?

I was wondering if anyone has an idea what could be causing our Horizon (0.17.6) /paths endpoint to be extremely slow. A simple query takes 1m22s on our custom deployment. On public SDF Horizon the ...
3
votes
1answer
36 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 ...
1
vote
1answer
10 views

the history-stale-threshold flag - what exactly happens when history is stale?

A recent(ish?) addition to the horizon configuration is the viper.BindEnv("history-stale-threshold", "HISTORY_STALE_THRESHOLD") the doc says: "the maximum number of ledgers the history db is ...
0
votes
1answer
31 views

Friendbot request fails with 400 (Bad Request)

I am trying to create an account on the stellar Test Network. I am using ASP .Net framework. But whenever I make a request and pass in the public key, I always get this error: Response status code ...
0
votes
0answers
24 views

How to update the transaction fees in private network. Normally it is 100 stroops?

i have updated the config file by putting the below value COMMANDS=["upgrades?mode=set&upgradetime=1970-01-01T00:00:00Z&basefee=1&basereserve=1"] By using the command stellar-...
2
votes
1answer
40 views

How to relaunch a Testnet node to use the new Testnet after a reset while using the Docker quickstart container?

What are the recommended steps that should be taken to get a stellar testnet node using the quickstart docker reset on the new testnet? Currently it is still using the old network by the looks of it,...
0
votes
1answer
30 views

Transaction failure when using Stellar Go SDK

receiving the following errors related to horizon server: handshake-1 env.sh[19791]: 2019/04/25 12:03:24 handlers.go:180: [ERR] Horizon error: "Transaction Failed". Check horizon.Error.Problem for ...
2
votes
1answer
19 views

Does AUTO_MAINTENANCE setting clear Horizon DB?

I want to have in my node information only about the last 300000 ledgers. Should I always manually clean the DB or can I automate it? I'm especially interested in the autocleaning of the Horizon DB.
0
votes
0answers
63 views

Select failed: pq: relation “signers” does not exist

I have set up private Stellar Core and Horizon with 2 nodes. I am following this tutorial. I am first creating an account and then I am executing the code below. It is showing select failed: pq: ...
2
votes
1answer
38 views

How to create an account on a private network?

I have already started a stellar private network. I need to generate an account on a stellar private network. I have a secret key and private key also. But I have a question about what should I enter ...
1
vote
2answers
36 views

Exception while send Transaction using Java stellar SDK “TimeBounds has to be set or you must call setTimeout(TIMEOUT_INFINITE)”

I am getting the following Exception while performing send transaction using the Java Stellar SDK. This is my send transaction code: import org.stellar.sdk.AssetTypeNative; import org.stellar.sdk....
0
votes
1answer
30 views

Connecting private set of quorum of 3 nodes on stellar test network

I have a 3 nodes running on a private network paraphrase and all of them are validators. Able to send the transactions over horizon. Now, can I connect my quorum of 3 validators with test-network ? ...
0
votes
1answer
30 views

Do I Need to fund Stellar with Lumens for custom token based wallets too?

I want to create custom token for my system but it seems that I can not create a wallet unless I fund it with 1 XLM? Is it true? If not why my wallet is not being created? Thanks
1
vote
2answers
35 views

Using SDF's Horizon server for Production Systems

I know SDF provides a public Horizon server too. My question from those who are using for their production apps, is it reliable enough or would you suggest running your own Horizon server?
1
vote
2answers
63 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 ...
2
votes
1answer
48 views

Stellar scalability to 4000 tx/s

I tried to scale Stellar Standalone to process 4000 tx per second. I use AWS EC2 m4.large for Core, and Horizon. Also I use Postgres RDS for core and Horrizon, but I have only 560 tx per second. My ...
2
votes
1answer
24 views

How to configure Horizon response _links.href values to use https?

I am running Stellar core and Horizon behind an Nginx reverse proxy and encountering issues with the _link.href output by Horizon. The SSL is terminated at nginx, with the connection to Horizon non-...
0
votes
1answer
27 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 ...
1
vote
1answer
15 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
0answers
38 views

Unable to get sequence number

I am trying to create a transaction op and I am not being able to get the sequence number. I tried on Stellar lab but it did not work. What's wrong? Below is my code: # print('Transferring fund to {}'...
1
vote
1answer
422 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:...
1
vote
0answers
16 views

peer's txhistory table is not updating after making payment

I have successfully set up stellar-core in my private network using a different network passphrase with 3 nodes. When I run stellar-core -c 'info' output says state: Synced!. I have configured one ...
-3
votes
4answers
64 views

Example code on Ubuntu+node.js gives error re “await”

Updated: added full code below. I'm trying to run the "Creating a payment transaction" example but the error I get is const account = await server.loadAccount(sourcePublicKey); ^^^^^...
0
votes
1answer
32 views

Unable to create wallet due to issuer issue

All of sudden I am getting the following error on TestNet. Issuer Address is GCZDLM6KBK7P42JB6ONIZNYXE24G72PWUXLOZBOLE5EEGOC2FUKKIN4R Creating Wallet for User with id 39 ...
3
votes
1answer
30 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 ...
1
vote
1answer
35 views

Friendbot url - Horizon

I am setting up horizon in local for a private network. How to I configure friendbot url? Can anyone please explain working of this?
1
vote
1answer
25 views

Anyone else seeing an error with stellar-dotnet-sdk (AccountResponse - accountId cannot be null)?

I've been using stellar-dotnet-sdk for months; today, I get an error while trying to instantiate an AccountResponse object. AccountResponse.cs, line 147 (AccountId = accountId ?? throw new ...
0
votes
1answer
21 views

How to catch specific error code on JS SDK connecting to horizon

I use Javascript SDK to connect to Horizon. It works, but I also would like the specific error if it doesn't work. See my code below. How can I access the specific code returned from horizon (e.g. ...
2
votes
1answer
37 views

Asset endpoint returns 404 on standalone network

I build a docker image from the v0.17.0 tag of docker-stellar-core-horizon. Then, I created a local standalone network from that image: docker run --rm -d -p "8000:8000" -p "11626:11626" \ -p "...
1
vote
1answer
15 views

client_name=undefined client_version=undefined in horizon logs

I have set up a local Horizon instance, version horizon-v0.16.0. I can start horizon, but when I hit the url http://ip:8000 I am getting the following messages in the logs: time="2019-02-25T12:25:...
0
votes
1answer
64 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 ...
1
vote
1answer
43 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
1answer
61 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
20 views

postgres PANI[0000] connect failed: pq: role “root” does not exist pid=13863, postgres v 9.5 - Horizon

Getting below error when trying to connect to postgres (trying to start Horizon) PANI[0000] connect failed: pq: role "root" does not exist pid=13863 panic: (*logrus.Entry) (0xbcb320,0xc4200112c0) ...
0
votes
1answer
20 views

Version devel while setting up horizon in local

I am trying to build horizon in local by following https://github.com/stellar/go/blob/master/services/horizon/internal/docs/admin.md The setup is complete. When I do horizon version it say devel. Why?...
0
votes
1answer
36 views

How stellar prevent DDoS

How stellar prevent DDoS attack from rest API (https://horizon.stellar.org/)
2
votes
0answers
25 views

How to set correct hostname in Horizon?

What is the correct way to set a hostname in Horizon? Hosting server is configured to horizon.stellar.domain.com but within Horizon the generated paths for all href attributes show http://horizon/......
2
votes
2answers
61 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 ...
2
votes
1answer
64 views

horizon.stellar.org | 504: Gateway time-out errors are FREQUENT!

I’ve been using the py-stellar-base library to access the stellar public horizon server (version from late last year) and up till recently it’s been fine. Now I get timeouts (no response from horizon)...
0
votes
0answers
10 views

Which uses more server resources, Horizon or Core? And is more CPU or RAM intensive?

Looking for rough estimates on which uses more resources, Horizon or Core and whether either is more CPU or RAM intensive? Thanks.
1
vote
2answers
23 views

Trades end point not working

Following url has stopped working https://horizon-testnet.stellar.org/order_book/trades?selling_asset_type=native&buying_asset_type=credit_alphanum4&buying_asset_code=FOO&...
0
votes
1answer
23 views

Get all accounts and sort by balance

How can I get all accounts and sort by the balance? I'd like to build a list of all accounts and then sort them by the balance. I realize the data set would be large, but was thinking maybe via a ...
0
votes
1answer
35 views

Stellar Blockexplorer API call for looking up exact amount transferred

I am looking for a Stellar Blockexplorer API which lets me look up (given an address and transaction hash) the exact amount in Lumen that was transferred in a transaction as a single string. Example ...
0
votes
1answer
69 views

Receiving ETIMEOUT 104.20.58.10:443 error when request to `horizon.stellar.org`

ETIMEOUT 104.20.58.10:443 I sometime receive this error when request to horizon.stellar.org. What is this error?
3
votes
1answer
26 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 ...
0
votes
1answer
54 views

Getting transactions history for account

I am trying to monitor the transactions for our main account. I am using the laboratory and I see something weird.. I filter it with ascending order to see from start up to now. My question is: From ...
4
votes
2answers
48 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. ...