Commit Graph

10473 Commits

Author SHA1 Message Date
skoupidi
8ca2120fe0 daemones 2025-11-30 01:06:46 +02:00
darkfi
cb0193dd56 app/gfx: replace screen_was_off bool with an actual ScreenState state machine enum that keeps track of the screen state lifecycle as we switch it off and on transitioning between states. We need this to ensure proper ordering of queueing buffered operations, restarting processes and other such operations. 2025-11-29 13:58:58 -03:00
skoupidi
9b141f3fcb minerd: changed comms logic so it polls darkfid for new mining jobs 2025-11-29 17:41:00 +02:00
darkfi
ece4e4d871 app: cargo update 2025-11-29 11:53:29 -03:00
darkfi
8c507f6f06 app/gfx: simplify and strengthen gfx engine. We now only buffer texture/buffer changes when screen is off, and when screen is switched on we just request a screen redraw. Additionally we now use the same time source which is the batch close time when merging batch changes. This theoretically should reduce screen tearing. We also keep track of dropped batches for debug and internal correctness checking, in general we have increased/tightened the internal logic. 2025-11-29 11:49:10 -03:00
skoupidi
85f52088b7 validator/pow: removed redundant x86 features checks 2025-11-26 18:56:01 +02:00
skoupidi
5754d4268f darkfid: support merge mining for a DAO 2025-11-26 17:26:15 +02:00
skoupidi
334c90e45d darkfid/rpc_tx: all nodes append a tx to their mempool 2025-11-26 17:23:42 +02:00
skoupidi
7429990ea8 validator/randomx_factory: simplified factory api to generate light mode VMs always since its just used for verification 2025-11-25 14:26:07 +02:00
skoupidi
243d62d2f3 doc/testnet/merge-mining: minor headers formatting 2025-11-24 23:10:53 +02:00
skoupidi
3aa4f615eb doc/testnet/merge-mining: use wallet address placeholders everywhere 2025-11-24 19:54:07 +02:00
skoupidi
621e704115 rust: set stable toolchain and clippy chore 2025-11-24 17:03:48 +02:00
skoupidi
b4a9071da2 doc/testnet/merge-mining: more descriptive steps added 2025-11-24 15:49:56 +02:00
skoupidi
3ddfe3a608 validator/pow: restored mising monero gen wide data script 2025-11-24 15:49:49 +02:00
skoupidi
a80800aac8 validator/pow: multithreaded mining fixed 2025-11-24 15:34:40 +02:00
skoupidi
245d142f16 validator/pow: use HeaderHash for randomx_key references 2025-11-24 12:44:02 +02:00
skoupidi
1ee0239fe6 script/research: removed pow folder 2025-11-24 12:31:09 +02:00
skoupidi
07987674b1 contract/money/client/pow_reward: minor cleanup 2025-11-24 12:12:14 +02:00
skoupidi
041b637ff8 Cargo.toml: moved deps to correct feature 2025-11-24 12:12:14 +02:00
skoupidi
20ce209a2d darkfid/rpc_xmr: use wallet as the mm block templates keys so we return the same one on diff instances with same wallet 2025-11-24 12:12:14 +02:00
skoupidi
d3fe14204d darkfid/task/miner: use le bytes when communicating the target with minerd 2025-11-24 12:12:14 +02:00
skoupidi
34ddcb5835 darkfid/task/miner: don't wait for next confirmation to start mining 2025-11-24 12:12:14 +02:00
skoupidi
83a6b31bef darkfid/rpc_xmr: respond to p2pool only if node is synced 2025-11-24 12:12:14 +02:00
skoupidi
0a09bb5422 darkfid/task/consensus: cleanup mm templates not refercing active forks or last confirmed block 2025-11-24 12:12:14 +02:00
skoupidi
d3b78aa8e4 darkfid/rpc_xmr: on submit remove just the referenced job 2025-11-24 12:12:14 +02:00
skoupidi
92f0c7ccf6 darkfid/rpc_xmr: check request job still extends current best fork 2025-11-24 12:12:14 +02:00
skoupidi
1165708e10 darkfid/rpc_xmr: combine address and aux_hash so we support multiple p2pool instances with diff wallets 2025-11-24 12:12:14 +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
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