Commit Graph

12716 Commits

Author SHA1 Message Date
John.h
f124267144
eth/tracers: improve tracing performance (#23016) (#326)
* eth/tracers: improve tracing performance (#23016)

Improves the performance of debug.traceTransaction

* Update the import order

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: John.H <john.h@binance.com>
2021-07-29 17:08:41 +08:00
dylanhuang
7822e9e2a1
Merge pull request #324 from binance-chain/release_v1.1.0
Release v1.1.0 stable version
v1.1.0
2021-07-26 14:10:10 +08:00
j75689
7c2cca285b release v1.1.0 2021-07-26 12:51:46 +08:00
zjubfd
6ce2cef425
Merge pull request #282 from binance-chain/discord_link
[R4R]update discord link
2021-06-10 15:42:55 +08:00
fudongbai
1bde62fe87 update discord link 2021-06-10 14:00:06 +08:00
zjubfd
3a87f6256a
Merge pull request #280 from binance-chain/discord_link
[R4R]update discord link
2021-06-10 10:34:28 +08:00
fudongbai
72dfda0e88 update discord link 2021-06-10 10:19:17 +08:00
zjubfd
b67a129e5b
Merge pull request #227 from binance-chain/cache_write_policy
[R4R]use more aggressive write cache policy
2021-05-24 16:28:11 +08:00
fudongbai
571a317092 fix ungraceful shutdown issue 2021-05-19 11:46:46 +08:00
fudongbai
1f3e0606ee use more aggressive write cache policy 2021-05-17 19:32:39 +08:00
zjubfd
032970b2de
Merge pull request #152 from binance-chain/upgrade_1.10.2
[R4R] Upgrade to 1.10.3
v1.1.0-beta
2021-05-10 17:11:01 +08:00
fudongbai
3ab97c2a83 disable log of snap update 2021-05-10 17:10:11 +08:00
fudongbai
5a1338f93f change log to debug when gas limti exceet 25M 2021-05-10 16:31:58 +08:00
fudongbai
75447df58d update hardware requirement 2021-05-10 15:49:17 +08:00
yutianwu
9188475be1 update version 2021-05-10 15:27:05 +08:00
yutianwu
d33134439e fix conflicts 2021-05-08 10:27:56 +08:00
zjubfd
e3c241a049
Merge pull request #196 from binance-chain/release_v1.0.7-hf.2
[R4R]prepare release  v1.0.7-hf.2
v1.0.7-hf.2
2021-05-08 10:11:43 +08:00
fudongbai
ce7fc00b8a prepare release v1.0.7-hf.2 2021-05-08 08:36:37 +08:00
zjubfd
5cbe77fada
Merge pull request #194 from binance-chain/btcd_v0.20.1-beta
[R4R]bump btcd to v0.20.1-beta
2021-05-08 00:09:01 +08:00
fudongbai
1d0fe2a924 bump btcd to v0.20.1-beta 2021-05-08 00:04:14 +08:00
yutianwu
a4bb482a74 bump version to 1.1.0 2021-05-07 18:41:10 +08:00
zjubfd
60035da613
Merge pull request #192 from binance-chain/release_1.0.7-hf.1
[R4r]prepare for release v1.0.7-hf.1
v1.0.7-hf.1
2021-05-07 18:31:53 +08:00
fudongbai
552207ed9a prepare for release v1.0.7-hf.1 2021-05-07 18:00:29 +08:00
yutianwu
3ddedad500 fix comments 2021-05-07 14:31:06 +08:00
yutianwu
f3ad96d46a fix conflicts 2021-05-07 13:55:21 +08:00
zjubfd
8362792981
Merge pull request #191 from binance-chain/stuck_issue
[R4R]fix the reorg routine stuck issue
2021-05-07 11:32:00 +08:00
fudongbai
f7d69f2ac1 fix the reorg routine stuck issue 2021-05-07 11:04:31 +08:00
zjubfd
68bde410b7
Merge pull request #190 from binance-chain/disk_increase_fix
[R4R]fix disk increase dramaticly issue
2021-05-07 10:57:23 +08:00
fudongbai
744dfd61ad fix disk increase dramaticly issue 2021-05-07 10:48:48 +08:00
zjubfd
031607200a
Merge pull request #186 from binance-chain/upgrade_tmp
[R4R] make prune tool available
2021-05-06 12:00:34 +08:00
zjubfd
260518917a
Merge pull request #187 from binance-chain/upgrade_1.10.3
Upgrade 1.10.3
2021-05-06 11:56:26 +08:00
yutianwu
334b6adf14 fix conflicts 2021-05-06 09:26:06 +08:00
Felix Lange
991384a7f6 params: go-ethereum v1.10.3 stable 2021-05-05 13:20:06 +02:00
rene
0f3a1e7f9b
cmd/devp2p/internal/ethtest: send simultaneous requests on one connection (#22801)
This changes the SimultaneousRequests test to send the requests from the same
connection, as it doesn't really make sense to test whether a node can respond
to two requests with different request IDs from separate connections.
2021-05-05 12:27:27 +02:00
Felix Lange
41671d449f
build: fix windows installer build for NSIS v3.05 (#22821)
With the update to a newer AppVeyor build image, creating the Windows
installer no longer worked because of a string quoting error in EnvVarUpdate.nsh.

This applies the fix recommended in https://stackoverflow.com/questions/62081765.
2021-05-05 12:19:51 +02:00
Felix Lange
3a2b29c1ed
appveyor.yml: upgrade to VisualStudio 2019 image (#22811) 2021-05-04 23:39:09 +03:00
Felix Lange
973ad66b49
build: fix iOS framework build (#22813)
This fixes a regression introduced in #22804.
2021-05-04 21:45:45 +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
fudongbai
b37e445aa4 add disk layer as the last layer when prune 2021-05-04 23:52:15 +08:00
fudongbai
3d42dd1105 tolerate unindex tx light client 2021-05-04 21:23:46 +08:00
Felix Lange
effaf18523
build: improve cross compilation setup (#22804)
This PR cleans up the CI build system and fixes a couple of issues.

- The go tool launcher code has been moved to internal/build. With the new
  toolchain functions, the environment of the host Go (i.e. the one that built
  ci.go) and the target Go (i.e. the toolchain downloaded by -dlgo) are isolated
  more strictly. This is important to make cross compilation and -dlgo work
  correctly in more cases.
- The -dlgo option now skips the download and uses the host Go if the running Go
  version matches dlgoVersion exactly.
- The 'test' command now supports -dlgo, -cc and -arch. Running unit tests with
  foreign GOARCH is occasionally useful. For example, it can be used to run
  32-bit tests on Windows. It can also be used to run darwin/amd64 tests on
  darwin/arm64 using Rosetta 2.
- The 'aar', 'xcode' and 'xgo' commands now use a slightly different method to
  install external tools. They previously used `go get`, but this comes with the
  annoying side effect of modifying go.mod. They now use `go install` instead,
  which is the recommended way of installing tools without modifying the local
  module.
- The old build warning about outdated Go version has been removed because we're
  much better at keeping backwards compatibility now.
2021-05-04 13:01:20 +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
Péter Szilágyi
640d2c5e30
Merge pull request #22803 from karalabe/silence-scary-warning
eth: don't print db upgrade warning on db init
2021-05-04 10:54:25 +03:00
Péter Szilágyi
856c379626
eth: don't print db upgrade warning on db init 2021-05-03 15:42:43 +03:00
Péter Szilágyi
fc1c1cbea9
Merge pull request #22739 from holiman/remove_code
core: remove old conversion to shuffle leveldb blocks into ancients
2021-05-03 15:37:46 +03:00
Marius van der Wijden
8f94fc26e3
cmd/utils: don't crash on nonexistent datadir (#22738) 2021-05-03 15:29:05 +03:00
Felix Lange
afb097eda8
params: remove dependency on crypto (#22788)
* params: remove dependency on crypto

Package params should not depend on package crypto because building
crypto requires cgo.

Since build/ci.go needs package params to get the go-ethereum version
number, C code must be compiled in order to run the build tool, which is
annoying for certain cross-compilation setups.

* params: add SectionHead
2021-05-03 15:28:02 +03:00
aaronbuchwald
ca9c576e62
core/vm: fix interpreter comments (#22797)
* Fix interpreter comment

* Fix comment
2021-05-03 11:58:00 +03:00
Paweł Bylica
0e00ee42ec
core/vm: clean up contract creation error handling (#22766)
Do not keep separate flag for "max code size exceeded" case, but instead
assign appropriate error for it sooner.
2021-05-01 13:19:24 +02:00
rene
8ff98108e5
cmd/devp2p: fix flakey tests in CI (#22757)
This PR fixes a couple of issues in the eth test suite that caused flakiness when run in the CI.
2021-04-30 22:47:36 +02:00