Commit Graph

10485 Commits

Author SHA1 Message Date
skoupidi
9d2683fc6f validator/pow: properly initialize the dataset with all available threads 2025-12-10 17:28:49 +02:00
x
06a3538261 sdk/keypair: Extend for future addr support 2025-12-10 15:17:15 +00:00
x
6e2296a89b sdk/keypair: Add Address type 2025-12-09 14:46:21 +00:00
epiphany
1f99bf931d app: add fud plugin, add FileMessage to MessageBuffer 2025-12-05 16:00:49 +00:00
epiphany
c6f3ead63e fu: handle events with no info field 2025-12-04 12:06:40 +00:00
epiphany
efc80394d5 fud/event: add Ready event 2025-12-04 12:06:40 +00:00
epiphany
4e16964d8e fud: move start (btc block fetch, initial pow, dht bootstrap) out of Fud::new() 2025-12-04 12:06:40 +00:00
epiphany
05ae3878e1 dht: DhtHandler::node() returns a Result<Node> instead of Node 2025-12-04 12:06:40 +00:00
skoupidi
0924282252 minerd/rpc: vms generation happening in a diff thread 2025-12-03 16:19:49 +02:00
skoupidi
c3dfe69967 validator/pow: always mine in a diff thread 2025-12-03 16:18:50 +02:00
skoupidi
5155425c19 minerd: cache current randomx key vms and pregenerate next ones in background 2025-12-03 14:58:19 +02:00
darkfi
81f160df1b app/gfx: cleanup unused fields and fix warnings 2025-11-29 22:07:14 -03:00
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