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
HackyMiner
b66f793443
rpc: increase maxRequestContentLength size to 512kB ( #17595 )
2018-09-25 12:27:18 +02:00
Peter Broadhurst
c35659c6a0
rpc: enable basic auth for websocket client ( #17699 )
2018-09-19 18:09:03 +02:00
Gísli Kristjánsson
c9a0b36a5f
rpc: reset client write deadline after write ( #17549 )
...
This fixes an issue with websocket ping frame handling.
2018-09-03 16:56:30 +02:00
Jay
abbb219933
rpc: fix a subscription name ( #17345 )
2018-08-09 08:56:35 +03:00
Ryan Schneider
5d7e18539e
rpc: make HTTP RPC timeouts configurable, raise defaults ( #17240 )
...
* rpc: Make HTTP server timeout values configurable
* rpc: Remove flags for setting HTTP Timeouts, configuring via .toml is sufficient.
* rpc: Replace separate constants with a single default struct.
* rpc: Update HTTP Server Read and Write Timeouts to 30s.
* rpc: Remove redundant NewDefaultHTTPTimeouts function.
* rpc: document HTTPTimeouts.
* rpc: sanitize timeout values for library use
2018-07-31 12:16:14 +03:00
Wenbiao Zheng
68da9aa716
rpc: clean up check for missing methods/subscriptions on handler ( #17145 )
2018-07-24 02:00:55 +02:00
cong
8997efe31f
rpc: fix missing parentheses in doc ( #17224 )
2018-07-22 22:09:45 +03:00
Ralph Caraveo III
5d30be412b
all: switch out defunct set library to different one ( #16873 )
...
* keystore, ethash, eth, miner, rpc, whisperv6: tech debt with now defunct set.
* whisperv5: swap out gopkg.in/fatih/set.v0 with supported set
2018-07-16 10:54:19 +03:00
LeoLiao
dbae1dc7b3
rpc: fixed comment grammar issue ( #17146 )
2018-07-09 11:31:59 +03:00
Elad
1836366ac1
all: library changes for swarm-network-rewrite ( #16898 )
...
This commit adds all changes needed for the merge of swarm-network-rewrite.
The changes:
- build: increase linter timeout
- contracts/ens: export ensNode
- log: add Output method and enable fractional seconds in format
- metrics: relax test timeout
- p2p: reduced some log levels, updates to simulation packages
- rpc: increased maxClientSubscriptionBuffer to 20000
2018-06-14 11:21:17 +02:00
Péter Szilágyi
99483e85b9
rpc: support returning nil pointer big.Ints (null)
2018-06-11 13:56:22 +03:00
xincaosu
1d666cf27e
rpc: fix a comment typo ( #16929 )
2018-06-11 12:01:13 +03:00
Martin Holst Swende
17f80cc2e2
rpc: set timeouts for http server, see #16859
2018-06-04 11:41:55 +02:00
Ryan Schneider
c8dcb9584e
rpc: use HTTP request context as top-level context ( #16861 )
2018-06-02 12:26:47 +02:00
kiel barry
2ad511ce09
rpc: golint error with context as last parameter ( #16657 )
...
* rpc/*: golint error with context as last parameter
* Update json.go
2018-05-03 11:41:22 +03:00
Martin Holst Swende
8feb31825e
rpc: handle HTTP response error codes ( #16500 )
2018-04-19 15:32:43 +02:00
Wuxiang
8f8774cf6d
all: fix various typos ( #16533 )
...
* fix typo
* fix typo
* fix typo
2018-04-19 16:32:02 +03:00
Felix Lange
52b046c9b6
rpc: clean up IPC handler ( #16524 )
...
This avoids logging accept errors on shutdown and removes
a bit of duplication. It also fixes some goimports lint warnings.
2018-04-18 12:27:20 +02:00
Martin Holst Swende
ec3db0f56c
cmd/clef, signer: initial poc of the standalone signer ( #16154 )
...
* signer: introduce external signer command
* cmd/signer, rpc: Implement new signer. Add info about remote user to Context
* signer: refactored request/response, made use of urfave.cli
* cmd/signer: Use common flags
* cmd/signer: methods to validate calldata against abi
* cmd/signer: work on abi parser
* signer: add mutex around UI
* cmd/signer: add json 4byte directory, remove passwords from api
* cmd/signer: minor changes
* cmd/signer: Use ErrRequestDenied, enable lightkdf
* cmd/signer: implement tests
* cmd/signer: made possible for UI to modify tx parameters
* cmd/signer: refactors, removed channels in ui comms, added UI-api via stdin/out
* cmd/signer: Made lowercase json-definitions, added UI-signer test functionality
* cmd/signer: update documentation
* cmd/signer: fix bugs, improve abi detection, abi argument display
* cmd/signer: minor change in json format
* cmd/signer: rework json communication
* cmd/signer: implement mixcase addresses in API, fix json id bug
* cmd/signer: rename fromaccount, update pythonpoc with new json encoding format
* cmd/signer: make use of new abi interface
* signer: documentation
* signer/main: remove redundant option
* signer: implement audit logging
* signer: create package 'signer', minor changes
* common: add 0x-prefix to mixcaseaddress in json marshalling + validation
* signer, rules, storage: implement rules + ephemeral storage for signer rules
* signer: implement OnApprovedTx, change signing response (API BREAKAGE)
* signer: refactoring + documentation
* signer/rules: implement dispatching to next handler
* signer: docs
* signer/rules: hide json-conversion from users, ensure context is cleaned
* signer: docs
* signer: implement validation rules, change signature of call_info
* signer: fix log flaw with string pointer
* signer: implement custom 4byte databsae that saves submitted signatures
* signer/storage: implement aes-gcm-backed credential storage
* accounts: implement json unmarshalling of url
* signer: fix listresponse, fix gas->uint64
* node: make http/ipc start methods public
* signer: add ipc capability+review concerns
* accounts: correct docstring
* signer: address review concerns
* rpc: go fmt -s
* signer: review concerns+ baptize Clef
* signer,node: move Start-functions to separate file
* signer: formatting
2018-04-16 15:04:32 +03:00
Felix Lange
e9b5e22ad1
rpc: limit chunked requests ( #16343 )
2018-03-26 14:46:37 +03:00
Péter Szilágyi
555f42cfd8
rpc: enforce the 128KB request limits on websockets too
2018-03-13 13:55:26 +02:00
Janoš Guljaš
4535247793
rpc: set rpcRequest.service as methodNotFoundError.service value ( #16163 )
...
RPC Server readRequest method sets the serverRequest error service
value as the rpcRequest.method and this change sets it to the right
service value.
2018-02-22 18:39:28 +02:00