Commit Graph

14 Commits

Author SHA1 Message Date
Derrick Hammer 2e8c335b7e
refactoring: more refactoring to break import cycles 2024-01-29 18:53:32 -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 238f78b556
testing: remove mocks for now 2024-01-29 00:23:42 -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 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 316e3cddb0
refactor: add Original to interface 2024-01-09 12:50:52 -05:00
Derrick Hammer 799be312e1
refactor: add kind to interface 2024-01-09 12:49:16 -05:00
Derrick Hammer 6a474c92dc
test: fix mock generation 2024-01-08 01:16:20 -05:00
Derrick Hammer 86da64fa41
feat: add gomock testing 2024-01-08 00:18:30 -05:00
Derrick Hammer 2f5a853ff8
refactor: store incoming message as a child property vs overriding itself via pointer magic 2024-01-07 22:55:57 -05:00
Derrick Hammer a9fb6aedb9
fix: need to store a reference to the handler to itself so we can access it by the proper type in a parent method 2024-01-07 10:37:42 -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