Skip to main content
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 ...
trent.sol's user avatar
  • 4,585
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 ...
yamen's user avatar
  • 698
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. ...
trent.sol's user avatar
  • 4,585
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 ...
Ademola's user avatar
  • 3,944
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 ...
tyera.sol's user avatar
  • 301
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 ...
trent.sol's user avatar
  • 4,585
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 ...
acheron's user avatar
  • 2,909
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 ...
Wagg's user avatar
  • 183
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/...
Tim Garcia's user avatar
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 ...
Omega's user avatar
  • 771
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). ...
AllBlooming's user avatar
  • 2,309
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....
Jon C's user avatar
  • 19.6k
4 votes

Does a non-voting RPC node require a keypair?

All nodes require at least an identity keypair to participate in gossip
Jacob Creech's user avatar
  • 4,019
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 ...
Jon C's user avatar
  • 19.6k
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. ...
trent.sol's user avatar
  • 4,585
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 (...
Foad's user avatar
  • 88
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 ...
7Layer's user avatar
  • 31
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 ...
Zantetsu's user avatar
  • 146
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! ...
Jon C's user avatar
  • 19.6k
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 ...
Jon C's user avatar
  • 19.6k
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 ...
steviez's user avatar
  • 586
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-...
Cloakd's user avatar
  • 431
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 ...
Jon C's user avatar
  • 19.6k
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 ...
Jon C's user avatar
  • 19.6k
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,...
Jon C's user avatar
  • 19.6k
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 ...
McBain's user avatar
  • 5,384
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 ...
Jon C's user avatar
  • 19.6k
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-...
Jimii's user avatar
  • 7,672
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 ...
kryp2wiz's user avatar
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 ...
leoluk's user avatar
  • 129

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