go-ethereum/common
Péter Szilágyi a5fe7353cf
common: drop BigMin and BigMax, they pollute our dep graph (#30645)
Way back we've added `common.math.BigMin` and `common.math.BigMax`.
These were kind of cute helpers, but unfortunate ones, because package
all over out codebase added dependencies to this package just to avoid
having to write out 3 lines of code.

Because of this, we've also started having package name clashes with the
stdlib `math`, which got solves even more badly by moving some helpers
over ***from*** the stdlib into our custom lib (e.g. MaxUint64). The
latter ones were nuked out in a previous PR and this PR nukes out BigMin
and BigMax, inlining them at all call sites.

As we're transitioning to uint256, if need be, we can add a min and max
to that.
2024-10-21 12:45:33 +03:00
..
bitutil accounts/usbwallet, common/bitutil: fix broken links in docs (#29078) 2024-03-13 07:54:40 +01:00
compiler common/compiler: json unmarshalling error checks (#25449) 2022-08-01 13:47:21 +02:00
fdlimit
hexutil
lru common/lru: use clear builtin (#29399) 2024-04-02 15:45:25 +02:00
math common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-10-21 12:45:33 +03:00
mclock
prque common/prque: fix godoc comments (#29460) 2024-04-06 11:09:30 +02:00
big.go
bytes.go
bytes_test.go
debug.go
format.go
path.go build: get rid of ci.go -> common direct dependency (#30637) 2024-10-20 14:54:06 +03:00
size.go
size_test.go
test_utils.go
types.go common: using ParseUint instead of ParseInt (#30020) 2024-06-19 11:06:52 +02:00
types_test.go common: using ParseUint instead of ParseInt (#30020) 2024-06-19 11:06:52 +02:00