arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/common/bid.go
common/bid.goRaw
 1package common
 2
 3import (
 4	"math/big"
 5
 6	eth "github.com/ethereum/go-ethereum/common"
 7)
 8
 9// Bid is a struct that represents one bid in the PoH
10type Bid struct {
11	SlotNum     SlotNum     `meddler:"slot_num"`
12	ForgerAddr  eth.Address `meddler:"forger_addr"` // Coordinator reference
13	BidValue    *big.Int    `meddler:"bid_value,bigint"`
14	EthBlockNum uint64      `meddler:"eth_block_num"`
15}