22
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 := ...
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 ...
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 ...
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" ...
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 ...
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 ...
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....
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 ...
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 ...
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....
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 ...
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.
2
votes
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)
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ledger × 40stellar-core × 8
horizon × 5
accounts × 5
wallets × 5
history × 4
inflation × 4
ledger-nano × 4
transactions × 3
nodes × 3
xdr × 3
validators × 3
consensus × 2
protocol × 2
dex × 2
stellar-sdk × 1
assets × 1
xlm × 1
payments × 1
token × 1
testnet × 1
scp × 1
docker × 1
lumens × 1
go-sdk × 1