Commit Graph

58 Commits

Author SHA1 Message Date
херетик
724446e0d3 Peers now gossip ads 2023-06-09 07:12:53 +01:00
херетик
efa031008c fixing tests, or trisdekaphobia, you be the judge 2023-06-07 20:01:04 +01:00
херетик
30455bb592 Simpler constructor function name. 2023-06-07 17:43:23 +01:00
херетик
a07a013c00 Added and establishing listening for peer information gossip. 2023-06-07 16:36:49 +01:00
херетик
c0f4fe517c Moved listener out of sessionmanager into engine. 2023-06-07 14:52:30 +01:00
херетик
16b6766d74 added helper for multiaddr->AddrPort 2023-06-06 18:15:06 +01:00
херетик
b02250ee66 Pulled in peerstore to main engine package. 2023-06-04 18:28:23 +01:00
херетик
e284faf114 documenting and tidying of engine, session manager and transport 2023-06-03 12:43:50 +01:00
херетик
eb56b7cfb2 separated all things in onions, hidden service not working atm 2023-06-01 13:44:51 +01:00
херетик
d242bd4874 moved registry and ad/gossip interface out of onions 2023-06-01 06:54:46 +01:00
херетик
3acd24530e registry in separate package 2023-06-01 06:22:53 +01:00
херетик
e201947968 fixing addresses
how did this even work on the ci???
2023-05-29 17:34:41 +01:00
херетик
32a13c0e38 using gofmtsort to try and make things a bit easier to splice and find 2023-05-29 12:20:55 +01:00
херетик
fdcb3f176f dispatcher has dummy listener for mock use case 2023-05-12 13:22:55 +01:00
херетик
707568fce2 updated dispatcher test to use bigger messages 2023-05-11 11:46:02 +01:00
херетик
9a568ff720 starting integration of listener, remove holo 2023-05-11 09:04:10 +01:00
херетик
cba46e7298 Add listener to engine 2023-05-11 08:49:44 +01:00
херетик
1f915b44a6 sessions now index and search on header key bytes 2023-05-07 13:53:56 +01:00
херетик
f3f053abca changed node identity to crypto.Keys 2023-05-07 11:47:57 +01:00
херетик
962cc22c31 un-embedded the things 2023-05-02 23:59:16 +01:00
херетик
6c762914ca restructured some things, messing around with primes... 2023-05-01 15:48:31 +01:00
херетик
3118d3f82f dispatcher key change now working 2023-04-28 01:20:47 +01:00
херетик
5828b96ef3 test sends and acks correctly 2023-04-22 09:42:08 +01:00
херетик
3f5a39642c separated onions from engine fully
some stuff had to get merged into it due to circular dependencies so I guess what is in onions now is all onions.
2023-04-17 12:30:04 +01:00
херетик
fd52514bc3 onion separated from engine 2023-04-17 11:43:17 +01:00
херетик
b1fae2f52d engine interface 2023-04-17 11:24:16 +01:00
херетик
d8f5a63aaf sessionmanager finally out 2023-04-17 09:41:48 +01:00
херетик
b99f8be1c7 node, transport, services, moved out
😅 nearly done the breakdown
2023-04-17 09:07:03 +01:00
херетик
d848ecd0a9 moved out segment, node, packet, sessiondata 2023-04-17 08:47:47 +01:00
херетик
eab52203dc moved services and payments out of engine 2023-04-17 08:34:45 +01:00
херетик
2e57869cbb moved codec interface out 2023-04-16 19:03:54 +01:00
херетик
f2f3f92716 separated transport interface, abstracted engine in Onion interface 2023-04-16 18:22:04 +01:00
херетик
293204a514 consolidated skins, separated splice, mock, crypto helpers 2023-04-16 17:43:47 +01:00
херетик
38cdf0d867 change back to onion 2023-04-16 16:13:30 +01:00
херетик
667ba184ca using duplex exclusively with looping sim
one channel = two channels one send one receive, send forwards to receive. A single channel would also behave the same way but this illustrates the general principle of where you put the processing loop or forwarding in a pipeline.

Sending to sender puts it in the transport's parent buffer, it is then processed somehow (eg copied) and then sent out another channel that someone is listening on. This is how the Conn works, creating a single form for multiple use cases. Really it's a read/writer/closer but just haven't coded it that way (yet!)
2023-04-16 12:44:21 +01:00
херетик
c2bd20fd57 made all transport usage consistent 2023-04-16 11:42:26 +01:00
херетик
f45ca1a449 reorganising things 2023-04-14 20:36:00 +01:00
херетик
53329b6fa2 integrated mung type with new hierarchy of things 2023-04-14 16:40:29 +01:00
херетик
ed11d79117 merged key/sig/cloak stuff together to fit libp2p interfaces 2023-04-10 18:05:36 +01:00
херетик
670a0c61e3 separated send and receive for self/other, added locking to places was missing 2023-04-09 18:41:27 +01:00
херетик
cc9064ce31 settled on RCP for transport name, starting test 2023-04-06 11:45:32 +01:00
херетик
6e52da4c88 if e=fn();fails(e) and more implementation of rudp handshake 2023-04-02 09:35:20 +01:00
херетик
a5e290c8f0 part way done with rudp handshake 2023-04-01 21:20:27 +01:00
херетик
2181b7c84b better names, better typing structure, routing header as array 2023-03-23 11:52:48 +00:00
херетик
62fb4d1c60 changed back to engine, no silly names! uncle bob will frown. 2023-03-22 00:37:54 +00:00
херетик
aa99a2df3e progressing through route 2023-03-19 01:37:51 +00:00
херетик
f4ab7375e8 route test nearly passing 2023-03-18 17:05:49 +00:00
херетик
0f0851397b beautiful logs 2023-03-18 10:24:32 +00:00
херетик
d3a28fea6e mostly just changing octet to zip 2023-03-17 20:05:29 +00:00
херетик
78c018a971 part way through route and hiddenroute 2023-03-15 13:31:07 +00:00