Daniel Liu
badb46ce2b
crypto: remove kgz4844 ( #1225 )
2025-07-26 17:32:07 +08:00
Daniel Liu
8f76709a10
core/vm, go.mod: update uint256 to v1.3.2 and use faster method #30868 ( #1241 )
2025-07-17 17:56:53 +08:00
Daniel Liu
b18f9f2705
trie: use github.com/holiman/bloomfilter/v2 #22044 ( #1059 )
2025-06-03 11:52:45 +08:00
Daniel Liu
f6a5d42285
rpc: use go-winio for named pipes #27972 ( #1002 )
...
We're trying a new named pipe library, which should hopefully fix some occasional failures in CI.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-04-28 17:50:26 +08:00
JukLee0ira
230a2f09ba
cmd/geth, node, rpc: implement jwt tokens #24364 ( #993 )
...
* cmd/geth, node, rpc: implement jwt tokens #24364
* fix
2025-04-27 18:17:09 +08:00
Daniel Liu
77ad10c890
crypto/kz4844: pass blobs by ref ( #29050 )
2025-02-11 18:26:56 +08:00
Daniel Liu
5beff83a6d
all: remove deprecated protobuf dependencies ( #30232 )
...
The package `github.com/golang/protobuf/proto` is deprecated in favor
`google.golang.org/protobuf/proto`. We should update the codes to
recommended package.
Signed-off-by: Icarus Wu <icaruswu66@qq.com>
2025-01-24 16:54:12 +08:00
Daniel Liu
13d39173b3
accounts/usbwallet: update hid library ( #29176 )
2025-01-24 16:54:12 +08:00
Daniel Liu
4e951ed8fe
all: use github.com/deckarep/golang-set/v2 (generic set) ( #26159 )
2025-01-24 16:54:11 +08:00
Daniel Liu
4081ed926a
accounts/keystore: replace inotify with fsnotify ( #26176 )
2025-01-24 16:54:11 +08:00
Daniel Liu
c75ba99267
accounts/keystore: use github.com/google/uuid ( #22217 )
...
This replaces the github.com/pborman/uuid dependency with
github.com/google/uuid because the former is only a wrapper for
the latter (since v1.0.0).
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-01-24 16:18:30 +08:00
Daniel Liu
f8c67edb64
accounts/scwallet: use go-ethereum crypto instead of go-ecdh ( #22212 )
...
* accounts/scwallet: use go-ethereum crypto instead of go-ecdh
github.com/wsddn/go-ecdh is a wrapper package for ECDH functionality
with any elliptic curve.
Since 'generic' ECDH is not required in accounts/scwallet (the curve is
always secp256k1), we can just use the standard library functionality
and our own crypto libraries to perform ECDH and save a dependency.
* Update accounts/scwallet/securechannel.go
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
* Use the correct key
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
2025-01-24 16:18:30 +08:00
Daniel Liu
7c3c703559
tests/fuzzers/abi: add fuzzer for fuzzing package accounts/abi ( #21217 )
...
* tests/fuzzers/abi: added abi fuzzer
* accounts/abi: fixed issues found by fuzzing
* tests/fuzzers/abi: update fuzzers, added repro test
* tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer
* tests/fuzzers/abi: updated abi fuzzer
* tests/fuzzers/abi: updated abi fuzzer
* accounts/abi: minor style fix
* go.mod: added go-fuzz dependency
* tests/fuzzers/abi: updated abi fuzzer
* tests/fuzzers/abi: make linter happy
* tests/fuzzers/abi: make linter happy
* tests/fuzzers/abi: comment out false positives
2025-01-24 16:18:29 +08:00
Daniel Liu
2e21b96101
accounts/usbwallet: add webusb trezor support ( #19588 )
2025-01-24 16:18:29 +08:00
Daniel Liu
2999bea17f
accounts: smartcard wallet without the dependency on libpcsclite ( #19273 )
2025-01-24 16:18:29 +08:00
Daniel Liu
588f61661c
build: add imports for go generate tools ( #24682 )
2025-01-20 11:52:59 +08:00
Daniel Liu
1d5d2f1349
build: add 'go generate' checker
2025-01-16 08:21:42 +08:00
Daniel Liu
15be5ba464
crypto: use decred secp256k1 directly ( #30595 )
2025-01-04 11:00:57 +08:00
Daniel Liu
57eb92da1c
common/prque: remove dependency on golang.org/exp ( #29314 )
2024-12-28 09:06:31 +08:00
Felföldi Zsolt
f74cccd1cb
beacon/types: add beacon chain data types ( #27292 )
...
* beacon/types: add beacon chain data types
* beacon/merkle: added comments
* go.mod: cleanups
---------
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-12-28 09:06:31 +08:00
Péter Szilágyi
39e9d8f94d
common/prque: generic priority queue ( #26290 )
2024-12-28 09:06:31 +08:00
Daniel Liu
6f19ace5e2
common/mclock: remove dependency on github.com/aristanetworks/goarista ( #22211 )
2024-12-28 09:06:30 +08:00
Daniel Liu
82ff8c19a0
all: remove uses of untyped golang-lru
2024-12-21 14:39:26 +08:00
Daniel Liu
c7565af9b8
metrics: remove dependency on golang.org/exp ( #29314 )
2024-12-13 14:00:14 +08:00
Daniel Liu
e524043a3b
metrics: use slices package for sorting ( #27493 #27909 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-12-13 14:00:13 +08:00
Daniel Liu
6e055a601d
metrics/influxdb: reuse code between v1 and v2 reporters ( #26963 )
2024-12-13 14:00:13 +08:00
Daniel Liu
29b72dbba6
metrics/influxdb: support V2 ( #23194 )
2024-12-13 14:00:12 +08:00
Daniel Liu
d7d54b00f7
metrics: replace gosigar with gopsutil ( #21041 )
2024-12-13 14:00:12 +08:00
Daniel Liu
1eb2ed8293
core, metrics, p2p: expose various counter metrics for grafana ( #19692 )
2024-12-13 14:00:11 +08:00
Daniel Liu
824dea669c
crypto/kzg4844: use the new trusted setup file and format ( #28383 )
2024-12-09 17:49:00 +08:00
Daniel Liu
8f57d6caea
go.mod: upgrade c-kzg-4844 ( #27907 )
2024-12-09 17:49:00 +08:00
Daniel Liu
541ddee235
go.mod: update kzg libraries to use big-endian ( #27510 )
2024-12-09 17:49:00 +08:00
Daniel Liu
ed03a99770
crypto/kzg4844: upgrade c-kzg-4844 to v0.2.0 ( #27257 )
2024-12-09 17:49:00 +08:00
Daniel Liu
bedd571091
crypto/kzg4844: pull in the C and Go libs for KZG cryptography ( #27155 )
2024-12-09 17:49:00 +08:00
Daniel Liu
cb3edac2c7
crypto: use btcec/v2 for no-cgo ( #24533 )
2024-12-09 17:49:00 +08:00
Daniel Liu
5ee26e04ed
crypto/secp256k1: fix undefined behavior in BitCurve.Add ( #22621 )
2024-12-09 17:49:00 +08:00
Daniel Liu
7711f4b76d
tests/fuzzers: crypto/bn256 tests against gnark-crypto ( #22755 )
2024-12-09 17:49:00 +08:00
Daniel Liu
ae95ceac41
bn256: added consensys/gurvy bn256 implementation ( #21812 )
2024-12-09 17:49:00 +08:00
Daniel Liu
d3fc08db1d
update golang.org/x/crypto to v0.29.0
2024-12-09 17:48:59 +08:00
Daniel Liu
dcab7e8efb
cmd: migrate to urfave/cli/v2 ( #24751 )
2024-11-25 16:39:29 +08:00
Daniel Liu
ec4ca1ed6a
all: replace log15 with slog ( #28187 )
2024-11-15 10:02:42 +08:00
Daniel Liu
d773520298
go.mod: update fastcache to v1.12.2
2024-08-25 16:41:06 +08:00
JukLee0ira
d6737b69e6
rpc:remove package ethereum/go-ethereum
2024-05-13 19:51:50 +08:00
Daniel Liu
ec50ca36d9
core, eth, trie: use common/prque ( #17508 )
2024-05-09 18:38:27 +08:00
Paweł Bylica
192edc0c63
core/vm: use uint256 in EVM implementation ( #20787 )
...
* core/vm: use fixed uint256 library instead of big
* core/vm: remove intpools
* core/vm: upgrade uint256, fixes uint256.NewFromBig
* core/vm: use uint256.Int by value in Stack
* core/vm: upgrade uint256 to v1.0.0
* core/vm: don't preallocate space for 1024 stack items (only 16)
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-03-01 14:13:23 +08:00
Liam Lai
abd3c70dc4
use right go package
2023-11-21 00:41:57 +11:00
Liam Lai
824d7b232f
resolve conflict
2023-11-20 23:53:49 +11:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos ( #349 )
2023-11-06 15:37:14 +11:00
Wang Gerui
5cfa0ea8bf
fix error during cherry-picking
2023-11-02 00:59:16 +08:00
Guillaume Ballet
6743853dca
console, internal/jsre: use github.com/dop251/goja ( #20470 )
...
This replaces the JavaScript interpreter used by the console with goja,
which is actively maintained and a lot faster than otto. Clef still uses otto
and eth/tracers still uses duktape, so we are currently dependent on three
different JS interpreters. We're looking to replace the remaining uses of otto
soon though.
2023-11-02 00:43:55 +08:00