Commit graph

12304 commits

Author SHA1 Message Date
Daniel Liu
9fee8a72eb metrics: disable CPU stats (gosigar) on iOS (#20816) 2024-12-13 14:00:12 +08:00
Daniel Liu
462999b381 metrics: fix issues reported by staticcheck (#20365) 2024-12-13 14:00:12 +08:00
Daniel Liu
332ac32bc5 metrics: not compare float numbers directly (#20219) 2024-12-13 14:00:12 +08:00
Daniel Liu
745640795a metrics: change links in README.md to https (#20182) 2024-12-13 14:00:11 +08:00
Daniel Liu
a4e113ca11 metrics: gather and export threads and goroutines (#19725) 2024-12-13 14:00:11 +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
a577c71944 metrics/prometheus: added prometheus metrics (#17077) 2024-12-13 14:00:11 +08:00
Daniel Liu
ed427a9426 metrics: fix expensive metrics flag processing (#19327) 2024-12-13 14:00:11 +08:00
Daniel Liu
db9487f1e8 core: split out detailed trie access metrics from insertion time (#19316) 2024-12-13 14:00:11 +08:00
Daniel Liu
1557746bcd metrics/influxdb: add a timeout to the InfluxDB HTTP client (#19250) 2024-12-13 14:00:11 +08:00
Daniel Liu
7608787b3c metrics: remove redundant type specifiers (#19090) 2024-12-13 14:00:11 +08:00
Daniel Liu
3e4583e7c4 cmd/utils: allow for multiple influxdb flags (#18520) 2024-12-13 14:00:11 +08:00
Daniel Liu
4202f23897 core: more detailed metrics for block processing (#18119) 2024-12-13 14:00:11 +08:00
Daniel Liu
01a5298273 metrics: added NewCounterForced (#17919) 2024-12-13 14:00:11 +08:00
Daniel Liu
61f5a888c3 metrics: add force option for metric system (#17667) 2024-12-13 14:00:11 +08:00
Daniel Liu
92a7b64961 metrics: export to InfluxDB (#16979) 2024-12-13 14:00:11 +08:00
Daniel Liu
23bc924585 internal/debug: start pprof server by new function StartPProf (#16532) 2024-12-13 14:00:11 +08:00
Daniel Liu
66da805ccd
Merge pull request #759 from gzliudan/fix_double_metrics
cmd/XDC: fix double metrics collect process issue
2024-12-13 13:56:26 +08:00
Daniel Liu
11b74151bd cmd/XDC: fix double metrics collect process issue 2024-12-13 13:56:09 +08:00
Wanwiset Peerapatanapokin
b794f6a849
recover devnet by increasing timeout (#760) 2024-12-12 20:28:46 -08:00
Daniel Liu
d4444878bc
Merge pull request #751 from gzliudan/upgrade-crypto
upgrade package crypto and support KZG cryptography
2024-12-09 18:42:26 +08:00
Daniel Liu
3fbbc9da9f crypto: fix typos in comments (#29186) 2024-12-09 17:49:00 +08:00
Daniel Liu
727855752c crypto: add support for blobs in eth_fillTransaction (#28839) 2024-12-09 17:49:00 +08:00
Daniel Liu
fabfcc7f6c crypto: fix docstring names (#28923) 2024-12-09 17:49:00 +08:00
Daniel Liu
cae53aa7fd crypto/kzg4844: add helpers for versioned blob hashes (#28827) 2024-12-09 17:49:00 +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
b5cc7e6fc0 crypto/blake2b: put architecture-dependent features behind build-tag (#28381)
This change to fixes a compilation-flaw on master, by putting architecture-specific functions behind corresponding build tags.
2024-12-09 17:49:00 +08:00
Daniel Liu
f7b6ad67a7 crypto, tests: update fuzzers to native go fuzzing (#28352) 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
247ebd6a6d crypto/kzg4844: do lazy init in all ckzg funcs (#27679)
* crypto/kzg4844: remove unnecessary init call & fix typo

* Fix kzg4844 tests/benchmarks

* Make init lazy & revert changes to tests
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
17c048092e tests/fuzzers/bn256: add PairingCheck fuzzer (#27252)
* tests/fuzzers/bn256: scale gnark result by constant

* tests/fuzzers/bn256: scale gnark result by constant
2024-12-09 17:49:00 +08:00
Daniel Liu
bd93c59bae crypto: replace noarg fmt.Errorf with errors.New (#27333) 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
797efe74af crypto: more linters and fix typo (#24783) 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
949fa6358e crypto/ecies: use AES-192 for curve P384 (#24139)
Using curve P384 for encryption causes the error "ecies: shared key params
are too big". Also, readme.md says curve P384 should use AES192 not AES256.

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2024-12-09 17:49:00 +08:00
Daniel Liu
146bc2be7b crypto: add go:build lines (#23468) 2024-12-09 17:49:00 +08:00
Daniel Liu
9dab065373 crypto: gofuzz build directives (#23137) 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
b1c719029c crypto: improve trie updates (#21047) 2024-12-09 17:49:00 +08:00
Daniel Liu
ddc5e618a7 crypto/bn256: fix bn256Mul fuzzer to not hang on large input (#21872)
* crypto/bn256: fix bn256Mul fuzzer to not hang on large input

* Update crypto/bn256/bn256_fuzz.go

Co-authored-by: ligi <ligi@ligi.de>

Co-authored-by: ligi <ligi@ligi.de>
2024-12-09 17:49:00 +08:00
Daniel Liu
a64e42463a crypto/bn256: refine comments according to #19577, #21595, and #21836 (#21847) 2024-12-09 17:49:00 +08:00
Daniel Liu
a2eb8553e8 crypto/bn256: better comments for u, P and Order (#21836) 2024-12-09 17:49:00 +08:00
Daniel Liu
f948466976 crypto: less allocations when hashing and tx handling (#21265) 2024-12-09 17:49:00 +08:00
Daniel Liu
ee303c9f3d crypto/ecies: improve concatKDF (#20836) 2024-12-09 17:48:59 +08:00
Daniel Liu
b2be754647 crypto/bn256: fix import line (#20723) 2024-12-09 17:48:59 +08:00