290 Commits

Author SHA1 Message Date
skoupidi
7914422d8b chore: updated sled-overlay to new version 2026-01-24 16:58:57 +02:00
skoupidi
a3368c87a2 darkfid/rpc/tx: properly cleanup pending txs 2026-01-22 15:16:31 +02:00
skoupidi
b78ca1d796 contract/test-harness/vks: updated hashes and modify inject to work over an overlay not the actual db so we ensure native zkas can be included in all genesis monotrees 2026-01-19 20:49:16 +02:00
skoupidi
1eebd74ff2 validator/pow: simplyfied randomx keys usage in pow module 2026-01-19 16:56:21 +02:00
skoupidi
bfd1c9f7ac blockchain/contract_store: exclude contracts zkas verifying keys from their monotree record value 2026-01-19 14:01:41 +02:00
skoupidi
830497f5c7 blockchain/contract_store: monotree handling refactor
This commit replaces the in-memory contracts states monotree with a sled one. Monotree update handling is changed to always use new changes, as contracts or their tree drops are handled via the overlay reverts. Each contract now includes its wasm as a record in its monotree, so no separate wasm monotree is needed. Native contracts zkas is also included in their monotree, locking it down from changes.
2026-01-16 17:54:26 +02:00
skoupidi
89a38d0977 darkfid/rpc/tx: remove pending txs without checking consistency 2026-01-14 18:18:55 +02:00
x
f2230450e5 blockchain: Test unit showing manual header deserialization 2026-01-13 11:27:07 +00:00
skoupidi
c709b959a8 blockchain/contract_store: use correct wasm bincodes tree constant when updating monotree 2026-01-12 18:30:55 +02:00
skoupidi
ecdb64bef5 validator: log pow data type on confirmation 2026-01-07 15:47:18 +02:00
x
3aa0e3b722 zkas: Implement debug symbols in the compiled binary 2026-01-07 09:22:55 +00:00
x
c4ec4de713 blockchain/monero: Fix mismatches between async and sync serialization 2026-01-06 10:51:01 +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
x
8b1759cf93 darkfid: Improve JSONRPC docs 2025-12-29 15:13:08 +00:00
skoupidi
e81e01dd98 darkfid: massive overhaul of mining rpc so everything goes through the registry 2025-12-27 19:37:39 +02:00
x
0d12199568 blockchain/header: Reorder the header so nonce is before timestamp 2025-12-24 17:56:20 +00:00
x
57717ecf3c Change block nonce to u32 2025-12-24 17:56:19 +00:00
skoupidi
03d12789bc blockchain/contract_store: refactored monotree init and update to accomodate for nondeterministic roots on keys removal 2025-12-23 00:07:51 +02:00
skoupidi
424e55d992 blockchain/contract_store: properly log hashes 2025-12-20 14:42:14 +02:00
skoupidi
621e704115 rust: set stable toolchain and clippy chore 2025-11-24 17:03:48 +02:00
skoupidi
245d142f16 validator/pow: use HeaderHash for randomx_key references 2025-11-24 12:44:02 +02:00
x
1df40b7d42 blockchain/monero: Use the provided Merkle proof instead of self-constructing one 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
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
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
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
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
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
parazyd
f89300f5f3 sdk/monotree: Add a MonotreeStorageAdapter trait for sled-overlay support 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
51a9a7de77 validator/xmr: Add creation of MoneroPowData from monero::Block 2025-11-24 12:12:13 +02:00
oars
d85cf80dbf replace log imports with tracing everywhere 2025-11-07 10:15:36 +03:00
skoupidi
00e9d7cff3 blockchain: chore clippy 2025-06-28 17:10:53 +03:00
kalm
5a3eb06497 block_store: include end value in get_order_by_range queries
Updated `get_order_by_range` to use an inclusive range (`..=`), ensuring the `end` value is part of the result.
2025-05-25 04:03:14 -07:00
skoupidi
9b90862028 blockchain/contract_store: exclude native contracts zkas trees in state monotree computation 2025-05-12 14:28:13 +03:00
skoupidi
592571059d blockchain/contract_store: simplyfied native contract key checks 2025-05-11 14:07:51 +03:00
skoupidi
e520db743b blockchain/contract_store: missing wasm bincodes(excluding native contracts) checksum added to state monotree computation 2025-05-10 19:42:30 +03:00
skoupidi
b054d403de blockchain: proof of work data enum added 2025-05-07 15:01:07 +03:00
skoupidi
be45acd927 chore: fixing my stupidity 2025-05-07 13:38:14 +03:00
parazyd
f2a6448ff7 blockchain/monero: Fix featured imports 2025-05-07 12:00:21 +02:00