Michael Forney
9c81387bef
cmd/evm: remove surrounding whitespace in hex input code ( #20211 )
...
This way, the output of `evm compile` can be used directly in `evm
--codefile code.txt run`, without stripping the trailing newline first.
5 years ago
Guillaume Ballet
72617a0742
consensus: fix possessives in comments. ( #20209 )
5 years ago
Martin Holst Swende
db79143a13
clef: resolve windows pipes, fixes #20121 ( #20166 )
5 years ago
Piotr Dyraga
538f763fdc
accounts/abi/bind: take into account gas price during gas estimation ( #20189 )
...
The gas price was not passed to the `EstimateGas` function. As a result,
conditional execution paths depending on `tx.gasprice` could be not
correctly processed and we could get invalid gas estimates for contract
function calls.
5 years ago
gary rong
d4bb3798d8
miner: add generate and import unit test ( #20111 )
...
This PR adds a new unit test in miner package which will create some blocks from miner and then import into another chain. In this way, we can ensure all blocks generated by Geth miner obey consensus rules.
5 years ago
Marius Kjærstad
08953e42c1
metrics: change links in README.md to https ( #20182 )
5 years ago
Marius Kjærstad
b9299bbc46
dashboard: change links in README to https ( #20181 )
...
Changed http:// to https:// on links in dashboard/README.md
5 years ago
Marius Kjærstad
9a77065948
Changed http:// to https:// on links in log/README.md ( #20178 )
...
docs: change http to https on links in log/README.md
5 years ago
Jeffery Robert Walsh
a28093ced4
README: use new miner threads flag instead of legacy minerthreads flag ( #20165 )
5 years ago
Ross
d5b79e752e
p2p/simulations: add node properties support and utility functions ( #20060 )
5 years ago
Felix Lange
7300365956
p2p/dnsdisc: update to latest EIP-1459 spec ( #20168 )
...
This updates the DNS TXT record format to the latest
changes in ethereum/EIPs#2313 .
5 years ago
Martin Holst Swende
c476460cb2
params: check fork ordering when initializing new genesis, fixes #20136 ( #20169 )
...
prevent users from misconfiguring their nodes so that fork ordering is not preserved.
5 years ago
gary rong
028af3457d
cmd/utils: fix command line flag resolve ( #20167 )
...
In Geth, we have two sources for configuration:
(1) Config file
(2) Command line flag
Basically geth will first resolve config file and then overwrite
configs with command line flags.
This issue is: geth should only overwrite configs if flags are truly
set. So before we apply any flag to configs, `GlobalIsSet` check
is necessary.
5 years ago
Felix Lange
a73f3f4518
params: begin v1.9.7 release cycle
5 years ago
Felix Lange
bd05968077
params: release Geth v1.9.6 stable
5 years ago
Felix Lange
6e730915bd
les: add empty "les" ENR entry for servers ( #20145 )
5 years ago
Darrel Herbst
c713ea7c22
cmd/bootnode: fix exit behavior with -genkey ( #20110 )
5 years ago
Martin Holst Swende
7f5f62aaa0
tests: update test suite for istanbul ( #20082 )
...
* update tests for istanbul
* tests: updated blockchaintests, see https://github.com/ethereum/tests/issues/637
* tests: update again, hopefully fixed this time
* tests: skip time consuming, run legacy tests
* tests: update again
* build: disable long-running tests on travis
* tests: fix formatting nits
* tests: I hate github's editor
5 years ago
kikilass
b2f696e025
github: Added capital P ( #20139 )
5 years ago
Péter Szilágyi
62b43ee0d5
Merge pull request #20133 from karalabe/measure-subprotocol-traffic
...
p2p: measure subprotocol bandwidth usage
5 years ago
Péter Szilágyi
a2a60869c8
p2p: measure subprotocol bandwidth usage
5 years ago
gary rong
df89233b57
ethdb/leveldb: disable seek compaction ( #20130 )
...
* vendor: update leveldb
* ethdb/leveldb: disable seek compaction and add metrics
* vendor: udpate latest levledb
* ethdb/leveldb: fix typo
5 years ago
Martin Holst Swende
ead711779d
core: initialize current block/fastblock atomics to nil, fix #19286 ( #19352 )
5 years ago
zcheng9
2133f18f15
core/state: fix database leak and copy tests ( #19306 )
5 years ago
ywzqwwt
1a6ef5ae58
core/blockchain: remove block from futureBlocks on error ( #19763 )
5 years ago
Ryan Schneider
ad03d9801c
internal/ethapi: support block number or hash on state-related methods ( #19491 )
...
This change adds support for EIP-1898.
5 years ago
Lucas Hendren
62391ddbeb
tests/solidity: add contract to test every opcode ( #19283 )
...
Fixes #18210
5 years ago
Felix Lange
0568e81701
p2p/dnsdisc: add implementation of EIP-1459 ( #20094 )
...
This adds an implementation of node discovery via DNS TXT records to the
go-ethereum library. The implementation doesn't match EIP-1459 exactly,
the main difference being that this implementation uses separate merkle
trees for tree links and ENRs. The EIP will be updated to match p2p/dnsdisc.
To maintain DNS trees, cmd/devp2p provides a frontend for the p2p/dnsdisc
library. The new 'dns' subcommands can be used to create, sign and deploy DNS
discovery trees.
5 years ago
gary rong
32b07e8b1f
les: fix checkpoint sync ( #20120 )
5 years ago
Péter Szilágyi
aca39a6498
Merge pull request #20115 from holiman/minor_dashboard_fx
...
dashboard: log dashboard url
5 years ago
Martin Holst Swende
be500b57d2
dashboard: log host+port
5 years ago
Péter Szilágyi
a308f012ba
core/state: fix copy-commit-copy ( #20113 )
...
* core/state: revert noop finalise, fix copy-commit-copy
* core/state: reintroduce net sstore tracking, extend tests for it
5 years ago
Péter Szilágyi
311419c7d6
Merge pull request #20096 from skylenet/remove-ef-legacy-bootnodes
...
params: remove legacy bootnodes
5 years ago
Felix Lange
63b18027dc
params: start v1.9.6 release cycle
5 years ago
Felix Lange
a1c09b9387
params: release Geth v1.9.5 stable
5 years ago
gary rong
05347b3d98
core/state: fix state object deep copy ( #20100 )
...
deepCopy didn't copy pending storage updates, leading to the
creation of blocks with invalid state root.
5 years ago
Rafael Matias
75aec8a28d
params: remove legacy bootnodes
5 years ago
Péter Szilágyi
24ef83518c
params: start v1.9.5 release cycle
5 years ago
Péter Szilágyi
46891c12ab
params: release Geth v1.9.4 stable
5 years ago
Péter Szilágyi
c0010f0220
Merge pull request #20092 from karalabe/vendor-usb-bump
...
vendor: pull in USB Windows fixes
5 years ago
Péter Szilágyi
9f98628dc2
vendor: pull in USB Windows fixes
5 years ago
Péter Szilágyi
a6a14f6b71
Merge pull request #20090 from soc1c/s1-testnet-istanbul
...
params: activate Istanbul on Ropsten, Rinkeby and Görli
5 years ago
Péter Szilágyi
f9eb307216
core/forkid, params: fix tests, enable Istanbul on Rinkeby + testers
5 years ago
Péter Szilágyi
03c7d8fb31
Merge pull request #20091 from karalabe/cht-1.9.4
...
params: bump CHTs for the 1.9.4 release
5 years ago
Péter Szilágyi
2becb99583
params: bump CHTs for the 1.9.4 release
5 years ago
soc1c
ad380cd57f
params: activate Istanbul on Ropsten and Görli
5 years ago
Péter Szilágyi
7b32d2a470
Merge pull request #20085 from karalabe/txpool-api-fix
...
core: fix tx dedup return error count
5 years ago
Péter Szilágyi
f40ff23b7b
core: fix tx dedup return error count
5 years ago
Felföldi Zsolt
0ac9bbba6c
les: multiple server bugfixes ( #20079 )
...
* les: detailed relative cost metrics
* les: filter txpool relative request statistic
* les: initialize price factors
* les: increased connected bias to lower churn rate
* les: fixed clientPool.setLimits
* core: do not use mutex in GetAncestor
* les: bump factor db version again
* les: add metrics
* les, light: minor fixes
5 years ago
Péter Szilágyi
d4dce43bff
Merge pull request #20081 from karalabe/txpool-lockless-dedup
...
core: dedup known transactions without global lock, track metrics
5 years ago