Commit Graph

10635 Commits

Author SHA1 Message Date
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
skoupidi
18cbb5ae2d minerd: rip sweet prince 2025-12-29 15:38:50 +02:00
skoupidi
ecfebc2b71 chore: dropped minerd references 2025-12-29 15:38:12 +02:00
skoupidi
73ca7106fa doc/testnet: define xmrig retries setup 2025-12-29 15:23:41 +02:00
skoupidi
f13734179c contrib/localnet/darkfid*: use higher retries than default so xmr doesn't stop trying while darkfid inits 2025-12-29 14:28:54 +02:00
skoupidi
ef6768c07c doc/testnet: replaced minerd with xmrig 2025-12-29 14:24:43 +02:00
x
61a7077956 darkfid/stratum: Pad target and send 8 MSB 2025-12-28 18:57:43 +00:00
skoupidi
86a6b1e87c contrib/localnet/darkfid*: updated all localnet configs and scripts to use xmrig 2025-12-28 17:58:01 +02:00
skoupidi
8f480289ae darkfid/registry: print proposal message only if append is successful 2025-12-28 17:53:30 +02:00
skoupidi
dc50851648 darkfid/task/consensus: always refresh registry on new proposals 2025-12-28 17:02:47 +02:00
skoupidi
021c8927d7 drk: display mining configuration address right away 2025-12-28 16:04:21 +02:00
skoupidi
2997be6e2a darkfid/registry/model: store both randomx keys and add the next one to the job notification if its different from current one 2025-12-28 15:30:44 +02:00
skoupidi
79a8526fdc darkfid/rpc/rpc_xmr: fully define the chain id 2025-12-28 15:24:51 +02:00
skoupidi
f47ce1d9e5 darkfid/registry: split jobs into native and mm for simpler handling and only generate new templates if they don't extend best current fork 2025-12-28 15:07:22 +02:00
x
a1619c75aa net/tls: Use PKCS_ED25519 as the certificate signature scheme
This keeps compat with old implementation before c3e227adf1
2025-12-28 11:15:25 +00:00
x
0fcd8c96d3 darkfid; Minor cleanups 2025-12-28 11:07:43 +00:00
darkfi
d1b94095a8 app: fix IVF AV1 YUV 420 vids to work on Android. Turns out the decoding thread had a race condition, so we do the header loading sync now to get the number of frames first before continuing. it hardly affects performance much at all. 2025-12-28 03:21:21 -03:00
darkfi
efd375b443 app: add support for multiple pipelines, and introduce a YUV shader. Migrate video AV1 to YUV 420 format. 2025-12-27 16:29:29 -03:00
skoupidi
d7444dce1f darkfid/tests/metering: updated header size 2025-12-27 20:06:21 +02:00
skoupidi
e81e01dd98 darkfid: massive overhaul of mining rpc so everything goes through the registry 2025-12-27 19:37:39 +02:00
skoupidi
662da29b59 [WIP] darkfid: moved rpc into its own module 2025-12-26 14:37:52 +02:00
skoupidi
760d230d61 [WIP] darkfid: introduced a registry to handle all miners related stuff 2025-12-26 14:24:02 +02:00
darkfi
2129017031 app: add forgotten vid submodule 2025-12-26 02:22:26 -03:00
darkfi
a6d8104b97 Revert "Add iOS build and run support for the DarkFi app"
This reverts commit 7243212aee.
2025-12-26 02:15:38 -03:00
darkfi
0e56d14013 app/vid: make video decoding fast now. turns out i just need release mode for rav1d 2025-12-26 01:07:00 -03:00
darkfi
187829a873 app/gfx: allow RGB8 texture fmts in addition to RGBA8 2025-12-25 19:46:14 -03:00
darkfi
f897e8f36c app: migrate to a proper video loader (slow) 2025-12-25 16:36:03 -03:00
x
4e8f200222 app: Add .zip and assets to gitignore 2025-12-25 14:29:59 +00:00
x
43f1d8d1ed app: Fix compilation error 2025-12-25 14:25:28 +00:00
x
6816feedeb app: Update halo2 deps 2025-12-25 14:22:15 +00:00
x
2fce2a24ed vanityaddr: Use new Address format for addresses 2025-12-25 14:18:16 +00:00
x
a28e8287d2 research: Move rln2 to parent directory 2025-12-25 12:58:08 +00:00