Alejandro Cabeza Romero
dff60c2f8a
Fix test and add remaining direct peers test.
2024-09-05 22:11:46 +02:00
Alejandro Cabeza Romero
264e0dcca0
Refactor utils for naming clarity
2024-09-05 22:11:27 +02:00
Alejandro Cabeza Romero
37458458de
iDontWant broadcasting test
2024-09-05 18:46:34 +02:00
Alejandro Cabeza Romero
e6a06dcf32
Implement gossip adaptive dissemination tests.
2024-09-04 22:05:16 +02:00
Alejandro Cabeza Romero
aac457ec5b
Implement flood publish with score test
2024-09-04 18:35:28 +02:00
Alejandro Cabeza Romero
a2d2e5d287
Fix gossip check test.
2024-09-04 13:27:09 +02:00
Alejandro Cabeza Romero
952b08cff5
Implement message should not go back to source test.
2024-09-03 19:35:12 +02:00
Alejandro Cabeza Romero
4bffaf1a06
Implement gossip propagation test.
2024-09-02 18:35:08 +02:00
Alejandro Cabeza Romero
a7796bf768
Implement D parameter tests.
2024-08-29 15:18:10 +02:00
Alejandro Cabeza Romero
64477145c4
Remove mock import.
2024-08-28 18:30:27 +02:00
Alejandro Cabeza Romero
0db9812b38
Remove mock and comment test.
2024-08-28 18:00:08 +02:00
Alejandro Cabeza Romero
e53d041305
Fix resub after unsub test.
2024-08-27 18:56:46 +02:00
Alejandro Cabeza Romero
b32badfe9a
Add active waitForMesh proc.
2024-08-27 18:56:46 +02:00
Alejandro Cabeza Romero
543c281205
Improve existing PX test.
2024-08-27 18:56:46 +02:00
gabrielmer
a60f0c5532
feat: adding onValidated observer ( #1128 )
...
### Description
Adding an `onValidated` observer which will run every time a message is
received and validated. This comes from the necessity of precisely track
message deliveries and network activity.
`onRecv` observers run before any check is performed on the received
message, which means that it runs every time a duplicate or invalid
message arrives, which is inefficient and inaccurate for our purpose of
tracking only received, unique and valid messages. Therefore, adding
this extra option of running an observer for every message after all
validation checks pass.
2024-08-01 18:50:13 +03:00
diegomrsantos
78f0855419
feat: add maxSize to TimedCache ( #1132 )
2024-07-01 22:00:51 +02:00
diegomrsantos
2195313dba
feat: iDontWant is sent only for gossipsub 1.2 or higher ( #1135 )
2024-06-25 19:32:08 +02:00
diegomrsantos
7498258f7c
fix(gossipsub): pubsubpeer is created with wrong gossipsub version ( #1116 )
2024-06-13 12:25:48 +02:00
diegomrsantos
96bfefc928
feat(gossipsub): support version 1.2.0 ( #1106 )
2024-06-12 15:46:47 +02:00
diegomrsantos
dc83a1e9b6
chore(formatting): format the whole codebase using nph 0.5.1 ( #1118 )
2024-06-11 17:18:06 +02:00
Jacek Sieka
21cbe3a91a
chore: cleanups ( #1092 )
...
* remove cruft
* remove redundant error handling (reduces warnings)
* remove redundant copying
2024-05-08 14:33:26 +02:00
Jacek Sieka
02c96fc003
Improve memory efficiency of seen cache ( #1073 )
2024-05-01 18:38:24 +02:00
Álex Cabeza Romero
458b0885dd
fix(issue-1052): Single topic for RPC Message ( #1061 )
2024-03-25 12:06:34 +01:00
Jacek Sieka
a2027003cd
Avoid unnecessary rate limit message copy ( #1067 )
2024-03-21 13:11:40 +00:00
Jacek Sieka
ae13a0d583
Send priority with queue fix ( #1051 )
...
Co-authored-by: Diego <diego@status.im>
2024-03-05 15:05:21 +00:00
Etan Kissling
28609597d1
add `{.async: (raises).}` to `libp2p/stream` modules ( #1050 )
...
Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
Co-authored-by: Jacek Sieka <jacek@status.im>
2024-03-05 07:06:27 +00:00
Diego
c5e4f8e12d
Revert "feat: message prioritization with immediate peer-published dispatch and queuing for other msgs ( #1015 )"
...
This reverts commit fe4ff79885
.
2024-02-19 13:47:37 +01:00
diegomrsantos
fe4ff79885
feat: message prioritization with immediate peer-published dispatch and queuing for other msgs ( #1015 )
2024-02-16 10:54:16 +01:00
diegomrsantos
e0f70b7177
improvement: enhanced checkExpiring macro with custom timeout ( #1023 )
2024-02-09 11:51:27 +01:00
Jacek Sieka
2ede0fa40c
remove redundant gcsafe annotations ( #999 )
2023-12-05 08:05:32 +01:00
diegomrsantos
ebef85c9d7
Rate limit fixes ( #965 )
2023-11-09 14:20:28 +01:00
diegomrsantos
3fc1236659
Revert "Prevent concurrent IWANT of the same message ( #943 )" ( #977 )
2023-11-03 15:24:27 +01:00
diegomrsantos
18b0f726df
Rate Limit tests ( #953 )
2023-10-05 15:12:07 +00:00
diegomrsantos
75871817ee
Split msgs in iwant response if bigger than limit ( #944 )
2023-10-02 11:39:28 +02:00
diegomrsantos
56599f5b9d
GossipSub Traffic scoring ( #920 )
2023-09-22 16:45:08 +02:00
Tanguy
b2eac7ecbd
GS: Relay messages to direct peers ( #949 )
2023-09-15 17:22:02 +02:00
diegomrsantos
c6aa085e98
Prevent concurrent IWANT of the same message ( #943 )
2023-08-21 16:34:24 +02:00
diegomrsantos
f80ce3133c
Bandwidth estimate as a parameter ( #941 )
2023-08-14 17:03:46 +02:00
Tanguy
7a369dd1bf
GossipSub: Limit flood publishing ( #911 )
...
Co-authored-by: Diego <diego@status.im>
2023-07-31 11:13:51 +02:00
Tanguy
b784167805
GossipSub: IDontWant ( #934 )
2023-07-28 10:58:05 +02:00
Tanguy
440461b24b
GS: improve handleIHave ( #922 )
2023-07-11 12:17:50 +02:00
Tanguy
4aa615c44c
GossipSub: TimedEntry & shortAgent fixes ( #858 )
2023-04-03 11:05:01 +02:00
Tanguy
6b61ce8c91
GossipSub: Better IWANT handling ( #875 )
2023-04-03 10:56:20 +02:00
Tanguy
8d5ea43e2b
Upgrade flow refactoring ( #807 )
2023-03-08 12:30:19 +01:00
Tanguy
c1a3bd8fee
Fix pubsub CI logs ( #861 )
2023-03-01 16:59:44 +01:00
Tanguy
f14ada3dcf
Move tests flags from 'nimble test' to 'config.nims' ( #852 )
2023-02-10 11:32:21 +01:00
Tanguy
c11772c94e
Happy new year! ( #847 )
2023-01-20 15:47:40 +01:00
Tanguy
1711c204ea
Fix: big messages in pubsub ( #808 )
2022-11-24 16:43:45 +00:00
Tanguy
4bce8f38c9
Remove sleepAsync from tests/testswitch ( #792 )
2022-10-27 23:10:24 +00:00
Tanguy
dc13ff81d3
Revert "Temporarily remove failing test ( #788 )" & fix tests ( #789 )
...
Co-authored-by: Ludovic Chenut <ludovic@status.im>
2022-10-26 11:07:31 +02:00