Skip to content
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

feat: support gRPC endpoints in core #1513

Open
wants to merge 61 commits into
base: v0.34.x-celestia
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
3fa0477
feat: working gRPC endpoints
rach-id Oct 8, 2024
e1fd2b4
chore: removing buf server streaming rule
rach-id Oct 8, 2024
27152f4
chore: gofumpt
rach-id Oct 8, 2024
d703c13
chore: nolint: static check
rach-id Oct 8, 2024
e0c794d
chore: remove server streaming linter rule
rach-id Oct 8, 2024
d7bc23b
chore: regenrate proto
rach-id Oct 8, 2024
65d936d
feat: support streaming parts
rach-id Oct 8, 2024
27e3a5d
chore: adding context
rach-id Oct 8, 2024
dc10ff9
chore: correctly listening for new blocks
rach-id Oct 8, 2024
ba5dc9f
feat: also share block heights when listening for new blocks
rach-id Oct 8, 2024
a490a04
feat: better error handling
rach-id Oct 8, 2024
020787b
feat: gofumpt
rach-id Oct 8, 2024
d08249a
chore: use different subscription name
rach-id Oct 9, 2024
56bf584
chore: go format
rach-id Oct 9, 2024
49befbd
feat: allow disabling part proofs
rach-id Oct 11, 2024
dae15af
chore: fmt
rach-id Oct 11, 2024
4304c44
feat: keep default to get proofs and expose partset without proof
rach-id Oct 14, 2024
4593562
chore: use existing types
rach-id Oct 14, 2024
47695c3
feat: serve all the data in the endpoint
rach-id Oct 17, 2024
ffa6dfe
chore: proto lint
rach-id Oct 17, 2024
72dd961
chore: protogen
rach-id Oct 21, 2024
7754fd7
chore: add also commit and validato set to block by height
rach-id Oct 23, 2024
64f59e3
chore: use already gotten block store
rach-id Oct 23, 2024
7d92313
chore: return error when starting grpc client
rach-id Oct 26, 2024
a07dac1
chore: not prove block part by default
rach-id Oct 26, 2024
2bf072e
chore: add status endpoint
rach-id Nov 1, 2024
f4414ea
chore: rename import
rach-id Nov 4, 2024
e9ede40
chore: fmt
rach-id Nov 8, 2024
4656e78
fix: event block hash
rach-id Nov 8, 2024
24539fa
feat: support secure gRPC connection
rach-id Nov 8, 2024
999e489
test: add block API tests
rach-id Nov 8, 2024
6d32c43
chore: fmt
rach-id Nov 8, 2024
0f4bb48
chore: lint
rach-id Nov 8, 2024
701eacf
fix: data race
rach-id Nov 8, 2024
814e9a1
chore: ignore dupl linter
rach-id Nov 8, 2024
ce1174d
chore: fix race in test
rach-id Nov 8, 2024
89e7093
chore: fix race in test
rach-id Nov 8, 2024
19f7f80
chore: better channel handling
rach-id Nov 9, 2024
d2af6bd
chore: revert closing channel
rach-id Nov 9, 2024
cf225ab
chore: revert closing channel
rach-id Nov 9, 2024
80d5add
chore: revert closing channel
rach-id Nov 9, 2024
795f9f3
chore: revert closing channel
rach-id Nov 9, 2024
ff4f343
chore: add comments + streamed prefix
rach-id Nov 19, 2024
cee4b95
Update rpc/grpc/api.go
rach-id Nov 19, 2024
8bbbe85
chore: add nil part check
rach-id Nov 20, 2024
3600365
Merge remote-tracking branch 'origin/grpc-endpoints' into grpc-endpoints
rach-id Nov 20, 2024
a8f8a21
chore: extract constant as suggested by @rootulp
rach-id Nov 20, 2024
46c44b7
chore: rename retry attempts
rach-id Nov 20, 2024
6291264
feat: support 0 height means latest
rach-id Nov 21, 2024
d2e0e6e
Merge branch 'v0.34.x-celestia' into grpc-endpoints
rach-id Nov 21, 2024
b20fd3b
chore: extract subscription capacity
rach-id Nov 21, 2024
d63765c
fix: flaky test
rach-id Nov 21, 2024
1ea65f7
feat: fail the server if some subscription error occurs
rach-id Nov 21, 2024
f0ea3fd
chore: fix
rach-id Nov 21, 2024
48f6270
feat: fail the server if some subscription error occurs as sugggested…
rach-id Nov 21, 2024
7aafeed
chore: fix
rach-id Nov 21, 2024
5fdc9ac
Merge remote-tracking branch 'origin/grpc-endpoints' into grpc-endpoints
rach-id Nov 21, 2024
072b5eb
chore: expose DialerFunc
rach-id Nov 22, 2024
55b868a
Revert "chore: expose DialerFunc"
rach-id Nov 22, 2024
73179bb
chore: cosmetics + close the block API in case of failure
rach-id Nov 25, 2024
6ff1472
chore: lint
rach-id Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ lint:
- BASIC
- FILE_LOWER_SNAKE_CASE
- UNARY_RPC
except:
- RPC_NO_SERVER_STREAMING
ignore:
- gogoproto
breaking:
Expand Down
2 changes: 2 additions & 0 deletions proto/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ lint:
- BASIC
- FILE_LOWER_SNAKE_CASE
- UNARY_RPC
except:
- RPC_NO_SERVER_STREAMING
Loading
Loading