Commit Graph

10941 Commits

Author SHA1 Message Date
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
x
b0ad83177c spec/vesting/concepts: Fix set notation 2026-03-12 12:05:54 +00:00
x
941b7edfc1 doc/spec/contract/vesting: LaTeX styling 2026-03-12 11:55:40 +00:00
skoupidi
e85401b5ed doc/spec/contract/vesting: vesting formula calculations explanation and example added and fixed wrong forfeit check 2026-03-12 13:34:57 +02:00
skoupidi
eb0a98572b doc/spec/contract/vesting: formal definitions added 2026-03-11 14:41:04 +02:00
skoupidi
9c9cc9d340 doc: minor formatting chore 2026-03-05 13:29:09 +02:00
skoupidi
b47e49951f script/research/gg: properly parse recipient address 2026-03-04 18:52:21 +02:00
brid
bdbe76c2c1 doc/testnet: edit for grammar and clarity 2026-03-04 13:01:59 +01: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
x
2b955bfdd5 contract/money: Remove artifical limit of single token ID per transfer.
We now keep grouped accumulators for each token ID.
2026-02-25 12:25:10 +00:00
darkfi
67f4963ea6 app/contacts: clicking between fields switches focus among editors 2026-02-23 22:24:03 +01:00
G10h4ck
a9780e60db doc/misc/nodes/public-guide: Add doc for UPnP IGD 2026-02-23 21:38:11 +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
x
6504267493 doc: Add DEP-0008 (Transaction-local state) 2026-02-17 09:34:58 +00: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
skoupidi
06ff2454fd validator/utils: minor fix in worst_fork_index() 2026-02-12 15:41:47 +02: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
cc782bfea2 validator: chore format comments to match style 2026-02-11 16:01:14 +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
caca412031 validator: use a single MAX_32_BYTES constant 2026-02-11 15:20:38 +02:00
skoupidi
89b4dbe4a1 validator/verification: verify block timestamp based on sync state 2026-02-11 15:18:44 +02:00
skoupidi
b4fa82cb3f validator/utils: fixed missmatched returned value in median() 2026-02-11 15:06:41 +02:00
skoupidi
de5b7699c6 validator/consensus: ensure no other competing fork exists during confirmation 2026-02-11 15:06:05 +02:00
skoupidi
e4ce356952 validator/consensus: check fork proposals are after the requested tip height before appending them in get_fork_proposals_after 2026-02-11 15:05:15 +02:00
skoupidi
8753c20c1b validator/pow: don't blindly unwrap next darkfi rx key 2026-02-11 15:04:26 +02:00
skoupidi
08adccb16c validator/consensus: minor clarification comment added in reset_forks() 2026-02-11 15:02:22 +02:00