Commit Graph

14 Commits

Author SHA1 Message Date
Derrick Hammer af58aac985
refactor: base pkg is not needed 2024-01-29 22:25:46 -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 4b718e1dd3
fix: update import for node 2024-01-29 00:02:15 -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 3d41119f74
fix: add a new property on messages and peers to prevent messages from being processed before the handshake is done 2024-01-13 11:22:01 -05:00
Derrick Hammer 799be312e1
refactor: add kind to interface 2024-01-09 12:49:16 -05:00
Derrick Hammer 3c1a9cc526
refactor: add getter for nodeId 2024-01-08 08:40:18 -05:00
Derrick Hammer 24e2b3a79f
fix: need to set self on message handler 2024-01-07 23:01:09 -05:00
Derrick Hammer ed48f60b12
fix: use ReadAll on msgpack.Buffered 2024-01-07 22:57:03 -05:00
Derrick Hammer d6c7bd37dd
fix: we need to strip off the key prefix 2024-01-07 22:38:19 -05:00
Derrick Hammer 00c8a081f6
feat: add secure message signing and encoding 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 54f0a53f77
refactor: need to crease a base protocol package to solve import cycle 2024-01-07 05:12:43 -05:00