Commit Graph

3167 Commits

Author SHA1 Message Date
epiphany
c8ca15fc54 fu: handle downloaded bytes, download speed, eta 2025-07-30 17:10:30 +02:00
epiphany
f2850953d9 fud/tasks: send event for any error that stopped the fetch task 2025-07-30 17:10:27 +02:00
epiphany
6e9e1f3084 fud, geode: track downloaded bytes and download speed, add eta, improve scraps 2025-07-30 17:10:23 +02:00
darkfi
54fbb1c016 app: add trax hooks for generating data dumps of gfx subsystem and pytools to analyze them 2025-07-29 12:48:59 +04:00
epiphany
d0a6fdd4e0 fud: replace net.transport_mixing with net.mixed_transports in the default config 2025-07-17 10:06:01 +03:00
epiphany
c5c5a5400a fu: rename put argument from file to path 2025-07-17 10:06:01 +03:00
epiphany
9a148af7cb fud: better handle reply error in fetch_nodes() 2025-07-17 10:06:01 +03:00
epiphany
ba84e53254 fud, fu, geode: allow downloading a subset of files from a directory
This also introduces "scraps" in the sled database, which are chunks that contains both data the user wants and data the user does not want. Those chunks happen because files (in fud directories) are not aligned with chunks, so they can contain the data of multiple files.

After you download a chunk, fud checks that all bytes of it was written to the filesystem, if not that chunk will be saved as a scrap in sled. It's useful for a few things:

1. You don't download that chunk again later
2. You can still verify integrity, even if you did not write the full chunk into your downloaded files
3. You can seed that chunk (once partial seeding is implemented, which is currently not the case)

They are automatically removed from sled once they are not needed anymore (the fud resource is removed, or the chunk was rewritten to the filesystem, and this time it was fully written).

