9
votes
What are the penalties for validator being offline?
The validator misses out on block rewards and, along with their delegators, inflationary rewards for the duration of the downtime. If the downtime persists, they may lose delagators or be subjected ...
8
votes
Accepted
Can an RPC node maintain an index of accounts per a certain query?
There is neither an 'on chain' or a 'native in validator' way to do this.
Due to the underlying nature of how data is stored on Solana - as key-value pairs - anything that requires high performance ...
7
votes
Accepted
How to export all Solana accounts with positive balance?
This assumes the solana CLI utils are available
Create a new directory named ledger
Download genesis and a snapshot (full and incremental if applicable) from the target cluster and move them inside. ...
6
votes
Accepted
What are slots used for?
Slots and Epoch are simply units of time on Solana. A slot is the smallest unit, and 432000 of it makes an Epoch.
A slot can then either contain a block or not (skipped slot).
A slot refers to the ...
6
votes
Accepted
Why can't I see block 1 on my local validator?
The TestValidator doesn't keep ledger around forever. It is likely slot 1 was already pruned from yours.
If you want to see what slots and roots you have locally, you can run solana-ledger-tool bounds ...
5
votes
Accepted
Can I send RPC requests directly to a validator?
Most validator operators either totally disable or strictly firewall off the RPC service as a security measure. It is not considered sufficiently hardened to expose to the open internet when stake is ...
5
votes
How to setup local validator rpc on solscan?
Some browsers like Brave blocks localhost access on websites you visit by default. You can either try to use a browser that doesn't block localhost access by default like Firefox or remove the blocker ...
4
votes
How do validators maintain valid state without having the full state from genesis
The important concept to understand is Consensus. All validators on Solana are constantly confirming the accuracy of new transactions and blocks as they get added to the chain, and once enough ...
4
votes
How to minimize validator downtime when moving to a new hardware (server)?
You will need to get your new hardware running as a non voting validator using a secondary identity key. Then you can switch identities using the method described by mvines here: https://github.com/...
4
votes
Accepted
getTokenAccountsByOwner hangs
Account-data RPC requests that scan the entire account set perform poorly when not indexed. This has to do with the high number of populated accounts. I experienced without indexing it can take up ...
4
votes
Accepted
How to setup local validator rpc on solscan?
I ran into the same problem.
I was not able to get it done with solscan, even though solscan is offering us the localhost:8899, it seems not working (at least not on macOS, which I was using).
...
4
votes
solana-test-validator: illegal hardware instruction
You'll need to build the whole thing yourself if you don't want to use Rosetta. Thankfully, this is pretty easy! With Rust installed, just run:
git clone --depth 1 --branch v1.14.3 https://github....
4
votes
Does a non-voting RPC node require a keypair?
All nodes require at least an identity keypair to participate in gossip
4
votes
Are Transactions executed before they're forwarded?
Currently, transactions are in fact executed before they're sent out to the rest of the network.
The main reason for this design is to allow the leader to validate all fee payers in a block, so they ...
3
votes
Accepted
Can geyser plugins be used on historical data
Theoretically this can be done, yes. At least so far back as when the Geyser Plugin interfaces were first introduced. Technically back to genesis if hero wants to build out the infrastructure.
...
3
votes
Accepted
What is the current requirement resources need to be a Solana validator node?
In Solana there is a difference between being a validator and being able to participate in consensus. If you want to be able to participate in consensus you need a voting account.
As a validator (...
3
votes
Where can I find information about the geographical and network distribution of Solana's validator set?
You can find information regarding the number of validators and their stake weights at particular DCs/ASNs here: https://www.validators.app/data-centers?locale=en&network=mainnet. Improving ...
3
votes
How to know the number of active validators in Solana
There are a few ways to accomplish this.
First, you can use the solana command-line tool (https://docs.solana.com/cli/install-solana-cli-tools) like so:
solana validators
This will show a list of ...
3
votes
Accepted
Does Solana have additional aligment guarantees on `data` field of AccountInfo?
The VM guarantees that the provided account data is byte-aligned to a multiple of 8.
Fun fact: way back when, the first version of the BPF loader (now deprecated) did not do this alignment for you!
...
3
votes
Accepted
What does repair do?
Repair is all about fetching "missing" shreds in order to complete and replay blocks. The repair service is constantly trying to fetch those shreds from the network and putting them in the ...
3
votes
Accepted
Setting up a gossip spy
From your question, it basically sounds like you want all of the information (gossip traffic, newly created blocks, etc) that a validator has access to without running a validator. If you want all of ...
3
votes
Accepted
Will firedancer affect transaction finality time in any way?
Not initially. Quorum is achieved through consensus so we will not see any significant speed increase until the majority are running FireDancer or will be bottlenecked for confirmations from non-...
3
votes
Sandwich attacks on Solana. Is this a problem?
Since the leader that proposes the block has final say in the ordering of transactions, there's very little that a user can do to protect themselves from sandwich attacks.
Priority fees are not ...
3
votes
Accepted
Why does the Solana JSON RPC server appear to be single threaded?
It's a bit confusing because it does look like 1 thread, but right before it's setting event_loop_executor and passing in a multi-threaded tokio runtime. This means that it's one thread running a ...
3
votes
How can I estimate a Validator's APY given the parsed account info?
It's not very easy and based on many factors, as outlined in the stakewiz FAQ: https://stakewiz.com/faq#faq-apy
The main variables are:
length of epoch in real time: although it's targeted to 2 days,...
3
votes
MEV from solana
It depends what you mean by MEV.
Sandwiching, Frontrunning etc.? Not directly, you'd have to write your own searcher for this.
You can however benefit directly from others doing MEV by using the Jito ...
3
votes
How does Solana handle the split brain problem?
If there's a network partition that splits the network 50-50, the big issue is that blocks won't ever get confirmed because 66% of the network won't see the block. Leaders will continue to process ...
3
votes
Data feed for Solana Indexer
You might want to check out Old faithful from Triton one where they have historical data for Solana
report: https://docs.triton.one/project-yellowstone/old-faithful-historical-archive/old-faithful-...
3
votes
How to get the pending transaction on the blockchain?
You can track pending transactions in Solana using the onSignatureWithOptions method from the Connection of Solana Web3.js library. By setting the commitment level to "processed", you can ...
2
votes
No response from tcp/udp ports
At startup, solana-validator verifies whether all public ports necessary for Solana to work are externally reachable. It does so by asking another node to try and connect to all required ports on your ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
validator × 168rpc × 33
solana-test-validator × 22
solana-cli × 15
solana-program × 14
node × 14
transactions × 11
stake × 10
geyser × 6
mainnet × 6
web3.js × 6
slots × 5
jsonrpc-api × 5
devnet × 5
consensus × 5
transaction × 5
vote-account × 5
rust × 4
keypair × 4
block × 4
validation × 4
network × 4
staking × 4
private-node × 4
account × 3