Commit Graph

26 Commits

Author SHA1 Message Date
Derrick Hammer 7ab602ce23
feat: store http api config in selfConnectionUris 2024-01-10 09:36:55 -05:00
Derrick Hammer 584057fb8a
feat: initial HTTP service with version and P2P endpoints 2024-01-10 09:19:21 -05:00
Derrick Hammer 3f42a66fa8
test: add mock generation for registry 2024-01-10 09:18:45 -05:00
Derrick Hammer cd71371768
refactor: we don't need to define Node() twice 2024-01-10 08:11:15 -05:00
Derrick Hammer 180b76ee3c
feat: add listen method 2024-01-10 07:05:13 -05:00
Derrick Hammer 7578665ba4
refactor: add All method so that we can range over services dynamically 2024-01-10 06:33:21 -05:00
Derrick Hammer 6bf557346d
feat: initial registry service support 2024-01-10 06:29:03 -05:00
Derrick Hammer 712e216150
feat: add DownloadBytesByCID 2024-01-09 16:18:49 -05:00
Derrick Hammer 2622f2b9d0
fix: pass both StorageLocationTypeFull and StorageLocationTypeFile 2024-01-09 11:43:33 -05:00
Derrick Hammer 8281729888
refactor: need to add in node level wait group to optionally wait and keep the node running 2024-01-09 09:11:36 -05:00
Derrick Hammer 58cc6153bd
refactor: update node interface 2024-01-09 08:20:19 -05:00
Derrick Hammer 2341915b8e
refactor: need a getter for Location 2024-01-09 08:15:13 -05:00
Derrick Hammer 88c48aa996
refactor: make SignedStorageLocationImpl props private, add NodeId getter, re-organize, 2024-01-09 07:01:19 -05:00
Derrick Hammer 6c2ebb1152
feat: implement StorageLocationProvider 2024-01-09 07:00:00 -05:00
Derrick Hammer bb68bf3be1
feat: implement SendHashRequest, UpVote, DownVote 2024-01-09 06:59:12 -05:00
Derrick Hammer 27cc49fb45
refactor: ReadNodeScore does not need to be in the interface 2024-01-09 06:56:03 -05:00
Derrick Hammer 75db7bcc7a
feat: implement upvote and downvote 2024-01-09 06:54:22 -05:00
Derrick Hammer 45ffa1a98a
refactor: switch GetCachedStorageLocations to use types.StorageLocationType 2024-01-09 06:53:17 -05:00
Derrick Hammer 75b0d36b84
refactor: add AddPeer and SendPublicPeersToPeer to interfaces 2024-01-08 12:09:21 -05:00
Derrick Hammer 86da64fa41
feat: add gomock testing 2024-01-08 00:18:30 -05:00
Derrick Hammer 3ce371986b
refactor: add NetworkId() to node 2024-01-07 09:13:02 -05:00
Derrick Hammer 2e9b07c6bd
refactor: dont use pointers with interfaces 2024-01-07 06:47:01 -05:00
Derrick Hammer 0a6738be5d
refactor: need access data via methods 2024-01-07 03:55:33 -05:00
Derrick Hammer cb23f21ecc
fix: need to export methods for now 2024-01-07 03:54:50 -05:00
Derrick Hammer b8cb37f99e
refactor: interfaces should not be pointers 2024-01-07 03:54:32 -05:00
Derrick Hammer 713bcf98c3
refactor: major refactor to split major components into interfaces due to import cycles 2024-01-07 03:13:35 -05:00