121 Commits

Author SHA1 Message Date
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
x
43d6f61687 explorer: Add manual revert support and fix reorg logic 2026-02-02 16:33:33 +00:00
x
df0763da2d explorer: Add /blocks endpoint with pagination 2026-01-27 14:17:50 +00:00
x
eddb0245da explorer: Add Monero header hash when PoWData is XMR 2026-01-27 14:17:50 +00:00
x
735a1feb95 explorer/python: Use patriotic datetime 2026-01-27 09:30:00 +00:00
x
3ae63f1f06 explorer/python: Reconnect to RPC if connection is unavailable/lost 2026-01-26 14:29:25 +00:00
x
8e7a6ad6ab chore: fmt 2026-01-24 08:11:22 +00:00
x
00b3c29ca0 explorer/python: Another one 2026-01-24 00:28:39 +00:00
x
153dc76e52 explorer/python: Fix typo in table template 2026-01-24 00:18:29 +00:00
x
38750505f6 explorer: Add blockchain stats and WASM bincode tracking 2026-01-24 00:13:10 +00:00
x
26febf3c98 explorer/python: Add stats and wasm contracts 2026-01-23 23:03:51 +00:00
x
eedd093038 explorer: Add tx fee support 2026-01-23 20:07:05 +00:00
x
4563fdb2c8 explorer: Verbosity 2026-01-23 18:51:00 +00:00
x
f1b5e5aeb9 explorer: Support CLI args for RPC and DB path 2026-01-23 18:30:35 +00:00
x
b9005d5852 explorer: Correct python webserver configs 2026-01-23 12:40:23 +00:00
x
9797819ddf explorer: Add captions for error pages 2026-01-23 11:24:57 +00:00
x
592bd5fb2f explorer: Implement hashrate, reorg, and search 2026-01-23 10:52:37 +00:00
x
e80b8de44a explorer/templates: Add search and error pages. 2026-01-23 10:52:37 +00:00
skoupidi
91abf4ee2e explorer: chore clippy 2026-01-22 17:29:27 +02:00
x
2b0481558f explorer: Add WIP rewrite with Tapes db 2026-01-22 14:35:17 +00:00
x
d0b55e3c06 explorer: Delete old code.
This will be rewritten with better architecture.
2026-01-22 14:35:17 +00:00
oars
e641ac09f4 chore: fix rustdoc broken doc links and warnings 2026-01-04 15:13:27 +03:00
skoupidi
fcf4aded0e darkfid: split managemtn rpc methods into its own rpc server and standarized all ports 2026-01-02 19:41:34 +02:00
x
4f30aae91d doc: Update book links 2026-01-02 17:28:09 +00:00
x
fcdf5ee488 chore: Update crate dependencies 2026-01-01 19:48:04 +00:00
x
ed9be657ab serial: Bring it back home 2026-01-01 19:48:04 +00:00
x
9785777642 chore: Update copyright license year
Happy 2026!
2026-01-01 11:40:45 +00:00
skoupidi
c9c9a7a38a chore: fixed broken darkfid rpc blockchain.get_block clients requests 2025-12-29 19:25:27 +02:00
skoupidi
ecfebc2b71 chore: dropped minerd references 2025-12-29 15:38:12 +02:00
x
add9bb596c chore: Update crate dependencies 2025-12-25 12:22:56 +00:00
x
57717ecf3c Change block nonce to u32 2025-12-24 17:56:19 +00:00
skoupidi
5d47358902 chore: updated sled-overlay to new version 2025-12-24 14:01:20 +02:00
skoupidi
5d9bfe7507 chore: updated sled-overlay to new version 2025-12-22 16:09:09 +02:00
skoupidi
346a3517bd chore: updated sled-overlay to new version 2025-12-22 15:36:52 +02:00
skoupidi
82ac85872c chore: updated sled-overlay to new version 2025-12-22 14:37:17 +02:00
skoupidi
5943f2cd1e explorer/explorerd/error: removed unused import 2025-12-15 14:14:39 +02:00
skoupidi
621e704115 rust: set stable toolchain and clippy chore 2025-11-24 17:03:48 +02:00
x
aa537b9e4b chore: Update crate dependencies 2025-11-24 12:12:14 +02:00
x
a8ead9e5ea Revert "chore: updated blake3 init usage"
This reverts commit d8f4529c726955fccf90031caf71fd66b93c61d9.
2025-11-24 12:12:13 +02:00
skoupidi
98aef1f41f chore: updated blake3 init usage 2025-11-24 12:12:13 +02:00
oars
4b739963c6 bin/explorer/explorerd: replace simplelog with tracing-subscriber for setting up logger for tests
- replaced dynamic targets with static targets since tracing crate only supports setting static targets in the logger macros
2025-11-07 10:15:36 +03:00
oars
d85cf80dbf replace log imports with tracing everywhere 2025-11-07 10:15:36 +03:00
oars
ac0365cc60 Cargo.toml, Cargo.lock: change dependencies used for logging
- replace log crate with tracing,
- replace simple-log crate with tracing-subscriber and tracing-appender
- add nu-ansi-term crate as a dependency which is itself tracing-subscriber's dependency,
  inorder to write colored outputs to the terminal since we override formatting provided
  by tracing-subscriber
2025-11-07 10:15:36 +03:00
skoupidi
d0c49d24d0 chore: updated sled-overlay to new version 2025-10-24 12:58:55 +03:00
parazyd
fda2a84034 chore: Update dependencies 2025-08-05 09:41:05 +02:00
skoupidi
464258698d explorer: chore clippy 2025-06-28 17:16:20 +03:00
parazyd
2e2de47c69 v0.5.0 release 2025-06-06 13:50:10 +02: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
kalm
15fb9fd8ea explorerd/service/blocks: handle duplicate PoW coin errors after reorgs
This update introduces code to ensure blocks with PoW rewards containing coins already applied to the contract state prior to a reorg are synced. Additionally, it brings awareness to the need for rolling back the contract state to a specific height during reorgs.
2025-05-25 22:51:44 -07:00