Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

For questions regarding the Horizon API.

0
votes
0answers
7 views

How to increase Horizon to Core timeout? (docker quickstart)

I’ve got integration tests that run very quickly against quickstart standalone docker image. But in Travis these tests time out. (This error message originates from Horizon). It's a common problem ...
1
vote
1answer
36 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 ...
3
votes
1answer
31 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?
2
votes
1answer
20 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 ...
5
votes
2answers
29 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 ...
1
vote
1answer
15 views

How the transaction history of an account including the amounts sent/received in the transaction be viewed using horizon?

By checking transactions using something like: https://horizon-testnet.stellar.org/accounts/GBMTGMQXBXZS5XJROQQOZB7TU4ACBIXTJJEG7WTXP4ZEARPGQGDWHWIS/transactions?order=desc&limit=100 I get JSON ...
4
votes
1answer
27 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 ...
5
votes
1answer
67 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 ...
0
votes
2answers
33 views

MEMO N/A after submitting to bridge endpoint /builder

curl -X POST \ http://localhost:8006/builder \ -H 'Content-Type: application/json' \ -d '{ "source": "GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T", "memo": { "text": "...
1
vote
1answer
16 views

How to find cursor of a specific timestamp?

I need to find what's the coursor of a specific timestamp for let my users see theirs transactions by date. There are any function in SDK or any endpoint on horizon server?
1
vote
3answers
52 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 ...
1
vote
2answers
278 views

Can't see the history of an account that paid me

One of the accounts on my platform received a payment on 15/07/18 from THIS ACCOUNT but I can't retrieve the history of the sender account from any explorer. Here is the screenshot of payments from ...
1
vote
1answer
50 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 ...
-2
votes
1answer
63 views

TX_BAD_AUTH, no idea why

i'm moving from testnet to pubnet but for some reason my code didn't work with pubnet. here some snippet. Of course sourceAccount,des.publicKey and sourceKeys contain what i'm expeting. sourceAccount ...
1
vote
2answers
97 views

Horizon waiting for Stellar-core to sync

I have built stellar-core and horizon instances from source on Ubuntu 18.04 LTS. I managed to make them work for the test-net, yet now, whilst trying to configure stellar-core.cfg for the public ...
1
vote
1answer
39 views

How to query transaction history of a special kind of asset

When we issued our own asset, how to query transaction history of it?
1
vote
1answer
67 views

Can the Horizon Server be hacked?

What is the guarantee that the Horizon Server which I am interacting is actually fetching (correct) data from ledger SQL database of Stellar Core?
0
votes
1answer
76 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 ...
5
votes
1answer
114 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 ...
2
votes
1answer
38 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 ...
3
votes
1answer
59 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 ...
0
votes
0answers
57 views

Horizon installation errors - SIGABRT in persistent mode + no history.json file in ephemeral mode

I am working for a large corporation that is trying to implement Stellar as a payment solution. To make this work, I am configuring the back-end by setting up a Horizon instance, using the stellar/...
4
votes
1answer
45 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....
6
votes
1answer
157 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 ...
2
votes
2answers
88 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 ...
1
vote
1answer
56 views

Setting Expiration Time for Offers on Stellar?

Is it possible to create an offer that would only be valid for a day through Stellar DEX? If not filled until expiry time, such offer would be automatically cancelled. Centralized exchanges often ...
2
votes
1answer
37 views

Fill or Kill (FOK) offers on Stellar?

Is there any way currently to create Fill or Kill offers on Stellar network? As described in Bitfinex help center: A "fill or kill" order is a limit order that must be filled immediately in its ...
1
vote
2answers
60 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 ...
2
votes
2answers
53 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 ...
3
votes
1answer
44 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
52 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. ...
2
votes
1answer
110 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) ?
1
vote
1answer
13 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 ...
1
vote
1answer
36 views

Horizon import failed (Integer type error?)

I configured a custom docker-compose with Postgres, Stellar Core and Horizon as seperate services. Core and Horizon are running and are responsive via HTTP. Stellar-Core is running on Livenet and is ...
3
votes
1answer
69 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 ...
0
votes
2answers
29 views

Private Testnet 404 issue

I am working on stellar private testnet setup, i have setup 3 stellar-core nodes and horizon, Account creation is working fine but data not showing for ledger, payment, transactions etc. All 3 nodes ...
2
votes
1answer
204 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 ...
0
votes
1answer
79 views

Trades stream setup

I have setup streams for transactions, payments, operations, and effects with the method from stellar api guide: this.server = new StellarSdk.Server('https://horizon.stellar.org'); this.stream = ...
1
vote
1answer
29 views

How can I direct stellar laboratory to my own instance of horizon?

I cloned the stellar laboratory project and edited the /src/constants/networks.js file to switch the testnet horizon url to url of my own horizon instance. This allowed me to get requests such as ...
1
vote
1answer
34 views

Can't close server stream

The other existing question didn't work for me. (How to close a stream event?) I set up a class to handle and switch streams. In the constructor, I define and initialize the stream this way: ...
1
vote
1answer
93 views

Cannot transfer money on standalone network

I'm attempting to transfer funds from the root account to another account on a private stellar network. When I attempt to run the code below (which is basically copied from the examples), I get an ...
1
vote
1answer
44 views

Issue with Submit Transaction

Am using Java SDK and Horizon Testnet. Issue is when i submit a transaction using server.submitTransaction method i get following exception, please let me know if you need any more information javax....
1
vote
1answer
103 views

Receiving error when posting a transaction to Horizon

I am attempting to create a stellar-core and horizon node running under Travis-CI. (Existing solutions do not work for macOS, as Travis does not support Docker instances for test builds.) The ...
1
vote
1answer
35 views

Trustline Created At from Horizon Database

I try to find when is trustline to an asset is created in horizon database. I joining history_effects, history_accounts, history_operations and history_transactions. I got created_at field on ...
0
votes
1answer
66 views

Need help getting result_codes using JavaScript SDK on Node. Failed to make a payment

I'm using the JavaScript SDK in Node and have run into a problem making payments on the testnet. I catch the error but am unable to parse it to get at the result_codes which show as [Object] when I ...
0
votes
1answer
84 views

horizon db clear

I run the following commands: horizon db clear horizon db backfill Error: 2018/03/24 14:29:55 network-passphrase is blank: reingestion requires manually setting passphrase How to reingest the ...
0
votes
1answer
125 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
2answers
71 views

Account IDs not working for Horizon Testnet API

I am testing the Accounts endpoint on the Horizon testnet API. On this documentation page, there is the sample address: GA2HGBJIJKI6O4XEM7CZWY5PS6GKSXL6D34ERAJYQSPYA6X6AI7HYW36 Which when plugged ...
1
vote
1answer
73 views

Possible to get a list of account holders satisfying certain criteria using Horizon?

I would like to do some analysis of the layout of the Stellar network (maybe some basic graph theory and stats) and I would like to grab a list of all account holders that have had a payment operation ...
0
votes
1answer
30 views

how to move stellar lumens locally in the same node? like bitcoin-cli move

I am now making integrated API in my company exchange. Now, looking for "move" function in horizon. Is there any command like the below? bitcoin-cli move "timotei" "akiko" 0.01 6