Commit Graph

105 Commits

Author SHA1 Message Date
Derrick Hammer 57657bd6ed
fix: need to use interface, not impl 2024-01-07 04:27:54 -05:00
Derrick Hammer 602ece249a
chore: delete unneeded package 2024-01-07 04:17:36 -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 99167b4cec
fix: add missing services impl 2024-01-07 04:15:28 -05:00
Derrick Hammer ea872fedc4
refactor: move nodeVotes to a dedicated file 2024-01-07 04:03:36 -05:00
Derrick Hammer 51d76a2d95
refactor: use interfaces 2024-01-07 03:58:22 -05:00
Derrick Hammer 4678d406fc
refactor: use interfaces, rename struct to be an impl 2024-01-07 03:57:46 -05:00
Derrick Hammer b340cda442
refactor: add interface to map 2024-01-07 03:57:12 -05:00
Derrick Hammer ca1e2dcf72
refactor: use interfaces, rename struct to be an impl 2024-01-07 03:56:50 -05:00
Derrick Hammer 26a51a25d5
fix: dont use pointers with interfaces 2024-01-07 03:56:05 -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 bd8c14e53e
fix: use interface not implementation 2024-01-07 03:19:04 -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 0b6ef02572
refactor: move config to its own package 2024-01-06 13:23:54 -05:00
Derrick Hammer 2a21ca4d60
refactor: move node and storage to its own package 2024-01-06 13:21:09 -05:00
Derrick Hammer 348b20ba4a
fix: need to remove by ref 2024-01-06 13:15:45 -05:00
Derrick Hammer fdbc4cf7fc
fix: need to store pointer references 2024-01-06 13:15:29 -05:00
Derrick Hammer 8742a4139b
feat: implement AnnouncePeers 2024-01-06 12:51:38 -05:00
Derrick Hammer 16ce7338bd
feat: implement HashQuery HandleMessage 2024-01-06 10:55:21 -05:00
Derrick Hammer eefbfa06d0
feat: initial node scoring support 2024-01-06 10:54:03 -05:00
Derrick Hammer 67be38e6c9
refactor: switch to storing by the base58 id, not the hashcode 2024-01-06 10:53:20 -05:00
Derrick Hammer 9654fadfee
refactor: abstract button creation to a generic utility method 2024-01-06 09:46:01 -05:00
Derrick Hammer 4959270f51
feat: wip initial storage location support 2024-01-06 09:45:00 -05:00
Derrick Hammer f45e297791
refactor: make fullBytes private and create a getter 2024-01-06 07:11:51 -05:00
Derrick Hammer 8c29a284ce
feat: wip networking 2024-01-06 06:34:15 -05:00
Derrick Hammer 8d1bdd87ac
refactor: move Data to be accessed via Bytes and Raw 2024-01-06 06:33:23 -05:00
Derrick Hammer 785d4029e9
feat: add protocol types 2024-01-05 13:47:56 -05:00
Derrick Hammer a5cc5b3d9e
refactor: rename NodeIdDecode for readability 2024-01-05 10:50:22 -05:00
Derrick Hammer d708297651
fix: ContentType shouldnt be a pointer 2024-01-05 09:02:58 -05:00
Derrick Hammer 1cf7fe283a
feat: initial web_app structs 2024-01-05 09:02:26 -05:00
Derrick Hammer a499dcf544
feat: initial media structs 2024-01-05 08:58:13 -05:00
Derrick Hammer 22e72da15c
feat: initial user identity structs 2024-01-05 08:46:08 -05:00
Derrick Hammer 93782c9db7
feat: add meta MetadataParentLink 2024-01-05 08:41:17 -05:00
Derrick Hammer 36c4212305
chore: remove commented code 2024-01-05 07:41:33 -05:00
Derrick Hammer f1f5ad4c02
chore: unneeded struct 2024-01-05 07:40:50 -05:00
Derrick Hammer 338fbf3d0a
refactor: add more value types to marshallMapMsgpack 2024-01-05 07:32:34 -05:00
Derrick Hammer b1c7c8a9fd
refactor: add a map wrapper for FileReference serialization 2024-01-05 07:31:54 -05:00
Derrick Hammer 7ad63aea3a
refactor: add a map wrapper for FileVersionThumbnail and FileVersion serialization 2024-01-05 07:19:31 -05:00
Derrick Hammer 40d7c90595
refactor: add uint64 and Base64UrlBinary value support to marshallMapMsgpack 2024-01-05 07:01:27 -05:00
Derrick Hammer de909db84e
fix: need to use directoryReferenceSerializationMap 2024-01-05 07:00:42 -05:00
Derrick Hammer 012c90ddae
refactor: add multitype support for keys to marshallMapMsgpack 2024-01-05 06:59:55 -05:00
Derrick Hammer 00157e463c
refactor: add directoryReferenceSerializationMap map wrapper to handle DirectoryReference serialization 2024-01-05 06:36:18 -05:00
Derrick Hammer 453e8590c7
dep: move go-cmp back to upstream version, add gods 2024-01-05 06:23:32 -05:00
Derrick Hammer c039ced75e
test: implement directory encoding test, clean up all other unn-needed test dummies 2024-01-05 06:23:04 -05:00
Derrick Hammer 70c63a5a34
chore: unneeded debug 2024-01-05 06:17:52 -05:00
Derrick Hammer 951f0062da
refactor: add needed helper functions and overrides to properly compare the maps 2024-01-05 06:16:19 -05:00