Commit Graph

12 Commits

Author SHA1 Message Date
Akilan Selvacoumar
9775525d35 gofmt peernet (#103) 2023-02-12 09:59:31 +00:00
Kleissner
cb1441c97a VirtualPacketConn: New Stats field maintained by caller. This allows insight into active transfers.
New FileTransferStats and BlockTransferStats structures.
2022-03-16 23:52:55 +01:00
Kleissner
c9158cb15f UDT: Fix critical bugs: Virtual Connection should not block.
Revert close channel from last commit.
2022-02-27 04:11:59 +01:00
Kleissner
f305e5b158 Lite Packet algorithm for data transfer. It bypasses the CPU expensive Peernet Protocol packet encoding (which uses public key signing). 2022-01-17 03:48:40 +01:00
Kleissner
f2c344dc96 Major refactoring of the code base into Backend structure. Increase version number to Alpha 6 to prepare for the upcoming release. 2021-12-29 05:29:34 +01:00
Kleissner
50ec1c804e Proper abstraction of virtualPacketConn. It now supports other transport protocol encodings. 2021-12-04 02:56:14 +01:00
Kleissner
f3d5f23cf9 Transfer: Record close reason of underlying library (UDT). This helps for debugging issues. Close #54 2021-11-08 04:40:53 +01:00
Kleissner
14f034cc8d Turns out internet MTU must be honored, otherwise packets are dropped/not reassembled. Setting to 1500 bytes for transfer messages. 2021-11-05 03:39:46 +01:00
Kleissner
39bc255007 Minor cleanup 2021-10-24 06:31:36 +02:00
Kleissner
f6bbd02a01 Transfer: Change virtual connection from net.PacketConn to channels which is faster and less complex.
Improve termination behavior and documentation of it.
2021-10-24 06:27:23 +02:00
Kleissner
75e3d9a42e Initial UDT implementation for file transfer.
New function RequestFileTransferUDT to download files from other peers.
2021-10-24 04:26:30 +02:00
Kleissner
7b732e1232 Create initial virtual net.PacketConn code for embedding other transfer protocols. This is likely going to be replaced with direct channel I/O.
Create swarm readme! Swarms are to be introduced soon!
2021-10-24 00:18:04 +02:00