Questions tagged [validator]
The validator tag has no usage guidance.
70
questions
1
vote
1
answer
13
views
Setting up a gossip spy
For someone not running a validator, what would be the best method to listen in on gossip, getting staked amount, block, etc. "solana gossip" is giving me some of that information but not ...
2
votes
1
answer
26
views
What does repair do?
In the replay stage in the Solana validator, there's a step called repair. What does this do?
0
votes
2
answers
29
views
Does the solana validator execute all the transactions in a block or a part of the block?
Does the solana validator execute all the transactions in a block or a part of the block? If all the block will the confirm slow? Will it collect the whole block before execute the transactions in the ...
1
vote
1
answer
42
views
How can a validator comfirm a poh from the leader?
The validator don't have the fully data .how can a validator comfirm a poh from the leader? What if the leader is evil and make some fake transactions? And why don't use just pos instead poh? Does the ...
3
votes
1
answer
19
views
known devnet validators
Is this this right list of known devnet validators to start with? I'm starting one, but ending up over 135k blocks behind to start with.
--known-validator dv1ZAGvdsz5hHLwWXsVnM94hWf1pjbKVau1QVkaMJ92 \
...
1
vote
1
answer
28
views
validator main process exited
starting a devnet validator with geyser plugin - solana version 1.13.3:
exec solana-validator \
--identity ~/validator-keypair-devnet.json \
--vote-account ~/vote-account-keypair-devnet.json \
--...
3
votes
1
answer
86
views
What are slots used for?
I try to understand what slots are for. ethereum has same term but everything I read about slots are so abstract. From different solana docs, I read those
Solana has 432,000 slots per epoch which ...
0
votes
0
answers
26
views
How to Run a Solana Test Network
I'm trying to set up a test network using the scripts provided in this Solana git repository. I've got the AWS CLI configured as I want to run the network as an EC2 instance. I run the ./ec2.sh create ...
1
vote
0
answers
54
views
Single-node validator stuck on "Haven't landed a vote, so skipping my leader slot"
What are the steps to getting a single-node validator in a private network (using the solana-validator binary) running? The current setup I'm doing is
solana-genesis \
--enable-warmup-epochs \
--...
1
vote
0
answers
35
views
How to fix solana rpc node from crashing due to no available udp ports for QUIC?
I am running an RPC node and using the quic client to send transactions on the same machine. The node will run for a few hours, with many successful transactions sent via quic and then crash with the ...
2
votes
1
answer
37
views
What are the primary differences between solana-validator and solana-test-validator?
There seems to be two different validator binaries: solana-validator in validator/src/main.rs, and solana-test-validator in validator/src/bin/solana-test-validator.rs. What are the main differences ...
1
vote
1
answer
29
views
Difference between catch up and getHealth
What is the difference between getHealth and the catch up command? With my validator, I
never lag behind with the catch up command. With getHealth, it is always constant 200-300 root slots behind and ...
0
votes
0
answers
7
views
How to process restarting cluster for after a period of the cluster is downtime?
If cluster is Fault, and downtime for some hours or some days. How should I restart the cluster and get the cluster's block-time to quickly catch up to real world time?
0
votes
0
answers
61
views
mainnet-beta solana catchup falling, The hardware and software meet the requirements
Unable to catch up with the main network.
who can help me?
other, Solana discord has no permission to speak. How to apply for permission?
Hardware cpu 24 cores / 48 threads
CPU MHz 4.0
ram >300g ...
1
vote
0
answers
38
views
The getSignaturesForAddress RPC request returns "Method not found" [closed]
I am trying to perform a simple API request against the local node that seems to be working fine but the response says "Method not found" even though the validator has the --enable-cpi-and-...
2
votes
1
answer
15
views
Does Solana have additional aligment guarantees on `data` field of AccountInfo?
data field of Solana account is a byte slice, according to type system it is byte-aligned.
Does runtime internally use more strict alignment rules?
i.e. can I rely on the assumption, that data field ...
2
votes
1
answer
26
views
How to track the total SOL rewards? I see 4 reward types, but I'm not sure which to use
I see 4 reward types, but I'm not sure which to use. I'd like to track total rewards paid out.
Fee,
Rent,
Staking,
Voting,
To my understanding:
Fee -> Is this related to transaction fees, if so ...
1
vote
1
answer
90
views
How to run solana devnet validator in MacOS/Linux?
I am able to run the command solana-test-validator but when I try to run solana-validator I get the error
[2022-11-23T07:42:22.902908000Z ERROR solana_net_utils] Received no response at tcp/8899, ...
3
votes
1
answer
32
views
Solana Mainnet beta Validator Hardware
guys.
im going to buy some hardwares, CPU, RAM etc. to set my mainnet-beta validator node.
i know Requirements from solana docs(https://docs.solana.com/running-validator/validator-reqs), but I'm ...
1
vote
1
answer
12
views
difference of `repaly_votes` and `gossip_vote_txs`
I am working to understand voting process in Solana. I can't understand the difference of repaly_votes and gossip_vote_txs. What are the differences?
2
votes
1
answer
45
views
what is the average total prioritization fee per slot currently
Curious if there are resources that I can use to get the average prioritization fee per slot or at least visualize them.
if not possible, then still interested in anecdotal data about what the average ...
1
vote
0
answers
16
views
How to calculate total supply for validator rewards
in the solana docs it is mentioned that
issuance = (total supply * inflation)/target_epochs_per_year - (where target_epochs_per_year = 182.5)
Now, I am unable to understand do we consider the total ...
3
votes
2
answers
61
views
Time require to restart solana validator
I am new to Solana stuff. I just create my Solana private rpc node. I have a few questions in mind if anyone could help it would be great.
1- How much time it will take if I restart the Solana ...
3
votes
3
answers
204
views
solana-test-validator: illegal hardware instruction
Has anyone else experienced this error illegal hardware instruction when trying to run solana-test-validator? More specifically:
Im using M1 Macbook and having versions
solana-test-validator 1.14.3 (...
4
votes
2
answers
139
views
How to know the number of active validators in Solana
I would like to know how many Solana validator nodes are running actually.
Is there a way to get this data ?
0
votes
0
answers
11
views
Solana "delegate-stake" fails on devnet
When trying delegate stake using:
solana delegate-stake \
--fee-payer ~/staker-wallet-keypair.json \
--stake-authority ~/staker-wallet-keypair.json \
<STAKE_ACCOUNT_PUBKEY> <...
1
vote
1
answer
50
views
How to get account info from my local private rpc?
I built private rpc node in mainnet and it catches up well.
I want to get account info from localhost, but it gets error.
curl http://localhost:8899 -X POST -H "Content-Type: application/json&...
1
vote
1
answer
82
views
How do I deploy a program to a remote test validator?
I'm having some trouble deploying the hello world program to a remote solana-test-validator hosted in Google Compute Engine.
On my local machine, when I run
solana program deploy dist/program/...
1
vote
0
answers
111
views
solana-test-validator error: 'Incompatible CPU detected: missing AVX support'
I'm trying to run solana-test-validator on:
Windows 11 host
Running Virtual Box 6.1.38
With Ubuntu 22.04.1 guest
Razer Blade 14, 8 Core AMD CPU, RTX 3080, 16Gb
It worked fine a few weeks ago, I'm ...
0
votes
0
answers
57
views
Error running the holaplex indexer
i'm trying to setup holaplex indexer ,First a install diesel and compile the geyserplugin from their repo. then i run the 3 services simultaneously with following commands.
cargo run --bin holaplex-...
1
vote
1
answer
122
views
How to start a validator in solana?
I have tried starting a local validator using solana cli command solana-test-validator. It works fine and starts from block 1 for localhost. But when I am following this doc: Starting a Validator and ...
2
votes
1
answer
64
views
How does stake account gets created?
I write code for staking:
const stakeAccount = Keypair.generate();
then I get the validator that I trust
const validators = await connection.getVoteAccounts();
// just choose the first one
const ...
1
vote
0
answers
21
views
Transaction confirmation time vs Slot time
The slot time is around 600ms or so per https://explorer.solana.com/.
However, the confirmation times are highly unstable, and can take 10's of seconds per https://www.validators.app/ping-thing?locale=...
0
votes
0
answers
19
views
Fee Prioritization for Regular Transactions
My understanding is that the current fee prioritization scheme applies at the account level, so regular users who are just transacting SOL or SPL tokens should see no fee increase.
Nevertheless, would ...
1
vote
1
answer
40
views
How a new validator get last state in Solana?
I like to join Solana mainnet as a validator and participate in consensus. As a result, I was reading about Solana and the steps to run a validator during the last few weeks.
I generally understood ...
6
votes
1
answer
40
views
Can a vote account be a PDA?
Can a validator have a vote account as a PDA? Does a validator have to do anything special to do this?
1
vote
0
answers
77
views
What does root slot mean in relation to vote accounts?
How or when does a vote account get a root slot? create-vote ? create-stake? or delegate-stake?
I encounter frequently:
Unable to delegate. Vote account appears delinquent because its current root ...
2
votes
4
answers
75
views
How to setup local validator rpc on solscan?
I want to check transactions and programs details on my local validator, how can I setup it on https://solscan.io/ ?
I am trying to do it by typing "http://localhost:8899" in "Custom ...
1
vote
1
answer
47
views
What/where is the mint public key in genesis config source code?
solana document says "Before starting any validators, one first needs to create a genesis config. The config references two public keys, a mint and a bootstrap validator. " https://docs....
1
vote
0
answers
52
views
How to run multiple validator instances on localhost to not falling behind
I try to run solana validator at my laptop. I would like to start with the test validator and join two or three solana validators. I follow the guide from here
https://github.com/mvines/validator-...
1
vote
1
answer
32
views
What is the current requirement resources need to be a Solana validator node?
If one wanted to be a solana validator node. What are the current validator requirements in hardware and locked SOL? And has the validator requirements increased due to the upgrades of each version of ...
1
vote
0
answers
34
views
Does the new fee-based priority execution model guarantee higher fees generated?
The fee-based priority execution model was recently introduced to Solana (https://decrypt.co/103106/solana-new-gas-fees), which introduces 'local' fee markets for transactions instead of a single ...
0
votes
1
answer
24
views
Are Solana validator stakes kept in a smart contract? If so, does it cost gas to send attestations for a block? Are block proposals off or on-chain?
I'm interested in learning how Solana's consensus mechanism works. I understand that in a proof of stake system, stake is bonded (usually in a smart contract). While this is a great way for creating ...
1
vote
0
answers
28
views
Validator requirements
Solana aims to be the fastest blockchain in the world. OK, specifically the fastest public blockchain that run smart contracts. I believe they indeed have reached that goal.
Let's assume I were to ...
1
vote
2
answers
29
views
How are blocks validated long before they are added to the chain?
After looking into Solana extremely in-depth, I am failing to understand how blocks can be added to the chain within 800ms (as said in the docs). This doesn’t seem possible because the time to get ...
2
votes
1
answer
76
views
Can one solana keypair have multiple addresses?
I am trying to build an exchange which would work in a such a way that the funds are stored in an address for certain limit and once that limit is crossed, the address is changed but the signer for ...
2
votes
1
answer
37
views
Implicit and explicit validator param --entrypoint cause different result of gossip_service discovering
I am trying to set up a private cluster of Solana, after executing ./multinode-demo/bootstrap-validator.sh, it's running and running without stop..., while i am waiting, I tried to start another ...
0
votes
1
answer
29
views
How can know if bootstrap-validator is running successfully or not?
I follows the instructions of Benchmark a Cluster (https://docs.solana.com/cluster/bench-tps), after I executed this line:
NDEBUG=1 ./multinode-demo/bootstrap-validator.sh
according the documentation: ...
1
vote
2
answers
52
views
Can geyser plugins be used on historical data
Per documentation it is said that Geyser Plugin system can be used to offload currently validated data to different databases, however, I do not understand whether it can be used to process historical ...
1
vote
1
answer
33
views
How to download and set up a complete ledger for RPC endpoint
I can set up a bigtable instance with steps specified here.
And I can set up an RPC endpoint with solana-validator CLI here.
However, I do not understand from where I can download a complete ledger ...