Derrick Hammer
|
61faaf5694
|
test: add tests for DecodeMessage
|
2024-01-08 08:28:10 -05:00 |
Derrick Hammer
|
b3a6d6ddcc
|
fix: DecodeMessage needs to be by ref
|
2024-01-08 08:21:18 -05:00 |
Derrick Hammer
|
a5ac5af154
|
test: add tests for EncodeMsgpack
|
2024-01-08 07:55:23 -05:00 |
Derrick Hammer
|
e39ea9e48f
|
refactor: update DecodeMessage and HandleMessage
|
2024-01-07 23:40:13 -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
|
0d083e8567
|
fix: need to use DecodeMsgpackArray
|
2024-01-07 22:54:43 -05:00 |
Derrick Hammer
|
d6c7bd37dd
|
fix: we need to strip off the key prefix
|
2024-01-07 22:38:19 -05:00 |
Derrick Hammer
|
291a87aefc
|
fix: we need to use EncodeMsgpackArray
|
2024-01-07 22:35:41 -05:00 |
Derrick Hammer
|
12d8d1371a
|
fix: we dont need to send the network id
|
2024-01-07 21:41:17 -05:00 |
Derrick Hammer
|
102f147ec4
|
fix: encode the challenge, mot the original message
|
2024-01-07 21:38:26 -05:00 |
Derrick Hammer
|
a6389eb738
|
feat: add EncodeMsgpack, HandleMessage, and NewHandshakeDoneRequest toHandshakeDone
|
2024-01-07 09:13:03 -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
|
52b7426a7a
|
refactor: change how we manage peers, create getter/setters on Peer/BasePeer, and refactor WebSocketPeer to use new ws package and add Connect/NewPeer
|
2024-01-07 06:33:32 -05:00 |
Derrick Hammer
|
6597a78e51
|
refactor: can't inherit from HandshakeOpen without a import cycle
|
2024-01-07 05:13:09 -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 |
Derrick Hammer
|
51d76a2d95
|
refactor: use interfaces
|
2024-01-07 03:58:22 -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
|
2a21ca4d60
|
refactor: move node and storage to its own package
|
2024-01-06 13:21:09 -05:00 |
Derrick Hammer
|
8742a4139b
|
feat: implement AnnouncePeers
|
2024-01-06 12:51:38 -05:00 |
Derrick Hammer
|
8c29a284ce
|
feat: wip networking
|
2024-01-06 06:34:15 -05:00 |