Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + const DefaultVoteCacheRebuildConcurrency + const MaxMismatchLogsPerEpoch + const MaxMissingVoteCacheStakePercent + const NumConsecutiveLeaderSlots + const SampleBoundarySlots + const SampleRandomSlots + var CurrentRunID string + var ErrLeaderScheduleFailed = errors.New("leader schedule fetch failed from all RPC endpoints") + var SerializedParameterArena *arena.Arena[byte] + var TxAcctsCloned atomic.Uint64 + var TxAcctsClonedBytes atomic.Uint64 + var TxAcctsLoaded atomic.Uint64 + var TxAcctsLoadedBytes atomic.Uint64 + var TxAcctsTouched atomic.Uint64 + var TxAcctsTouchedBytes atomic.Uint64 + var TxCount atomic.Uint64 + var TxErrInsufficientFundsForRent = errors.New("TxErrInsufficientFundsForRent") + var TxErrInvalidBlockhash = errors.New("TxErrInvalidBlockhash") + var TxErrInvalidProgramForExecution = errors.New("TxErrInvalidProgramForExecution") + var TxErrMaxLoadedAccountsDataSizeExceeded = errors.New("TxErrMaxLoadedAccountsDataSizeExceeded") + var TxErrProgramAccountNotFound = errors.New("TxErrProgramAccountNotFound") + var TxErrSanitizeFailure = errors.New("TxErrSanitizeFailure") + func BackgroundValidateAgainstRPC(epoch uint64, epochSchedule *sealevel.SysvarEpochSchedule, ...) + func DumpLeaderSchedule(epoch uint64, epochSchedule *sealevel.SysvarEpochSchedule, ...) + func DumpScheduleMismatch(epoch uint64, epochSchedule *sealevel.SysvarEpochSchedule, ...) (localPath, rpcPath string) + func DumpTieBreakDebug(epoch uint64, voteAcctStakes map[solana.PublicKey]uint64, ...) + func GenerateRunID() string + func GetCommitSlot() uint64 + func IsCommitInProgress() bool + func NewLoadedAcctSizeAccumulatorSimd186(slotCtx *sealevel.SlotCtx, limit uint64, acctKeys []solana.PublicKey) *loadedAcctSizeAccumulatorSimd186 + func NewTxErrInvalidSignature(msg string) error + func ProcessBlock(acctsDb *accountsdb.AccountsDb, block *b.Block, txParallelism int, ...) (*sealevel.SlotCtx, error) + func ProcessTransaction(slotCtx *sealevel.SlotCtx, sigverifyWg *sync.WaitGroup, tx *solana.Transaction, ...) (*fees.TxFeeInfo, uint64, error) + func RebuildVoteCacheFromAccountsDB(acctsDb *accountsdb.AccountsDb, slot uint64, ...) error + func ResolveAddrTableLookupsForTx(ctx context.Context, accountsDb *accountsdb.AccountsDb, slot uint64, ...) error + func TopsortPlanner(b *block.Block) [][]int + func TopsortPlannerStream(b *block.Block, out chan int, done chan int) + type AccountSharedData struct + Data []byte + Executable bool + Lamports uint64 + Owner solana.PublicKey + RentEpoch uint64 + type AccountUpdate struct + Account accounts.Account + Pubkey solana.PublicKey + type BlockFetchOpts struct + CatchupThreshold int + CatchupTipGateThreshold int + MaxInflight int + MaxRPS int + NearTipLookahead int + NearTipPollMs int + NearTipThreshold int + TipPollMs int + TipSafetyMargin uint64 + type BoundaryStakeScanResult struct + EffectiveStakes map[solana.PublicKey]uint64 + StakeHistoryActivating uint64 + StakeHistoryDeactivating uint64 + StakeHistoryEffective uint64 + TotalEffectiveStake uint64 + VoteAcctStakes map[solana.PublicKey]uint64 + type CloneStats struct + AcctsCloned uint64 + AcctsClonedBytes uint64 + AcctsLoaded uint64 + AcctsLoadedBytes uint64 + AcctsTouched uint64 + AcctsTouchedBytes uint64 + TxCount uint64 + func GetAndResetCloneStats() CloneStats + type CompiledInstruction struct + Accounts []uint8 + Data []byte + ProgramIdIndex uint8 + StackHeight uint8 + type ConsensusOpts struct + EnforceOnSource string + SkipPathMaxDepth int + UnresolvedPolicy string + type DebugOptions struct + func NewDebugOptions(txs, acctWrites []string, dumpEpochVotingRewardDiff bool) (*DebugOptions, error) + func (x *DebugOptions) DumpEpochRewardArtifacts() bool + func (x *DebugOptions) DumpEpochVotingRewardDiff() bool + func (x *DebugOptions) IsDebugTx(t solana.Signature) bool + func (x *DebugOptions) IsDebugWriteAccount(pk solana.PublicKey) bool + type ExecutedTransaction struct + ExecutionDetails TransactionExecutionDetails + LoadedTransaction LoadedTransaction + ProgramsModified map[solana.PublicKey]bool + type FeesOnlyTransaction struct + ExecutionError error + LoadedTransaction LoadedTransaction + type InnerInstructionsList struct + Index uint8 + Instructions []CompiledInstruction + func AssembleInnerInstructions(execCtx *sealevel.ExecutionCtx) []InnerInstructionsList + type KeyedAccountSharedData struct + AccountData AccountSharedData + Pubkey solana.PublicKey + type LoadAndExecuteTransactionInput struct + Arena *arena.Arena[sealevel.BorrowedAccount] + IsSimulation bool + RecordInnerInstructions bool + SlotCtx *sealevel.SlotCtx + Transaction *solana.Transaction + TxMeta *rpc.TransactionMeta + type LoadAndExecuteTransactionOutput struct + ComputeBudgetLimits *sealevel.ComputeBudgetLimits + ExecCtx *sealevel.ExecutionCtx + ExecutionResult *TransactionExecutionResult + FeeInfo *fees.TxFeeInfo + Instrs []sealevel.Instruction + PreAccountSnapshots []*accounts.Account + PreBalances []uint64 + ProcessingResult TransactionProcessingResult + func LoadAndExecuteTransaction(input LoadAndExecuteTransactionInput) LoadAndExecuteTransactionOutput + type LoadedTransaction struct + Accounts []KeyedAccountSharedData + ComputeBudget SVMTransactionExecutionBudget + FeeDetails fees.TxFeeInfo + LoadedAccountsDataSize uint32 + ProgramIndices []uint16 + RollbackAccounts RollbackAccounts + type OnCancelWriteState func(result *ReplayResult) error + type ProcessedTransaction struct + Executed *ExecutedTransaction + FeesOnly *FeesOnlyTransaction + TransactionType ProcessedTransactionType + type ProcessedTransactionType int + const ProcessedTransactionTypeExecuted + const ProcessedTransactionTypeFeesOnly + type ReplayCtx struct + Capitalization uint64 + CurrentFeatures *features.Features + EpochAcctsHash []byte + HasEpochAcctsHash bool + Inflation rewards.Inflation + SlotsPerYear float64 + type ReplayResult struct + ComputedEpochStakes map[uint64][]byte + Error error + LastAcctsLtHash *lthash.LtHash + LastBlockHeight uint64 + LastBlockhash [32]byte + LastCapitalization uint64 + LastEvictedBlockhash [32]byte + LastInflation rewards.Inflation + LastLamportsPerSignature uint64 + LastNumSignatures uint64 + LastPersistedBankhash []byte + LastPersistedSlot uint64 + LastPrevLamportsPerSig uint64 + LastRecentBlockhashes *sealevel.SysvarRecentBlockhashes + LastSlotHashes *sealevel.SysvarSlotHashes + LastSlotsPerYear float64 + StateWrittenOnCancel bool + WasCancelled bool + func ReplayBlocks(ctx context.Context, acctsDb *accountsdb.AccountsDb, acctsDbPath string, ...) *ReplayResult + type ResumeState struct + AcctsLtHash *lthash.LtHash + Capitalization uint64 + ComputedEpochStakes map[uint64][]byte + EvictedBlockhash [32]byte + InflationFoundation float64 + InflationFoundationTerm float64 + InflationInitial float64 + InflationTaper float64 + InflationTerminal float64 + LamportsPerSignature uint64 + LastBlockhash [32]byte + NumSignatures uint64 + ParentBankhash []byte + ParentBlockHeight uint64 + ParentSlot uint64 + PrevLamportsPerSignature uint64 + RecentBlockhashes *sealevel.SysvarRecentBlockhashes + SlotHashes *sealevel.SysvarSlotHashes + SlotsPerYear float64 + type RollbackAccounts struct + FeePayer *KeyedAccountSharedData + Nonce *KeyedAccountSharedData + RollbackType RollbackAccountsType + type RollbackAccountsType int + const RollbackAccountsTypeFeePayerOnly + const RollbackAccountsTypeSameNonceAndFeePayer + const RollbackAccountsTypeSeparateNonceAndFeePayer + type SVMTransactionExecutionBudget struct + ComputeUnitLimit uint64 + HeapSize uint32 + MaxCallDepth uint64 + MaxInstructionStackDepth uint64 + MaxInstructionTraceLength uint64 + Sha256MaxSlices uint64 + StackFrameSize uint64 + type ScheduleSummary struct + BlockEpoch uint64 + FilteredStake uint64 + FirstSlot uint64 + LocalHash string + MissingStake uint64 + MissingStakePercent float64 + RPCHash string + Repeat uint64 + RunID string + ScheduleEpoch uint64 + SkippedMissingData int + SkippedZeroNodePk int + SkippedZeroStake int + SlotsInEpoch uint64 + Source string + Timestamp time.Time + TotalInputStake uint64 + ValidatorsInput int + ValidatorsSkipped int + ValidatorsUsed int + func PrepareLeaderScheduleLocal(epoch uint64, epochSchedule *sealevel.SysvarEpochSchedule, logsDir string) (*ScheduleSummary, error) + func PrepareLeaderScheduleLocalFromVoteCache(epoch uint64, epochSchedule *sealevel.SysvarEpochSchedule, logsDir string) (*ScheduleSummary, error) + type SlotCtxSetter interface + SetSlotCtx func(slotCtx *sealevel.SlotCtx) + type StakeEntry struct + NodePubkey solana.PublicKey + Reason string + Stake uint64 + VoteAcct solana.PublicKey + type TransactionError struct + AccountIndex *uint8 + ErrorType TransactionErrorType + InstructionError error + InstructionIndex *uint8 + func (e *TransactionError) MarshalJSON() ([]byte, error) + type TransactionErrorType int + const TransactionErrorAccountBorrowOutstanding + const TransactionErrorAccountInUse + const TransactionErrorAccountLoadedTwice + const TransactionErrorAccountNotFound + const TransactionErrorAddressLookupTableNotFound + const TransactionErrorAlreadyProcessed + const TransactionErrorBlockhashNotFound + const TransactionErrorCallChainTooDeep + const TransactionErrorClusterMaintenance + const TransactionErrorDuplicateInstruction + const TransactionErrorInstructionError + const TransactionErrorInsufficientFundsForFee + const TransactionErrorInsufficientFundsForRent + const TransactionErrorInvalidAccountForFee + const TransactionErrorInvalidAccountIndex + const TransactionErrorInvalidAddressLookupTableData + const TransactionErrorInvalidAddressLookupTableIndex + const TransactionErrorInvalidAddressLookupTableOwner + const TransactionErrorInvalidLoadedAccountsDataSizeLimit + const TransactionErrorInvalidProgramForExecution + const TransactionErrorInvalidRentPayingAccount + const TransactionErrorInvalidWritableAccount + const TransactionErrorMaxLoadedAccountsDataSizeExceeded + const TransactionErrorMissingSignatureForFee + const TransactionErrorProgramAccountNotFound + const TransactionErrorProgramCacheHitMaxLimit + const TransactionErrorProgramExecutionTemporarilyRestricted + const TransactionErrorResanitizationNeeded + const TransactionErrorSanitizeFailure + const TransactionErrorSignatureFailure + const TransactionErrorTooManyAccountLocks + const TransactionErrorUnbalancedTransaction + const TransactionErrorUnsupportedVersion + const TransactionErrorWouldExceedAccountDataBlockLimit + const TransactionErrorWouldExceedAccountDataTotalLimit + const TransactionErrorWouldExceedMaxAccountCostLimit + const TransactionErrorWouldExceedMaxBlockCostLimit + const TransactionErrorWouldExceedMaxVoteCostLimit + func (t TransactionErrorType) String() string + type TransactionExecutionDetails struct + AccountsDataLenDelta int64 + ExecutedUnits uint64 + InnerInstructions []InnerInstructionsList + LogMessages []string + ReturnData *TransactionReturnData + Status error + type TransactionExecutionResult struct + AccountUpdates []AccountUpdate + ModifiedStakeAccounts []solana.PublicKey + ModifiedVoteAccounts map[solana.PublicKey]*sealevel.VoteStateVersions + WritableAccountSet map[solana.PublicKey]struct{} + WritableAccounts []solana.PublicKey + type TransactionProcessingResult struct + ProcessedTransaction *ProcessedTransaction + TransactionError *TransactionError + type TransactionReturnData struct + Data []byte + ProgramId solana.PublicKey + type TxErrInvalidSignature struct + func (err *TxErrInvalidSignature) Error() string + type ValidationStats struct + BottomStakes []StakeEntry + Capped bool + MaxStake uint64 + MinStake uint64 + MismatchCount int + MissingVoteAccts []StakeEntry + SkippedMissingNodePk int + SkippedMissingNodePkStake uint64 + SkippedMissingVoteAcct int + SkippedMissingVoteAcctStake uint64 + SkippedZeroStake int + TopStakes []StakeEntry + TotalStake uint64 + TotalVoteAccts int + ValidatorCount int + ZeroNodePkAccts []StakeEntry + type VoteCacheRebuildError struct + Err error + Reason string + Stake uint64 + VoteAcct solana.PublicKey v0.1.0-alpha.1 Jan 15, 2026