Documentation ¶
Index ¶
- Variables
- func WriteString(b string, e *bin.Encoder) error
- type BigtableBlockReader
- type BorshIoError
- type DuplicateInstructionError
- type InstructionCustomError
- type InstructionError
- type InstructionErrorCode
- type InsufficientFundsForRentError
- type ProgramExecutionTemporarilyRestrictedError
- type RPCFetcher
- type RowType
- type TransactionError
- type TrxErrCode
Constants ¶
This section is empty.
Variables ¶
View Source
var GetBlockOpts = &rpc.GetBlockOpts{ Commitment: rpc.CommitmentConfirmed, MaxSupportedTransactionVersion: &MaxSupportedTransactionVersion, }
View Source
var MaxSupportedTransactionVersion = uint64(0)
View Source
var PrintFreq = uint64(10)
Functions ¶
Types ¶
type BigtableBlockReader ¶
type BigtableBlockReader struct {
// contains filtered or unexported fields
}
func NewBigtableReader ¶
func (*BigtableBlockReader) ProcessRow ¶
type BorshIoError ¶
type BorshIoError struct {
Msg string
}
func MustNewBorshIoError ¶
func MustNewBorshIoError(a any) BorshIoError
type DuplicateInstructionError ¶
type DuplicateInstructionError struct {
// contains filtered or unexported fields
}
func MustNewDuplicateInstructionError ¶
func MustNewDuplicateInstructionError(e any) *DuplicateInstructionError
type InstructionCustomError ¶
type InstructionCustomError struct {
CustomErrorCode uint32
}
func MustNewInstructionCustomError ¶
func MustNewInstructionCustomError(e any) InstructionCustomError
type InstructionError ¶
type InstructionError struct { InstructionErrorCode InstructionIndex byte // contains filtered or unexported fields }
func MustNewInstructionError ¶
func MustNewInstructionError(e any) *InstructionError
type InstructionErrorCode ¶
type InstructionErrorCode uint32
const ( InstructionError_GenericError InstructionErrorCode = iota InstructionError_InvalidArgument InstructionError_InvalidInstructionData InstructionError_InvalidAccountData InstructionError_AccountDataTooSmall InstructionError_InsufficientFunds InstructionError_IncorrectProgramId InstructionError_MissingRequiredSignature InstructionError_AccountAlreadyInitialized InstructionError_UninitializedAccount InstructionError_UnbalancedInstruction InstructionError_ModifiedProgramId InstructionError_ExternalAccountLamportSpend InstructionError_ExternalAccountDataModified InstructionError_ReadonlyLamportChange InstructionError_ReadonlyDataModified InstructionError_DuplicateAccountIndex InstructionError_ExecutableModified InstructionError_RentEpochModified InstructionError_NotEnoughAccountKeys InstructionError_AccountDataSizeChanged InstructionError_AccountNotExecutable InstructionError_AccountBorrowFailed InstructionError_AccountBorrowOutstanding InstructionError_DuplicateAccountOutOfSync InstructionError_Custom InstructionError_InvalidError InstructionError_ExecutableDataModified InstructionError_ExecutableLamportChange InstructionError_ExecutableAccountNotRentExempt InstructionError_UnsupportedProgramId InstructionError_CallDepth InstructionError_MissingAccount InstructionError_ReentrancyNotAllowed InstructionError_MaxSeedLengthExceeded InstructionError_InvalidSeeds InstructionError_InvalidRealloc InstructionError_ComputationalBudgetExceeded InstructionError_PrivilegeEscalation InstructionError_ProgramEnvironmentSetupFailure InstructionError_ProgramFailedToComplete InstructionError_ProgramFailedToCompile InstructionError_Immutable InstructionError_IncorrectAuthority InstructionError_BorshIoError InstructionError_AccountNotRentExempt InstructionError_InvalidAccountOwner InstructionError_ArithmeticOverflow InstructionError_UnsupportedSysvar InstructionError_IllegalOwner InstructionError_MaxAccountsDataAllocationsExceeded InstructionError_MaxAccountsExceeded InstructionError_MaxInstructionTraceLengthExceeded InstructionError_BuiltinProgramsMustConsumeComputeUnits )
type InsufficientFundsForRentError ¶
type InsufficientFundsForRentError struct {
AccountIndex byte
}
func MustNewInsufficientFundsForRentError ¶
func MustNewInsufficientFundsForRentError(e any) *InsufficientFundsForRentError
type ProgramExecutionTemporarilyRestrictedError ¶
type ProgramExecutionTemporarilyRestrictedError struct {
AccountIndex byte
}
func MustNewProgramExecutionTemporarilyRestrictedError ¶
func MustNewProgramExecutionTemporarilyRestrictedError(e any) *ProgramExecutionTemporarilyRestrictedError
type RPCFetcher ¶
type RPCFetcher struct {
// contains filtered or unexported fields
}
func (*RPCFetcher) IsBlockAvailable ¶
func (f *RPCFetcher) IsBlockAvailable(requestedSlot uint64) bool
type TransactionError ¶
type TransactionError struct { TrxErrCode // contains filtered or unexported fields }
func MustNewTransactionError ¶
func MustNewTransactionError(e any) *TransactionError
type TrxErrCode ¶
type TrxErrCode int32
const ( TrxErr_AccountInUse TrxErrCode = iota TrxErr_AccountLoadedTwice TrxErr_AccountNotFound TrxErr_ProgramAccountNotFound TrxErr_InsufficientFundsForFee TrxErr_InvalidAccountForFee TrxErr_AlreadyProcessed TrxErr_BlockhashNotFound TrxErr_InstructionError TrxErr_CallChainTooDeep TrxErr_MissingSignatureForFee TrxErr_InvalidAccountIndex TrxErr_SignatureFailure TrxErr_InvalidProgramForExecution TrxErr_SanitizeFailure TrxErr_ClusterMaintenance TrxErr_AccountBorrowOutstanding TrxErr_WouldExceedMaxBlockCostLimit TrxErr_UnsupportedVersion TrxErr_InvalidWritableAccount TrxErr_WouldExceedMaxAccountCostLimit TrxErr_WouldExceedAccountDataBlockLimit TrxErr_TooManyAccountLocks TrxErr_AddressLookupTableNotFound TrxErr_InvalidAddressLookupTableOwner TrxErr_InvalidAddressLookupTableData TrxErr_InvalidAddressLookupTableIndex TrxErr_InvalidRentPayingAccount TrxErr_WouldExceedMaxVoteCostLimit TrxErr_WouldExceedAccountDataTotalLimit TrxErr_DuplicateInstruction TrxErr_InsufficientFundsForRent TrxErr_MaxLoadedAccountsDataSizeExceeded TrxErr_InvalidLoadedAccountsDataSizeLimit TrxErr_ResanitizationNeeded TrxErr_ProgramExecutionTemporarilyRestricted TrxErr_UnbalancedTransaction )
Click to show internal directories.
Click to hide internal directories.