Yohan Graterol
0a94596b32
Initial commit for branch 1.8.12
2018-07-22 19:44:31 -05:00
Yohan Graterol
c2be3ad4b8
Merge pull request #17 from EthereumCommonwealth/upstream-1.8.11
...
Upstream 1.8.11
2018-07-22 19:16:20 -05:00
Yohan Graterol
9b418eecda
CLO 1.8.11
2018-07-22 18:52:43 -05:00
Yohan Graterol
da88aa729d
Remove eth/bind.go
2018-07-22 11:43:41 -05:00
Yohan Graterol
8da25b87bb
Change param/config.go
2018-07-22 11:27:57 -05:00
Yohan Graterol
9d45f599a1
Initial merge from 1.8.11 version
2018-07-22 11:02:24 -05:00
Yohan Graterol
3f0a37264c
Merge pull request #16 from EthereumCommonwealth/upstream-1.8.10
...
Upstream 1.8.10
2018-07-22 10:48:34 -05:00
Yohan Graterol
a240c198e3
Upstream upgrade to 1.8.10
2018-07-22 10:20:11 -05:00
Yohan Graterol
8bee2b3fce
Merge pull request #13 from EthereumCommonwealth/CLO/1.1
...
CLO upgrade / Geth 1.8.9
2018-06-14 15:36:23 -05:00
Yohan Graterol
27c8abe3e3
Fixed genesis alloc with the correct balance
2018-06-14 14:45:05 -05:00
Yohan Graterol
3f969e6a51
Testnet alloc with stake funds
2018-06-14 14:36:02 -05:00
williambannas
9402f96597
eth: conform better to the golint standards ( #16783 )
...
* eth: made changes to conform better to the golint standards
* eth: fix comment nit
2018-06-14 13:14:52 +03:00
kiel barry
d0fd8d6fc2
common: all golint warnings removed ( #16852 )
...
* common: all golint warnings removed
* common: fixups
2018-06-14 12:52:50 +03:00
Péter Szilágyi
cfde0b5f52
Merge pull request #16977 from karalabe/go-1.10.3
...
travis, appveyor: update to Go 1.10.3
2018-06-14 12:51:50 +03:00
Péter Szilágyi
de06185fc3
travis, appveyor: update to Go 1.10.3
2018-06-14 12:46:49 +03:00
Jeremy Schlatter
3fb5f3ae11
cmd/utils: fix NetworkId default when -dev is set ( #16833 )
...
Prior to this change, when geth was started with `geth -dev -rpc`,
it would report a network id of `1` in response to the `net_version` RPC
request. But the actual network id it used to verify transactions
was `1337`.
This change causes geth instead respond with `1337` to the `net_version`
RPC when geth is started with `geth -dev -rpc`.
2018-06-14 12:31:31 +03:00
knarfeh
e75d0a6e4c
eth/filters: make filterLogs func more readable ( #16920 )
2018-06-14 12:27:02 +03:00
Martin Holst Swende
947e0afeb3
core/vm: optimize MSTORE and SLOAD ( #16939 )
...
* vm/test: add tests+benchmarks for mstore
* core/vm: less alloc and copying for mstore
* core/vm: less allocs in sload
* vm: check for errors more correctly
2018-06-14 12:23:37 +03:00
Elad
1836366ac1
all: library changes for swarm-network-rewrite ( #16898 )
...
This commit adds all changes needed for the merge of swarm-network-rewrite.
The changes:
- build: increase linter timeout
- contracts/ens: export ensNode
- log: add Output method and enable fractional seconds in format
- metrics: relax test timeout
- p2p: reduced some log levels, updates to simulation packages
- rpc: increased maxClientSubscriptionBuffer to 20000
2018-06-14 11:21:17 +02:00
Armin Braun
591cef17d4
#15685 made peer_test.go more portable by using random free port instead of hardcoded port 30303 ( #15687 )
...
Improves test portability by resolving 127.0.0.1:0
to get a random free port instead of the hard coded one. Now
the test works if you have a running node on the same
interface already.
Fixes #15685
2018-06-14 10:54:00 +02:00
Caesar Chad
e33a5de454
console: correct some comments typo ( #16971 )
...
console/console: correct some comments typo
2018-06-14 11:35:20 +03:00
Caesar Chad
f04c0e341e
core/asm: correct comments typo ( #16975 )
...
core/asm/lexer: correct comments typo
2018-06-14 11:32:19 +03: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
Yohan Graterol
36625c38d4
Remove Invoke Ethash rewards in Clique
2018-06-11 20:42:36 -05:00
Yohan Graterol
3a7292d521
CLO tesnet 3.0 with PoA
2018-06-11 19:32:34 -05:00
Yohan Graterol
de282e041b
Fix conflict geth version
2018-06-11 18:04:39 -05: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