Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Horizon does not commit postgres transaction when ingesting

I have a history of stellar core and horizon databases which we abandoned a year ago. Now we need to catch up with the blockchain. stellar core synched to some height, and Horizon lagging few million ...
0
votes
0answers
47 views

Error Connecting local Horizon to Stellar Core within Stellar Quickstart Docker Image

I am trying to test out some functionality with the Horizon API server. I have followed the directions listed out here Everything seems to be working fine, but when I get to the "Connect Horizon ...
1
vote
0answers
12 views

Catching Up Stellar Core Not Completed in a Long Time

I'm trying to run the stellar core and the horizon on my server using stellar/quickstart docker image. It's been a week since I started and it didn't synced. On the configuration file stellar-core.cfg,...
0
votes
1answer
99 views

Change Network Passphrase - Quickstart - Persistent - Docker

I am trying to change the network passphrase for stellar. I am using the quickstart docker image and launching in standalone mode. command: docker run --rm -it -p "8000:8000" -v "E:\...
1
vote
0answers
59 views

Horizon - Ingest historical trade history for pair

Is there a way to ingest data for trade_aggregations for asset pairs instead of needing to ingest all the ledgers into Horizon? I only really care about trade_aggregations on specific pairs and don't ...
1
vote
1answer
27 views

Horizon captive core disk requirements and practice

Having installed and ran horizon with captive-core, it seems that memory consumption is stable (~ 4.5 G). The disk space is though increasing while transactions keep coming. Around 10G/day. From my ...
3
votes
0answers
15 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.
2
votes
0answers
52 views

Horizon 2.0 Captive Core Reingestion Issues

Ive successfully installed and started horizon 2.0 but I am having problems reingesting ledgers. Id like to reingest ledgers from [30000000, present]. Ive attempted to do so following the instruction ...
1
vote
1answer
35 views

List of Anchors for Sep31 and SEP24?

Is there a list of anchors available that I can access to see if I'm interested in using any of them? It is proving rather tedious to find anchors through a google search. I am already making API ...
4
votes
1answer
72 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 ...
1
vote
1answer
35 views

Are lumens required for a custom network?

New to Stellar so forgive me if this is not the smartest question, but are real lumens still required on a custom network? I would like to use the stellar blockchain for "transaction" ...
1
vote
1answer
24 views

Horizon v2.0.0 config with Captive Core for pubnet is any example?

I need setup a node for pubnet(mainnet) network watching node https://github.com/stellar/go/blob/master/services/horizon/internal/docs/captive_core.md#configure-captive-core is only testnet config and ...
0
votes
0answers
10 views

Is there Prometheus Exporter available for Stellar Horizon? I am getting 404 error while accessing https://horizon-testnet.stellar.org/metrics

I see Prometheus Exporters are available for Stellar Core and Postgres. However couldn't find one for Stellar Horizon. I was reading this link https://developers.stellar.org/docs/run-api-server/...
0
votes
0answers
25 views

Stellar Private Network: Waiting for ledger to be available in stellar-core

I have launched Private Network by tutorial https://github.com/stellar/packages#sdf---packages and published full validators. I can't understand where my mistake and why I see ledger version = 0 ...
1
vote
0answers
39 views

Docker quickstart - Error ingesting history archive: ledger does not exists

I'm trying to run the quickstart docker tutorial but I am getting a 503 still ingesting when access the accounts/ACCOUNT_ID on my localhost:8000 (horizon). Looking over my horizon logs I keep ...
0
votes
1answer
41 views

How to set up a anchor on stellar?

As I working on stellar Blockchain, can anyone guide me on how to create an anchor on stellar? and How it will give a withdraw amount in fiat currency & which protocol is it used to convert ...
1
vote
0answers
66 views

What is the correct way of preventing transaction duplication?

We faced the problem when horizonclient returned errors while sending an envelope but transaction has been created. Please bash my thoughts and tell me where I'm wrong and how you do that. The process ...
1
vote
0answers
39 views

stellar-horizon db size

