Daniel Liu
81ac9cfb7e
fix(core): fix genesis error in #2019 ( #2034 )
2026-02-10 12:22:17 +08:00
Wanwiset Peerapatanapokin
5340ce712c
all: make nodes publish coinbase address to stats server ( #1967 )
...
* allow customizable stats server parameters
* pass coinbase address to stats server
2026-02-05 18:59:00 +07:00
Daniel Liu
e34aea99f0
ethstats: use timer instead of time.After in loops #29241 ( #1454 )
2025-09-13 10:06:25 +08:00
Daniel Liu
48f93a8cc5
ethstats: prevent panic if head block is not available #29020 ( #1453 )
...
This pull request fixes a flaw in ethstats which can lead to node crash
A panic could happens when the local blockchain is reorging which causes the original head block not to be reachable (since number->hash canonical mapping is deleted). In order to prevent the panic, the block nilness is now checked in ethstats.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-09-13 10:05:07 +08:00
Daniel Liu
00970f929e
ethstats: fix bug in block reporting #28398 ( #1452 )
...
Fixes a bug where the ethstats omits to report full block contents. This bug was a side-effect of https://github.com/ethereum/go-ethereum/pull/26777 , where `CurrentBlock` was changed to return a header instead of a block, leading to a failed type assertion.
Co-authored-by: kaliubuntu0206 <139627505+kaliubuntu0206@users.noreply.github.com>
2025-09-13 10:03:18 +08:00
Daniel Liu
ccaa69e8e9
ethstats: overwrite old errors #21428 ( #1444 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-09-13 09:55:20 +08:00
Daniel Liu
aee1bd3083
ethstats: fix reconnection issue, implement primus pings #21347 ( #1443 )
...
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-09-13 09:54:17 +08:00
Daniel Liu
58184f0212
ethstats: fix full node interface post 1559 #23159 ( #1451 )
2025-09-08 15:41:16 +08:00
Daniel Liu
84e19a7b7f
ethstats: set readlimit on ethstats server connection #26207 ( #1450 )
...
This prevents DoS when connected to a malicious ethstats server.
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-09-08 15:40:41 +08:00
Daniel Liu
1bd4eaab88
ethstats: fix function comments #25726 ( #1449 )
2025-09-08 15:40:07 +08:00
Daniel Liu
bf6011fc06
ethstats: fix typo in comment #22952 ( #1447 )
...
Trivial but helpful to understanding.
Co-authored-by: Mike Burr <mburr@nightmare.com>
2025-09-08 15:39:30 +08:00
Daniel Liu
c1e02cb232
ethstats: fix URL parser for '@' or ':' in node name/password #21640 ( #1446 )
...
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
Co-authored-by: meowsbits <b5c6@protonmail.com>
2025-09-08 15:38:54 +08:00
Daniel Liu
24a1f37892
ethstats: avoid creating subscriptions on background goroutine #22587 ( #1445 )
2025-09-08 15:38:18 +08:00
Daniel Liu
3d59a3930f
ethstats: use timer instead of time.Sleep #20924 #21404 ( #1442 )
...
* ethstats: use timer instead of time.Sleep #20924
* ethstats: avoid concurrent write on websocket, fixes #21403 #21404
2025-09-08 15:37:36 +08:00
Daniel Liu
0a1bcdcbff
ethstats: avoid blocking chan when received invalid stats request #21073 ( #1441 )
...
* ethstats: avoid blocking chan when received invalid stats request
* ethstats: minor code polishes
Co-authored-by: Hao Duan <duanhao0814@gmail.com>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-09-06 17:18:22 +08:00
Daniel Liu
65c7f4418f
ethstats: stop report ticker in each loop cycle #21071 ( #1440 )
...
Co-authored-by: Hao Duan <duanhao0814@gmail.com>
2025-09-06 17:17:40 +08:00
Daniel Liu
3032fb1fca
ethstats: fix comment typo #17102 ( #1439 )
2025-09-06 17:17:03 +08:00
Daniel Liu
04f6f697c9
ethstats: fix golint warning #16837 ( #1438 )
2025-09-06 17:16:29 +08:00
Daniel Liu
f852b21b44
ethstats: add missing Ticker.Stop call #20867 ( #1437 )
2025-09-06 17:15:52 +08:00
Daniel Liu
34020969ff
all: simplify timestamps to uint64 #19372 ( #1318 )
2025-08-08 10:33:37 +08:00
JukLee0ira
b1e08e6642
all: refactor package node #21105 ( #923 )
2025-04-10 18:52:49 +08:00
Daniel Liu
66e73ad32e
cmd, les: remove light client code ( #28586 )
2025-03-10 15:40:07 +08:00
Daniel Liu
240757a1ce
all: remove empty function SaveData()
2024-12-28 09:04:02 +08:00
Daniel Liu
02a59e8d84
all: replace strings.Replace with string.ReplaceAll ( #24835 )
2024-12-08 11:51:14 +08:00
Daniel Liu
012c4cb0fb
ethstats: fix full node interface post 1559 ( #23159 )
2024-11-01 11:36:52 +08:00
Daniel Liu
bfd1c0c9e0
core, eth, internal, les: RPC methods and fields for EIP 1559 ( #22964 )
2024-11-01 11:36:52 +08:00
Daniel Liu
1c9f1d8279
all: change TxPreEvent to TxsPreEvent ( #16720 )
2024-03-28 11:16:21 +08:00
Banana-J
b739db6a52
fix: add a error log when author not found for the block that will be emitted to ethstats ( #427 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-02-11 20:31:48 +11:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos ( #349 )
2023-11-06 15:37:14 +11:00
Jerome
4eea723717
Add API to get latest committed blockInfo, also send it via 'block' message type to stats server ( #113 )
2022-07-16 16:14:36 +10:00
Jerome
3ebaea1945
update forensics proof data structure to accomedate vote type ( #104 )
...
* update forensics proof data structure to accomedate vote type
* refactor log
* change blocknum type to uint64
* fix test
Co-authored-by: Liam Lai <liam.icheng.lai@gmail.com>
2022-06-29 23:58:18 +02:00
Jerome
7effc71547
allow forensics send msg to stats server ( #95 )
...
* allow forensics send msg to stats server
* add test for forensics reporting mechanism
2022-05-25 19:42:30 +10:00
olumuyiwadad
b5abbfed79
new EVM Upgrade
...
- Solidity Upgraded up to v0.8.0
- Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
571c41f891
FIx Bad block error.
2021-09-17 17:59:06 +05:30
AnilChinchawale
a8fc240b29
remove logs & add list of authorized signers
2020-12-30 18:00:37 +05:30
dev-vadim
dbe8c9d984
upgrade XDC.Network with v1.8.27.
2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036
upgrade codebase with ethereum:v1.8.13
2020-11-23 13:40:30 +05:30
Martin Holst Swende
af401d03a3
all: simplify timestamps to uint64 ( #19372 )
...
* 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
2019-04-08 12:00:42 +03:00
AnilChinchawale
c3c32ce113
Updated files.
2019-03-12 15:57:58 +05:30
AnilChinchawale
9210dd4a76
Updated ethstats for XinFin Network
2019-01-26 04:43:22 +05:30
AnilChinchawale
0b88144a17
correct peer on stats
2018-12-07 11:03:31 +05:30
parmmarrushabh
c15a26c57c
omit ethstats weird warning msg
2018-10-24 14:14:58 +05:30
kevin.xu
fdfd6d3c39
ethstats: comment minor correction ( #17102 )
...
spell correction from `repors` to `reports`
2018-06-29 15:15:38 +03:00
kiel barry
0ad32d3be7
ethstats: fix last golint warning ( #16837 )
2018-05-30 11:36:02 +03:00
Péter Szilágyi
49719e21bc
core, eth: minor txpool event cleanups
2018-05-18 12:08:24 +03:00
rjl493456442
a2e43d28d0
all: collate new transaction events together
2018-05-18 11:46:44 +03:00
kiel barry
4747aad160
eth: golint fixes to variable names ( #16711 )
2018-05-09 10:59:00 +03:00
Péter Szilágyi
81ad8f665d
Merge pull request #15869 from Magicking/ethstats-reporting-fix
...
ethstats: Fix ethstats reporting while syncing
2018-01-15 10:36:43 +02:00
Magicking
90e5744d6f
ethstats: Fix ethstats reporting while syncing
2018-01-12 18:30:38 +01:00
Péter Szilágyi
6f69cdd109
all: switch gas limits from big.Int to uint64
2018-01-03 14:45:35 +02:00