-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
RPC updates #263
RPC updates #263
Conversation
Before merging, we should consider rolling in websocket functionality into the rpc package, since the messages and responses should be the same and only the transport is different. |
@tgerring yes this is what we're doing in node-ethereum, http + websocket protocol adapters to a generic rpc handler |
…o chfast-pr/evmjit
…. in SHA3 calculation)
…o chfast-pr/evmjit
Both traditional HTTP and Websockets should be supported via the updated rpc package. Both transport methods can be started separately as so: |
Does the rpc via http handle CORS? |
Is there a specific requirement in terms of enforcing or ignoring CORS? In the linked PR, neither HTTP nor Websocket respect the Origin header. Public-facing integrations will likely want to use a robust proxy such as Apache or Nginx to enforce rate-limiting, etc.
|
@tgerring the browser requires some additional headers for CORS |
this is an awesome feature, but I suggest that it should be configurable and off by default, as it exposes the rpc to any website you visit. |
The browser requires it. The browser is useless without. You can configure it (on/off, port). We could add a feature to (dis)allow CORS. Please open new issue. |
…_Tx_randomize reduce gas limit for Tx randomize
…thereum#263) * new deletion proof * complete tracer and test * extend proof for parallel tracing * integrating into blocktrace * lint * deduplication of deletion proofs * fix an issue on marking deletion * fixs since last review * Update version.go --------- Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-10-2-9-63.us-west-2.compute.internal>
activate proof generation on fork + remove code dups use go-verkle's post-state API to verify proofs (ethereum#262) use prague as the verkle activation fork (ethereum#263) upgrade to latest go-ipa activate verkle transition in "miner" (ethereum#265) fix: do not force cancunTime upon verkle activation workaround: do not use root translation in replay workaround: deactivate overlay transition for now fixes from trying to get the devnet to work (ethereum#267) this line was left out from the previous commit upgrade to go-verkle with fixed newvalue serialization fix: ensure point cache isn't nil in copy (ethereum#268) fix: dependency cycle in tests (ethereum#269) upgrade to latest go-verkle fix: write trie preimage data to db (ethereum#274) fix: zero-root in produced block + sync (ethereum#275) upgrade go-ipa fix build fix typo include review feedback add switch to add proofs to blocks (ethereum#278) add fee recipient to witness (ethereum#279) touch all fields in withdrawal account header (ethereum#277)
Set TxRunMode for scheduled txs in DoCall
…inary-signer adding image signer when pushing images
Conversion to RPC over HTTP