Those scraps are a concept in fud, not in geode.
2025-07-17 10:06:01 +03:00
dasman
ad3d4fb54f darkirc: bugfix where nicks were kept the same in queue despite /nick command 2025-07-11 02:48:38 +03:00
darkfi
2d5350c225 dnet/doc: make README more beginner friendly 2025-07-10 21:30:33 +02:00
oars
07d2b1a630 bin/dnet: dnet improvements
- fix dnet crash when the analyzed service is shutdown
- add default config for darkfid and fud
- send dnet switch off rpc message when dnet tui is closed
2025-07-08 11:49:46 +03:00
oars
c183c6f377 net,bin/lilith: allow localhost to be blacklisted in localnet mode, this will allow us to test banning/blacklisting features 2025-07-07 17:53:09 +03:00
oars
0d852630eb darkirc, darkfid, taud, fud configs: add default nym socks5 proxy url 2025-07-07 13:48:17 +03:00
oars
a29f9b40a6 darkirc, darkfid, taud, damd configs: change boolean transport_mixing field to mixed_transport list 2025-07-07 13:48:11 +03:00
oars
9743cc1d41 net: change transport_mixing into a list of transports to be mixed allowing control of the specific transports we want to be mixed 2025-07-07 13:48:05 +03:00
epiphany
488029053d fud: remove dht disconnect_task in main 2025-07-03 03:01:51 +02:00
darkfi
5a92b05b75 app: disable miniquad's panic_hook override using new conf setting 2025-06-30 12:38:53 +02:00
darkfi
e8f880d303 app: add missing ui/baseedit/ containing base UI editor stuff 2025-06-29 14:38:32 +02:00
darkfi
b1692e141b app: fix broken android build 2025-06-29 14:38:09 +02:00
darkfi
72c1cff8b4 app: cargo fmt 2025-06-29 11:04:28 +02:00
darkfi
53ca281102 app: fix ALL warnings ;) 2025-06-29 11:04:28 +02:00
skoupidi
b76da20baf darkirc: chore clippy 2025-06-28 17:17:03 +03:00
skoupidi
b6a6cb3e22 darkfid: chore clippy 2025-06-28 17:16:50 +03:00
skoupidi
0eb5e08f1e drk: chore clippy 2025-06-28 17:16:36 +03:00
skoupidi
464258698d explorer: chore clippy 2025-06-28 17:16:20 +03:00
skoupidi
0f82f2fb4f fud: chore clippy 2025-06-28 17:16:03 +03:00
skoupidi
a55471cbcf genev: chore clippy 2025-06-28 17:15:52 +03:00
skoupidi
d40fc89a2d lilith: chore clippy 2025-06-28 17:15:40 +03:00
skoupidi
f7439e8e6b minerd: chore clippy 2025-06-28 17:15:08 +03:00
skoupidi
ae5d823b7a tau: chore clippy 2025-06-28 17:14:35 +03:00
skoupidi
3a40b4af3b vanityaddr: chore clippy 2025-06-28 17:14:22 +03:00
skoupidi
fc58c0815c zkas: chore clippy 2025-06-28 17:14:10 +03:00
epiphany
f1d7783d99 fu: handle ResourceUpdated event and Verifying status 2025-06-27 18:47:45 +02:00
epiphany
386f3907c2 fud: flush sled on exit 2025-06-27 18:47:45 +02:00
epiphany
4d2f042f35 dht, fud: handle multiple concurrent downloads 2025-06-27 18:47:45 +02:00
epiphany
67facd7848 fud: add Verifying resource status 2025-06-27 18:47:45 +02:00
darkfi
d950dd6e37 app: cargo fmt 2025-06-27 11:24:39 +02:00
darkfi
fdb878b3df app: fix desktop for parley update 2025-06-27 11:18:12 +02:00
darkfi
8b376e11ff app: always re-init keyboard on restart 2025-06-26 10:35:32 +02:00
darkfi
b6ba26802d app: cargo update deps 2025-06-26 10:20:19 +02:00
skoupidi
b88a643c1a darkfid/task/sync: break out retriaval loops if all peers are failing 2025-06-23 13:21:13 +03:00
darkfi
f1981d8d65 app: add debug info to replace draw calls API 2025-06-14 15:39:34 +02:00
epiphany
513bf571e4 fu: add resource type, use new fud events, improve get output 2025-06-14 10:24:44 +02:00
epiphany
6be822c35b fud, geode: add support for directories, update get default path, improve chunk verification 2025-06-14 10:17:05 +02:00
parazyd
2e2de47c69 v0.5.0 release 2025-06-06 13:50:10 +02:00
darkfi
b1d36ebccf app/gfx: bugfix always epoch for delete of buffer must match creation epoch 2025-05-31 11:09:13 +02:00
skoupidi
b4f448fa20 darkfid/task/unknown_proposal: reset consensus pow module on reorg 2025-05-27 15:41:25 +03:00
kalm
5cd8c6c035 explorer/site: run testnet and mainnet on WSGI server
This commit updates the explorer web app to run on a Gunicorn-based WSGI server for testnet and mainnet rather than the built-in dev server. In doing so, it provides for improved scalability, reliability, integration with Nginx, and flexible run configuration.

We’ve introduced a dedicated configuration file (gunicorn_config.py) allowing control over the number of worker processes and threads. By adjusting these values, we can handle more simultaneous requests, fine-tune performance based on CPU resources, and tweak other operational parameters to suit deployment needs.

Update Summary:
- Added gunicorn_config.py to configure bind address, workers, threads, pidfile, and logs
- Updated the testnet and mainnet ports to run on 8000 instead of the 5000 dev port
- Created wsgi.py to load and expose the Flask app via `create_app()`
- Updated requirements.txt to include Gunicorn dependency
- Modified makefile start-% target to start with Gunicorn for testnet/mainnet instead of the development server
- Adjusted stop task to stop Gunicorn server when stopping the explorer
- We updated the requirements.txt install to run quietly
- Updated Makefile to export LOG_HOME so it can be accessed by gunicorn_config.py
2025-05-26 15:34:10 -07:00
skoupidi
bc827fcc57 minerd: fill stop signal channel only if its empty on stop 2025-05-26 18:14:13 +03:00
skoupidi
7d95191af8 darkfid/main: removed validate short flag 2025-05-26 17:24:59 +03:00