You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package common
|
|
|
|
import (
|
|
eth "github.com/ethereum/go-ethereum/common"
|
|
)
|
|
|
|
// Batch is a struct that represents Hermez network batch
|
|
type Batch struct {
|
|
BatchNum BatchNum
|
|
SlotNum SlotNum // Slot in which the batch is forged
|
|
EthTxHash eth.Hash
|
|
EthBlockNum uint64 // Etherum block in which the batch is forged
|
|
Forger eth.Address
|
|
ExitRoot Hash
|
|
OldRoot Hash
|
|
NewRoot Hash
|
|
TotalAccounts uint64
|
|
}
|
|
|
|
// BatchNum identifies a batch
|
|
type BatchNum uint32
|