Daniel Liu
d4f1b8a6dd
metrics: fix the panic for reading empty cpu stats ( #21864 )
2024-12-13 14:00:12 +08:00
Daniel Liu
bf4b42a551
metrics: zero temp variable in updateMeter ( #21470 )
...
* metrics: zero temp variable in updateMeter
Previously the temp variable was not updated properly after summing it to count.
This meant we had astronomically high metrics, now we zero out the temp whenever we
sum it onto the snapshot count
* metrics: move temp variable to be aligned, unit tests
Moves the temp variable in MeterSnapshot to be 64-bit aligned because of the atomic bug.
Adds a unit test, that catches the previous bug.
2024-12-13 14:00:12 +08:00
Daniel Liu
730960ff06
metrics: make meter updates lock-free ( #21446 )
2024-12-13 14:00:12 +08:00
Daniel Liu
3dee6675d2
metrics/exp: allow configuring metrics HTTP server on separate endpoint ( #21290 )
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
32f974cc7b
metrics/prometheus: define TYPE once, add tests ( #21068 )
...
* metrics/prometheus: define type once for histograms
* metrics/prometheus: test collector
2024-12-13 14:00:12 +08:00
Daniel Liu
c65d0cd947
cmd/XDC: enable metrics for geth import command ( #20738 )
2024-12-13 14:00:12 +08:00
Daniel Liu
1415bb6369
metrics: add missing calls to Ticker.Stop in tests ( #20866 )
2024-12-13 14:00:12 +08:00
Daniel Liu
47ce406a4a
metrics: make flawed test less flawed ( #20818 )
2024-12-13 14:00:12 +08:00
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