615 Commits

Author SHA1 Message Date
dasman
616e5cdd25 [WIP] added event headers, concurrent requests from connected peers and wip sync mechanisms 2026-04-06 05:14:00 +03:00
G10h4ck
7e2c613054 net: add UPnP IGD NAT traversal support
Implement opt-in UPnP IGD port forwarding for P2P nodes behind NAT,
enabling inbound connections without manual router configuration.
This is gated behind the `upnp-igd` feature flag.

Changes:
- Add PortMapping trait for pluggable port-mapping protocols (UPnP, PCP, NAT-PMP...)
- Add optional oxy-upnp-igd v0.1 dependency behind `upnp-igd`
- Parse UpnpConfig (enabled, discovery_timeout, lease_duration, description,
  refresh_interval) from listener URL
- Periodically refresh external address and publish it to the P2P network
- Add UPnP-specific error handling
- Enable `upnp-igd` feature in darkirc (opt-in; not enabled by default)

Port mappings are created lazily once a gateway is discovered and are
automatically renewed. External addresses are tagged `source=upnp` and
refreshed at a configurable interval.

Signed-off-by: Gioacchino Mazzurco <gio@polymathes.cc>
Reviewed-by: grug
Reviewed-by: upgrayedd
2026-02-13 13:33:29 +02:00
skoupidi
7181db089e chore: updated sled-overlay to new version 2026-02-09 18:16:37 +02:00
skoupidi
3bbe1166fa chore: updated sled-overlay to new version 2026-02-03 20:53:26 +02:00
skoupidi
cb07f10595 chore: updated sled-overlay to new version 2026-02-02 23:20:13 +02:00
skoupidi
67a8cb3833 chore: updated sled-overlay to new version 2026-02-02 17:55:35 +02:00
x
6d09d6eb18 chore: Update quinn dependency 2026-01-28 15:11:39 +00:00
skoupidi
7914422d8b chore: updated sled-overlay to new version 2026-01-24 16:58:57 +02:00
x
2b0481558f explorer: Add WIP rewrite with Tapes db 2026-01-22 14:35:17 +00:00
x
436e5fe13e net: Simplify Hosts to use a single lock 2026-01-20 09:31:52 +00:00
x
cb7f9e4d0c net: Implement QUIC transport based on quinn
Also deduplicate some TLS code.
2026-01-15 16:42:43 +00:00
skoupidi
5aeb0b168f event_graph: guard rpc stuff behind rpc feature 2026-01-08 14:51:28 +02:00
skoupidi
0692bf9ce7 Cargo.toml: reverted zk feature back to asyn-sdk 2026-01-03 17:40:03 +02:00
x
fcdf5ee488 chore: Update crate dependencies 2026-01-01 19:48:04 +00:00
x
ed9be657ab serial: Bring it back home 2026-01-01 19:48:04 +00:00
x
500f0c2891 chore: Unify all halo2 deps to be exact
We should still figure out what to do before publishing darkfi-sdk to
crates.io since it probably can't reference a git version.

This might imply publishing our halo2 fork as well, probably under
halo2-darkfi namespace.
2025-12-31 16:54:04 +00:00
x
c3e227adf1 net/tls: Port code to latest rcgen version 2025-12-25 12:55:19 +00:00
x
add9bb596c chore: Update crate dependencies 2025-12-25 12:22:56 +00:00
x
51ec47e20c chore: Disable minerd from building before removal 2025-12-24 17:56:20 +00:00
skoupidi
5d47358902 chore: updated sled-overlay to new version 2025-12-24 14:01:20 +02:00
skoupidi
5d9bfe7507 chore: updated sled-overlay to new version 2025-12-22 16:09:09 +02:00
skoupidi
346a3517bd chore: updated sled-overlay to new version 2025-12-22 15:36:52 +02:00
skoupidi
82ac85872c chore: updated sled-overlay to new version 2025-12-22 14:37:17 +02:00
skoupidi
041b637ff8 Cargo.toml: moved deps to correct feature 2025-11-24 12:12:14 +02:00
x
aa537b9e4b chore: Update crate dependencies 2025-11-24 12:12:14 +02:00
parazyd
e493f397dc chore: Update crate dependencies 2025-11-24 12:12:13 +02:00
parazyd
dc4e461379 validator/xmr: Add aux chain checks 2025-11-24 12:12:13 +02:00
parazyd
ea74788153 chore: Thaw randomx dependency 2025-11-24 12:12:13 +02:00
parazyd
315745b8ef system: Implement thread priority setting 2025-11-24 12:12:13 +02:00
parazyd
3a42ba5fda validator: Add wrapper for initializing RandomX datasets 2025-11-24 12:12:13 +02:00
parazyd
51a9a7de77 validator/xmr: Add creation of MoneroPowData from monero::Block 2025-11-24 12:12:13 +02:00
skoupidi
a08b04efd2 util/logger: clippy chore 2025-11-18 21:52:58 +02:00
oars
ac0365cc60 Cargo.toml, Cargo.lock: change dependencies used for logging
- replace log crate with tracing,
- replace simple-log crate with tracing-subscriber and tracing-appender
- add nu-ansi-term crate as a dependency which is itself tracing-subscriber's dependency,
  inorder to write colored outputs to the terminal since we override formatting provided
  by tracing-subscriber
2025-11-07 10:15:36 +03:00
skoupidi
d0c49d24d0 chore: updated sled-overlay to new version 2025-10-24 12:58:55 +03:00
epiphany
a5122d8d41 fud, dht: remove fetch_seeders() (replaced by a pubsub), cleanup Dht and DhtHandler
Instead of awaiting a `fetch_seeders()` method, there is a pubsub (see `dht.lookup()`) where seeders are send to as soon as they are found, so you can start downloading as soon as you find one seeder.

Before this, you started downloading when you fetched all seeders which increased the initial delay for all downloads.
2025-09-15 14:27:16 +02:00
parazyd
fda2a84034 chore: Update dependencies 2025-08-05 09:41:05 +02:00
epiphany
192a854d2e dht: add geode feature 2025-07-04 13:10:49 +02:00
parazyd
2e2de47c69 v0.5.0 release 2025-06-06 13:50:10 +02:00
parazyd
46d815ace0 chore: Update crate deps and freeze RandomX git rev 2025-05-21 15:01:54 +02:00
skoupidi
61c4b831e3 chore: updated sled-overlay to new version 2025-05-17 19:10:01 +03:00
parazyd
e002530bb2 chore: Update packages to v0.5.0 2025-05-09 11:32:44 +02:00
parazyd
75444e21fa lib: Update crate version 2025-05-07 17:06:53 +02:00
skoupidi
ee0b139e45 script/research/powdata: moved into blockchain/monero 2025-05-07 10:32:39 +03:00
epiphany
1d2ecd4716 dht: fix make check 2025-05-05 15:43:03 +02:00
epiphany
148181bd79 fud, dht: move the dht out of fud 2025-05-04 15:21:35 +02:00
parazyd
81f37b7b2a chore: Update crate dependencies 2025-05-03 10:35:40 +02:00
skoupidi
c4f3b4eb11 chore: updated sled-overlay to new version 2025-04-25 14:47:40 +03:00
oars
78ede4afa1 net: add p2p-socks5 and p2p-i2p features 2025-04-23 13:21:09 +03:00
parazyd
c040d9c00f chore: Update crate dependencies 2025-04-15 10:49:43 +02:00
darkfi
f630e1cd7c fud: remove chunk seeders, change file hash, replace hex with bs58 2025-04-11 16:03:17 +00:00