mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
16 lines
416 B
Go
16 lines
416 B
Go
package common
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
ethCommon "github.com/ethereum/go-ethereum/common"
|
|
)
|
|
|
|
// Bid is a struct that represents one bid in the PoH
|
|
type Bid struct {
|
|
SlotNum SlotNum `meddler:"slot_num"`
|
|
ForgerAddr ethCommon.Address `meddler:"forger_addr"` // Coordinator reference
|
|
BidValue *big.Int `meddler:"bid_value,bigint"`
|
|
EthBlockNum uint64 `meddler:"eth_block_num"`
|
|
}
|