Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
Slot uint64
ParentSlot uint64
BlockHeight uint64
Epoch uint64
Transactions []*solana.Transaction
Versions []uint8
Entries []*TxEntry
BankHash [32]byte
EpochAcctsHash []byte
EahWorkaroundBankhash []byte
HasEahWorkaround bool
ParentBankhash [32]byte
AcctsLtHash *lthash.LtHash
NumSignatures uint64
PrevNumSignatures uint64
InitialPreviousLamportsPerSignature uint64
Blockhash [32]byte
ExpectedBankhash [32]byte
TxMetas []*rpc.TransactionMeta
Leader solana.PublicKey
BlockReward *BlockRewardsInfo
LastBlockhash [32]byte
UnixTimestamp int64
EpochStakesPerVoteAcct map[solana.PublicKey]uint64
VoteTimestamps map[solana.PublicKey]sealevel.BlockTimestamp
TotalEpochStake uint64
Features *features.Features
UpdatedAccts []solana.PublicKey
ParentEpochUpdatedAccts []*accounts.Account
EpochUpdatedAccts []*accounts.Account
Rewards []rpc.BlockReward
NumRewardPartitions uint64
LatestEvictedBlockhash [32]byte
PrevFeeRateGovernor *sealevel.FeeRateGovernor
FeeRateGovernor *sealevel.FeeRateGovernor
FromLightbringer bool
IsSkipped bool // True for slots that were skipped by the leader
}
func FromBlockResult ¶
func FromLaserStream ¶
func FromLaserStream(lsBlock *proto.SubscribeUpdateBlock, rpcc *rpcclient.RpcClient) *Block
func FromLightbringerStreamMsg ¶
func FromLightbringerStreamMsg(resp *overcast.SlotResponse) *Block
func (*Block) FixupTxVersions ¶
func (b *Block) FixupTxVersions()
type BlockRewardsInfo ¶
Click to show internal directories.
Click to hide internal directories.