skoupidi
bc22307e8b
rcp/server: generalize RequestHandler so we can create multiple instances of it
2024-12-05 16:22:43 +02:00
kalm
402a508d51
explorer/test_util: add initial implementation of test_util module for reusable testing utilities
...
This commit introduces the initial implementation a test_util module, providing reusable testing utilities for the explorer.
The first version includes a function to initialize logging for test cases, which aids in debugging issues encountered during testing. This module will be expanded as we progress with both unit and integration testing.
Summary of Updates:
- Added the init_logger function that configures the logger based on a provided list of targets to ignore and the desired log level
2024-12-04 14:26:31 +02:00
skoupidi
7739d8a40e
blockchain: use sled-overlay record parsing functions
2024-12-03 15:27:10 +02:00
skoupidi
9f490a09d3
darkfid: replaced finalization term with confirmation
2024-12-02 15:08:01 +02:00
skoupidi
a51211c037
Cargo.toml: updated sled-overlay version
2024-12-02 15:08:01 +02:00
darkfi
ca3faeb5b3
evgrd: change darkfi-serial from path=... to version=0.4.2
2024-11-23 17:59:26 +01:00
skoupidi
a990ed03cc
(WIP)script/research: blocks storage measuring script added
2024-11-15 16:20:02 +02:00
skoupidi
3153069aad
bin/darkfid/rpc: also return the hash of the last known(finalized) block
2024-11-14 13:12:04 +02:00
skoupidi
92f5b05cee
script/research/blockchain-explorer: minor code beatifications
2024-11-06 10:54:36 +02:00
kalm
6a8743b667
explorer: transition from SQL to sled-based implementation
...
This commit request introduces a sled-backed Block Explorer, replacing the SQL-based implementation.
Summary of updates:
- Transitioned the block explorer from SQL to a sled-based database implementation
- Introduced BlockExplorerDb struct that handles explorer database operations
- Established sled-based darkfid block synchronization for startup and subscription sync
- Removed rusqlite dependency
- Removed SQL create table scripts
- Updated app.py to handle not found as empty results instead of a thrown exception when calling rpc.get_block_transactions
2024-11-05 13:01:09 -08:00
skoupidi
67439844e7
script/research/blockchain-explorer: fixed building
2024-10-24 16:08:20 +03:00
dasman
b118567613
script/ping: fix darkfi-serial dependency
2024-10-23 00:29:29 +03:00
skoupidi
ea87f3767d
chore: updated sled-overlay to new version
2024-10-15 18:18:29 +03:00
parazyd
fbe6937a20
chore: Update crate dependencies
2024-10-15 16:08:54 +02:00
dasman
f9d3600e0c
evgrd: update to fully use millis
2024-10-02 12:39:48 +03:00
parazyd
242fe81658
chore: Update crate dependencies
2024-10-01 14:15:03 +02:00
dasman
86afe8d896
event_graph and evgrd: use INITIAL_GENESIS as seconds in for prune task as well
2024-09-27 21:22:27 +03:00
darkfi
a8751d4212
wallet/evgrd: flush on every write so tor works properly
2024-09-25 14:39:12 +02:00
darkfi
204de13e63
wallet/evgrd: add more debug and error handling to net interfaces.
2024-09-25 13:23:19 +02:00
darkfi
61b55002bf
evgrd: allow listening for rpc on multiple inbound addrs
2024-09-24 14:17:42 +02:00
dasman
47833e5415
evgrd: fix version number and add seed nodes
2024-09-23 13:37:41 +03:00
darkfi
4661036ed9
evgrd: add missing file for last commit: example/send.rs
2024-09-23 11:42:38 +02:00
darkfi
958b3e049b
evgrd: move bin/test.rs to example/recv.rs and add example/send.rs
2024-09-23 11:39:14 +02:00
darkfi
0ec8969b2d
evgrd: add code to branch on app versions and send corrected timestamp.
2024-09-23 09:10:34 +02:00
darkfi
804c3e7549
wallet: darkirc backend broadcast p2p events
2024-09-22 17:01:00 +02:00
darkfi
d5ba88e099
wallet: send msgs from the UI
2024-09-22 14:36:21 +02:00
darkfi
ac53cae94a
evgrd: add SENTEVENT to protocol
2024-09-22 12:32:30 +02:00
darkfi
131d18588b
evgrd: enable build-daemon feature which adds missing deps when compiling the daemon
2024-09-22 12:32:30 +02:00
darkfi
4aa44b36a0
wallet: tor-dirmgr tries to pull sqlite3, which on android has a missing symbol __extenddftf2 due to missing compiler builtins. We therefore link against clang_rt.builtins for each target_arch on android using a build.rs. See the code comment for more details.
2024-09-21 15:28:03 +02:00
darkfi
1bbb3bddcc
evgrd: change path for test client so it's not using the same data dir as the daemon itself ;)
2024-09-19 18:24:29 +02:00
darkfi
a915e34d66
evgrd: deserialize and print privmsg on new event
2024-09-19 18:22:35 +02:00
dasman
a63d628ec5
script/evgrd: fill in required LocalEventGraph fields and methods, and present a working test module
2024-09-19 18:23:49 +03:00
skoupidi
19eb32f29b
src/net/protorocl/protocol_generic: added response action
2024-09-17 16:41:46 +03:00
dasman
15c02253a8
script/evgrd: fetch successors of requested tips
2024-09-10 17:35:09 +03:00
dasman
9718ab96e1
script/evgrd: add .gitignore
2024-09-10 14:50:43 +03:00
darkfi
0cb3824544
evgrd: add missing JSON-RPC modules so dnet and deg work.
2024-09-10 10:41:38 +02:00
darkfi
ee738a1a32
evgrd: enable event graph
2024-09-10 10:25:16 +02:00
darkfi
f3937d2f0a
evgrd: test client and evgrd server skeletons
2024-09-10 10:16:43 +02:00
darkfi
407b32eb25
evgrd: add Daemon struct
2024-09-10 08:08:36 +02:00
skoupidi
4abbb1641e
script/research: new generic-node example added showcasing the p2p generic protol approach
2024-09-09 22:32:01 +03:00
darkfi
e11d2a8da1
evgrd: move from bin/ to script/
2024-09-08 13:23:43 +02:00
parazyd
165cb8434b
chore: Update crate dependencies
2024-08-29 20:39:22 +02:00
skoupidi
fdfc96a902
Cargo.toml: replaced sled references with sled-overlay import
2024-08-29 19:18:00 +03:00
skoupidi
0eb5203671
script/ping: increased timeout
2024-07-20 15:26:38 +03:00
darkfi
f6786f5b0c
script: add tor-test util
2024-07-20 12:02:41 +02:00
darkfi
42458d3780
script/ping: allow specifying endpoint using argv
2024-07-20 11:31:03 +02:00
skoupidi
248ec4e8e6
script/ping: .gitignore added
2024-07-19 16:49:40 +03:00
darkfi
ceced050af
Cargo.toml: remove ping from root workspace
2024-07-19 15:17:24 +02:00
darkfi
3b421bb8e3
ping: cleanup and move to script/
2024-07-19 15:12:39 +02:00
darkfi
e0a49ba316
zk: sumcheck.sage
2024-07-17 15:16:08 +02:00