Daniel Liu
4e951ed8fe
all: use github.com/deckarep/golang-set/v2 (generic set) ( #26159 )
2025-01-24 16:54:11 +08:00
Daniel Liu
6ec35b9644
all: get rid of custom MaxUint64 and MaxUint64 ( #30636 )
2024-12-28 09:06:31 +08:00
Daniel Liu
49b5886150
rpc: fix ns/µs mismatch in metrics ( #28649 )
...
The rpc/duration/all meter was in nanoseconds, the individual meter in microseconds.
This PR changes it so both of them use nanoseconds.
2024-12-13 14:00:13 +08:00
Daniel Liu
54570300cc
all: ensure resp.body closed ( #26969 )
2024-12-13 14:00:13 +08:00
Daniel Liu
2e34afe400
rpc: swap out timer metrics to histograms ( #25044 )
2024-12-13 14:00:12 +08:00
Daniel Liu
d55dca04b5
all: use http package to replace http method names (26535)
2024-12-05 10:59:42 +08:00
Daniel Liu
b76438aafe
node: allow WebSocket and HTTP work on same port ( #20810 )
2024-11-13 09:35:41 +08:00
Daniel Liu
57e5f5ec58
rpc: not log error if user configures --rpcapi=rpc ( #20776 )
2024-11-13 09:35:41 +08:00
Daniel Liu
fd2b21702c
rpc: remove startup error for invalid modules, log it instead ( #20684 )
2024-11-13 09:35:41 +08:00
Daniel Liu
3f1b7d3a7b
rpc: check module availability at startup ( #20597 )
2024-11-13 09:35:41 +08:00
Daniel Liu
97a5ff616b
rpc: Make HTTP server timeout values configurable ( #17240 )
2024-11-04 12:31:15 +08:00
Daniel Liu
56bce3983d
rpc: clean up IPC handler ( #16524 )
2024-11-04 12:31:15 +08:00
Daniel Liu
6b653a22ad
node: fix staticcheck warning SA1019: NewHTTPServer and NewWSServer are deprecated ( #16154 )
2024-11-04 12:31:15 +08:00
Daniel Liu
206175fb43
all: remove term whitelist in comments and log messages ( #23294 )
2024-11-01 11:36:52 +08:00
Daniel Liu
2844dbc5a9
rpc: fix staticcheck warning SA1029 by add PeerInfo ( #24255 )
2024-10-25 12:32:13 +08:00
JukLee0ira
2d89951e5b
all: use errrors.New instead of empty fmt.Errorf
2024-06-14 19:19:21 +08:00
JukLee0ira
d6737b69e6
rpc:remove package ethereum/go-ethereum
2024-05-13 19:51:50 +08:00
Daniel Liu
7bd39e6bf9
rpc: add http.TimeoutHandler for http server
2024-03-04 16:33:56 +08:00
Jianrong
7f0215195b
fix: update rpc module to include eth fix from #26064 and #26723
2024-01-20 12:21:48 +11:00
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 ( #397 )
...
* replace deprecated ioutil lib calls
* fix for FileInfo type required
* fix for ioutil.Discard
* fix .Discard
* fix for go-bindata generated files
2024-01-19 15:05:03 +04:00
Daniel Liu
6f06a5638b
add flag rpcwritetimeout for rpc http server ( #358 )
2023-11-27 22:48:56 +08:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos ( #349 )
2023-11-06 15:37:14 +11:00
Liam
9552500335
xdpos API getV2Block ( #227 )
2023-03-05 02:17:46 +08:00
span14
c637c7b915
fix switch case issue
2023-01-30 22:22:57 -05:00
span14
abb0dcc48b
add confirmed loopup
2023-01-30 22:22:57 -05: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
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
AnilChinchawale
d3963c816b
Enable RPC Endpoint.
2020-03-27 22:24:51 +05:30
parmarrushabh
3e5f4d54a8
Hot_Fix Bad block Error
2019-04-25 12:11:30 +05:30
AnilChinchawale
951ca28d08
fixed params/config.go
2019-03-25 12:47:22 +05:30
AnilChinchawale
22732d57fb
Minor Changes added
2019-03-12 15:57:12 +05:30
AnilChinchawale
aa6b2e0323
Enable SendTransaction over RPC.
2019-03-10 15:54:37 +05:30
parmarrushabh
1b13b3a305
hot fix
2019-02-24 17:40:26 +05:30
parmarrushabh
a479343cc7
Implement api eth.getCandidateStatus
2019-02-14 14:59:37 +05:30
AnilChinchawale
107d2837f9
Server RPC updated
2019-02-08 04:52:36 +05:30
Martin Alex Philip Dawson
b025053ab0
rpc: Warn the user when the path name is too long for the Unix ipc endpoint ( #18330 )
2019-01-02 17:33:17 +01:00
Martin Holst Swende
3796751efc
rpc: add application/json-rpc as accepted content type, fixes #18293 ( #18310 )
2018-12-14 11:08:11 +01:00
Franklin
3dba6a6d27
remove unrelated code
2018-11-28 22:42:07 +08:00
parmarrushabh
83aba3424e
fix empty log error
2018-11-24 17:43:24 +05:30
AnilChinchawale
299a93bc8a
fix empty log error
2018-11-22 12:49:50 +05:30
Franklin
21dd59bd04
.
2018-11-20 22:16:40 +08:00
Kenso Trabing
23de6197f9
rpc: fix package doc typo ( #18101 )
...
Changed "send" to "send," in two places
2018-11-14 12:21:52 +02:00
Kenso Trabing
698843b45f
rpc: fix example typo ( #18100 )
...
whishes --> wishes
2018-11-14 12:21:10 +02:00
AnilChinchwale
ed2859171a
Disable function send transaction with rpc
2018-10-30 18:33:50 +05:30
Dmitrij Koniajev
6a7695e367
ethdb, rpc: support building on js/wasm ( #17709 )
...
The changes allow building WebAssembly applications which use ethclient.Client.
2018-10-16 00:47:25 +02:00
Felix Lange
2e98631c5e
rpc: fix client shutdown hang when Close races with Unsubscribe ( #17894 )
...
Fixes #17837
2018-10-15 10:56:04 +02:00
Felix Lange
4e474c74dc
rpc: fix subscription corner case and speed up tests ( #17874 )
...
Notifier tracks whether subscription are 'active'. A subscription
becomes active when the subscription ID has been sent to the client. If
the client sends notifications in the request handler before the
subscription becomes active they are dropped. The tests tried to work
around this problem by always waiting 5s before sending the first
notification.
Fix it by buffering notifications until the subscription becomes active.
This speeds up all subscription tests.
Also fix TestSubscriptionMultipleNamespaces to wait for three messages
per subscription instead of six. The test now finishes just after all
notifications have been received and doesn't hit the 30s timeout anymore.
2018-10-09 16:34:24 +02:00
Martin Holst Swende
d3441ebb56
cmd/clef, signer: security fixes ( #17554 )
...
* signer: remove local path disclosure from extapi
* signer: show more data in cli ui
* rpc: make http server forward UA and Origin via Context
* signer, clef/core: ui changes + display UA and Origin
* signer: cliui - indicate less trust in remote headers, see https://github.com/ethereum/go-ethereum/issues/17637
* signer: prevent possibility swap KV-entries in aes_gcm storage, fixes #17635
* signer: remove ecrecover from external API
* signer,clef: default reject instead of warn + valideate new passwords. fixes #17632 and #17631
* signer: check calldata length even if no ABI signature is present
* signer: fix failing testcase
* clef: remove account import from external api
* signer: allow space in passwords, improve error messsage
* signer/storage: fix typos
2018-09-25 15:54:58 +02:00