Commit Graph

10616 Commits

Author SHA1 Message Date
jkds
bda9b64d09 net: add reload() fn which reloads settings. currently all stubs except outgoing conns setting 2025-12-31 05:07:22 +01:00
jkds
0897ce2f8c app/gfx: make batch changes use batch end time and completely atomic. drop the entire batch if theres a single conflict 2025-12-31 04:36:29 +01:00
jkds
19c1b8ffea rpc: remove p2p.set_outbound_connections method 2025-12-31 04:07:56 +01:00
jkds
b60d550a3f rpc: move set_outbound_connections from darkirc into rpc p2p handler 2025-12-30 16:52:20 +01:00
jkds
e9a1dbe800 darkirc/rpc: when we check params, just use .unwrap() to get the args after 2025-12-30 16:52:20 +01:00
jkds
88a481d36b app/vid: stop decoding immediately on Video::stop() 2025-12-30 16:01:14 +01:00
jkds
51dc7c4a9b app: introduce window start/stop signals, and use those to adjust the outbound connection count in darkirc plugin from 6 -> 1 (or vice versa) when app is opened/closed 2025-12-30 15:41:19 +01:00
jkds
d9e7a782b4 darkirc/rpc: let Some(...) = ... else { return Json err } 2025-12-30 15:12:53 +01:00
jkds
419da3f849 net: allow runtime modification of outbound connection count. adds a method to darkirc to set_outbound_connections, use the scripts ./script/node_get_info.py and ./script/node_set-connect.py to verify 2025-12-30 14:46:02 +01:00
jkds
a29dbb06b9 app/vid: minor cleanup (Av1VideoData is cloneable so just clone directly) 2025-12-30 13:55:13 +01:00
jkds
ab303d8b0d app: update Makefile asset paths to use dark.fi/assets/ now 2025-12-30 13:41:59 +01:00
jkds
a695718a73 app/vid: add missing VideoDecoder.java file for android hardware accel vid decoder 2025-12-30 13:30:07 +01:00
jkds
edc37a3724 app/vid: cleanup java JNI glue code 2025-12-30 12:42:32 +01:00
jkds
cb92bdd847 app/vid: decode video using native hardware on android 2025-12-30 12:35:43 +01:00
jkds
a9f058d197 app/vid: improve log output 2025-12-30 12:35:43 +01:00
jkds
cc571d4851 remove all () from the ends of log targets: foo::bar() => foo::bar 2025-12-30 12:09:29 +01:00
skoupidi
44a9de17f1 net/settings: minor cleanup 2025-12-30 12:10:31 +02:00
oars
7ddb347c54 doc/misc/nodes/public-guide: guide for autohosting public ipv6 and tor nodes 2025-12-30 11:30:54 +03:00
oars
c2904cdbaf doc: DEP-0007: update docs with changes to net settings 2025-12-30 11:30:54 +03:00
oars
852573bf70 script: DEP-0007: add network profiles to net setting section of the toml configs 2025-12-30 11:30:54 +03:00
oars
1c9391b0b6 example/dchat/dchatd: DEP-0007: add network profiles to net setting section of the toml configs 2025-12-30 11:30:54 +03:00
oars
9cce43b5bf contrib/localnet: DEP-0007: add network profiles to net setting section of the toml configs 2025-12-30 11:30:54 +03:00
oars
81bd50925c bin/app: DEP-0007: rename allowed_transports, retrieve outbound_connect_timeout, channel_handshake_timeout, channel_heartbeat_interval from network profiles 2025-12-30 11:30:54 +03:00
oars
4092cf7231 bin/genev: DEP-0007: add network profiles to net setting section of the toml configs 2025-12-30 11:30:54 +03:00
oars
9cc3046f23 bin/lilith: DEP-0007: rename allowed_transports, manually add default network profiles for all schemes public nodes possibly can use 2025-12-30 11:30:54 +03:00
oars
310bc67a76 bin/fud: DEP-0007: add network profiles to net setting section of fud toml config and use try_into to map settings 2025-12-30 11:30:54 +03:00
oars
ed7b39b930 bin/tau/taud: DEP-0007: add network profiles to net setting section of tau toml config, use the maximum outbound_connect_timeout from all the network profiles for dag sync timeout 2025-12-30 11:30:54 +03:00
oars
a7d5d02fb7 bin/darkfid: DEP-0007: add network profiles to net setting section of darkfid toml config, retrieve outbound_connect_timeout from network profiles 2025-12-30 11:30:54 +03:00
oars
757f1d0542 bin/darkirc: DEP-0007: add network profiles to net setting section of darkirc toml configs, use the maximum outbound_connect_timeout from all the network profiles for dag sync timeout 2025-12-30 11:30:54 +03:00
oars
ada44e3faf dht: DEP-0007: rename allowed_transports to active_profiles 2025-12-30 11:30:54 +03:00
oars
dc57ad3259 event_graph: DEP-0007: rename allowed_transports, retrieve outbound_connect_timeout from network profiles 2025-12-30 11:30:54 +03:00
oars
ee33b9de3b net: DEP-0007: rename allowed_transports and mixed_transports, retrieve outbound_connect_timeout, channel_handshake_timeout, channel_heartbeat_interval from network profiles 2025-12-30 11:30:54 +03:00
oars
8c84b13a26 net/settings: DEP-0007: add network profiles to Settings 2025-12-30 11:30:54 +03:00
oars
860a0e1ed5 bin/app/plugin: DEP-0006: hardcode darkirc and fud as app_name in their respective plugin 2025-12-30 11:30:54 +03:00
oars
9e119068fa bin/lilith: DEP-0006: manually add app identifier for each p2p network in lilith config 2025-12-30 11:30:54 +03:00
oars
179211b2c7 bin,example/dchat,script: DEP-006: retrieve app_name and app_version from CARGO_PKG_NAME and CARGO_PKG_VERSION for use in net Version message 2025-12-30 11:30:54 +03:00
oars
8b7ee9274e net: DEP-0006: add app identifier to Version and Verack messages and check app identifier is the same during version exchange 2025-12-30 11:30:54 +03:00
oars
8b667eccdb net: make modification to banning logic for inbound connection and ban an outbound peer during magic bytes & version exchange mismatch
- when banning a host on an inbound connection, don't ban all ports if we already have a successful connection with that host on a different port
 - if we have magic_bytes mismatch during message decoding or app version mismatch during version exchange ban(blacklist) the peer if it is an outbound session
   so that we don't share this misconfigured or malicious peer with other nodes
