Caesar Chad
f04c0e341e
core/asm: correct comments typo ( #16975 )
...
core/asm/lexer: correct comments typo
2018-06-14 11:32:19 +03:00
Zekun Shi
f9541a4125
update raft fix to 1.8.8
2018-06-14 12:12:20 +08:00
Samer Falah
4bfaedf312
Fixes eth.hashrate panic #393 ( #409 )
2018-06-14 11:40:11 +08:00
fixanoid
be5f90620c
quorum-maker master link
2018-06-14 11:40:07 +08:00
Samer Falah
cfa9c96b5f
Merge pull request #399 from jpmorganchase/private_state
...
validate input before calling evm
2018-06-14 11:40:03 +08:00
jpmsam
be8f2f8426
validate input before calling evm
2018-06-14 11:39:22 +08:00
Tomoaki Tsuzuki
9249ab3169
Feature/fix_some_tests ( #387 )
...
* same fix as ethereum/go-ethereum#15783
* Fix insufficient balance for transfer
* change chainId of QuorumTestChainConfig
2018-06-14 11:39:06 +08:00
Samer Falah
f3d1315269
Fixes eth.hashrate panic #393 ( #409 )
2018-06-13 16:48:16 -04:00
fixanoid
31598781f4
quorum-maker master link
2018-06-13 14:53:54 -04:00
Wenbiao Zheng
ea89f40f0d
eth/fetcher: fix annotation ( #16969 )
2018-06-13 17:02:28 +03:00
Ryan Schneider
1fc54d92ec
internal/web3ext: fix method name for enabling mutex profiling ( #16964 )
2018-06-13 14:10:20 +02:00
John C. Vernaleo
8c4a7fa8d3
core: change comment to match code more closely ( #16963 )
2018-06-13 10:14:15 +03:00
Péter Szilágyi
423d4254f5
VERSION, params: begin v1.8.12 release cycle
2018-06-12 17:04:17 +03:00
Péter Szilágyi
dea1ce052a
params: release go-ethereum v1.8.11
2018-06-12 17:02:14 +03:00
Felföldi Zsolt
25982375a8
les: fix retriever logic ( #16776 )
...
This PR fixes a retriever logic bug. When a peer had a soft timeout
and then a response arrived, it always assumed it was the same peer
even though it could have been a later requested one that did not time
out at all yet. In this case the logic went to an illegal state and
deadlocked, causing a goroutine leak.
Fixes #16243 and replaces #16359 .
Thanks to @riceke for finding the bug in the logic.
2018-06-12 15:58:47 +02:00
Felföldi Zsolt
049f5b3572
core, eth, les: more efficient hash-based header chain retrieval ( #16946 )
2018-06-12 16:52:54 +03:00
Felix Lange
0255951587
crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey ( #16932 )
...
ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in
case of invalid input. This change replaces ToECDSAPub with
UnmarshalPubkey across the codebase.
2018-06-12 15:26:08 +02:00
Péter Szilágyi
85cd64df0e
Merge pull request #16958 from karalabe/pending-account-fast
...
internal/ethapi: reduce pendingTransactions to O(txs+accs) from O(txs*accs)
2018-06-12 14:07:21 +03:00
Péter Szilágyi
9608ccf106
Merge pull request #16959 from karalabe/fix-linters
...
metrics: fix gofmt linter warnings
2018-06-12 14:04:59 +03:00
Péter Szilágyi
3f06da7b5f
metrics: fix gofmt linter warnings
2018-06-12 14:02:36 +03:00
Felföldi Zsolt
546d42179e
les: pass server pool to protocol manager ( #16947 )
2018-06-12 14:00:52 +03:00
Péter Szilágyi
90829a04bf
internal/ethapi: reduce pendingTransactions to O(txs+accs) from O(txs*accs)
2018-06-12 13:49:43 +03:00
Samer Falah
4f50e86827
Merge pull request #399 from jpmorganchase/private_state
...
validate input before calling evm
2018-06-11 14:12:52 -04:00
gary rong
f991995918
ethdb: gracefullly handle quit channel ( #16794 )
...
* ethdb: gratefullly handle quit channel
* ethdb: minor polish
2018-06-11 16:11:48 +03:00
Wenbiao Zheng
aab7ab04b0
core/rawdb: wrap db key creations ( #16914 )
...
* core/rawdb: use wrappered helper to assemble key
* core/rawdb: wrappered helper to assemble key
* core/rawdb: rewrite the wrapper, pass common.Hash
2018-06-11 16:06:26 +03:00
Péter Szilágyi
43b940ec5a
Merge pull request #16945 from karalabe/triedb-spurious-warning
...
trie: don't report the root flushlist as an alloc
2018-06-11 15:02:37 +03:00
Clayton Jacobs
b487bdf0ba
metrics: removed repetitive calculations ( #16944 )
2018-06-11 14:45:25 +03:00
Péter Szilágyi
a3267ed929
trie: don't report the root flushlist as an alloc
2018-06-11 14:32:13 +03:00
Péter Szilágyi
9f7592c802
Merge pull request #16942 from karalabe/rpc-nil-reply
...
rpc: support returning nil pointer big.Ints (null)
2018-06-11 13:58:17 +03:00
Péter Szilágyi
99483e85b9
rpc: support returning nil pointer big.Ints (null)
2018-06-11 13:56:22 +03:00
xincaosu
1d666cf27e
rpc: fix a comment typo ( #16929 )
2018-06-11 12:01:13 +03:00
Martin Holst Swende
eac16f9824
core: improve getBadBlocks to return full block rlp ( #16902 )
...
* core: improve getBadBlocks to return full block rlp
* core, eth, ethapi: changes to getBadBlocks formatting
* ethapi: address review concerns
2018-06-11 11:03:40 +03:00
Steven Roose
69c52bde3f
ethclient: fix RPC parse error of Parity response ( #16924 )
...
The error produced when using a Parity RPC was the following:
ERROR: transaction did not get mined: failed to get tx for txid 0xbdeb094b3278019383c8da148ff1cb5b5dbd61bf8731bc2310ac1b8ed0235226: json: cannot unmarshal non-string into Go struct field txExtraInfo.blockHash of type common.Hash
2018-06-11 10:41:09 +03:00
Felföldi Zsolt
2977538ac0
light: new CHTs for mainnet and ropsten ( #16926 )
2018-06-11 10:38:05 +03:00
Anton Evangelatov
7f0726f706
metrics: return an empty snapshot for NilResettingTimer ( #16930 )
2018-06-11 10:31:55 +03:00
Steven Roose
13af276418
cmd/ethkey: add command to change key passphrase ( #16516 )
...
This change introduces
ethkey changepassphrase <keyfile>
to change the passphrase of a key file.
2018-06-08 15:07:07 +02:00
jpmsam
7608c1c9b8
validate input before calling evm
2018-06-07 15:45:24 -04:00
Sarlor
ea06da0892
trie: avoid unnecessary slicing on shortnode decoding ( #16917 )
...
optimization code
2018-06-07 11:48:36 +03:00
ledgerwatch
feb6620c34
core: relax type requirement for bc in ApplyTransaction ( #16901 )
2018-06-07 10:34:24 +02:00
Bruno Škvorc
90b22773e9
cmd/puppeth: fixed a typo in a wizard input query ( #16910 )
2018-06-06 12:17:41 +03:00
Guillaume Ballet
9e4f96a1a6
whisper: re-insert #16757 that has been lost during a merge ( #16889 )
2018-06-05 16:25:16 +02:00
Péter Szilágyi
01a7e267dc
Merge pull request #16882 from karalabe/streaming-ecrecover
...
core: concurrent background transaction sender ecrecover
2018-06-05 17:13:43 +03:00
Felix Lange
e8ea5aa0d5
trie: reduce hasher allocations ( #16896 )
...
* trie: reduce hasher allocations
name old time/op new time/op delta
Hash-8 4.05µs ±12% 3.56µs ± 9% -12.13% (p=0.000 n=20+19)
name old alloc/op new alloc/op delta
Hash-8 1.30kB ± 0% 0.66kB ± 0% -49.15% (p=0.000 n=20+20)
name old allocs/op new allocs/op delta
Hash-8 11.0 ± 0% 8.0 ± 0% -27.27% (p=0.000 n=20+20)
* trie: bump initial buffer cap in hasher
2018-06-05 15:06:29 +03:00
Elad
5bee5d69d7
vendor: added vendor packages necessary for the swarm-network-rewrite merge ( #16792 )
...
* vendor: added vendor packages necessary for the swarm-network-rewrite merge into ethereum master
* vendor: removed multihash deps
2018-06-05 12:40:21 +02:00
kiel barry
cbfb40b0aa
params: fix golint warnings ( #16853 )
...
params: fix golint warnings
2018-06-05 12:31:34 +02:00
Antonio Salazar Cardozo
4cf2b4110e
cmd/abigen: support for reading solc output from stdin ( #16683 )
...
Allow the --abi flag to be given - to indicate that it should read the
ABI information from standard input. It expects to read the solc output
with the --combined-json flag providing bin, abi, userdoc, devdoc, and
metadata, and works very similarly to the internal invocation of solc,
except it allows external invocation of solc.
This facilitates integration with more complex solc invocations, such
as invocations that require path remapping or --allow-paths tweaks.
Simple usage example:
solc --combined-json bin,abi,userdoc,devdoc,metadata *.sol | abigen --abi -
2018-06-05 12:22:02 +02:00
Mark
0029a869f0
miner: not call commitNewWork if it's a side block ( #16751 )
2018-06-05 12:10:09 +02:00
Péter Szilágyi
2ab24a2a8f
core: concurrent background transaction sender ecrecover
2018-06-05 11:03:55 +03:00
Martin Holst Swende
400332b99d
eth/tracers: fix minor off-by-one error ( #16879 )
...
* tracing: fix minor off-by-one error
* tracers: go generate
2018-06-05 10:27:07 +03:00
Felföldi Zsolt
a5237a27ea
les: add Skip overflow check to GetBlockHeadersMsg handler ( #16891 )
2018-06-05 10:23:00 +03:00