Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Holst Swende
9231770811
rpc: change BlockNumber constant values to match ethclient ( #27219 )
...
ethclient accepts certain negative block number values as specifiers for the "pending",
"safe" and "finalized" block. In case of "pending", the value accepted by ethclient (-1)
did not match rpc.PendingBlockNumber (-2).
This wasn't really a problem, but other values accepted by ethclient did match the
definitions in package rpc, and it's weird to have this one special case where they don't.
To fix it, we decided to change the values of the constants rather than changing ethclient.
The constant values are not otherwise significant. This is a breaking API change, but we
believe not a dangerous one.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
1 year ago
..
testdata
rpc: improve error codes for internal server errors ( #25678 )
2 years ago
client.go
rpc, internal/cmdtest: increase timeout in tests ( #27083 )
2 years ago
client_example_test.go
rpc: make ExampleClientSubscription work with the geth API ( #19483 )
5 years ago
client_opt.go
node, rpc: add JWT auth support in client ( #24911 )
2 years ago
client_opt_test.go
node, rpc: add JWT auth support in client ( #24911 )
2 years ago
client_test.go
rpc: fix unmarshaling of null result in CallContext ( #26723 )
2 years ago
constants_unix.go
all: add go:build lines ( #23468 )
3 years ago
constants_unix_nocgo.go
all: add go:build lines ( #23468 )
3 years ago
context_headers.go
rpc: support injecting HTTP headers through context ( #26023 )
2 years ago
doc.go
build: upgrade to go 1.19 ( #25726 )
2 years ago
endpoints.go
trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes ( #21871 )
4 years ago
errors.go
graphql, node, rpc: improve HTTP write timeout handling ( #25457 )
2 years ago
handler.go
graphql, node, rpc: improve HTTP write timeout handling ( #25457 )
2 years ago
http.go
all: use http package to replace http method names ( #26535 )
2 years ago
http_test.go
metrics/librato: ensure resp.body closed ( #26969 )
2 years ago
inproc.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
ipc.go
node, rpc: add JWT auth support in client ( #24911 )
2 years ago
ipc_js.go
all: add go:build lines ( #23468 )
3 years ago
ipc_unix.go
rpc: fix off-by-one in ipc endpoint length check ( #26614 )
2 years ago
ipc_windows.go
all: add go:build lines ( #23468 )
3 years ago
json.go
graphql, node, rpc: improve HTTP write timeout handling ( #25457 )
2 years ago
metrics.go
rpc: swap out timer metrics to histograms
2 years ago
server.go
rpc: use atomic types ( #27214 )
2 years ago
server_test.go
rpc: fix unmarshaling of null result in CallContext ( #26723 )
2 years ago
service.go
rpc: more accurate checking of handler method signatures ( #27287 )
2 years ago
stdio.go
node, rpc: add JWT auth support in client ( #24911 )
2 years ago
subscription.go
graphql, node, rpc: improve HTTP write timeout handling ( #25457 )
2 years ago
subscription_test.go
rpc: check that "version" is "2.0" in request objects ( #25570 )
2 years ago
testservice_test.go
rpc: fix unmarshaling of null result in CallContext ( #26723 )
2 years ago
types.go
rpc: change BlockNumber constant values to match ethclient ( #27219 )
1 year ago
types_test.go
rpc: add BlockNumber.MarshalText ( #23324 )
3 years ago
websocket.go
rpc: websocket should respect the "HTTP_PROXY" by default ( #27264 )
2 years ago
websocket_test.go
rpc, internal/guide: speed up tests a bit ( #26193 )
2 years ago