Commit Graph

10645 Commits

Author SHA1 Message Date
skoupidi
639d5518df darkfid/rpc_xmr: don't perform block validation on block submittion since validator will check it afterwards 2025-11-24 12:12:14 +02:00
skoupidi
211b85b242 validator/verification: verify block powdata when validating block 2025-11-24 12:12:14 +02:00
skoupidi
b93b0dde30 blockchain/monero: cleanup chore 2025-11-24 12:12:14 +02:00
x
69f560df9e blockchain/monero: Add method for validating XMR PowData 2025-11-24 12:12:14 +02:00
x
521cb3901b darkfid/rpc_xmr: Notify proposals subscriber with successful new block 2025-11-24 12:12:14 +02:00
x
40ff64b3fc darkfid: Improve noisy logging 2025-11-24 12:12:14 +02:00
x
aa537b9e4b chore: Update crate dependencies 2025-11-24 12:12:14 +02:00
x
95a8319007 darkfid: Monero Merge Mining 2025-11-24 12:12:14 +02:00
x
f9ee611b58 chore: Clippy lint 2025-11-24 12:12:14 +02:00
x
a28fc42fb8 rpc/jsonrpc: Hack around non-numeric JSONRPC id field and missing params 2025-11-24 12:12:14 +02:00
x
9ffbd4cf40 validator/pow: Proper PoW verification of merge mined blocks 2025-11-24 12:12:14 +02:00
x
1dee0542de validator/pow: Use little endian BigUint 2025-11-24 12:12:14 +02:00
x
9d5fdaea6c validator/xmr: Import tracing and make merkle_tree_parameters public 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
x
e5105c6194 blockchain/header_store: Derive Hash for HeaderHash 2025-11-24 12:12:13 +02:00
x
8f46227731 src/error: Typo fix 2025-11-24 12:12:13 +02:00
x
5368708595 zk/tracer: Convert code to Arc<Mutex> instead of RefCell for async use. 2025-11-24 12:12:13 +02:00
skoupidi
0b8d6c25fe blockchain/contract_store: get_state_monotree now returns the fully updated monotree from the overlay 2025-11-24 12:12:13 +02:00
skoupidi
a140ae53b1 validator: properly initialize and verify genesis block monotree 2025-11-24 12:12:13 +02:00
skoupidi
c4cb258cf6 monotree: use mut reference to overlay not a clone 2025-11-24 12:12:13 +02:00
skoupidi
98aef1f41f chore: updated blake3 init usage 2025-11-24 12:12:13 +02:00
parazyd
e493f397dc chore: Update crate dependencies 2025-11-24 12:12:13 +02:00
parazyd
a7d3fbdb71 runtime: Increase default WASM VM stack size and remove wasm-strip dependency 2025-11-24 12:12:13 +02:00
skoupidi
d4670375f8 blockchain/mod.rs: bound randomx vm keys to be before optional height 2025-11-24 12:12:13 +02:00
skoupidi
f32e11af8d validator/pow: properly initialize the module if a specific height is provided 2025-11-24 12:12:13 +02:00
skoupidi
d819f257da validator/pow: use randomx factory to manage VMs and keys rotation optimization added 2025-11-24 12:12:13 +02:00
skoupidi
15f35629e5 blockchain/contract_store: minor fixes and cleanups 2025-11-24 12:12:13 +02:00
skoupidi
01950761e7 blockchain/contract_store: use monotrees for contracts states instead of checksums 2025-11-24 12:12:13 +02:00
skoupidi
37efe70543 sdk/monotree/tree: replaced SledDb struct with SledOverlayDb so we can open multiple instances for different trees over a single sled-overlay pointer 2025-11-24 12:12:13 +02:00
parazyd
f89300f5f3 sdk/monotree: Add a MonotreeStorageAdapter trait for sled-overlay support 2025-11-24 12:12:13 +02:00
parazyd
ad36ed0eb6 validator/pow: Use RandomXFactory for PoW verification 2025-11-24 12:12:13 +02:00
parazyd
cd46c389a8 validator/consensus: Propagate RandomXFactory to PoWModule 2025-11-24 12:12:13 +02:00
parazyd
c6ff8cfc41 darkfid: Use an ephemeral key for signing blocks 2025-11-24 12:12:13 +02:00
parazyd
b3cd719348 darkfid: Stub merge mining RPC methods 2025-11-24 12:12:13 +02:00
parazyd
20d5c2ce21 validator: Add RandomXFactory placeholder 2025-11-24 12:12:13 +02:00
parazyd
8df6845b7c blockchain/monero: Add tests for FixedByteArray 2025-11-24 12:12:13 +02:00
parazyd
c87a3c64d9 blockchain/monero: Add tests for MerkleProof 2025-11-24 12:12:13 +02:00
parazyd
dc4e461379 validator/xmr: Add aux chain checks 2025-11-24 12:12:13 +02:00
parazyd
ea74788153 chore: Thaw randomx dependency 2025-11-24 12:12:13 +02:00
parazyd
315745b8ef system: Implement thread priority setting 2025-11-24 12:12:13 +02:00
parazyd
3a42ba5fda validator: Add wrapper for initializing RandomX datasets 2025-11-24 12:12:13 +02:00
parazyd
8e18778e46 validator/pow: Fix RandomX dataset offset calculations 2025-11-24 12:12:13 +02:00
parazyd
e287c0d6ef validator: Add RandomXFactory implementation 2025-11-24 12:12:13 +02:00
parazyd
09a78273d0 validator: Adapt code to new RandomX crate API 2025-11-24 12:12:13 +02:00
parazyd
51a9a7de77 validator/xmr: Add creation of MoneroPowData from monero::Block 2025-11-24 12:12:13 +02:00
epiphany
0ebf67f623 dht: add external address check in lookup() and create_channel() 2025-11-20 15:56:21 +00:00
epiphany
367f319d28 dht: update_node() increments direct channel usage, and add_node_task decrements it 2025-11-20 15:48:23 +00:00
epiphany
9b8392ba60 dht/tasks: ping direct channels in the channel task 2025-11-20 15:45:18 +00:00
epiphany
b6fffc3784 net/session/direct_session: make inc_channel_usage() public and add a direct session check 2025-11-20 15:42:05 +00:00
epiphany
d7a371bcc0 net/session/direct_session: wait for task removal if needed 2025-11-20 15:40:32 +00:00