Commit Graph

18 Commits

Author SHA1 Message Date
Derrick Hammer c9fe8a0819
feat: implement new kv database package starting with bbolt 2024-03-09 06:46:48 -05:00
Derrick Hammer fc212ef246
fix: > not >= 2024-03-05 15:21:47 -05:00
Derrick Hammer 8f32074667
refactor: switch ConnectToNode to use a retries counter and make it configurable via P2PConfig 2024-03-05 15:13:25 -05:00
Derrick Hammer a87bfe7ba6
fix: ErrTransportNotSupported check in wrong location 2024-03-05 15:06:42 -05:00
Derrick Hammer cca7d881de
fix: if ErrTransportNotSupported, then just log and return the error, don't bother blocking 2024-03-05 15:01:59 -05:00
Derrick Hammer f279eb7e9d
fix: need to use new struct instance, not interface 2024-02-29 12:50:20 -05:00
Derrick Hammer 5a0b742139
fix: add handshake check to unsigned messages as well 2024-02-28 14:13:44 -05:00
Derrick Hammer 82de843ad9
fix: only skip if we somehow get called while not started and we aren't starting 2024-02-27 04:10:16 -05:00
Derrick Hammer ddde672b3c
refactor: add ctx to all services 2024-02-27 03:30:45 -05:00
Derrick Hammer 881e19d569
fix: dont shadow err 2024-01-30 17:09:05 -05:00
Derrick Hammer 5350eda27e
fix: IncomingMessageData needs Logger 2024-01-30 16:54:13 -05:00
Derrick Hammer 7cc5621a10
fix: use ServicesSetter 2024-01-30 16:07:22 -05:00
Derrick Hammer 5a2e28faba
fix: temp cast mediator so we can set the service data 2024-01-30 16:00:41 -05:00
Derrick Hammer a51e3430e1
refactor: more refactoring to break import cycles, introduce a mediator between protocol and service 2024-01-30 00:31:31 -05:00
Derrick Hammer f2d2193fc2
fix: fix imports, use GetMessageType not GetSignedMessageType 2024-01-29 22:38:52 -05:00
Derrick Hammer ff134ece14
refactor: merged signed back into protocol 2024-01-29 22:35:40 -05:00
Derrick Hammer af58aac985
refactor: base pkg is not needed 2024-01-29 22:25:46 -05:00
Derrick Hammer bd08d75da4
refactoring: more refactoring to break import cycles 2024-01-29 21:38:29 -05:00