Commit Graph

12 Commits

Author SHA1 Message Date
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
0493acce64 Update log file name 2021-12-29 16:07:40 +01:00
Kleissner
20a1d45520 webapi: Implement GeoIP. 2021-12-14 03:09:28 +01:00
Kleissner
d494d46410 🔍 search algorithm! 🎉🎊🥳 2021-12-12 19:12:01 +01:00
Kleissner
15e46133c7 Global Blockchain Cache implementation. Automatically download other blockchains based on the limits in the config.
Started with a unified backend struct. Long term all lose vars should be put there, which in term will support multiple concurrent Peernet instances (users) within the same process.
2021-12-11 14:55:02 +01:00
Kleissner
f7e8f1821b New flag Firewall in the Features field to inform uncontacted peers that a Traverse message might be required to establish a connection. Close #61
This flag can be activated via the config setting LocalFirewall.
The Features field exists in Announcement/Response messages and was now added to peer records.
2021-11-20 04:28:03 +01:00
Kleissner
446c62bcd9 Explicitly define locations for important files and folders in the config file.
This removes the hardcoded paths for the blockchain and warehouse.
2021-11-17 17:37:04 +01:00
Kleissner
f1da49d68e Add PortForward setting to override external listening port. Improve default config inline documentation.
Prepare EnableUPnP setting.
2021-05-04 12:43:31 +02:00
Kleissner
35f50230cd Add 2 root peers. New seed list auto update. 2021-04-25 04:40:45 +02:00
Kleissner
ce2d3309af Update seed list. New function LoadConfigOut to parse main config into custom structure.
Remove reuseport module file (not needed).
2021-04-15 12:59:06 +02:00
Kleissner
75c0d12850 Adding initial 2 root peers. The Peernet network is live! 16.03.2021 2021-03-16 23:04:28 +01:00
Kleissner
aca6d65044 Introduce default configuration file which is embedded into the binary.
Proper LoadConfig function with error status. Close #1
Separate InitLog function with error return.
2021-02-28 14:46:16 +01:00