Hot answers tagged

4

The servers listed at stellarbeat.io are not stellar-horizon servers but stellar-core nodes. stellar-core: handling p2p network communication with a binary protocol don't have a public http(s) interface (optionally) validating transaction data stellar-horizon: handling client communication via http gets its data from a stellar-core I guess nobody ...


3

At Horizon, there is a "rate limit" variable, which ensures no more than N requests from same IP in one hour. X-RateLimit-Limit --- The maximum number of requests that the current client can make in one hour. X-RateLimit-Reset --- Seconds until a new window starts. https://www.stellar.org/developers/horizon/reference/rate-limiting.html Note that ...


3

Horizon server talks to Stellar core, and anyone can host stellar core and Horizon server. There are many core servers running they are like nodes on Stellar network, so there is no single point of failure. You can always host your own Stellar core and Horizon for a good network support and a better uptime for your dapp. You can see the network states, nodes ...


3

tl;dr: the rest of the network can still reach consensus and it will not halt the network. In your case, there is only one non-compromised validator. Any node outside the set of compromised nodes that include the non-compromised validator in their own quorum set will get a non-matching result from just that one node (assuming that the non-compromised ...


2

The Stellar Development Foundation (SDF) runs two publicly available instances: https://horizon-testnet.stellar.org/ for test network and https://horizon.stellar.org/ for public network. If you want to run your own instance (for example to avoid rate limiting), you can use the Stellar Quickstart Docker Image provided by SDF.


2

The best way is using the SDK in streaming mode. For all transactions: var channel = server.transactions() .forAccount(address) .cursor('now') .stream({ onmessage: function(tx) { do something with tx }, onerror: function(error) { log it } }); For payments only: var channel = server.payments() .forAccount(address) .cursor('now') ....


2

There is an api endpoint for transactions available here. https://www.stellar.org/laboratory/#explorer?resource=transactions&endpoint=all&values=eyJzdHJlYW1pbmciOnRydWV9&network=test You are able to have it act like a socket by using the Server-Sent Events (streaming) mode that is an option at the bottom. Notice how it changes the URL, and ...


1

For just federation -- no compliance -- the above sounds correct. As outlined in the docs, which you mentioned you have read through, this is easily done via Stellar's prebuilt federation server which can hook into an existing database. Once it is connected, it essentially translates a federation request into a SQL query. The server supports MySQL, ...


1

The Federation server would return some value with the memo field that can be used by the service provider (you) to uniquely identify the receiving user. A database ID does match this requirement but you can use anything else that makes sense in your domain as long as it's unique (also in the future). The bridge server does also help to participate with the ...


Only top voted, non community-wiki answers of a minimum length are eligible