Documentation
¶
Index ¶
- Variables
- func NewTxErrInvalidSignature(msg string) error
- func ProcessBlock(acctsDb *accountsdb.AccountsDb, block *Block, updateAcctsDb bool) ([]byte, error)
- func ProcessTransaction(slotCtx *sealevel.SlotCtx, tx *solana.Transaction, txMeta *rpc.TransactionMeta) (uint64, []solana.PublicKey, error)
- func ReplayBlocks(acctsDb *accountsdb.AccountsDb, snapshotManifest *snapshot.SnapshotManifest, ...) error
- type Block
- type BlockRewardsInfo
- type TxErrInvalidSignature
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TxErrInsufficientFundsForRent = errors.New("TxErrInsufficientFundsForRent")
)
Functions ¶
func ProcessBlock ¶
func ProcessBlock(acctsDb *accountsdb.AccountsDb, block *Block, updateAcctsDb bool) ([]byte, error)
func ProcessTransaction ¶
func ReplayBlocks ¶
func ReplayBlocks(acctsDb *accountsdb.AccountsDb, snapshotManifest *snapshot.SnapshotManifest, startSlot, endSlot int64, updateAcctsDb bool) error
Types ¶
type Block ¶
type Block struct { Slot uint64 Transactions []*solana.Transaction BankHash [32]byte ParentBankhash [32]byte NumSignatures uint64 Blockhash [32]byte ExpectedBankhash [32]byte Manifest *snapshot.SnapshotManifest TxMetas []*rpc.TransactionMeta Leader solana.PublicKey Reward BlockRewardsInfo RecentBlockhash [32]byte }
type BlockRewardsInfo ¶
type TxErrInvalidSignature ¶
type TxErrInvalidSignature struct {
// contains filtered or unexported fields
}
func (*TxErrInvalidSignature) Error ¶
func (err *TxErrInvalidSignature) Error() string
Click to show internal directories.
Click to hide internal directories.