Commit Graph

7591 Commits

Author SHA1 Message Date
zero
befba39321 spec: reword section on blake2 2024-01-13 17:34:28 +01:00
zero
9257e01e35 spec: DAO::mint() and DAO::propose() 2024-01-13 14:19:29 +01:00
zero
6fb5083a4e spec: change from blake3 to blake2b and add explainer why 2024-01-13 11:13:25 +01:00
Dastan-glitch
dd43ff2bfd remove unused import 2024-01-13 03:35:26 +03:00
Dastan-glitch
f46eb4c0e4 src/event_graph: request and reply multiple events 2024-01-13 03:25:02 +03:00
aggstam
7c9b3549cf darkfid2: use minerd to mine blocks, validator: cleaned up threads info as its not longer required 2024-01-12 15:03:42 +02:00
aggstam
09137d4633 script/research/minerd: handle new request trigger using smol channels 2024-01-11 17:50:03 +02:00
aggstam
a27725b58f script/research/minerd: miner daemon skeleton 2024-01-11 16:35:11 +02:00
aggstam
dc882d256b validator:pow: decoulbed mine_block() from PowModule so it can be used outside of it 2024-01-11 16:34:37 +02:00
parazyd
036afda345 validator: Configurable fee verification, incomplete
It's now only used in add_transactions(), but needs to be in other
places as well.
2024-01-10 16:34:05 +01:00
parazyd
13bd090150 contract/money/integration: Gather block reward owncoins 2024-01-10 16:20:36 +01:00
parazyd
d0eac00cea contract/money: Fix slot generation in integration test 2024-01-10 15:46:09 +01:00
parazyd
e659f2c6d0 contract/money: WIP complete integration test 2024-01-10 15:39:19 +01:00
parazyd
efedcbf856 contract/money: Rename "integration" test to "token_mint" 2024-01-10 15:18:38 +01:00
parazyd
dc0a1fb134 contract/money: Ignore benchmark tests when running test units 2024-01-10 15:10:56 +01:00
zero
ead4b2338f book: botched move 2024-01-10 15:03:33 +01:00
zero
ac3f29036e book: git mv spec2 spec 2024-01-10 14:50:35 +01:00
zero
45f5bd506f dao model: add note about blake2 hash function usage 2024-01-10 14:04:43 +01:00
zero
4d87af64f4 dao: replace use of blake3 hash with blake2b. See code comments for explanation of the rationale 2024-01-10 10:58:44 +01:00
parazyd
6b238fdb9a ci: Install wabt for book gen 2024-01-10 10:42:48 +01:00
zero
9d82ce3a1c dao::vote(): correct mistake in nullifier 2024-01-10 10:34:45 +01:00
zero
993587ada7 zk/debug: add Uint32 and MerklePath for export_witness_json() 2024-01-10 10:03:32 +01:00
parazyd
ec1e9ff64e contract/test-harness: Set fixed-difficulty=1 mining 2024-01-10 09:37:20 +01:00
zero
f573585b72 spec2: vote nullifiers and finish dao model page 2024-01-10 08:53:39 +01:00
zero
152e81984d spec2: DAO model 2024-01-09 18:16:03 +01:00
aggstam
e5660ce75d validator: check if proposal already exists when looking ofr its fork index
This also solves the bug where when appending a dublicated proposal, a new duplicate fork being created, resulting in never finalizing, as forks of same height existed
2024-01-09 18:36:09 +02:00
aggstam
4cc5cf6217 contrib/dependency_setup.sh: wabt dep dependency added for xbps 2024-01-09 17:28:00 +02:00
parazyd
561318cf6f runtime: Disable payload debug message on Deploy 2024-01-09 16:06:40 +01:00
parazyd
43030a9eea chore: Enable some additional arti-client crate features
Additionally perform a dependency update.
2024-01-09 15:58:39 +01:00
parazyd
849da0a521 contract: Strip built WASM binaries using wasm-strip from the wabt toolkit 2024-01-09 15:06:27 +01:00
parazyd
92557d2cec contract/deployooor: Update API to use DarkLeaf for contract calls 2024-01-09 14:52:40 +01:00
parazyd
6c2ba6ec6a validator: Deploy the deployooor contract as a native contract 2024-01-09 14:42:55 +01:00
parazyd
b232d9a85a contract/deployooor: Add initial integration test 2024-01-09 14:42:55 +01:00
parazyd
fecab39d77 validator: Move DeployParamsV1 to darkfi-sdk 2024-01-09 13:27:48 +01:00
parazyd
2ad9183239 validator: Implement contract deployment handling upon tx verification 2024-01-09 13:18:53 +01:00
parazyd
8dbd5a1785 contract/deployooor: Include deployment instruction payload in params 2024-01-09 13:16:37 +01:00
parazyd
12be55740c contract/deployooor: Implement initial client API 2024-01-09 12:42:40 +01:00
parazyd
e102f84e56 runtime: Remove unused sanity_check() function
This is now done inside the deployooor contract.
2024-01-09 12:09:34 +01:00
parazyd
6b53ba13ab chore: Clippy lints 2024-01-09 11:02:31 +01:00
zero
6cd9202c93 remove unmaintained ShareAddress 2024-01-09 10:40:00 +01:00
zero
3b14e2f671 dao::vote(): add proposal_bulla to the nullifiers 2024-01-09 10:33:50 +01:00
zero
c9d2b280d5 ec: fix small typos 2024-01-09 10:33:50 +01:00
parazyd
6091c4b916 book: Fix ZK circuit paths for RLN page 2024-01-08 17:54:10 +01:00
parazyd
77bc5edbb5 net: Port from deprecated async-rustls to futures-rustls.
This is also a protocol-breaking change. We now have a bit looser
certificate verification that does not append the base32-encoded
public key into the altName.
2024-01-08 15:58:50 +01:00
parazyd
dedc29430e chore: Update crate dependencies 2024-01-08 15:58:50 +01:00
parazyd
bec3b520e5 dchat: Remove stray lines in Cargo.toml 2024-01-08 12:52:14 +01:00
parazyd
64377fe908 example/dummy-contract: Fix paths 2024-01-08 12:47:22 +01:00
parazyd
b9f8ffa16d doc: Update .gitignore 2024-01-08 12:47:02 +01:00
zero
6af0437e21 spec2: sections on concepts, notation, pallas/vesta 2024-01-06 14:12:58 +01:00
zero
dd0e2dabee spec2: add section on crypto schemes 2024-01-06 11:21:30 +01:00