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
|
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
|
fec2adb72f
|
fix: we need to use the msgpack reader and get the rest of the bytes, not use DecodeRaw
|
2024-01-07 22:21:59 -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
|
1b8ba683c0
|
fix: need to handle no network id
|
2024-01-07 10:54:26 -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
|
a6389eb738
|
feat: add EncodeMsgpack, HandleMessage, and NewHandshakeDoneRequest toHandshakeDone
|
2024-01-07 09:13:03 -05:00 |
Derrick Hammer
|
cc2885f2b4
|
feat: add DecodeMessage and HandleMessage to HandshakeOpen
|
2024-01-07 09:13:02 -05:00 |
Derrick Hammer
|
00c8a081f6
|
feat: add secure message signing and encoding
|
2024-01-07 09:13:02 -05:00 |
Derrick Hammer
|
ebd95f59d4
|
fix: need to set known
|
2024-01-07 09:13:02 -05:00 |
Derrick Hammer
|
a59b7d44d6
|
fix: bad type conversion, and add a panic
|
2024-01-07 09:13:02 -05:00 |
Derrick Hammer
|
be082fda60
|
refactor: add interface check
|
2024-01-07 09:13:02 -05:00 |
Derrick Hammer
|
a497592bad
|
refactor: add dummy DecodeMessage to panic, and add getter/setter for known
|
2024-01-07 09:13:01 -05:00 |
Derrick Hammer
|
b53eb16767
|
refactor: add interface check
|
2024-01-07 09:12:54 -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
|
1950edf181
|
refactor: move StorageLocation to a new pkg to prevent import cycle
|
2024-01-07 04:30:03 -05:00 |
Derrick Hammer
|
57657bd6ed
|
fix: need to use interface, not impl
|
2024-01-07 04:27:54 -05:00 |
Derrick Hammer
|
51d76a2d95
|
refactor: use interfaces
|
2024-01-07 03:58:22 -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
|
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
|
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
|
4959270f51
|
feat: wip initial storage location support
|
2024-01-06 09:45:00 -05:00 |
Derrick Hammer
|
8c29a284ce
|
feat: wip networking
|
2024-01-06 06:34:15 -05:00 |