mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Initial dract of the common structs
This commit is contained in:
13
common/bid.go
Normal file
13
common/bid.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"math/big"
|
||||
)
|
||||
|
||||
// Bid is a struct that represents one bid in the PoH
|
||||
// WARNING: this is strongly based on the previous implementation, once the new spec is done, this may change a lot.
|
||||
type Bid struct {
|
||||
SlotNum SlotNum // Slot in which the bid is done
|
||||
InfoOperator Operator // Operaror bidder information
|
||||
Amount *big.Int
|
||||
}
|
||||
Reference in New Issue
Block a user