1 2 3 4 5 6 7 8 9
package vm import "math/big" type ruleSet struct { hs *big.Int } func (r ruleSet) IsHomestead(n *big.Int) bool { return n.Cmp(r.hs) >= 0 }