parazyd
d3fae80d5a
chore: Update copyright year in license headers
2024-01-18 19:30:56 +01:00
zero
639b4e89df
test-harness: s/slot_to_day/blockheight_to_day/
2024-01-18 19:30:31 +01:00
zero
4cd92a8189
dao/spec: rename all mentions of slot to blockheight
2024-01-18 19:30:31 +01:00
zero
6b9ea039d7
spec: add money coin, current day, pedersen commits
2024-01-18 19:30:31 +01:00
zero
be4898e0c7
Revert "sdk/crypto: use the same generator for pedersen_commit_base() and pedersen_commit_u64()"
...
This reverts commit f9a8b41657 .
2024-01-18 19:30:31 +01:00
zero
e46c6dbb6b
sdk/crypto: use the same generator for pedersen_commit_base() and pedersen_commit_u64()
2024-01-18 19:30:31 +01:00
aggstam
c7248f44f6
darkfid2: parse network config directly from the config file, not as flattened arg
2024-01-18 19:30:31 +01:00
parazyd
8087222a86
validator/verification: Allow fee call at any place in the transaction
2024-01-18 19:30:31 +01:00
parazyd
8e5e997426
contract/test-harness: Include Money::FeeV1 zk circuit for cached vks
2024-01-18 19:30:31 +01:00
parazyd
d7ef5c25e1
contract/money/integration: Assert expected PoW reward
2024-01-18 19:30:31 +01:00
parazyd
5d8e4a5451
Revert "contract: Move POW_REWARD constant to money contract"
...
This reverts commit 64c80377a2 .
The constant is used for PoS rewards rather than PoW.
For PoW we can use the `expected_reward()` function.
2024-01-18 19:30:31 +01:00
parazyd
ab044b02fd
contract/test-harness: Update VKS and PKS checksums
2024-01-18 19:30:31 +01:00
parazyd
d42ba0d511
contract: Move POW_REWARD constant to money contract
2024-01-18 19:30:31 +01:00
zero
d67c3d2029
spec: DerivePubKey()
2024-01-18 19:30:31 +01:00
zero
ce5a92ff21
spec: add money contract with money transfer
2024-01-18 19:30:31 +01:00
zero
493fbfe1eb
spec: DAO::propose() nullifier
2024-01-18 19:30:31 +01:00
zero
9fd2e2e467
make DAO nullifiers the same as money, otherwise we can't detect whether the coins we're using were already spent or not. Having access to a set non-membership merkle tree here would fix this.
2024-01-18 19:30:31 +01:00
Dastan-glitch
77fb9d4321
src/event_graph: aquire locks outside loops
2024-01-18 19:30:31 +01:00
zero
c83347857e
spec: reword section on blake2
2024-01-18 19:30:31 +01:00
zero
111c803085
spec: DAO::mint() and DAO::propose()
2024-01-18 19:30:31 +01:00
zero
cda4521dad
spec: change from blake3 to blake2b and add explainer why
2024-01-18 19:30:31 +01:00
Dastan-glitch
2fe38d699c
remove unused import
2024-01-18 19:30:31 +01:00
Dastan-glitch
2074625d1d
src/event_graph: request and reply multiple events
2024-01-18 19:30:31 +01:00
aggstam
efe6f39041
darkfid2: use minerd to mine blocks, validator: cleaned up threads info as its not longer required
2024-01-18 19:30:31 +01:00
aggstam
54a2674717
script/research/minerd: handle new request trigger using smol channels
2024-01-18 19:30:31 +01:00
aggstam
4fffd4ac2c
script/research/minerd: miner daemon skeleton
2024-01-18 19:30:31 +01:00
aggstam
daa625d856
validator:pow: decoulbed mine_block() from PowModule so it can be used outside of it
2024-01-18 19:30:31 +01:00
parazyd
31d0d2f617
validator: Configurable fee verification, incomplete
...
It's now only used in add_transactions(), but needs to be in other
places as well.
2024-01-18 19:30:31 +01:00
parazyd
2f9a9cc237
contract/money/integration: Gather block reward owncoins
2024-01-18 19:30:31 +01:00
parazyd
9c18ec3446
contract/money: Fix slot generation in integration test
2024-01-18 19:30:31 +01:00
parazyd
ecc5c6ae11
contract/money: WIP complete integration test
2024-01-18 19:30:31 +01:00
parazyd
d24248d026
contract/money: Rename "integration" test to "token_mint"
2024-01-18 19:30:31 +01:00
parazyd
7a6b0a5203
contract/money: Ignore benchmark tests when running test units
2024-01-18 19:30:31 +01:00
zero
fecd412ecf
book: botched move
2024-01-18 19:30:31 +01:00
zero
4d411b0934
book: git mv spec2 spec
2024-01-18 19:30:31 +01:00
zero
62b9cdc04c
dao model: add note about blake2 hash function usage
2024-01-18 19:30:31 +01:00
zero
870fd3e246
dao: replace use of blake3 hash with blake2b. See code comments for explanation of the rationale
2024-01-18 19:30:31 +01:00
parazyd
68f08077f8
ci: Install wabt for book gen
2024-01-18 19:30:31 +01:00
zero
063a03e892
dao::vote(): correct mistake in nullifier
2024-01-18 19:30:31 +01:00
zero
9a2505c9e1
zk/debug: add Uint32 and MerklePath for export_witness_json()
2024-01-18 19:30:31 +01:00
parazyd
690b747b26
contract/test-harness: Set fixed-difficulty=1 mining
2024-01-18 19:30:31 +01:00
zero
901793bb79
spec2: vote nullifiers and finish dao model page
2024-01-18 19:30:31 +01:00
zero
fd177220e1
spec2: DAO model
2024-01-18 19:30:31 +01:00
aggstam
a318bb3d76
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-18 19:30:31 +01:00
aggstam
494da41475
contrib/dependency_setup.sh: wabt dep dependency added for xbps
2024-01-18 19:30:31 +01:00
parazyd
b10b078147
runtime: Disable payload debug message on Deploy
2024-01-18 19:30:31 +01:00
parazyd
4ec1daa589
chore: Enable some additional arti-client crate features
...
Additionally perform a dependency update.
2024-01-18 19:30:31 +01:00
parazyd
099e2e72ba
contract: Strip built WASM binaries using wasm-strip from the wabt toolkit
2024-01-18 19:30:31 +01:00
parazyd
ed892ea991
contract/deployooor: Update API to use DarkLeaf for contract calls
2024-01-18 19:30:31 +01:00
parazyd
b0ba8b7d3d
validator: Deploy the deployooor contract as a native contract
2024-01-18 19:30:31 +01:00