gary rong
e4232c153b
ineternal/ethapi: wrap block size with hex.Uint64 ( #19885 )
5 years ago
Tyler Ferrara
389bd75142
travis: isolate linter and tests jobs ( #19883 )
5 years ago
Péter Szilágyi
08e5cd94a9
params: begin Geth v1.9.2 release cycle
5 years ago
Péter Szilágyi
b7b2f60f86
params: release Geth v1.9.1
5 years ago
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
5 years ago
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
5 years ago
Péter Szilágyi
4f56790efc
signer/fourbytes: fix up error messages ( #19877 )
5 years ago
Péter Szilágyi
78ab411aac
Merge pull request #19875 from karalabe/dev-4gb-cache
...
cmd/geth: skip 4GB memory bump for devnet
5 years ago
gary rong
f08eb04896
les: get rid of testing tx journal ( #19876 )
5 years ago
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
5 years ago
Péter Szilágyi
4ac941a9fc
cmd/geth: skip 4GB memory bump for devnet
5 years ago
gary rong
b80c840af3
core, les: fix les unit tests ( #19823 )
5 years ago
Christian Muehlhaeuser
a32a2b933a
cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments ( #19869 )
...
Fixed assigning values to variables we don't end up using.
5 years ago
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
5 years ago
Péter Szilágyi
e8141e1685
Merge pull request #19873 from karalabe/author-1.9.1
...
all: update author list and licenses
5 years ago
Péter Szilágyi
82985075f7
Merge pull request #19872 from karalabe/cht-1.9.1
...
params: bump hard-coded CHTs to 22nd July values
5 years ago
Péter Szilágyi
b973eddd28
build: deduplicate same authors with different casing
5 years ago
Péter Szilágyi
1a83114c74
all: update author list and licenses
5 years ago
Péter Szilágyi
364e485e51
build: update license exclusions, case insensitive author list
5 years ago
Péter Szilágyi
28fea9c5af
params: bump hard-coded CHTs to 22nd July values
5 years ago
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
5 years ago
Kitten King
cc3ef1e4f4
cmd, crypto, eth, internals: fix Typos ( #19868 )
5 years ago
Christian Muehlhaeuser
5183483c53
core/state, p2p/discover, trie, whisper: avoid unnecessary conversions ( #19870 )
...
No need to convert these types.
5 years ago
Kurkó Mihály
a1f8549262
p2p: add ENR to PeerInfo ( #19816 )
5 years ago
Péter Szilágyi
e8c9579fb7
Merge pull request #19856 from karalabe/chaindb-property-fix
...
internal/ethapi: fix debug.chaindbProperty
5 years ago
Péter Szilágyi
433cb564e9
internal/ethapi: fix debug.chaindbProperty
5 years ago
Péter Szilágyi
8485f7cc7b
Merge pull request #19854 from karalabe/genesis-commit-check
...
core: check error before accessing potentially nil block
5 years ago
Péter Szilágyi
61a20cb56d
core: check error before accessing potentially nil block
5 years ago
Felix Lange
f088c650a5
all: replace t.Log(); t.FailNow() with t.Fatal() ( #19849 )
5 years ago
Guillaume Ballet
9466b9eec5
signer/core: fix reference issue in key derivation ( #19827 )
...
* signer/core: fix reference issue in key derivation
* Review feedback
5 years ago
大彬
4ac04ae0fe
all: replace fmt.Print* calls with t.Log* in tests ( #19670 )
5 years ago
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
5 years ago
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.
5 years ago
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.
5 years ago
cdetrio
49a7ee460e
eth: fix storageRangeAt for empty blocks ( #18076 )
5 years ago
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.
5 years ago
Péter Szilágyi
72029f0f88
params: begin Geth v1.9.1 release cycle
5 years ago
Péter Szilágyi
52f2461774
params: release Geth v1.9.0
5 years ago
Péter Szilágyi
54d0eeb494
Merge pull request #19818 from rjl493456442/encap-les
...
cmd: encapsulate les relative cli options
5 years ago
Péter Szilágyi
c705aac826
cmd, eth, les: make les flags conform to dotted style
5 years ago
rjl493456442
c6a9616cfd
cmd: encapsulate les relative cli options
5 years ago
Péter Szilágyi
8c4bc4f7ef
Merge pull request #19814 from karalabe/ulc-fixup
...
cmd, eth, les: fix up ultra light config integration
5 years ago
Péter Szilágyi
e970d60d37
Merge pull request #19815 from karalabe/go-1.12.7
...
appveyor: bump builder to Go 1.12.7
5 years ago
Péter Szilágyi
2808bc68b9
appveyor: bump builder to Go 1.12.7
5 years ago
Péter Szilágyi
213690cdfd
cmd, eth, les: fix up ultra light config integration
5 years ago
Sheldon
7527215a68
core/state: fix random test args ( #19255 )
5 years ago
Péter Szilágyi
8c249cb82f
Merge pull request #19810 from karalabe/txpool-noncer
...
core: kill off managed state, use own tiny noncer for txpool
5 years ago
Péter Szilágyi
a966425a1d
core: kill off managed state, use own tiny noncer for txpool
5 years ago
Péter Szilágyi
5873c01c3d
Merge pull request #19807 from karalabe/cht
...
params: bump all CHTs, deploy all checkpoint oracles
5 years ago
Péter Szilágyi
1bed5afd92
params: bump all CHTs, deploy all checkpoint oracles
5 years ago