Derrick Hammer
|
19fb3b9967
|
fix: move everything using endian to uint64
|
2024-01-10 11:00:01 -05:00 |
Derrick Hammer
|
f9a0bd863c
|
fix: typo
|
2024-01-10 09:53:45 -05:00 |
Derrick Hammer
|
bc9e5f187c
|
fix: encode stringified URL
|
2024-01-10 09:53:35 -05:00 |
Derrick Hammer
|
ac11da28c0
|
fix: pass SelfConnectionUris to NewHandshakeDoneRequest
|
2024-01-10 09:37:27 -05:00 |
Derrick Hammer
|
7ab602ce23
|
feat: store http api config in selfConnectionUris
|
2024-01-10 09:36:55 -05:00 |
Derrick Hammer
|
8a91b912c0
|
feat: add http config structs
|
2024-01-10 09:35:47 -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
|
ad55a2e0b1
|
feat: add build package to allow build time consts
|
2024-01-10 09:18:09 -05:00 |
Derrick Hammer
|
cd71371768
|
refactor: we don't need to define Node() twice
|
2024-01-10 08:11:15 -05:00 |
Derrick Hammer
|
123f28ac19
|
refactor: run initial peer connect async
|
2024-01-10 07:42:04 -05:00 |
Derrick Hammer
|
6591b2a79f
|
fix: need to spin emit off
|
2024-01-10 07:32:34 -05:00 |
Derrick Hammer
|
b542de3cb0
|
fix: need to decode the original message as its not msgpack
|
2024-01-10 07:20:33 -05:00 |
Derrick Hammer
|
773a66207d
|
fix: we use fire, as the event name
|
2024-01-10 07:20:09 -05:00 |
Derrick Hammer
|
180b76ee3c
|
feat: add listen method
|
2024-01-10 07:05:13 -05:00 |
Derrick Hammer
|
2cfbacbcd7
|
refactor: remove un-needed else
|
2024-01-10 06:47:30 -05:00 |
Derrick Hammer
|
65727b8cc5
|
fix: ensure registry is setup in construction
|
2024-01-10 06:42:17 -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
|
528e1a6c27
|
chore: remove debug lines
|
2024-01-09 17:17:45 -05:00 |
Derrick Hammer
|
f6e005c497
|
feat: add support for directories in GetMetadataByCID
|
2024-01-09 16:34:07 -05:00 |
Derrick Hammer
|
712e216150
|
feat: add DownloadBytesByCID
|
2024-01-09 16:18:49 -05:00 |
Derrick Hammer
|
f6dc2c1d53
|
fix: we are checking value's length and i dont know why or where this came from...
|
2024-01-09 16:14:31 -05:00 |
Derrick Hammer
|
5ed286a639
|
fix: need to manually process address slice
|
2024-01-09 16:13:53 -05:00 |
Derrick Hammer
|
1e94f378f3
|
fix: save the node votes
|
2024-01-09 15:51:02 -05:00 |
Derrick Hammer
|
646f69e920
|
fix: dont use a callback with CreateBucket
|
2024-01-09 15:50:43 -05:00 |
Derrick Hammer
|
b7107989d3
|
fix: rewrite StorageLocationMap DecodeMsgpack as it only works with a temporary map
|
2024-01-09 15:50:14 -05:00 |
Derrick Hammer
|
c137d75b24
|
fix: we need to run all bucket actions via transactions and cannot store a pointer to the bucket
|
2024-01-09 15:49:23 -05:00 |
Derrick Hammer
|
1f01f40338
|
fix: implement Parts getter
|
2024-01-09 14:55:52 -05:00 |
Derrick Hammer
|
1e7baabcb3
|
fix: switch to using the originally stored message since we need everything to do message verification
|
2024-01-09 14:54:59 -05:00 |
Derrick Hammer
|
8806e69a66
|
fix: register RecordTypeStorageLocation
|
2024-01-09 13:58:11 -05:00 |
Derrick Hammer
|
ed97c03d16
|
refactor: switch to using a normal map
|
2024-01-09 13:57:35 -05:00 |
Derrick Hammer
|
6b6e7d4fc4
|
refactor: add record types to protocol
|
2024-01-09 13:47:26 -05:00 |
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
|
316e3cddb0
|
refactor: add Original to interface
|
2024-01-09 12:50:52 -05:00 |
Derrick Hammer
|
185d0636ef
|
refactor: use Kind
|
2024-01-09 12:50:28 -05:00 |
Derrick Hammer
|
799be312e1
|
refactor: add kind to interface
|
2024-01-09 12:49:16 -05:00 |
Derrick Hammer
|
1458cbe1d9
|
fix: ensure we use int everywhere for kind to try and avoid any weird bitwise or implied conversions
|
2024-01-09 12:47:58 -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
|
1678b40d82
|
fix: add a peerPending map to track and ensure we don't try to connect to a peer again until removed, even if we haven't gotten a handshake done
|
2024-01-09 10:42:21 -05:00 |
Derrick Hammer
|
13be047bf8
|
fix: revert back to only passing the network id if its set, due to dart bug being fixed
|
2024-01-09 10:39:58 -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
|
ff1db75f14
|
fix: need to run OnNewPeer in a goroutine
|
2024-01-09 08:39:52 -05:00 |
Derrick Hammer
|
ed2a47fca3
|
refactor: rename CID decode to CIDFromString
|
2024-01-09 08:23:35 -05:00 |
Derrick Hammer
|
58cc6153bd
|
refactor: update node interface
|
2024-01-09 08:20:19 -05:00 |
Derrick Hammer
|
18bc518dad
|
feat: implement DownloadBytesByHash and GetMetadataByCID
|
2024-01-09 08:18:41 -05:00 |
Derrick Hammer
|
ee20d2a560
|
refactor: change NewStorageLocationProvider to use a splat for locationTypes
|
2024-01-09 08:17:56 -05:00 |
Derrick Hammer
|
62bc189678
|
refactor: add empty metadata struct constructors
|
2024-01-09 08:16:42 -05:00 |