Commit Graph

4889 Commits

Author SHA1 Message Date
skoupidi
eb7ee7dddc validator/consensus: bound in-memory forks with a configurable param 2026-02-11 15:01:08 +02:00
x
7c5390c899 contract/money: Implement Money::BurnV1 function
This allows provable coin burning without requiring outputs.
2026-02-10 15:03:25 +00:00
x
4607434a13 Use simplified harness API for tests 2026-02-10 14:46:27 +00:00
x
a173a5c412 contract/dao: Use simplified harness API for tests 2026-02-10 14:41:55 +00:00
x
348ea7fff1 contract/money: Use simplified harness API for tests 2026-02-10 14:41:55 +00:00
x
c17f2a650d contract/test-harness: Deduplicate Nullifier and Coin handling code 2026-02-10 14:41:55 +00:00
skoupidi
7181db089e chore: updated sled-overlay to new version 2026-02-09 18:16:37 +02:00
x
06cf1be98d validator: Use saturating arithmetic 2026-02-09 12:37:11 +00:00
skoupidi
142ac78c38 validator/consensus: log height when appending proposal 2026-02-03 20:53:54 +02:00
skoupidi
3bbe1166fa chore: updated sled-overlay to new version 2026-02-03 20:53:26 +02:00
oars
bc79cb5021 net/session/refine_session: replace unwrap with error handling 2026-02-03 20:49:59 +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
ecefad8ac0 validator: guard everything behind a single lock 2026-02-01 19:46:43 +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
x
6d09d6eb18 chore: Update quinn dependency 2026-01-28 15:11:39 +00:00
skoupidi
df6fb02d66 net/session: changed log level of timeout spammy logger 2026-01-26 23:35:42 +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
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
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
x
436e5fe13e net: Simplify Hosts to use a single lock 2026-01-20 09:31:52 +00:00
x
ad385200cb system: Remove obsolete thread_priority module 2026-01-20 08:43:45 +00:00
skoupidi
c8642a0e96 contract/test-harness/lib: properly initialize wallet validator 2026-01-19 21:43:24 +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
x
9ac548af37 zkas: Correct rustdoc typo 2026-01-19 17:30:56 +00:00
x
a914be462d net/protocol: Implement ProtocolHolepunch
This is a basic NAT holepunching protocol that uses a relayer
2026-01-19 17:29:55 +00: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
adca901174 sdk/crypto/contract_id: minor cleanup 2026-01-16 17:48:07 +02:00
x
ae3cb958ac net/settings: Support quic network profile with defaults 2026-01-16 10:00:35 +00:00
x
5d24ab3c27 net/transport/quic: Enable endpoint reuse 2026-01-15 18:49:30 +00:00
x
cb7f9e4d0c net: Implement QUIC transport based on quinn
Also deduplicate some TLS code.
2026-01-15 16:42:43 +00:00
skoupidi
89a38d0977 darkfid/rpc/tx: remove pending txs without checking consistency 2026-01-14 18:18:55 +02:00
x
0e50015552 monotree: Correct path compression collapse in delete_key 2026-01-13 16:53:15 +00: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
afd4819719 validator: log tx hash on append_tx() for convinience 2026-01-11 22:11:59 +02:00
skoupidi
520c1560e1 rpc/common: minor httparse::Status handling cleanup 2026-01-09 11:31:45 +02:00
PBPatient
2eac07e276 rpc: handle partial httparse results 2026-01-09 11:27:35 +02:00
skoupidi
5aeb0b168f event_graph: guard rpc stuff behind rpc feature 2026-01-08 14:51:28 +02:00
skoupidi
ecdb64bef5 validator: log pow data type on confirmation 2026-01-07 15:47:18 +02:00
x
e54c276514 zkas: Harden binary decoder to be safe when decoding untrusted bins 2026-01-07 09:35:22 +00:00
x
2b9e894214 serial: Add deserialization method with max_len enforcing 2026-01-07 09:22:55 +00:00
x
3aa0e3b722 zkas: Implement debug symbols in the compiled binary 2026-01-07 09:22:55 +00:00
x
43b9695884 zkas: Improve decoder readability 2026-01-07 09:22:55 +00:00