Commit Graph

17 Commits

Author SHA1 Message Date
Derrick Hammer cd8e747656
refactor: we have changed to use our own manual Init for the protocol registration for safety 2024-01-09 12:51:54 -05:00
Derrick Hammer 2622f2b9d0
fix: pass both StorageLocationTypeFull and StorageLocationTypeFile 2024-01-09 11:43:33 -05:00
Derrick Hammer 26e0a4c9df
fix: GetMetadataByCID has bad logic 2024-01-09 11:01:57 -05:00
Derrick Hammer 71192c4169
fix: use our logger 2024-01-09 11:01:25 -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 18bc518dad
feat: implement DownloadBytesByHash and GetMetadataByCID 2024-01-09 08:18:41 -05:00
Derrick Hammer 45ffa1a98a
refactor: switch GetCachedStorageLocations to use types.StorageLocationType 2024-01-09 06:53:17 -05:00
Derrick Hammer 3ce371986b
refactor: add NetworkId() to node 2024-01-07 09:13:02 -05:00
Derrick Hammer 52f08335a2
fix: set started 2024-01-07 05:25:45 -05:00
Derrick Hammer ef86db2bd0
refactor: need to export storage structs 2024-01-07 04:33:40 -05:00
Derrick Hammer 1950edf181
refactor: move StorageLocation to a new pkg to prevent import cycle 2024-01-07 04:30:03 -05:00
Derrick Hammer 4b406bcf57
fix: need to init and setup P2P service 2024-01-07 04:17:19 -05:00
Derrick Hammer 311b03737c
fix: need to fix construction od node and stick to using interfaces 2024-01-07 04:16:33 -05:00
Derrick Hammer ca1e2dcf72
refactor: use interfaces, rename struct to be an impl 2024-01-07 03:56:50 -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
Derrick Hammer 19b0785c48
fix: wrong imports and references to Config 2024-01-06 13:26:03 -05:00
Derrick Hammer 2a21ca4d60
refactor: move node and storage to its own package 2024-01-06 13:21:09 -05:00