Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TransferSSZ = zssz.GetSSZ((*Transfer)(nil))
Functions ¶
This section is empty.
Types ¶
type Transfer ¶
type Transfer struct { Sender ValidatorIndex Recipient ValidatorIndex Amount Gwei Fee Gwei Slot Slot // CurrentSlot at which transfer must be processed Pubkey BLSPubkey // Sender withdrawal pubkey Signature BLSSignature // Signature checked against withdrawal pubkey }
type TransferFeature ¶
type TransferFeature struct { Meta interface { meta.Versioning meta.Proposers meta.RegistrySize meta.Validators meta.Balance } }
func (*TransferFeature) ProcessTransfer ¶
func (f *TransferFeature) ProcessTransfer(transfer *Transfer) error
func (*TransferFeature) ProcessTransfers ¶
func (f *TransferFeature) ProcessTransfers(ops []Transfer) error
Verifies that there are no duplicate transfers, then processes in-order.
Click to show internal directories.
Click to hide internal directories.