Péter Szilágyi
81ad8f665d
Merge pull request #15869 from Magicking/ethstats-reporting-fix
...
ethstats: Fix ethstats reporting while syncing
7 years ago
Magicking
90e5744d6f
ethstats: Fix ethstats reporting while syncing
7 years ago
Péter Szilágyi
3f40b22dac
Merge pull request #15863 from karalabe/light-miner-error
...
cmd/geth: user friendly light miner error
7 years ago
gluk256
fd869dc839
whisper/whisperv6: implement pow/bloom exchange protocol ( #15802 )
...
This is the main feature of v6.
7 years ago
Péter Szilágyi
bd0dbfa2a8
cmd/geth: user friendly light miner error
7 years ago
Ricardo Domingos
56152b31ac
common/fdlimit: Move fdlimit files to separate package ( #15850 )
...
* common/fdlimit: Move fdlimit files to separate package
When go-ethereum is used as a library the calling program need to set
the FD limit.
This commit extract fdlimit files to a separate package so it can be
used outside of go-ethereum.
* common/fdlimit: Remove FdLimit from functions signature
* common/fdlimit: Rename fdlimit functions
7 years ago
Jean-André Santoni
023769d9d4
travis.yml: remove alias for 'cd' to avoid hang on macOS ( #15849 )
...
This works around travis-ci/travis-ci#8703 .
7 years ago
Nick Johnson
b06e20bc7c
eth/gasprice: set default percentile to 60%, count blocks instead of transactions ( #15828 )
...
The first should address a long term issue where we recommend a gas
price that is greater than that required for 50% of transactions in
recent blocks, which can lead to gas price inflation as people take
this figure and add a margin to it, resulting in a positive feedback
loop.
7 years ago
gary rong
3a5a5599dd
consensus/ethash: fix byzantium difficulty comment typo ( #15842 )
7 years ago
Felföldi Zsolt
83d1657444
les: fix les/1 CHT compatibility issue ( #15692 )
7 years ago
Felix Lange
9d06026c19
all: regenerate codecs with gencodec commit 90983d99de ( #15830 )
...
Fixes #15777 because null is now allowed for hexutil.Bytes.
7 years ago
Felix Lange
5c2f1e0014
all: update generated code ( #15808 )
...
* core/types, core/vm, eth, tests: regenerate gencodec files
* Makefile: update devtools target
Install protoc-gen-go and print reminders about npm, solc and protoc.
Also switch to github.com/kevinburke/go-bindata because it's more
maintained.
* contracts/ens: update contracts and regenerate with solidity v0.4.19
The newer upstream version of the FIFSRegistrar contract doesn't set the
resolver anymore. The resolver is now deployed separately.
* contracts/release: regenerate with solidity v0.4.19
* contracts/chequebook: fix fallback and regenerate with solidity v0.4.19
The contract didn't have a fallback function, payments would be rejected
when compiled with newer solidity. References to 'mortal' and 'owned'
use the local file system so we can compile without network access.
* p2p/discv5: regenerate with recent stringer
* cmd/faucet: regenerate
* dashboard: regenerate
* eth/tracers: regenerate
* internal/jsre/deps: regenerate
* dashboard: avoid sed -i because it's not portable
* accounts/usbwallet/internal/trezor: fix go generate warnings
7 years ago
Russ Cox
a139041d40
dashboard: use balanced trees to include binary data ( #15813 )
...
* go-ethereum/dashboard: update assets.go
Use current rsc/go-bindata instead of jteeuwen/go-bindata, to get
balanced tree in very long string concatenations.
This works around problems in current Go distributions.
For golang/go#23222 .
* dashboard: run last two go:generate steps for linter
7 years ago
Felix Lange
1c2378b926
tests: update to upstream commit 2bb0c3da3b ( #15806 )
...
Also raise traceLimit once again and print the VM
error and output on failure.
7 years ago
Péter Szilágyi
ae71da1b03
eth: fix tracer panic when running without configs + reexec ( #15799 )
7 years ago
Evangelos Pappas
7a59a9380e
cmd/utils: handle git commit a bit safer for user specified strings ( #15790 )
...
* cmd/utils/flags.go: Applying a String len guard for the gitCommit param of the NewApp()
* cmd/utils: remove redundant clause in if condition
7 years ago
Péter Szilágyi
762f3a48a0
Merge pull request #15466 from karalabe/uint64-gas-limit
...
all: switch gas limits from big.Int to uint64
7 years ago
Felix Lange
b47285f1cf
vendor: update github.com/rjeczalik/notify ( #15801 )
7 years ago
Péter Szilágyi
6f69cdd109
all: switch gas limits from big.Int to uint64
7 years ago
Furkan KAMACI
b8caba9709
various: remove redundant parentheses ( #15793 )
7 years ago
Felix Lange
9d48dbf5c2
eth: revert tracer preimage recording ( #15800 )
...
This reverts commits 85a1eda59e
(#15792 ) and c495bca4ad
(#15787 )
because they introduce database writes during tracing.
7 years ago
Felix Lange
85a1eda59e
eth: uncaptialize tracer preimage error message ( #15792 )
...
* eth: uncaptialize tracer preimage error message
* eth: improve very important error message
7 years ago
Richard Hart
72e70bcec2
console: remove comment about 'invalid' input ( #15735 )
...
All inputs are saved into history, including 'invalid' inputs.
7 years ago
ferhat elmas
5866626b08
core, p2p/discv5: use time.NewTicker instead of time.Tick ( #15747 )
7 years ago
cdetrio
c495bca4ad
eth: enable preimage recording when tracing ( #15787 )
7 years ago
Péter Szilágyi
413cc5b0c8
cmd/geth: remove trailing newline in license command ( #15782 )
7 years ago
Péter Szilágyi
d2533d0efb
vendor: update github.com/rjeczalik/notify for go1.10 ( #15785 )
7 years ago
Péter Szilágyi
3e0113fff4
build: set CC through a command-line flag ( #15784 )
...
This avoids setting CC for the go run invocation, which fails on go1.10.
7 years ago
Péter Szilágyi
9c42a41ed8
eth/downloader: avoid hidden reference to finished statesync request ( #15545 )
7 years ago
Péter Szilágyi
2fe07c203e
build: fix version comparison for go1.10 and beyond ( #15781 )
7 years ago
Deepak Sharma
6882943e39
containers/docker: change docker images to go1.9 ( #15789 )
7 years ago
Péter Szilágyi
b98aa3b4f1
whisper/whisper2: fix Go 1.10 vet issues on type mismatches ( #15783 )
7 years ago
Alex Wu
6cd6b921ac
crypto: ensure private keys are < N ( #15745 )
...
Fixes #15744
7 years ago
sunxiaojun2014
908faf8cd7
consensus/ethash: fix overdue link ( #15786 )
7 years ago
Péter Szilágyi
b9731767af
accounts/abi: handle named ouputs prefixed with underscores ( #15766 )
...
* accounts/abi: handle named ouputs prefixed with underscores
* accounts/abi: handle collinding outputs for struct unpacks
* accounts: handle purely underscore output names
7 years ago
Anton Evangelatov
36a10875c8
p2p/enr: initial implementation ( #15585 )
...
Initial implementation of ENR according to ethereum/EIPs#778
7 years ago
Péter Szilágyi
f7ca03ae87
eth, les, light: expose chain config in les node info too ( #15732 )
7 years ago
Péter Szilágyi
c15d76a40f
p2p/discv5: fix reg lookup, polish code, use logger ( #15737 )
7 years ago
Sorin Neacsu
5369a5c54d
rpc: allow OPTIONS requests without Content-Type ( #15759 )
...
Fixes #15740
7 years ago
Martin Holst Swende
9d187f0238
Merge pull request #15731 from holiman/revamp_abi
...
accounts/abi refactor
7 years ago
Martin Holst Swende
c095c87e11
accounts/abi: merging of https://github.com/ethereum/go-ethereum/pull/15452 + lookup by id
7 years ago
Martin Holst Swende
73d4a57d47
acounts/abi: refactor abi, generalize abi pack/unpack to Arguments
7 years ago
gary rong
5f8888e116
accounts, consensus, core, eth: make chain maker consensus agnostic ( #15497 )
...
* accounts, consensus, core, eth: make chain maker consensus agnostic
* consensus, core: move CalcDifficulty to Engine interface
* consensus: add docs for calcDifficulty function
* consensus, core: minor comment fixups
7 years ago
Kurkó Mihály
9dbb8ef4aa
dashboard: integrate Flow, sketch message API ( #15713 )
...
* dashboard: minor design change
* dashboard: Flow integration, message API
* dashboard: minor polishes, exclude misspell linter
7 years ago
Péter Szilágyi
52f4d6dd78
Merge pull request #15730 from karalabe/puppeth-expose-faucet-http
...
cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
7 years ago
Péter Szilágyi
e4aa882ec5
cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
7 years ago
gluk256
38b1e8ee20
whisper/whisperv6: PoW requirement ( #15701 )
...
New Whisper-level message introduced (PoW requirement),
corresponding logic added, plus some tests.
7 years ago
Robert Zaremba
81d4cafb32
accounts/abi: add unpack into array test
7 years ago
Robert Zaremba
1afca33eac
accounts/abi: add Method Unpack tests
...
+ Reworked Method Unpack tests into more readable components
+ Added Method Unpack into slice test
7 years ago
Robert Zaremba
95461e8b22
accounts/abi: satisfy most of the linter warnings
...
+ adding missing comments
+ small cleanups which won't significantly change
function body.
+ unify Method receiver name
7 years ago