3699 Commits

Author SHA1 Message Date
x
511843f7af runtime: Implement transaction-local state (DEP-0008) 2026-02-18 11:40:22 +00:00
darkfi
6f498062ab app/menu: add cancel edit action 2026-02-17 14:19:05 +01:00
darkfi
d55f72181a app/menu: add done action when editing the menu 2026-02-17 12:32:43 +01:00
darkfi
eecda86d09 app: make cancel and done edit buttons call menu methods 2026-02-16 22:28:50 +01:00
darkfi
829bc9ed60 app: add menu edit mode buttons: cancel and done 2026-02-16 19:16:04 +01:00
darkfi
00b230fe1e app/menu: add a fade zone 2026-02-14 10:54:09 +01:00
darkfi
00cdc2ea6a app: drag to reorder menu items 2026-02-13 19:14:31 +01:00
darkfi
7bc50e4540 app/menu: click X logic 2026-02-13 19:14:31 +01: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
darkfi
a32718b8fb app/menu: adjust hammy handle for menu 2026-02-12 15:30:22 +01:00
darkfi
6a5d23df31 app: cargo update 2026-02-12 12:00:19 +01:00
darkfi
0ad7eb786c app/menu: proper shapes for long select menu 2026-02-12 12:00:19 +01:00
skoupidi
5b085e7538 darkfid: new testing genesis blocks added 2026-02-11 16:27:38 +02:00
skoupidi
fb11efb45d darkfid/task/unknown_proposal: retrieve all proposals before locking validator state to build the peer fork 2026-02-11 15:25:19 +02:00
skoupidi
89b4dbe4a1 validator/verification: verify block timestamp based on sync state 2026-02-11 15:18:44 +02:00
skoupidi
8753c20c1b validator/pow: don't blindly unwrap next darkfi rx key 2026-02-11 15:04:26 +02:00
skoupidi
eb7ee7dddc validator/consensus: bound in-memory forks with a configurable param 2026-02-11 15:01:08 +02:00
x
7c5390c899 contract/money: Implement Money::BurnV1 function
This allows provable coin burning without requiring outputs.
2026-02-10 15:03:25 +00:00
epiphany
6ff035e8f7 drk: add pretty_tx() for the inspect command 2026-02-09 18:16:45 +02:00
skoupidi
7181db089e chore: updated sled-overlay to new version 2026-02-09 18:16:37 +02:00
skoupidi
fc84d67174 darkfid/task/sync: fixed resync bug after node dc 2026-02-04 12:50:35 +02:00
skoupidi
3bbe1166fa chore: updated sled-overlay to new version 2026-02-03 20:53:26 +02:00
oars
f5a3eb84c0 bin/lilith: don't exit loop when whitelist_host and greylist_host methods return error 2026-02-03 20:49:59 +02:00
x
1c806010c9 chore: Fix uncaught code formatting 2026-02-02 23:08:45 +00:00
x
7ab468c5a0 explorer: Make darkfid RPC connections retry, improve sync
This will allow darkfid restarts, where explorer can still
survive and stay on.

Because of this, added a a code path when processing incoming
blocks that should make the explorer sync blocks if it missed
any in the meantime.
2026-02-02 23:04:50 +00:00
skoupidi
f382141d5c darkfid/task/unknown_proposal: update peer fork diffs to represent forward-only ones 2026-02-02 23:21:00 +02:00
skoupidi
cb07f10595 chore: updated sled-overlay to new version 2026-02-02 23:20:13 +02:00
x
43d6f61687 explorer: Add manual revert support and fix reorg logic 2026-02-02 16:33:33 +00:00
skoupidi
67a8cb3833 chore: updated sled-overlay to new version 2026-02-02 17:55:35 +02:00
skoupidi
e36a6d635b validator/randomx_factory: simplified factory api to not use locks 2026-02-01 21:35:38 +02:00
skoupidi
94c66b042a darkfid/registry: guard state behind a single lock 2026-02-01 21:28:24 +02:00
skoupidi
ecefad8ac0 validator: guard everything behind a single lock 2026-02-01 19:46:43 +02:00
skoupidi
b5d13fb163 darkfid/task/unknown_proposal: refresh miner registry after a reorg 2026-01-30 19:31:59 +02:00
skoupidi
c277897589 darkfid/task/unknown_proposal: include trigger proposal in the headers hash sequence rank calculation 2026-01-30 18:21:02 +02:00
skoupidi
bd68f9238b darkfid/task/unknown_proposal: full refactor for cleaner code and usage of append lock while generating the reorg fork 2026-01-30 17:10:51 +02:00
skoupidi
95523adfcf darkfid: protect reorg trees from getting dropped by gc 2026-01-29 13:43:46 +02:00
jkds
74246d0c7b app/menu: center icons at padding 2026-01-27 19:20:36 +01:00
x
df0763da2d explorer: Add /blocks endpoint with pagination 2026-01-27 14:17:50 +00:00
x
eddb0245da explorer: Add Monero header hash when PoWData is XMR 2026-01-27 14:17:50 +00:00
x
735a1feb95 explorer/python: Use patriotic datetime 2026-01-27 09:30:00 +00:00
x
3ae63f1f06 explorer/python: Reconnect to RPC if connection is unavailable/lost 2026-01-26 14:29:25 +00:00
jkds
843911e94b app/menu: long click hold show buttons to edit entries 2026-01-25 09:36:11 +01:00
skoupidi
689212f6a4 darkfid: include miners templates txs when purging pending txs and remove erroneous ones from fork mempool when retrieving its unproposed ones 2026-01-24 17:51:07 +02:00
skoupidi
976039dee2 darkfid/registry: mark a template as not submitted in case its next block generation fails during jobs fresh 2026-01-24 17:24:00 +02:00
skoupidi
3b823c17bb darkfid: include miners tempaltes new trees when purging unferenced trees 2026-01-24 17:09:54 +02:00
skoupidi
7914422d8b chore: updated sled-overlay to new version 2026-01-24 16:58:57 +02:00
x
8e7a6ad6ab chore: fmt 2026-01-24 08:11:22 +00:00
x
00b3c29ca0 explorer/python: Another one 2026-01-24 00:28:39 +00:00
x
153dc76e52 explorer/python: Fix typo in table template 2026-01-24 00:18:29 +00:00
x
38750505f6 explorer: Add blockchain stats and WASM bincode tracking 2026-01-24 00:13:10 +00:00