Tyler Ferrara
389bd75142
travis: isolate linter and tests jobs ( #19883 )
2019-07-25 08:51:31 +03:00
Péter Szilágyi
08e5cd94a9
params: begin Geth v1.9.2 release cycle
2019-07-24 09:44:37 +03:00
Péter Szilágyi
b7b2f60f86
params: release Geth v1.9.1
v1.9.1
2019-07-24 09:41:48 +03:00
gary rong
530f78e22d
eth, internal, les: add getHeaderBy* APIs ( #19669 )
...
* eth, interal, les: add getHeaderBy* APIs
* internal: address the comment
* eth, internal, les: getHeader nits, missing TD, console callable
2019-07-23 16:52:24 +03:00
Alexander van der Meij
57d9c93dcd
vendor, internal/build: fix OpenBSD by bumping Azure libs ( #17966 )
...
* bump azure-storage-blob-go dependency to 0.3.0 release
* update azure-storage-blob-go module import path
* fix multiple return values on azblob.NewSharedKeyCredential
* vendor: bump Azure libs to latest from upstream
2019-07-23 15:06:44 +03:00
Péter Szilágyi
4f56790efc
signer/fourbytes: fix up error messages ( #19877 )
2019-07-23 13:06:31 +03:00
Péter Szilágyi
78ab411aac
Merge pull request #19875 from karalabe/dev-4gb-cache
...
cmd/geth: skip 4GB memory bump for devnet
2019-07-23 12:54:20 +03:00
gary rong
f08eb04896
les: get rid of testing tx journal ( #19876 )
2019-07-23 12:53:35 +03:00
wbt
3b96c17fc1
cmd/faucet: add grace period to faucet timeout ( #18105 )
...
* Add 5 minute grace period to faucet timeout
* cmd/faucet: make grace period dynamic based on original wait time
2019-07-23 12:52:41 +03:00
Péter Szilágyi
4ac941a9fc
cmd/geth: skip 4GB memory bump for devnet
2019-07-23 12:18:22 +03:00
gary rong
b80c840af3
core, les: fix les unit tests ( #19823 )
2019-07-22 15:45:40 +03:00
Christian Muehlhaeuser
a32a2b933a
cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments ( #19869 )
...
Fixed assigning values to variables we don't end up using.
2019-07-22 13:34:41 +03:00
Felix Lange
04e175b8ec
rpc: implement websockets with github.com/gorilla/websocket ( #19866 )
...
* rpc: implement websockets with github.com/gorilla/websocket
This change makes package rpc use the github.com/gorilla/websocket
package for WebSockets instead of golang.org/x/net/websocket. The new
library is more robust and supports all WebSocket features including
continuation frames.
There are new tests for two issues with the previously-used library:
- TestWebsocketClientPing checks handling of Ping frames.
- TestWebsocketLargeCall checks whether the request size limit is
applied correctly.
* rpc: raise HTTP/WebSocket request size limit to 5MB
* rpc: remove default origin for client connections
The client used to put the local hostname into the Origin header because
the server wanted an origin to accept the connection, but that's silly:
Origin is for browsers/websites. The nobody would whitelist a particular
hostname.
Now that the server doesn't need Origin anymore, don't bother setting
one for clients. Users who need an origin can use DialWebsocket to
create a client with arbitrary origin if needed.
* vendor: put golang.org/x/net/websocket back
* rpc: don't set Origin header for empty (default) origin
* rpc: add HTTP status code to handshake error
This makes it easier to debug failing connections.
* ethstats: use github.com/gorilla/websocket
* rpc: fix lint
2019-07-22 13:22:39 +03:00
Péter Szilágyi
e8141e1685
Merge pull request #19873 from karalabe/author-1.9.1
...
all: update author list and licenses
2019-07-22 12:57:54 +03:00
Péter Szilágyi
82985075f7
Merge pull request #19872 from karalabe/cht-1.9.1
...
params: bump hard-coded CHTs to 22nd July values
2019-07-22 12:45:33 +03:00
Péter Szilágyi
b973eddd28
build: deduplicate same authors with different casing
2019-07-22 12:31:11 +03:00
Péter Szilágyi
1a83114c74
all: update author list and licenses
2019-07-22 12:17:27 +03:00
Péter Szilágyi
364e485e51
build: update license exclusions, case insensitive author list
2019-07-22 12:16:51 +03:00
Péter Szilágyi
28fea9c5af
params: bump hard-coded CHTs to 22nd July values
2019-07-22 11:26:07 +03:00
Christian Muehlhaeuser
57fc1d21e1
cmd/geth, core/rawdb: add missing error checks ( #19871 )
...
* Added missing error checks
Add error handling where we assign err a value, but don't check for it being nil.
* core/rawdb: tiny style nit
2019-07-22 10:51:13 +03:00
Kitten King
cc3ef1e4f4
cmd, crypto, eth, internals: fix Typos ( #19868 )
2019-07-22 10:34:33 +03:00
Christian Muehlhaeuser
5183483c53
core/state, p2p/discover, trie, whisper: avoid unnecessary conversions ( #19870 )
...
No need to convert these types.
2019-07-22 10:30:09 +03:00
Kurkó Mihály
a1f8549262
p2p: add ENR to PeerInfo ( #19816 )
2019-07-19 11:25:43 +02:00
Péter Szilágyi
e8c9579fb7
Merge pull request #19856 from karalabe/chaindb-property-fix
...
internal/ethapi: fix debug.chaindbProperty
2019-07-18 16:36:14 +03:00
Péter Szilágyi
433cb564e9
internal/ethapi: fix debug.chaindbProperty
2019-07-18 16:15:09 +03:00
Péter Szilágyi
8485f7cc7b
Merge pull request #19854 from karalabe/genesis-commit-check
...
core: check error before accessing potentially nil block
2019-07-18 16:03:36 +03:00
Péter Szilágyi
61a20cb56d
core: check error before accessing potentially nil block
2019-07-18 15:26:22 +03:00
Felix Lange
f088c650a5
all: replace t.Log(); t.FailNow() with t.Fatal() ( #19849 )
2019-07-18 15:21:24 +03:00
Guillaume Ballet
9466b9eec5
signer/core: fix reference issue in key derivation ( #19827 )
...
* signer/core: fix reference issue in key derivation
* Review feedback
2019-07-18 15:17:32 +03:00
大彬
4ac04ae0fe
all: replace fmt.Print* calls with t.Log* in tests ( #19670 )
2019-07-17 13:20:24 +02:00
gary rong
8f80cafa10
core: fix write concurrency in txpool ( #19835 )
...
* core: fix write coucurrency in txpool
* core: add rlock for pendingState read access
* core: address comments
2019-07-17 13:39:41 +03:00
David Chase
31a1f164d9
common/bitutil: use result of TestBytes to prevent dead code elimination ( #19846 )
...
Gollvm has very aggressive dead code elimination that completely
removes one of these two benchmarks. To prevent this, use the
result of the benchmark (a boolean), and to be "fair", make the
transformation to both benchmarks.
To be reliably assured of not removing the code, "use" means
assigning to an exported global. Non-exported globals and
//go:noinline functions are possibly subject to this optimization.
2019-07-17 10:23:43 +02:00
jwasinger
6bd896a97f
eth: add debug_accountRange ( #17438 )
...
This adds the debug_accountRange method which returns all accounts in
the state for a given block and transaction index.
2019-07-13 15:48:55 +02:00
cdetrio
49a7ee460e
eth: fix storageRangeAt for empty blocks ( #18076 )
2019-07-12 17:43:07 +02:00
gary rong
252150918c
cmd, eth: fix dump config issue ( #19825 )
...
* eth: fix error when dump config with nil checkpoint
* cmd/utils: ignore default datadir if it's already set.
2019-07-11 14:37:08 +03:00
Péter Szilágyi
72029f0f88
params: begin Geth v1.9.1 release cycle
2019-07-10 10:42:44 +03:00
Péter Szilágyi
52f2461774
params: release Geth v1.9.0
v1.9.0
2019-07-10 10:41:15 +03:00
Péter Szilágyi
54d0eeb494
Merge pull request #19818 from rjl493456442/encap-les
...
cmd: encapsulate les relative cli options
2019-07-10 09:29:14 +03:00
Péter Szilágyi
c705aac826
cmd, eth, les: make les flags conform to dotted style
2019-07-10 09:12:07 +03:00
rjl493456442
c6a9616cfd
cmd: encapsulate les relative cli options
2019-07-10 08:32:26 +03:00
Péter Szilágyi
8c4bc4f7ef
Merge pull request #19814 from karalabe/ulc-fixup
...
cmd, eth, les: fix up ultra light config integration
2019-07-10 08:31:35 +03:00
Péter Szilágyi
e970d60d37
Merge pull request #19815 from karalabe/go-1.12.7
...
appveyor: bump builder to Go 1.12.7
2019-07-09 21:04:31 +03:00
Péter Szilágyi
2808bc68b9
appveyor: bump builder to Go 1.12.7
2019-07-09 21:03:37 +03:00
Péter Szilágyi
213690cdfd
cmd, eth, les: fix up ultra light config integration
2019-07-09 20:34:42 +03:00
Sheldon
7527215a68
core/state: fix random test args ( #19255 )
2019-07-09 10:32:27 +02:00
Péter Szilágyi
8c249cb82f
Merge pull request #19810 from karalabe/txpool-noncer
...
core: kill off managed state, use own tiny noncer for txpool
2019-07-09 11:02:13 +03:00
Péter Szilágyi
a966425a1d
core: kill off managed state, use own tiny noncer for txpool
2019-07-09 10:42:09 +03:00
Péter Szilágyi
5873c01c3d
Merge pull request #19807 from karalabe/cht
...
params: bump all CHTs, deploy all checkpoint oracles
2019-07-09 02:19:49 +03:00
Péter Szilágyi
1bed5afd92
params: bump all CHTs, deploy all checkpoint oracles
2019-07-09 02:05:01 +03:00
gary rong
16e313699f
cmd/puppeth: integrate blockscout ( #18261 )
...
* cmd/puppeth: integrate blockscout
* cmd/puppeth: expose debug namespace for blockscout
* cmd/puppeth: fix dbdir
* cmd/puppeth: run explorer in archive mode
* cmd/puppeth: ensure node is synced
* cmd/puppeth: fix explorer docker alignment + drop unneeded exec
* cmd/puppeth: polish up config saving and reloading
* cmd/puppeth: check both web and p2p port for explorer service
2019-07-08 20:49:11 +03:00