Shivam Sharma
4488927e1f
Connected chain2head protobuf
2021-12-02 12:28:26 +05:30
Arpit Temani
543170235d
merge conflicts
2021-11-23 11:55:41 +05:30
Sandeep Sreenath
983e32baf2
merged geth v1.10.10
2021-11-22 19:04:07 +05:30
Manav Darji
322e964233
added opentelemetry config, flags, and setup ( #235 )
...
* added opentelemetry config, flags, and setup
* modifications in opencollector flag and config
* bug fix
* modified error log
2021-11-17 09:47:04 +01:00
SHIVAM SHARMA
3b264e929a
Merge branch 'master' into main
2021-11-12 19:58:31 +05:30
Shivam Sharma
fc58176e80
Added Prometheus flag on bor-cli
2021-11-11 21:11:54 +05:30
Rajat Saxena
1cd6c844aa
Vendor protobuf and go extension issue PR ( #223 )
...
* Vendor protobuf and go extension issue PR
* Finalized the script
* Quick fix
2021-11-09 10:23:34 +01:00
Ferran Borreguero
7282cf9c25
Resolve merge
2021-10-25 14:05:03 +02:00
Ferran Borreguero
c9cc1412a2
Add config file
2021-10-25 13:54:10 +02:00
ferranbt
7225eec0f6
Finish flags
2021-10-17 16:26:25 +00:00
Felix Lange
f9d683b07f
go.mod: upgrade goja ( #23721 )
...
This update adds support for some more ES6 functionality, notably
arrow functions.
2021-10-13 14:42:00 +02:00
Felix Lange
57ff2dee06
go.mod: upgrade github.com/karalable/usb ( #23684 )
...
This update includes fixes for the *BSD build and go module vendoring.
2021-10-05 18:33:53 +02:00
Ferran Borreguero
74d384b6a4
Add account commands
2021-10-04 16:19:58 +02:00
Ferran Borreguero
a54cec4595
Initial spec for an alternative cli
2021-09-22 08:53:30 +02:00
Péter Szilágyi
e28f713ada
internal: support optional filter expression for debug.stacks ( #23605 )
...
* internal: support optional filter expression for debug.stacks
* internal/debug: fix string regexp
* internal/debug: support searching for line numbers too
2021-09-20 16:29:07 +03:00
Krishna Upadhyaya
adbd18f42c
fix: genesis alloc issue
2021-09-01 15:04:25 +05:30
Krishna Upadhyaya
a49bc2172a
Merge remote-tracking branch 'go-ethereum/master' into krishna/header-hash-fix
2021-08-28 12:50:40 +05:30
ucwong
fe2f153b55
go.mod: update goleveldb ( #23417 )
2021-08-24 22:02:46 +03:00
Arpit Temani
7e76e9f27c
Merge tag 'v1.10.8' of github.com:ethereum/go-ethereum into arpit/v1.10.8-upgrade
2021-08-24 12:56:59 +05:30
ucwong
dfeb2f7e80
go.mod: upgrade golang.org/x/sys for go1.17 support ( #23406 )
2021-08-23 13:45:16 +02:00
Arpit Temani
b27dca6bbf
merge v1.10.7
2021-08-19 15:56:13 +05:30
jwasinger
6902485767
cmd, metrics: add support for influxdb-v2 (cherry-picking from italoacasas' changes), leave existing support for v1 to maintain backwards-compatibility. ( #23194 )
...
This PR adds flag to enable InfluxDB v2 (--metrics.influxdbv2), flags for v2-specific features (--metrics.influxdb.token, --metrics.influxdb.bucket), also carries over addition of support for specifying organization (--metrics.influxdb.organization), but still retains backwards compatibility with InfluxDB v1.
2021-08-17 18:40:14 +02:00
Sina Mahmoodi
b157bae2c9
go.mod: bump golang.org/x/text to v0.3.6 ( #23291 )
2021-07-29 15:20:45 +02:00
ucwong
64a5e125c5
go.mod: upgrade to goupnp v1.0.2 ( #23197 )
2021-07-29 15:20:15 +02:00
ucwong
3212fb6838
go.mod: update UPNP dependency ( #23116 )
2021-07-01 14:21:54 +03:00
ucwong
ddeeb89c03
go.mod: upgrade to fastcache v1.6.0 ( #22982 )
2021-06-08 10:39:05 +02:00
Jaynti Kanani
638e829b04
update: merge v1.10.3
2021-05-25 14:20:38 +04:00
Martin Holst Swende
ae5fcdc67f
go.mod: upgrade to github.com/holiman/uint256 v1.2.0 ( #22745 )
2021-05-10 12:29:33 +02:00
Felix Lange
d107f90d1c
go.mod: go mod tidy ( #22814 )
...
This updates go.mod for the addition of golang.org/x/sync.
2021-05-04 21:45:21 +02:00
Felix Lange
b8040a430e
cmd/utils: use eth DNS tree for snap discovery ( #22808 )
...
This removes auto-configuration of the snap.*.ethdisco.net DNS discovery tree.
Since measurements have shown that > 75% of nodes in all.*.ethdisco.net support
snap, we have decided to retire the dedicated index for snap and just use the eth
tree instead.
The dial iterators of eth and snap now use the same DNS tree in the default configuration,
so both iterators should use the same DNS discovery client instance. This ensures that
the record cache and rate limit are shared. Records will not be requested multiple times.
While testing the change, I noticed that duplicate DNS requests do happen even
when the client instance is shared. This is because the two iterators request the tree
root, link tree root, and first levels of the tree in lockstep. To avoid this problem, the
change also adds a singleflight.Group instance in the client. When one iterator
attempts to resolve an entry which is already being resolved, the singleflight object
waits for the existing resolve call to finish and returns the entry to both places.
2021-05-04 11:29:32 +02:00
Gautam Botrel
9e5bb84c0e
tests/fuzzers: crypto/bn256 and crypto/bls12381 tests against gnark-crypto ( #22755 )
...
Add more cross-fuzzers to fuzz bls with gnark versus geth's own bls12-381 library
2021-04-28 12:04:25 +02:00
Guillaume Ballet
beee6b77a0
go.mod: upgrade gopsutils to v3.21.4 ( #22693 )
...
This fixes the OpenBSD/arm64 build.
2021-04-20 10:54:41 +02:00
Felix Lange
27056f62e5
cmd/devp2p: update to newer cloudflare API client ( #22588 )
...
This upgrades the cloudflare client dependency to v0.14.0. The new
version changes the API because all methods now require a context
parameter. This change also reduces the log level of the 'Skipping...'
message to debug, following a similar change in the AWS deployer.
2021-03-26 23:15:20 +02:00
Quest Henkart
e3a3f7cd64
cmd/devp2p: use AWS-SDK v2 ( #22360 )
...
This updates the DNS deployer to use AWS SDK v2. Migration is relatively
seamless, although there were two locations that required a slightly
different approach to achieve the same results. In particular, waiting for
DNS change propagation is very different with SDK v2.
This change also optimizes DNS updates by publishing all changes before
waiting for propagation.
2021-03-19 13:15:57 +01:00
ucwong
345890a558
go.mod: upgrade goupnp to commit 0ca76305 ( #22479 )
...
This pulls in a fix to skip the broadcast on interfaces which are down.
2021-03-19 12:03:33 +01:00
ucwong
a90861ae0c
go.mod: upgrade goleveldb to commit 64b5b1c ( #22436 )
...
This pulls in a fix for a corruption issue when the process crashes
while a new manifest file is being added.
2021-03-19 11:58:12 +01:00
Jaynti Kanani
26ad897916
chg: update geth to v1.10.1
2021-03-09 17:06:18 +05:30
Marius van der Wijden
3822b09904
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>
2021-02-26 15:28:34 +01:00
gary rong
f566dd305e
all: bloom-filter based pruning mechanism ( #21724 )
...
* cmd, core, tests: initial state pruner
core: fix db inspector
cmd/geth: add verify-state
cmd/geth: add verification tool
core/rawdb: implement flatdb
cmd, core: fix rebase
core/state: use new contract code layout
core/state/pruner: avoid deleting genesis state
cmd/geth: add helper function
core, cmd: fix extract genesis
core: minor fixes
contracts: remove useless
core/state/snapshot: plugin stacktrie
core: polish
core/state/snapshot: iterate storage concurrently
core/state/snapshot: fix iteration
core: add comments
core/state/snapshot: polish code
core/state: polish
core/state/snapshot: rebase
core/rawdb: add comments
core/rawdb: fix tests
core/rawdb: improve tests
core/state/snapshot: fix concurrent iteration
core/state: run pruning during the recovery
core, trie: implement martin's idea
core, eth: delete flatdb and polish pruner
trie: fix import
core/state/pruner: add log
core/state/pruner: fix issues
core/state/pruner: don't read back
core/state/pruner: fix contract code write
core/state/pruner: check root node presence
cmd, core: polish log
core/state: use HEAD-127 as the target
core/state/snapshot: improve tests
cmd/geth: fix verification tool
cmd/geth: use HEAD as the verification default target
all: replace the bloomfilter with martin's fork
cmd, core: polish code
core, cmd: forcibly delete state root
core/state/pruner: add hash64
core/state/pruner: fix blacklist
core/state: remove blacklist
cmd, core: delete trie clean cache before pruning
cmd, core: fix lint
cmd, core: fix rebase
core/state: fix the special case for clique networks
core/state/snapshot: remove useless code
core/state/pruner: capping the snapshot after pruning
cmd, core, eth: fixes
core/rawdb: update db inspector
cmd/geth: polish code
core/state/pruner: fsync bloom filter
cmd, core: print warning log
core/state/pruner: adjust the parameters for bloom filter
cmd, core: create the bloom filter by size
core: polish
core/state/pruner: sanitize invalid bloomfilter size
cmd: address comments
cmd/geth: address comments
cmd/geth: address comment
core/state/pruner: address comments
core/state/pruner: rename homedir to datadir
cmd, core: address comments
core/state/pruner: address comment
core/state: address comments
core, cmd, tests: address comments
core: address comments
core/state/pruner: release the iterator after each commit
core/state/pruner: improve pruner
cmd, core: adjust bloom paramters
core/state/pruner: fix lint
core/state/pruner: fix tests
core: fix rebase
core/state/pruner: remove atomic rename
core/state/pruner: address comments
all: run go mod tidy
core/state/pruner: avoid false-positive for the middle state roots
core/state/pruner: add checks for middle roots
cmd/geth: replace crit with error
* core/state/pruner: fix lint
* core: drop legacy bloom filter
* core/state/snapshot: improve pruner
* core/state/snapshot: polish concurrent logs to report ETA vs. hashes
* core/state/pruner: add progress report for pruning and compaction too
* core: fix snapshot test API
* core/state: fix some pruning logs
* core/state/pruner: support recovering from bloom flush fail
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2021-02-08 13:16:30 +02:00
Marius van der Wijden
54735a6723
fuzzers: added consensys/gurvy library to bn256 differential fuzzer ( #21812 )
...
This pr adds consensys' gurvy bn256 variant into the code for differential fuzzing.
2021-02-03 15:04:28 +01:00
rene
4eae0c6b6f
cmd/geth, node: allow configuring JSON-RPC on custom path prefix ( #22184 )
...
This change allows users to set a custom path prefix on which to mount the http-rpc
or ws-rpc handlers via the new flags --http.rpcprefix and --ws.rpcprefix.
Fixes #21826
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-02-02 10:05:46 +01:00
Felix Lange
ad038b6289
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>
2021-01-26 16:01:13 +01:00
ucwong
59a79137b9
go.mod: upgrade github.com/huin/goupnp ( #22227 )
...
This updates the goupnp dependency, fixing huin/goupnp#33
2021-01-25 12:46:09 +01:00
Marius van der Wijden
1770fe718a
go.mod: update dependencies ( #22216 )
...
This updates go module dependencies as discussed in #22050 .
2021-01-25 10:42:07 +01:00
Felix Lange
f26c19cbcd
common/mclock: remove dependency on github.com/aristanetworks/goarista ( #22211 )
...
It takes three lines of code to get to runtime.nanotime, no need to
pull a dependency for that.
2021-01-22 20:15:27 +01:00
ucwong
7da8f75d5b
go.mod: upgrade golang-lru ( #22134 )
2021-01-20 19:34:21 +01:00
Martin Holst Swende
93a89b2681
go.mod: use github.com/holiman/bloomfilter/v2 ( #22044 )
...
* deps: use improved bloom filter implementation
* eth/handler, trie: use 4 keys for syncbloom + minor fixes
* eth/protocols, trie: revert change on syncbloom method signature
2021-01-12 17:39:31 +01:00
Anjan Roy
ebb70db232
chg: upgraded all dependencies to newer version
2020-12-08 11:42:49 +05:30
Jaynti Kanani
81e357920d
fix: conflict
2020-12-05 19:57:46 +05:30
Martin Holst Swende
0b2f1446bb
go.mod: update github.com/golang/snappy( #21934 )
...
This updates the snappy library depency to include a fix for
a Go 1.16 incompatibility issue.
2020-12-02 16:42:38 +01:00