3724 Commits

Author SHA1 Message Date
skoupidi
f0e22c8d1e darkfid/task/garbage_collect: refactored to a standalone background task 2026-04-03 17:41:20 +03:00
skoupidi
e33283d647 darkfid/rpc/tx: rebroadcast mempool call added 2026-04-03 13:50:11 +03:00
skoupidi
a2daf84bea validator/consensus: removed redudant mempool vec from Fork struct 2026-04-03 13:44:28 +03:00
skoupidi
08f86923c9 blockchain: removed pending transactions order tree and related fns 2026-04-03 13:28:52 +03:00
skoupidi
18831ea49e darkfid: purge unreferenced trees after a new tx is received 2026-04-03 12:51:54 +03:00
oars
76588e4221 drk, contract/test-harness: don't add tx-local coins to money tree 2026-03-30 17:56:19 +03:00
oars
bf75872aa4 drk: make the methods accessible in drk lib 2026-03-27 15:17:26 +03:00
x
15d399e6f5 contract/money: Implement tx-local state 2026-03-24 15:34:06 +00:00
darkfi
595bab88af app: add debug property to button nodes to see their outline 2026-03-23 10:55:08 +04:00
jkds
c78e468e75 app: add scroll_layer + schema test. currently does nothing just stubs 2026-03-19 11:36:24 +01:00
media
f53085671b app/menu: Resize channel layout and adjust icon positioning
Separate constant for channel header height (smaller Channel height)
   Add platform-specific icon offset for vertical alignment with Sync Icon
   Align hammy and X icons symmetrically but mirrored
   Adjust hammy icon size to match X icon
2026-03-16 17:55:06 +03:00
oars
eec7de2ecd refactor: move compute_fee from validator to sdk/blockchain and remove drk dependency on validator feature due to validator feature's deploy_native_contracts function
that causes an error when drk is used as a library
2026-03-13 16:50:41 +02:00
oars
64baac3c42 bin/drk: expose drk as a library and make parse_blockchain_config accessible 2026-03-13 16:50:41 +02:00
oars
0510243f0f bin/drk: tx-from-calls: handle multiple calls with multiple roots and retrieve signature secrets in post order traversal 2026-03-12 16:27:54 +03:00
brid
d268ae6847 drk/doc: grammar edit drk help and doc comments 2026-03-04 13:01:59 +01:00
brid
53757cbe08 dnet: update requirements and Python version in README 2026-03-04 13:01:59 +01:00
jkds
4a7807cc21 app/contacts: add ok button to accept edits to contacts 2026-02-28 15:07:50 +01:00
darkfi
8232a0523c app: add missing edit_switch.rs file 2026-02-28 14:50:49 +01:00
darkfi
67f4963ea6 app/contacts: clicking between fields switches focus among editors 2026-02-23 22:24:03 +01:00
darkfi
3201aa187f app: unstyled contacts list 2026-02-23 17:36:41 +01:00
darkfi
549161f9b3 app: add contact list schema 2026-02-22 18:42:01 +01:00
darkfi
4a99a6bd93 app: allow storing tasks in nodes so we can clear them before unlinking 2026-02-21 12:28:37 +01:00
darkfi
336b123a36 app: start changing Arcs to Weaks used inside tasks so Drop works correctly 2026-02-20 18:25:04 +01:00
darkfi
7e3ada5bd2 app: add prop.unlink() and call it when we delete chats 2026-02-19 18:07:01 +01:00
darkfi
904d8fd6a0 app/menu: add edit_done signal which sends list of deleted items to menu schema, and also add a listener for the signal 2026-02-18 12:43:47 +01:00
darkfi
f87fd7a6f4 app/prop: add get/set_X_vec() methods to Property, and make use of this for menu cancel action (to reset menu to prev state). 2026-02-18 12:17:05 +01: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