240 Commits

Author SHA1 Message Date
Arnaud
0f4c509ef3
Move the client mode check at the beginning of the proc 2026-05-14 09:10:13 +04:00
Arnaud
f43580c713
Add client mode even when the value is false 2026-05-07 09:36:26 +04:00
Arnaud
92a92b0ab4
Switch to Nim 2.2.10 on CI 2026-05-07 09:35:56 +04:00
Arnaud
497782ca3a
Add logs 2026-05-06 18:43:52 +04:00
Arnaud
a26638bc9e
Fix minor issues 2026-05-06 18:31:19 +04:00
Arnaud
1a35212eee
Add clientMode in the Message 2026-05-06 18:19:56 +04:00
Arnaud
c7521be1ca
Use DhtMode 2026-05-04 18:37:02 +04:00
Arnaud
897573d437
Fix PR reviews 2026-05-04 18:29:36 +04:00
Arnaud
4635266869
Add future callback to prevent unbound growth 2026-05-04 15:33:41 +04:00
Arnaud
02bf4427ed
Add register talk protocol unicity check 2026-05-04 15:25:42 +04:00
Arnaud
07b9e0427e
Fix client mode checking 2026-05-04 10:50:46 +04:00
Arnaud
c24955c442
Add clientMode check over TalkProtocol 2026-05-04 10:01:21 +04:00
Arnaud
0b3337ca09
Remove clientMode checking in addProvider 2026-05-01 13:57:21 +04:00
Arnaud
558b2f4939
Add client mode in findNode 2026-05-01 11:20:27 +04:00
Arnaud
1af8dcf504
Bump version (#114) v0.6.2 2026-04-24 20:34:02 +04:00
Arnaud
3a6a3e771a
Fix crash (#113) 2026-04-24 18:33:31 +04:00
Arnaud
67dbc3fe13
Update to 0.6.1 (#112) v0.6.1 2026-04-21 15:28:23 +04:00
Arnaud
64091a17ee
chore: update nim 2.2.8 (#111)
* Update to 2.2.8

* Reduce chronicles requirement version

* Restore Nim 2.2.4 in nimble

* Update ci

* Update ci version

* Try to remove windows

* Restore previous action

* Try to upgrade nimble version

* Try to fix dependencies issue

* Try to downgrade nimble

* Try 0.20.0

* Add nimble lock

* Remove nimble custom install

* Trying something

* Fix syntax

* debug

* Restore dependencies version and update chronos upper bound version

* Remove debug statements

* Remove debug statements

* Remove debug statements

* Update codexdht/private/eth/p2p/discoveryv5/providers/maintenance.nim

Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>

* Update codexdht/private/eth/p2p/discoveryv5/providers/maintenance.nim

Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>

* Refactor to use questionable

* Revert unneeded changes

* Remove spaces

---------

Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
2026-04-21 15:25:19 +04:00
Chrysostomos Nanakos
754765ba31
chore: orc support (#110)
Support ORC memory model (https://github.com/logos-storage/logos-storage-nim-dht/issues/109)

Signed-off-by: Chrysostomos Nanakos <chris@include.gr>
2025-12-23 23:23:31 +02:00
Arnaud
99884b5971
Rename Codex to Logos Storage (#108) 2025-12-15 13:46:04 +01:00
Jacek Sieka
6c7de03622
chore: bump stew et al (#107)
* fix use of deprecated imports
* bump stew
* `results` is its own package
* drop protobuf_serialization
* force leveldb version
2025-12-11 13:47:10 +01:00
Eric
f6eef1ac95
Merge pull request #104 from codex-storage/update-to-nim-2-x
Update to nim 2 x
0.5.0
2025-02-14 12:01:54 +11:00
Arnaud
fb17db8187
Update dependencies versions 2025-02-13 20:54:49 +01:00
Eric
d435c6945f
Merge pull request #105 from codex-storage/fix/deps/2.0-deps
fix(deps): remove deps pinned to commit hash
2025-02-13 15:25:50 +11:00
Eric
89d22c156e
bump nimcrypto 2025-02-13 15:07:51 +11:00
Eric
ee33946afb
bump nimcrypto 2025-02-13 12:19:43 +11:00
Eric
c777106e7f
set non-major range for remaining deps 2025-02-13 12:15:22 +11:00
Eric
14d4dd97e9
toBytes -> toBytesBE 2025-02-13 12:15:00 +11:00
Eric
a9e17f4a33
remove nim 1.6 from ci 2025-02-13 12:09:50 +11:00
Eric
bc27eebb85
fix pinned deps
Leaving nim-datastore as a commit hash until it has a relevant release tag
2025-02-13 12:08:09 +11:00
Ben
0f67d21bbc
updates nim-datastore 2025-02-10 11:25:40 +01:00
Arnaud
4bd3a39e00
Update to Nim 2.0.14 2025-01-07 10:51:55 +01:00
Arnaud
5f22be0420
Remove useless comment 2024-12-18 10:52:06 +01:00
Arnaud
4eb4e9126a
Use IpAddress instead of ValidAddress; remove unused import 2024-12-18 10:50:02 +01:00
Arnaud
5320e8c81e
Remove .lock and file and direct dependency to nim-results 2024-12-10 10:05:59 +01:00
Arnaud
cc54a4f0ec
Set dependencies versions and commit hashes and introduce nimble.lock 2024-12-09 18:57:41 +01:00
Arnaud
e7e45de75f
Nim 2 config auto generated 2024-12-09 18:57:03 +01:00
Arnaud
a3f203bbea
Add nimbledeps to gitignore 2024-12-09 18:56:18 +01:00
Arnaud
de39c2006e
Add Nim version 2.0.12 to CI matrix 2024-12-09 12:56:14 +01:00
Arnaud
cafb6ffe53
Update version 2024-12-09 12:55:24 +01:00
Arnaud
570fb9a936
Update dependencies 2024-12-09 12:48:03 +01:00
Arnaud
9fdf0eca8a
Add Nim 2.x specific configuration 2024-12-09 12:47:35 +01:00
Arnaud
d73dc48515
Add pragma for exception raises 2024-12-09 12:47:08 +01:00
Csaba Kiraly
57f4b6f7cb
Merge pull request #103 from codex-storage/fix-randomNodes
fix potential infinite loop in randomNodes
2024-10-18 20:45:49 +02:00
Csaba Kiraly
ee4e2102d9
Merge pull request #99 from codex-storage/fix-removal
add link reliability metrics, fix aggressive node removal on first packet loss
2024-10-18 20:14:23 +02:00
Csaba Kiraly
a6cfe1a084
fix potential infinite loop in randomNodes
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-10-17 12:38:54 +02:00
Csaba Kiraly
1a344f1fd7
log reliability based on loss statistics
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-10-15 18:17:49 +02:00
Csaba Kiraly
fee5a9ced2
set NoreplyRemoveThreshold to 0.5
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-10-14 15:35:15 +02:00
Csaba Kiraly
6310c50ce0
introduce NoreplyRemoveThreshold
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>

# Conflicts:
#	codexdht/private/eth/p2p/discoveryv5/protocol.nim
2024-10-14 15:35:10 +02:00
Csaba Kiraly
7507e99c96
register "not seen" when missing replies
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-10-14 15:33:34 +02:00