maybe someone could help me. I have a node with the config below: CATCHUP_RECENT=362880 # approximately 3 weeks (5sec per ledger closing) - stellar HISTORY_RETENTION_COUNT=362880 # ...
0
votes
1answer
5 views

Account' object has no attribute 'sign_decorated

I am trying to pay 2 tokens and I am getting this error: sig = signer.sign_decorated(tx_hash) AttributeError: 'Account' object has no attribute 'sign_decorated' My code given below: def ...
0
votes
1answer
34 views

Performance problem with ingesting Horizon

We want to setup Stellar Full Archive with Horizon Using the https://github.com/satoshipay/stellar-core-parallel-catchup we managed to synchronized Stellar Core DB and build full archive. After ...
0
votes
1answer
55 views

How long is a keypair valid until an account is funded and created?

The documentation says: Stellar requires accounts to hold a minimum balance of 1 XLM before they actually exist. Until it gets a bit of funding, your keypair doesn’t warrant space on the ledger. How ...
1
vote
1answer
30 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 ...
0
votes
1answer
28 views

How to fix a stuck stellar node after picking up an incorrect block?

I run two different watcher stellar nodes and they have both gotten stuck after picking up an invalid / incorrect block (i.e. the block hash of my node's top block does not match the block of the same ...
0
votes
0answers
26 views

Balance of Stellar at some point in time

I'd like to know about balance of Stellar address at some point in time. However, it's not going very well. So, please give me some advices or comments about how to do that. Now, I'm using horizon ...
0
votes
0answers
14 views

xff.Handler() does not exist

go version go1.14.6 When installing or running horizon I receive an error: # github.com/stellar/go/services/horizon/internal/httpx github.com/stellar/go/services/horizon/internal/httpx/router.go:77:8: ...
0
votes
0answers
22 views

Full ledgers for Horizon

I'm trying to launch horizon with full history from 1 ledger. How I can do it? stellar testnet config: HTTP_PORT=11626 PUBLIC_HTTP_PORT=true LOG_FILE_PATH="" NETWORK_PASSPHRASE="Test ...
1
vote
1answer
96 views

`tx_bad_auth` when submit transaction to TestNet

I submit a transaction to the TestNet by using the official horizon API (https://horizon-testnet.stellar.org/), and it returns tx_bad_auth. This is my code: Server server = new Server("...
0
votes
0answers
19 views

Problem upgrading stellar-horizon

I'm trying to upgrade stellar-horizon according to the instructions here https://github.com/stellar/packages/blob/master/docs/upgrading.md However, after running "stellar-horizon-cmd db reingest&...
0
votes
0answers
20 views

Making a horizon account request with http_request?

I am trying to make a request for account data using stellar-core's boost/asio HttpClient. //https://horizon.stellar.org/accounts/GALAXYVOIDAOPZTDLHILAJQKCVVFMD4IKLXLSZV5YHO7VY74IWZILUTO std::string ...
2
votes
0answers
35 views

horizon ingest_latest_ledger doesn't update

I just run a new horizon instance. The horizon instance with Ingest=true is running this command: horizon db reingest range 1 latest && horizon serve I can see the history_latest_ledger ...
0
votes
0answers
36 views

Stellar core Bad ledger-header history entry: claimed ledger

Stellar Core v13 stopped validating a few days ago. Unfortunately, I don't have the old logs anymore so I don't know what happened exactly. I can see there's an error in the core logs: 2020-06-08T17:...
0
votes
1answer
45 views

How to pull memo from a public key's historical transactions and save to an array?

Using Stellar's Javascript SDK Goal Output an array containing all the memos: ['324567567', 'anotherMemo', '239210923', '2349028509'] This array will be used to check against a database and ...
0
votes
1answer
85 views

stellar horizon docker install error -history-archive-urls must be set when --ingest is set

I'm trying to install stellar core and horizon via docker: and I get this error when start horizon_1 | 2020/05/26 23:50:15 --history-archive-urls must be set when --ingest is set $ docker ps ...
0
votes
0answers
7 views

Is it possible to execute a trade with amount 0?

Today I found a trade with "base_amount": "0.0000000" when browsing recent trades through Horizon API: https://horizon.stellar.org/trades?offer_id=226428548 At first I thought it could be Horizon bug ...
0
votes
0answers
65 views

“ingest_latest_ledger” and “history_latest_ledger” freezes, though “core_latest_ledger” increases

I am using "docker-stellar-core-horizon" on Ubuntu-18.04, RAM -16GB (I have also tried the entire thing on CentOS-7, please provide a solution that works for both Ubuntu and CentOS). Docker version- ...
1
vote
0answers
30 views

I can not streaming trade from Horizon Server

I have setup one instance running Store core and Horizon (with ingest=true). This is Core node. One instance running Horizon server (with ingest=false). This is Horizon node. I can run streaming ...
0
votes
1answer
110 views

horizon ingest the historical data

I'm running a new horizon v1.2 with ingest=true. It is connected to the stellar core with CATCHUP_COMPELTE enabled. (the status of the core is catching up 5%) My question is what is the command to ...
1
vote
1answer
192 views

Horizon reingest not working

I do run horizon db reingest range 6500 7104 in order to pull some missing entries to my validator. I run into this error: INFO[2020-05-04T15:52:55.425Z] Ingestion system initial state ...
2
votes
1answer
63 views

Which Horizon “Post Transaction” responses are final and immutable?

I am working on the development of a software wallet. I am using Horizon Post Transaction API to post signed transaction. Following an issue I ran into, I am trying to understand which responses are ...
1
vote
0answers
16 views

How to creating anchors for crypto currencies and mapping the native deposit addresses

Actually I want to create a crypto currency wallet using stellar anchors. I do not want to run a dedicated node for any crypto coin and also not want to depend on any 3rd party service that's why I ...
2
votes
1answer
315 views

How to connect to a stellar stand alone node?

My goal was to set up a small test network with two stellar nodes. Therefor, I forked the quickstart repo and made some small adjustments. I changed the public key and the network passphrase. On my ...
1
vote
0answers
58 views

Parallel ingestion with Horizon 1.0.0 is not working - second Horizon waits for the first to complete

Document https://github.com/stellar/go/blob/master/services/horizon/internal/docs/admin.md says: To reingest older ledgers (due to a version upgrade) or to ingest ledgers closed by the network before ...
1
vote
1answer
73 views

How to find a duplicated transaction or operation when receiving op_already_exists

Sometimes our back end is able to create a transaction in the stellar network, but for some instability or bug or unknown problem, discards the transaction hash. When retrying the transaction after ...
1
vote
1answer
28 views

Duplicate operation in transaction?

I'm having trouble understanding the operations of this transaction: https://horizon.stellar.org/transactions/f06c6a478b0caac5c8b33512100f70c1aa192bee3af7084f2b693df7f75689bd/operations It seems the ...
5
votes
1answer
48 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....
0
votes
1answer
48 views

Path payment is taking only 4 hops BUT stellar is mentioning upto 6 hops

Let assets are A,B,C,D,E,F I have created few orders like A->B B->C C->D D->E E->F Now, i have created an order where user1 is selling "F" to a destination user2 and the ...
1
vote
0answers
24 views

upgraded horizon version, newly added tables is not synchronising with stellar core private network

Stellar core version is 12.2.0. Recently i upgraded my horizon version from 0.17 to 0.23. while running, it showed me an error that i need to "horizon db migrate up". Post doing that it basically ...
1
vote
1answer
23 views

Given a public key, is there a way to find the assets issued by the account?

I'd like to know if there is a way to query all the assets of which the account is the issuer.
0
votes
2answers
20 views

Horizon returns a 404 error upon querying just-submitted transactions

Upon the successful confirmation of a transaction submission, my app immediately queries the link to the transaction in the response. But I often receive a 404 error from Horizon. Sometimes I get a ...
0
votes
1answer
54 views

Getting exception while establishing Trust Line

I am working on Stellar Python SDK after a year. When I ran my old script I got the error: TypeError: __init__() got an unexpected keyword argument 'opts' The code given below: from stellar_base....

1
2 3 4 5