hexoscott
7dcbfbc283
reference hash, address, and chain config from lib ( #6536 )
2023-01-13 18:12:18 +00:00
Alex Sharov
351cd49c21
go1.19 gofmt ( #4988 )
2022-08-10 19:04:13 +07:00
Alex Sharov
f1ee8d507e
New Trie db layout - store trie structure info and multiple hashes per record ( #1500 )
...
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* squash
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
* SE
2021-02-21 18:41:59 +00:00
kiel barry
d0fd8d6fc2
common: all golint warnings removed ( #16852 )
...
* common: all golint warnings removed
* common: fixups
2018-06-14 12:52:50 +03:00
ferhat elmas
86f6568f66
build: enable unconvert linter ( #15456 )
...
* build: enable unconvert linter
- fixes #15453
- update code base for failing cases
* cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
2017-11-10 19:06:45 +02:00
Felix Lange
4a741df757
common/hexutil: wrap errors in json.UnmarshalTypeError
...
This adds type and struct field context to error messages.
Instead of "hex string of odd length" users will now see "json: cannot
unmarshal hex string of odd length into Go struct field SendTxArgs.from
of type common.Address".
2017-06-27 13:15:12 +02:00
Felix Lange
280f08be84
common/hexutil: ensure negative big.Int is encoded sensibly
...
Restricting encoding is silly.
2017-03-02 14:05:46 +01:00
Felix Lange
357d00cdb1
common/hexutil: don't leak encoding/hex errors in Decode
...
All other functions return errors from package hexutil, ensure that
Decode does too.
2017-03-02 14:05:46 +01:00
Felix Lange
f3b7dcc5bd
common/hexutil: reject big integer inputs > 256 bits
...
This follows the change to common/math big integer parsing in PR #3699 .
2017-03-02 14:05:46 +01:00
Felix Lange
51f6b6d33f
common/hexutil: fix EncodeBig, Big.MarshalJSON
...
The code was too clever and failed to include zeros on a big.Word
boundary.
2017-01-16 10:32:40 +01:00
Felix Lange
ec75953f50
common/hexutil: new package for 0x hex encoding
...
The new package is purpose-built to handle the encoding consumed and
produced by the RPC API.
2016-11-28 11:22:52 +01:00