2025-12-30 11:30:54 +03:00
oars
fcf0571a1a bin: set unique magic bytes for each seprate p2p network
- add magic bytes to p2p net configs for bins
- hardcode darkirc and fud magic bytes in bin/app darkirc and fud plugins
- make lilith use the separate magic bytes for different p2p networks
2025-12-30 11:30:54 +03:00
darkfi
a05956d412 app: cleanup rav1d build stuff in Makefile and Cargo.toml 2025-12-29 21:28:01 -03:00
skoupidi
5607d2adac doc/Makefile: updated with new darkfid rpc files naming scheme 2025-12-29 19:34:03 +02:00
skoupidi
c9c9a7a38a chore: fixed broken darkfid rpc blockchain.get_block clients requests 2025-12-29 19:25:27 +02:00
skoupidi
ed4b505c8d darkfid/rpc: removed reduntand rpc prefix from file names 2025-12-29 19:20:53 +02:00
x
68d76dece7 doc: glob chapter nav removal since mdbook now appends a ref 2025-12-29 15:13:08 +00:00
x
ee68360232 doc: Fix mdbook build with latest mdbook version 2025-12-29 15:13:08 +00:00
x
1d28313dfd doc: Improve JSONRPC doc generation 2025-12-29 15:13:08 +00:00
x
8b1759cf93 darkfid: Improve JSONRPC docs 2025-12-29 15:13:08 +00:00
skoupidi
aec8c903d6 darkfid/rpc: don't return error when miner registration fails so xmrig/p2pool don't dc 2025-12-29 16:40:07 +02:00
skoupidi
16151cc4b0 darkfid/rpc: don't return error when node is out of sync so xmrig/p2pool don't dc 2025-12-29 16:23:23 +02:00
skoupidi
86f6e8712b darkfid/registry: try to refresh jobs when a submittion fails 2025-12-29 16:18:25 +02:00