-
Notifications
You must be signed in to change notification settings - Fork 690
RPC: add eth_getRawTransactionByBlockHashAndIndex & eth_getRawTransactionByBlockNumberAndIndex & eth_sendRawTransactionSync
#11521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
cced7aa
c5883ed
e43726b
56830f8
1b900b2
2515bd6
c6c4034
725c152
8c02ff8
e92f6d1
dfef1f7
c4532cd
de5bc70
073543f
1616975
dbfa03f
23b69d3
4b8e10c
c9a20a0
4e39068
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -75,4 +75,6 @@ public string[] EnabledModules | |
| public int FiltersTimeout { get; set; } = 900000; | ||
| public bool PreloadRpcModules { get; set; } | ||
| public bool StrictHexFormat { get; set; } = true; | ||
| public int RpcTxSyncDefaultTimeoutMs { get; set; } = 20_000; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need separate timeouts?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They seem to serve different purposes. Default is the no-arg UX (~1–2 block times so tx-not-included callers get fast feedback), Max is a server-side cap against clients passing huge timeouts and pinning workers, same split Geth uses for the same reason I believe ( |
||
| public int RpcTxSyncMaxTimeoutMs { get; set; } = 60_000; | ||
| }; | ||
Uh oh!
There was an error while loading. Please reload this page.