482 Commits

Author SHA1 Message Date
skoupidi
5b085e7538 darkfid: new testing genesis blocks added 2026-02-11 16:27:38 +02:00
skoupidi
fb11efb45d darkfid/task/unknown_proposal: retrieve all proposals before locking validator state to build the peer fork 2026-02-11 15:25:19 +02:00
skoupidi
89b4dbe4a1 validator/verification: verify block timestamp based on sync state 2026-02-11 15:18:44 +02:00
skoupidi
8753c20c1b validator/pow: don't blindly unwrap next darkfi rx key 2026-02-11 15:04:26 +02:00
skoupidi
eb7ee7dddc validator/consensus: bound in-memory forks with a configurable param 2026-02-11 15:01:08 +02:00
skoupidi
7181db089e chore: updated sled-overlay to new version 2026-02-09 18:16:37 +02:00
skoupidi
fc84d67174 darkfid/task/sync: fixed resync bug after node dc 2026-02-04 12:50:35 +02:00
skoupidi
3bbe1166fa chore: updated sled-overlay to new version 2026-02-03 20:53:26 +02:00
skoupidi
f382141d5c darkfid/task/unknown_proposal: update peer fork diffs to represent forward-only ones 2026-02-02 23:21:00 +02:00
skoupidi
cb07f10595 chore: updated sled-overlay to new version 2026-02-02 23:20:13 +02:00
skoupidi
67a8cb3833 chore: updated sled-overlay to new version 2026-02-02 17:55:35 +02:00
skoupidi
e36a6d635b validator/randomx_factory: simplified factory api to not use locks 2026-02-01 21:35:38 +02:00
skoupidi
94c66b042a darkfid/registry: guard state behind a single lock 2026-02-01 21:28:24 +02:00
skoupidi
ecefad8ac0 validator: guard everything behind a single lock 2026-02-01 19:46:43 +02:00
skoupidi
b5d13fb163 darkfid/task/unknown_proposal: refresh miner registry after a reorg 2026-01-30 19:31:59 +02:00
skoupidi
c277897589 darkfid/task/unknown_proposal: include trigger proposal in the headers hash sequence rank calculation 2026-01-30 18:21:02 +02:00
skoupidi
bd68f9238b darkfid/task/unknown_proposal: full refactor for cleaner code and usage of append lock while generating the reorg fork 2026-01-30 17:10:51 +02:00
skoupidi
95523adfcf darkfid: protect reorg trees from getting dropped by gc 2026-01-29 13:43:46 +02:00
skoupidi
689212f6a4 darkfid: include miners templates txs when purging pending txs and remove erroneous ones from fork mempool when retrieving its unproposed ones 2026-01-24 17:51:07 +02:00
skoupidi
976039dee2 darkfid/registry: mark a template as not submitted in case its next block generation fails during jobs fresh 2026-01-24 17:24:00 +02:00
skoupidi
3b823c17bb darkfid: include miners tempaltes new trees when purging unferenced trees 2026-01-24 17:09:54 +02:00
skoupidi
7914422d8b chore: updated sled-overlay to new version 2026-01-24 16:58:57 +02:00
x
6d5aaff7df darkfid: Add RPC endpoint to fetch block difficulty 2026-01-22 14:35:17 +00:00
skoupidi
a3368c87a2 darkfid/rpc/tx: properly cleanup pending txs 2026-01-22 15:16:31 +02:00
skoupidi
22c60bee61 darkfid/task/garbage_collect: handle unreferenced sled trees 2026-01-21 14:22:52 +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
725c1cb419 darkfid/registry/model: simplyfied randomx keys usage in template 2026-01-19 15:56:06 +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
0b16bcb0dd darkfid/registry/model: use the correct randomx keys on changing height when generating template 2026-01-19 14:01:04 +02:00
skoupidi
48e62d2c76 darkfid/tests/harness: use fork diffs when generating next block 2026-01-17 14:32:21 +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
skoupidi
acfba5830b darkfid/proto/protocol_sync: use actual mm pow data len limit to set max header length 2026-01-13 13:29:44 +02:00
skoupidi
e9dfe7c366 darkfid/proto/protocol_sync: increase header responses size limit to accomodate for mm data 2026-01-12 16:02:04 +02:00
skoupidi
fcf4aded0e darkfid: split managemtn rpc methods into its own rpc server and standarized all ports 2026-01-02 19:41:34 +02:00
x
fcdf5ee488 chore: Update crate dependencies 2026-01-01 19:48:04 +00:00
x
ed9be657ab serial: Bring it back home 2026-01-01 19:48:04 +00:00
skoupidi
965870ab9b darkfid: support both normal address and base64 encoded mining configurations as miners recipient 2026-01-01 18:18:32 +02:00
x
85162ea431 darkfid/rpc: Fix minor doc typos 2026-01-01 16:00:50 +00:00
x
0d455a405a darkfid: Move misc RPC methods to separate module. 2026-01-01 15:50:45 +00:00
x
874d8dcf1a darkfid/rpc/blockchain: Fix RPCAPI doc typo 2026-01-01 15:24:18 +00:00
x
0fd57636ea darkfid: Add RPC endpoint to retrieve WASM bincode
Also updates the params.get() RPC code patterns.
2026-01-01 14:38:01 +00:00
x
9785777642 chore: Update copyright license year
Happy 2026!
2026-01-01 11:40:45 +00:00
skoupidi
a685e685c3 darkfid: new testing genesis blocks added 2025-12-31 15:53:38 +02:00
skoupidi
597b216396 darkfid/rpc: use an fn to return miner status responses for cleaner code 2025-12-31 15:53:10 +02:00
skoupidi
e1300d987b darkfid: relaxed unknown proposals handling by banning after 5 consecutive unknown proposals from a channel 2025-12-31 15:52:19 +02:00
oars
a7d5d02fb7 bin/darkfid: DEP-0007: add network profiles to net setting section of darkfid toml config, retrieve outbound_connect_timeout from network profiles 2025-12-30 11:30:54 +03:00
oars
179211b2c7 bin,example/dchat,script: DEP-006: retrieve app_name and app_version from CARGO_PKG_NAME and CARGO_PKG_VERSION for use in net Version message 2025-12-30 11:30:54 +03:00
oars
fcf0571a1a bin: set unique magic bytes for each seprate p2p network
- add magic bytes to p2p net configs for bins
- hardcode darkirc and fud magic bytes in bin/app darkirc and fud plugins
- make lilith use the separate magic bytes for different p2p networks
2025-12-30 11:30:54 +03:00