Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertBlocksForCommitToCommitBlockInfos(oBlocks []*compressedblock.CompressedBlock) (commitBlocks []zkbnb.OldZkBNBCommitBlockInfo, err error)
- func ConvertBlocksToVerifyAndExecuteBlockInfos(oBlocks []*block.Block) (verifyAndExecuteBlocks []zkbnb.OldZkBNBVerifyAndExecuteBlockInfo, err error)
- type Sender
Constants ¶
View Source
const ( EventNameBlockCommit = "BlockCommit" EventNameBlockVerification = "BlockVerification" )
Variables ¶
View Source
var (
ZkBNBContractAbi, _ = abi.JSON(strings.NewReader(zkbnb.ZkBNBMetaData.ABI))
)
Functions ¶
func ConvertBlocksForCommitToCommitBlockInfos ¶
func ConvertBlocksForCommitToCommitBlockInfos(oBlocks []*compressedblock.CompressedBlock) (commitBlocks []zkbnb.OldZkBNBCommitBlockInfo, err error)
func ConvertBlocksToVerifyAndExecuteBlockInfos ¶
func ConvertBlocksToVerifyAndExecuteBlockInfos(oBlocks []*block.Block) (verifyAndExecuteBlocks []zkbnb.OldZkBNBVerifyAndExecuteBlockInfo, err error)
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
func (*Sender) CommitBlocks ¶
func (*Sender) UpdateSentTxs ¶
func (*Sender) VerifyAndExecuteBlocks ¶
Click to show internal directories.
Click to hide internal directories.