Derrick Hammer
|
b2c06590b1
|
refactoring: more refactoring to break import cycles
|
2024-01-29 19:24:50 -05:00 |
Derrick Hammer
|
2e8c335b7e
|
refactoring: more refactoring to break import cycles
|
2024-01-29 18:53:32 -05:00 |
Derrick Hammer
|
ca41aee245
|
feat: add NodeId helper
|
2024-01-29 14:33:40 -05:00 |
Derrick Hammer
|
57ab0f36f9
|
feat: add NetworkId helper
|
2024-01-29 14:26:10 -05:00 |
Derrick Hammer
|
722f130072
|
feat: add initial uber fx support
|
2024-01-29 02:16:14 -05:00 |
Derrick Hammer
|
cc53e61918
|
fix: need to register storage service
|
2024-01-29 02:12:02 -05:00 |
Derrick Hammer
|
b60979e79d
|
refactor: further refactoring for DI, splitting node responsibilities to a new Storage service, Services, and P2P
|
2024-01-29 01:55:36 -05:00 |
Derrick Hammer
|
59a73e4266
|
refactor: use a dependency injection/IoC pattern based off uber fx
|
2024-01-29 01:10:04 -05:00 |
Derrick Hammer
|
384557de0c
|
testing: remove bad imports
|
2024-01-29 00:25:25 -05:00 |
Derrick Hammer
|
238f78b556
|
testing: remove mocks for now
|
2024-01-29 00:23:42 -05:00 |
Derrick Hammer
|
4b718e1dd3
|
fix: update import for node
|
2024-01-29 00:02:15 -05:00 |
Derrick Hammer
|
a0dcc52d63
|
refactor: remove dedicated interfaces and minimize interfaces
|
2024-01-28 23:59:43 -05:00 |
Derrick Hammer
|
31ccfb8c0b
|
refactor: major rewrite of message structure and wiring, reducing complexity
|
2024-01-28 23:39:40 -05:00 |
Derrick Hammer
|
6b9a4fb7dc
|
fix: EncodeEndian call needs to be a length of 2
|
2024-01-24 16:33:31 -05:00 |
Derrick Hammer
|
84acde6c72
|
fix: base64 needs to use raw url
|
2024-01-24 13:55:56 -05:00 |
Derrick Hammer
|
7fd5b7654c
|
fix: multihash should not be using multibase
|
2024-01-24 13:50:42 -05:00 |
Derrick Hammer
|
afa38f1424
|
fix: use private key
|
2024-01-24 11:57:48 -05:00 |
Derrick Hammer
|
da57bc1f42
|
fix: fix again the port of EncodeEndian
|
2024-01-24 11:51:10 -05:00 |
Derrick Hammer
|
047f556d36
|
fix: fix again the port of DecodeEndian
|
2024-01-24 11:23:18 -05:00 |
Derrick Hammer
|
91b171d468
|
fix: prevent panic if length range is out of bounds for message
|
2024-01-24 11:10:16 -05:00 |
Derrick Hammer
|
7ca0a67ba5
|
fix: revert again to using s5's original endian implementations
|
2024-01-24 10:58:05 -05:00 |
Derrick Hammer
|
ba00e15518
|
fix: AddStorageLocation no longer needs config
|
2024-01-24 03:37:14 -05:00 |
Derrick Hammer
|
96be8235f9
|
feat: add provide support to HashQuery
|
2024-01-24 03:01:59 -05:00 |
Derrick Hammer
|
69bed0a0bf
|
refactor: AddStorageLocation doesn't need a config argument
|
2024-01-24 02:58:55 -05:00 |
Derrick Hammer
|
34bb591bfe
|
feat: implement PrepareProvideMessage
|
2024-01-24 02:53:56 -05:00 |
Derrick Hammer
|
d734e1a89b
|
feat: create provider store interface for use in hash query
|
2024-01-24 02:32:49 -05:00 |
Derrick Hammer
|
9b464e0932
|
fix: ensure we actually have a full cid
|
2024-01-24 01:51:29 -05:00 |
Derrick Hammer
|
7fa2e6adac
|
fix: filename typo
|
2024-01-24 01:49:50 -05:00 |
Derrick Hammer
|
819f68f0d2
|
fix: use uint64
|
2024-01-18 12:31:47 -05:00 |
Derrick Hammer
|
13e5d5770b
|
fix: ude uint64
|
2024-01-18 12:27:45 -05:00 |
Derrick Hammer
|
a9834a81d3
|
fix: add json tags
|
2024-01-18 12:15:47 -05:00 |
Derrick Hammer
|
cf168f8e4d
|
testing: add TestWebAppMetadata_DecodeMsgpack
|
2024-01-18 12:10:42 -05:00 |
Derrick Hammer
|
01d695b175
|
testing: add TestWebAppMetadata_DecodeJSON with test webapp.bin
|
2024-01-18 12:09:34 -05:00 |
Derrick Hammer
|
6be36feabf
|
fix: if map is empty, create an empty one
|
2024-01-18 12:09:01 -05:00 |
Derrick Hammer
|
ea60d8f0cf
|
feat: implement EncodeMsgpack and DecodeMsgpack for WebAppMetadata
|
2024-01-18 12:06:47 -05:00 |
Derrick Hammer
|
04fb3f155a
|
dep: add github.com/samber/lo
|
2024-01-18 12:06:15 -05:00 |
Derrick Hammer
|
6a967c3884
|
testing: add TestWebAppMetadata_EncodeJSON
|
2024-01-18 10:16:32 -05:00 |
Derrick Hammer
|
dfcfd80d93
|
testing: add TestDirectoryMetadata_EncodeJSON
|
2024-01-18 10:03:52 -05:00 |
Derrick Hammer
|
a3af7485a6
|
fix: need to marshall the actual encoded output
|
2024-01-18 10:03:17 -05:00 |
Derrick Hammer
|
4e78403658
|
fix: need to update FileReference struct so that URI and Key are omitted if empty
|
2024-01-18 10:02:30 -05:00 |
Derrick Hammer
|
113f24f4d8
|
fix: need to update directory struct so that EncryptionKey is nullable, and URI and Key are omitted if empty
|
2024-01-18 10:02:24 -05:00 |
Derrick Hammer
|
68200ae626
|
fix: add FileReference Equal
|
2024-01-18 09:15:07 -05:00 |
Derrick Hammer
|
3e76519091
|
fix: bad http verb
|
2024-01-17 17:02:39 -05:00 |
Derrick Hammer
|
3009e1dce3
|
feat: implement /s5/p2p/nodes
|
2024-01-17 15:51:41 -05:00 |
Derrick Hammer
|
e034e1096f
|
refactor: create constructors for FileHistoryMap and ExtMap
|
2024-01-17 14:22:43 -05:00 |
Derrick Hammer
|
47048ed2ab
|
refactor: use uint64
|
2024-01-17 14:12:18 -05:00 |
Derrick Hammer
|
e9baacd55e
|
fix: update CIDFromHash call
|
2024-01-17 11:29:54 -05:00 |
Derrick Hammer
|
d0da02184b
|
fix: use MultihashFromBytes
|
2024-01-17 11:29:23 -05:00 |
Derrick Hammer
|
5a6c322524
|
feat: add MultihashFromBytes
|
2024-01-17 11:27:52 -05:00 |
Derrick Hammer
|
c95a953ca2
|
Revert "fix: need to use BigEndian to encode little?"
This reverts commit 936450f9e6 .
|
2024-01-17 10:34:14 -05:00 |