- 10 Sep, 2021 1 commit
-
-
Péter Szilágyi authored
-
- 05 Jul, 2021 1 commit
-
-
Péter Szilágyi authored
-
- 26 May, 2021 1 commit
-
-
Mike Burr authored
Trivial but helpful to understanding.
-
- 25 May, 2021 1 commit
-
-
meowsbits authored
Fixes the case (example below) where the value passed to --ethstats flag would be parsed wrongly because the node name and/or password value contained the special characters '@' or ':' --ethstats "ETC Labs Metrics @meowsbits":mypass@ws://mordor.dash.fault.dev:3000
-
- 31 Mar, 2021 1 commit
-
-
Péter Szilágyi authored
-
- 30 Mar, 2021 1 commit
-
-
Marius van der Wijden authored
This fixes an issue where the ethstats service could crash if geth was started and then immediately stopped due to an internal error. The cause of the crash was a nil subscription being returned by the backend, because the background goroutine creating them was scheduled after the backend had already shut down. Moving the creation of subscriptions into the Start method, which runs synchronously during startup of the node, means the returned subscriptions can never be 'nil'. Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 14 Dec, 2020 1 commit
-
-
Péter Szilágyi authored
This commit splits the eth package, separating the handling of eth and snap protocols. It also includes the capability to run snap sync (https://github.com/ethereum/devp2p/blob/master/caps/snap.md) , but does not enable it by default. Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 10 Aug, 2020 1 commit
-
-
Péter Szilágyi authored
-
- 07 Aug, 2020 1 commit
-
-
Martin Holst Swende authored
-
- 04 Aug, 2020 1 commit
-
-
Martin Holst Swende authored
Fixes #21403
-
- 03 Aug, 2020 1 commit
-
-
rene authored
This PR significantly changes the APIs for instantiating Ethereum nodes in a Go program. The new APIs are not backwards-compatible, but we feel that this is made up for by the much simpler way of registering services on node.Node. You can find more information and rationale in the design document: https://gist.github.com/renaynay/5bec2de19fde66f4d04c535fd24f0775. There is also a new feature in Node's Go API: it is now possible to register arbitrary handlers on the user-facing HTTP server. In geth, this facility is used to enable GraphQL. There is a single minor change relevant for geth users in this PR: The GraphQL API is no longer available separately from the JSON-RPC HTTP server. If you want GraphQL, you need to enable it using the ./geth --http --graphql flag combination. The --graphql.port and --graphql.addr flags are no longer available.
-
- 20 Jul, 2020 1 commit
-
-
Péter Szilágyi authored
-
- 08 Jun, 2020 1 commit
-
-
ucwong authored
-
- 26 May, 2020 1 commit
-
-
Hao Duan authored
* ethstats: avoid blocking chan when received invalid stats request * ethstats: minor code polishes Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- 13 May, 2020 1 commit
-
-
Hao Duan authored
Co-authored-by:
Hao Duan <duan.hao@hyperchain.cn>
-
- 02 Apr, 2020 1 commit
-
-
ucwong authored
-
- 22 Jul, 2019 1 commit
-
-
Felix Lange authored
* 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
-
- 02 Apr, 2019 1 commit
-
-
Martin Holst Swende authored
* all: simplify timestamps to uint64 * tests: update definitions * clef, faucet, mobile: leftover uint64 fixups * ethash: fix tests * graphql: update schema for timestamp * ethash: remove unused variable
-
- 29 Jun, 2018 1 commit
-
-
kevin.xu authored
spell correction from `repors` to `reports`
-
- 30 May, 2018 1 commit
-
-
kiel barry authored
-
- 18 May, 2018 2 commits
-
-
Péter Szilágyi authored
-
rjl493456442 authored
-
- 09 May, 2018 1 commit
-
-
kiel barry authored
-
- 12 Jan, 2018 1 commit
-
-
Magicking authored
-
- 03 Jan, 2018 1 commit
-
-
Péter Szilágyi authored
-
- 28 Dec, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 12 Dec, 2017 1 commit
-
-
Zach authored
-
- 24 Oct, 2017 1 commit
-
-
Felföldi Zsolt authored
This PR implements the new LES protocol version extensions: * new and more efficient Merkle proofs reply format (when replying to a multiple Merkle proofs request, we just send a single set of trie nodes containing all necessary nodes) * BBT (BloomBitsTrie) works similarly to the existing CHT and contains the bloombits search data to speed up log searches * GetTxStatusMsg returns the inclusion position or the pending/queued/unknown state of a transaction referenced by hash * an optional signature of new block data (number/hash/td) can be included in AnnounceMsg to provide an option for "very light clients" (mobile/embedded devices) to skip expensive Ethash check and accept multiple signatures of somewhat trusted servers (still a lot better than trusting a single server completely and retrieving everything through RPC). The new client mode is not implemented in this PR, just the protocol extension.
-
- 18 Aug, 2017 1 commit
-
-
Miya Chen authored
-
- 07 Aug, 2017 1 commit
-
-
Egon Elbre authored
-
- 31 May, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 29 May, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 16 May, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 25 Apr, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 12 Apr, 2017 1 commit
-
-
Péter Szilágyi authored
* consensus, core, ethstats: use engine specific block beneficiary * core, eth, les, miner: use explicit beneficiary during mining
-
- 04 Apr, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 31 Mar, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 30 Mar, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 24 Mar, 2017 1 commit
-
-
Péter Szilágyi authored
-
- 20 Mar, 2017 1 commit
-
-
Péter Szilágyi authored
-