You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hugo-site/content/news/weekly-dev-meeting-2025-02-07.md
+65-44Lines changed: 65 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,47 +4,68 @@ title = "Weekly Developer Meeting"
4
4
date = 2025-02-07
5
5
+++
6
6
7
-
#### **Attendees**
8
-
- Ian Clarke
9
-
- Ignacio Duart
10
-
11
-
#### **Key Updates & Discussion Points**
12
-
13
-
1.**Network Connection Fixes**
14
-
- Most issues preventing stable peer connections have been fixed.
15
-
- The network can now maintain multiple connections, resolving a previous issue where only two peers could connect at a time.
16
-
- The root cause was a combination of:
17
-
- The gateway not waiting long enough before cleaning transient connections.
18
-
- A logic bug in packet receipt handling that caused repeated transmission loops.
19
-
- A fix was implemented to send receipts after a time threshold, even if the packet count limit wasn't met.
20
-
21
-
2.**Remaining Network Issue**
22
-
- There is still a logical issue in peer filtering when forwarding new connection requests.
23
-
- Some peers are mistakenly being filtered out, preventing them from establishing connections.
24
-
- Ignacio believes the issue stems from unintended state mutations in transaction forwarding logic.
25
-
26
-
3.**Ping Contract Debugging**
27
-
- The team was testing the ping contract using a single peer for writes and others for reads.
28
-
- An issue was discovered where state updates are not propagating, likely caused by a previous efficiency optimization that prevented redundant updates.
29
-
- The get function may also not be retrieving the contract correctly.
30
-
31
-
4.**Persistent Contract Updates for Demo**
32
-
- To ensure the contract is continuously updated, the team will run the ping contract on a gateway to keep activity visible.
33
-
34
-
5.**Code & Technical Adjustments**
35
-
- Discussed removing an outdated connection filtering rule preventing multiple nodes on the same local network from connecting.
36
-
- Ensured that the network can support multiple peers with the same location, using historical response times for routing decisions.
Copy file name to clipboardExpand all lines: hugo-site/content/resources/manual/architecture/p2p-network.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,32 +8,32 @@ draft: false
8
8
9
9
## Small-World Network
10
10
11
-
Freenet is structured as a decentralized peer-to-peer network, based on the idea of
12
-
a [small-world network](https://en.wikipedia.org/wiki/Small-world_network). This
13
-
network topology is scalable and efficient, allowing contract state to be found
14
-
quickly and without any reliance on a central authority.
11
+
Freenet is structured as a decentralized peer-to-peer network, based on the idea of a
12
+
[small-world network](https://en.wikipedia.org/wiki/Small-world_network). This network topology is
13
+
scalable and efficient, allowing contract state to be found quickly and without any reliance on a
14
+
central authority.
15
15
16
16

17
17
18
18
## Freenet Peers
19
19
20
-
In Freenet, a "peer" is any computer running the[Freenet
21
-
Core](https://github.com/freenet/freenet-core) software. The peers are organized
22
-
in a ring-like structure, with each peer assigned a specific numerical value
23
-
between 0.0 and 1.0, indicating its location in the network's topology. This
24
-
location is derived from the peer's IP address.
20
+
In Freenet, a "peer" is any computer running the
21
+
[Freenet Core](https://github.com/freenet/freenet-core) software. The peers are organized in a
22
+
ring-like structure, with each peer assigned a specific numerical value between 0.0 and 1.0,
23
+
indicating its location in the network's topology. This location is derived from the peer's IP
24
+
address.
25
25
26
26
## Establishing Neighbor Connections
27
27
28
-
Every Freenet peer, also referred to as a node, forms two-way connections with a
29
-
set of other peers, termed "neighbors." These connections utilize the User
30
-
Datagram Protocol (UDP) and can do [Firewall hole punching](<https://en.wikipedia.org/wiki/Hole_punching_(networking)>) when necessary. Peers manage their resource usage —
31
-
bandwidth, memory, CPU, and storage — based on limits set by the user.
28
+
Every Freenet peer, also referred to as a node, forms two-way connections with a set of other peers,
29
+
termed "neighbors." These connections utilize the User Datagram Protocol (UDP) and can do
30
+
[Firewall hole punching](<https://en.wikipedia.org/wiki/Hole_punching_(networking)>) when necessary.
31
+
Peers manage their resource usage — bandwidth, memory, CPU, and storage — based on limits set by the
32
+
user.
32
33
33
34
## Adaptive behavior
34
35
35
-
Peers keep track of their neighbor's performance and learn to prefer faster
36
-
connections over time.
36
+
Peers keep track of their neighbor's performance and learn to prefer faster connections over time.
37
37
38
-
Peers can also identify bad behavior by other peers like excess resource usage and
39
-
will disconnect from them.
38
+
Peers can also identify bad behavior by other peers like excess resource usage and will disconnect
0 commit comments