Commit graph

35 commits

Author SHA1 Message Date
Boog900
759369dd0a
check for free peers and handle batch response 2024-05-29 01:40:42 +01:00
Boog900
eb69895278
spawn task whe getting blocks 2024-05-27 01:31:07 +01:00
Boog900
fa99fd5343
move block downloader to struct 2024-05-27 01:00:55 +01:00
Boog900
3270560711
add chain_tracker 2024-05-25 00:53:13 +01:00
Boog900
596fed775a
initial chain search 2024-05-24 02:11:49 +01:00
Boog900
5a0d4a4e94
init block downloader 2024-05-23 01:34:08 +01:00
Boog900
20f9a063ea
fix merge + add some docs 2024-05-22 21:43:45 +01:00
Boog900
7f5e44f7b1
Merge branch 'main' into network-init 2024-05-22 01:59:47 +01:00
0158c6671a
P2P: Peer sync state svc (#128)
* p2p changes

* clippy

* a few more docs

* init cuprate-p2p

* remove some unrelated code and add some docs

* start documenting client_pool.rs

* add more docs

* typo

* fix docs

* use JoinSet in connection maintainer

* small changes

* add peer sync state svc

* add a test

* fix merge

* add another test

* unify PeerDisconnectFut and add more docs

* Apply suggestions from code review

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* dif -> diff

* move comment

* Update pruning/src/lib.rs

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* Apply suggestions from code review

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-05-22 01:56:39 +01:00
02cd963e57
P2P: Broadcast svc (#129)
* p2p changes

* clippy

* a few more docs

* init cuprate-p2p

* remove some unrelated code and add some docs

* start documenting client_pool.rs

* add more docs

* typo

* fix docs

* use JoinSet in connection maintainer

* small changes

* add broadcast svc

* add more docs

* add some tests

* Apply suggestions from code review

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* review comments

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-05-21 23:19:52 +01:00
Boog900
7a22aa6500
correct comment 2024-05-20 18:48:30 +01:00
Boog900
79a14120d9
fix leak in client pool 2024-05-19 21:58:30 +01:00
Boog900
f28321a7ec
remove crate doc for now 2024-05-19 18:50:10 +01:00
Boog900
2fd74dec14
add an inbound connection server 2024-05-19 18:35:07 +01:00
Boog900
f818b6a5ff
start network init 2024-05-19 01:00:01 +01:00
Boog900
8eaaac53ca
Merge branch 'broadcast-svc' into network-init 2024-05-18 18:38:39 +01:00
Boog900
191a1723a1
Merge branch 'main' into broadcast-svc 2024-05-18 14:01:16 +01:00
Boog900
41970d748a
unify PeerDisconnectFut and add more docs 2024-05-18 13:52:21 +01:00
Boog900
f4ef14ca18
add another test 2024-05-17 17:36:25 +01:00
Boog900
e1dfa3e605
fix merge 2024-05-17 15:23:51 +01:00
Boog900
065fa242d8
Merge branch 'main' into sync-states 2024-05-17 14:54:58 +01:00
c5fbbcc6e8
P2P Client Pool (#121)
* p2p changes

* clippy

* a few more docs

* init cuprate-p2p

* remove some unrelated code and add some docs

* start documenting client_pool.rs

* add more docs

* typo

* fix docs

* use JoinSet in connection maintainer

* small changes

* Apply suggestions from code review

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* review changes

* Update p2p/cuprate-p2p/src/connection_maintainer.rs

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-05-17 14:52:51 +01:00
Boog900
b407377f52
add a test 2024-05-16 00:31:55 +01:00
Boog900
aedf87ec5b
add some tests 2024-05-15 17:15:39 +01:00
Boog900
df6d6ec187
add more docs 2024-05-15 16:30:46 +01:00
Boog900
7881013380
add broadcast svc 2024-05-15 01:47:44 +01:00
Boog900
020fd56673
add peer sync state svc 2024-05-15 01:33:05 +01:00
Boog900
6d3096eb03
small changes 2024-05-13 23:56:00 +01:00
Boog900
e59bb0a1f5
use JoinSet in connection maintainer 2024-05-13 23:39:36 +01:00
Boog900
37e7c29c48
fix docs 2024-05-07 01:18:29 +01:00
Boog900
1570844b0b
typo 2024-05-07 01:13:55 +01:00
Boog900
859d67d8b6
add more docs 2024-05-07 01:07:18 +01:00
Boog900
1b01336294
start documenting client_pool.rs 2024-05-06 02:22:30 +01:00
Boog900
4d61b100f5
remove some unrelated code and add some docs 2024-04-30 22:11:18 +01:00
Boog900
b9caee9335
init cuprate-p2p 2024-04-30 02:02:12 +01:00