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.

15 lines
386 B

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