Hot answers tagged

21 votes
Accepted

How big is the ledger?

updated 2019-10-15 Public network: Current total ledgers count: 26315419 Core database size (fully synced): 657 GB Horizon database size (fully synced): 1.2 TB History archives: 175 GB
user avatar
  • 6,846
15 votes

How big is the ledger?

Won't be able to tell exact number, but this is not an issue. Stellar has different levels of participation. Only archiver and full validator nodes publish archive and maintain full history. Also ...
user avatar
  • 938
11 votes
Accepted

How do I install the Stellar app on my Ledger Nano S

It's explained well in ledger support center here Launch the Ledger Manager (click to see how to install and use it if you don't have it installed yet) Connect your Nano S, enter your PIN, and ...
user avatar
  • 938
8 votes
Accepted

Difference between Stellar Ledger and Blocks

Unlike many blockchains, such as Bitcoin with its UTXO model, in Stellar every ledger includes a logical snapshot of the complete system state. This makes it possible to trim history while still ...
user avatar
  • 1,221
7 votes

Terminology - What's a Ledger in Stellar?

It's neither the blockchain nor the block. The global ledger is close to the blockchain while the last closed ledger is the latest confirmed set of accounts, trustlines, data and offers, which is ...
user avatar
  • 357
7 votes
Accepted

'Skip List' examples?

Skip list are designed to speed up ledger chain validation as they allow to jump in the chain by up to 500000 ledgers (that's about a month worth of ledgers). Use case is that even from thin client ...
user avatar
5 votes

Notify every new ledger

Just use Client.StreamLedgers method: client := DefaultPublicNetClient cursor := Cursor("now") // Call `cancel()` to stop streaming ctx, cancel := context.WithCancel(context.Background()) err := ...
user avatar
5 votes

SQL Database and Stellar Ledger State

The SQL database can be thought of as a simplified view of the ledger state stored in the bucket list. As such the only data that stellar core relies on is account based not transaction based. Now ...
user avatar
4 votes
Accepted

Does each node maintain a global ledger?

Yes, all nodes maintain the exact same ledger as a replicated state machine on top of the Stellar Consensus Protocol (SCP). It is a serious configuration error to have two disjoint quorums--such a ...
user avatar
  • 1,221
4 votes
Accepted

A complete catchup of the testnet keeps failing on verifying ledger

Version 9.2 does not support version 10 of the protocol. You can import a subset of the historical data (with command line catch-up), install the latest release candidate (10.0.0rc2 labeled "testing" ...
user avatar
4 votes
Accepted

Order of trade executions inside the last closed ledger

Taking a look at this with the assumption that the attacker controls some validators (as it makes it easier to exploit). So the way the network deals with transaction ordering is by making it as hard ...
user avatar
4 votes
Accepted

What field should I use to get current block number

There are two components involved in running a stellar backend. The one is stellar-core which manages peer to peer data propagation, the other one is stellar-horizon which gets and prepares that data ...
user avatar
  • 2,514
3 votes

Info on metrics

EDIT: They released the docs in v10.1.0 in metrics.md. Unfortunately, there's not much about metrics anywhere in the official docs or repositories besides the GET metrics/ endpoint in the Horizon API....
user avatar
2 votes

How do I get an historic view of the inflation votes?

In order to get the historical inflation votes data you need to run a Horizon node with CATCHUP_COMPLETE parameter set to true. Once a fully synced instance is ready, you will be able to query ...
user avatar
  • 6,846
2 votes

Order of trade executions inside the last closed ledger

I asked the same question earlier. Jed mentioned that trades are applied in random (actually, pseudo-random) order, and transaction fees do not affect the order in which transactions are applied ...
user avatar
  • 6,846
2 votes
Accepted

How to handle docker container restarts with persistent data and missing buckets

Experience now allows me to update this answer for googlers of the future. When running Stellar Core in Docker you must persist the following: Database state Set BUCKET_DIR_PATH in your stellar-core....
user avatar
  • 207
2 votes

Difference between Stellar Ledger and Blocks

You say: Since the computation of current hash does not depend on previous hash(...) But if you read the documentation of Stellar, it says that the ledger depends on previous ledger: This ...
user avatar
  • 21
2 votes

Why Stellar has totalCoins in every ledger header?

Total number of all XLM is not a constant. Every week the built-in inflation mechanism distributes new lumens. You can find detailed information here.
user avatar
  • 6,846
2 votes

I Made a wrong transaction https://stellarchain.io

Lumen transactions can not be reversed.
user avatar
  • 498
2 votes
Accepted

Would like to know if my stellar node running properly?

You’re running a very old build that cannot understand what the current network is doing. Upgrade to the latest one (11.4.0 at this time)
user avatar
2 votes
Accepted

How can I see actual transactions in the blockchain?

All the transactions are encoded into XDR format (External Data Representation). Horizon decodes it and displays all the transactions in a readable format (JSON). In order to inspect the Stellar ...
user avatar
1 vote

Your balance: . lumens

I have the same. Update: Found the answer on a redit page: https://www.reddit.com/r/Stellar/comments/f47o07/ledger_nano_and_account_viewer_doesnt_show_balance/ The latest ledger update is to blame, ...
user avatar
1 vote

Would like to know if my stellar node running properly?

The best-known way is to pull the latest source code from the repository and build it and the peer nodes then need to vote for the upgrade. The good news is that the upgrade doesn't affect your ...
user avatar
1 vote
Accepted

Steps for Horizon to Ingest Stellar-Core from ledger 1, after `horizon db clear`?

In the most recent release of horizon; v0.15.* you can do: horizon db backfill N where N is the number of missing ledgers you want added to your horizon history. So in your case it will be horizon ...
user avatar
  • 116
1 vote

Fully uninstall Stellar from Ledger S

To get a new address with the Ledger without doing custom work, you'll need to reset the ledger itself (which is probably not something you want to do). When you reinstall apps, it will always ...
user avatar
1 vote

SCP. Does non-intersecting quorums have different ledgers?

1) Do all nodes in stellar-network know about my transaction and decide whether to include it in the ledger or not? Or does the decision accept only the quorum to which I belong? Yes, all nodes ...
user avatar
  • 1,221
1 vote
Accepted

Why does the first ledgers xdr file contains only 63 ledgers?

Answer from official doc: Checkpoints are made once every 64 ledgers, at ledger sequence numbers that are one-less-than a multiple of 64. Checkpoints are where a new ledger-headers file is born, ...
user avatar
  • 1,517
1 vote
Accepted

Account information at a given ledger number

stellar-core has few under documented (not mentioned in the documentation but mentioned in the help page of the binary) command line parameters. One of them called --cathup-at which does exactly what ...
user avatar
  • 51

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