feat(neighbour-links): implement neighbour link tracking and history retrieval

This commit is contained in:
Rightup
2026-07-15 17:08:40 +01:00
parent 6aafa7fe99
commit 9688fe70e4
60 changed files with 1137 additions and 54 deletions
@@ -656,9 +656,7 @@ async def test_protocol_request_real_crypto_consume_vs_collision_forward():
genuine, _ = PacketBuilder.create_protocol_request(
_SendDest(local.get_public_key()), sender, REQ_TYPE_GET_STATUS
)
with patch(
"repeater.handler_helpers.protocol_request.asyncio.sleep", new_callable=AsyncMock
):
with patch("repeater.handler_helpers.protocol_request.asyncio.sleep", new_callable=AsyncMock):
assert await helper.process_request_packet(genuine) is True
assert genuine.is_marked_do_not_retransmit()
injector.assert_awaited() # a response was transmitted