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: [EXC-1619] Implement get_block_headers() endpoint #298

Merged
merged 65 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
821c55e
.
dragoljub-duric May 15, 2024
8a54b59
fix typo
dragoljub-duric May 15, 2024
bdb1dbb
rustfmt
dragoljub-duric May 15, 2024
9bc084e
refactor
dragoljub-duric May 15, 2024
4e7f450
.
dragoljub-duric May 15, 2024
441dd98
fix comment
dragoljub-duric May 15, 2024
9928f30
.
dragoljub-duric May 15, 2024
cf1d85a
.
dragoljub-duric May 15, 2024
10506f7
.
dragoljub-duric May 17, 2024
a0ecdf9
Move Stats out of PR.
dragoljub-duric May 17, 2024
d76081a
.
dragoljub-duric May 17, 2024
b0b585d
Merge branch 'master' into EXC-1619-implement-bitcoin-headers-endpoint
dragoljub-duric May 21, 2024
eef1841
Add initial implementation
dragoljub-duric May 21, 2024
22f3758
calculate stats
dragoljub-duric May 22, 2024
00469cd
add tests
dragoljub-duric May 22, 2024
b9be945
clippy
dragoljub-duric May 22, 2024
47131ba
.
dragoljub-duric May 22, 2024
867f81f
refactor
dragoljub-duric May 22, 2024
30aa4ef
add fields to Fees
dragoljub-duric May 24, 2024
9c9ef47
fix fees
dragoljub-duric May 24, 2024
7b9659d
.
dragoljub-duric May 24, 2024
78b0c9c
.
dragoljub-duric May 27, 2024
5eacdb0
comments
dragoljub-duric May 27, 2024
a51511b
.
dragoljub-duric May 27, 2024
bb6085d
.
dragoljub-duric May 27, 2024
d4f2f4c
fix upgradability
dragoljub-duric May 27, 2024
221b275
refactor
dragoljub-duric May 27, 2024
fc47bfa
.
dragoljub-duric May 28, 2024
75b1f3b
refactor
dragoljub-duric May 28, 2024
9694a21
add tests
dragoljub-duric May 28, 2024
991eb57
refactor
dragoljub-duric May 28, 2024
9427df6
.
dragoljub-duric May 28, 2024
6e7dcbb
add test
dragoljub-duric May 28, 2024
b17a404
Fix clippy.
dragoljub-duric May 28, 2024
6d8ea97
Fix comments.
dragoljub-duric May 28, 2024
97dbc03
Merge branch 'master' into EXC-1619-implement-bitcoin-headers-endpoint
dragoljub-duric May 28, 2024
9ef0aba
.
dragoljub-duric May 28, 2024
205a7d5
.
dragoljub-duric May 28, 2024
365d3b2
rename
dragoljub-duric May 28, 2024
cbca239
.
dragoljub-duric May 28, 2024
f05ff63
refactor
dragoljub-duric May 29, 2024
ca01390
remove fees for get_block_headers
dragoljub-duric May 29, 2024
e3426da
refactor
dragoljub-duric May 29, 2024
8bf92c5
Add bound on size of block headers vec
dragoljub-duric May 29, 2024
7626608
fix proptest
dragoljub-duric May 30, 2024
998bf11
.
dragoljub-duric May 30, 2024
9564163
Merge branch 'master' into EXC-1619-implement-bitcoin-headers-endpoint
dragoljub-duric May 30, 2024
784dbc4
fix tests after conflict
dragoljub-duric May 30, 2024
166d052
fix typo
dragoljub-duric May 30, 2024
435bc88
Update canister/src/api/get_block_headers.rs
dragoljub-duric May 30, 2024
998a834
refactor
dragoljub-duric May 30, 2024
e969fb8
split the metrics
dragoljub-duric Jun 3, 2024
904777c
refactor
dragoljub-duric Jun 3, 2024
16eb6fc
remove redundant test
dragoljub-duric Jun 3, 2024
d8b8225
add proptest for unstable_blocks::get_block_headers_in_range
dragoljub-duric Jun 3, 2024
55bf2b1
add proptest for BlockHeaderStore::get_block_headers_in_range
dragoljub-duric Jun 3, 2024
2320ade
improve proptest
dragoljub-duric Jun 3, 2024
b70ed37
Merge branch 'master' into EXC-1619-implement-bitcoin-headers-endpoint
dragoljub-duric Jun 3, 2024
702454c
chore: Add e2e tests for get_block_headers (#301)
dragoljub-duric Jun 7, 2024
83cc77d
.
dragoljub-duric Jun 7, 2024
56e736a
Merge branch 'master' into EXC-1619-implement-bitcoin-headers-endpoint
dragoljub-duric Jun 7, 2024
3e2e57d
Update canister/src/api/get_block_headers.rs
dragoljub-duric Jun 7, 2024
46d2fe7
fix typo
dragoljub-duric Jun 7, 2024
c074c03
remove unused method
dragoljub-duric Jun 7, 2024
4826ef9
return unimplemented for api
dragoljub-duric Jun 7, 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
Loading