zero
|
7edb0cd217
|
apply DEP 0003: Token Mint Authorization
|
2024-02-01 17:38:32 +01:00 |
|
skoupidi
|
3e15d146a3
|
validator/consensus: cleaned up slots logic
|
2024-02-01 13:31:29 +02:00 |
|
skoupidi
|
4c45c8d592
|
validator: cleaned up verification and validations methods and merged the two files
|
2024-01-31 20:21:08 +02:00 |
|
skoupidi
|
e53ea14531
|
contract/money/tests/integration: fixed failing test due to erroneous block height
|
2024-01-30 21:35:30 +02:00 |
|
skoupidi
|
f64c4e5750
|
contract/*: renamed all slot references to block height
|
2024-01-30 21:27:46 +02:00 |
|
skoupidi
|
07b47fd521
|
contract/money/pow_reward: simplyfied call to use last block information directly from database overlay
|
2024-01-30 20:59:23 +02:00 |
|
skoupidi
|
6b74cebdd0
|
drk: moved contracts sql stuff from their client to drk directly
Also prefixed table name with their corresponding contract idfff
|
2024-01-30 15:34:12 +02:00 |
|
zero
|
42a6b92ec6
|
drk: move coin_blind to the correct position
|
2024-01-30 13:11:13 +01:00 |
|
zero
|
85cbf1f152
|
drk: update for changes to serial renamed to coin_blind
|
2024-01-30 12:22:07 +01:00 |
|
zero
|
0738b42b1c
|
money: change the coin_attribute serial to coin_blind. We no longer use the serial, and its sole purpose is to blind the coin. Also move it to the end, consistent with all bullas and commits used in darkfi core.
|
2024-01-30 12:12:56 +01:00 |
|
skoupidi
|
16103b84a7
|
Night of the living dead
|
2024-01-29 21:41:01 +02:00 |
|
zero
|
43621729fe
|
spec: money xfer params
|
2024-01-29 11:11:37 +01:00 |
|
skoupidi
|
c3f84d3abb
|
src/wallet: yeet
|
2024-01-25 19:06:37 +02:00 |
|
aggstam
|
6e7dc81704
|
chore: clippy
|
2024-01-24 17:57:46 +02:00 |
|
parazyd
|
b498847676
|
contract/money: Add missing error to the error enum
|
2024-01-24 16:26:14 +01:00 |
|
parazyd
|
228aea9926
|
contract/fee: Enforce that fee_paid > 0
|
2024-01-24 13:11:56 +01:00 |
|
zero
|
7ada52b28b
|
rename mod_r_p() -> fp_mod_fv(), and mod_p_r_unsafe() -> fv_mod_fp_unsafe()
|
2024-01-23 16:36:19 +01:00 |
|
zero
|
bb3729db92
|
DAO::vote: verifiably encrypt the Scalar blinds used for the pedersen commits. We select values v ∈ 𝔽ᵥ such that v ∈ 𝔽ₚ also, and then use conversion functions to move between the fields before and after encrypting/decrypting.
|
2024-01-23 16:36:19 +01:00 |
|
zero
|
e0ecada541
|
dao: use ElGamalEncryptedNote for DAO::vote() instead of AEAD
|
2024-01-23 11:22:02 +01:00 |
|
zero
|
56cc2b1627
|
switch DAO auth enc to use ElGamalEncryptedNote from SDK
|
2024-01-23 11:00:29 +01:00 |
|
zero
|
42acaf262f
|
dao: rename proof/dao-(vote|propose)-burn.zk to proof/dao-\1-input.zk
|
2024-01-21 10:33:36 +01:00 |
|
zero
|
d5faf7296a
|
dao: small simplification
|
2024-01-21 08:28:43 +01:00 |
|
zero
|
b1da730489
|
dao: apply same verifiable encryption for other outputs, to the DAO change output as well.
|
2024-01-19 11:55:08 +01:00 |
|
zero
|
75484eb7e4
|
spec: DAO::exec()
|
2024-01-19 09:18:54 +01:00 |
|
zero
|
3ac3f314ed
|
spec: add dao::vote()
|
2024-01-18 11:55:09 +01:00 |
|
aggstam
|
0b63956945
|
contract/money/error: added missing error code
|
2024-01-16 18:18:54 +02:00 |
|
aggstam
|
e829424a9c
|
sdk/util: added block height retrieval functions and use them at appropriate places
|
2024-01-16 18:07:39 +02:00 |
|
aggstam
|
78a47053f1
|
contract/money/Cargo.toml: added missing darkfi validator feature
|
2024-01-16 15:08:30 +02:00 |
|
parazyd
|
0e6f51e895
|
chore: Update copyright year in license headers
|
2024-01-16 13:07:22 +01:00 |
|
zero
|
8f405308b1
|
test-harness: s/slot_to_day/blockheight_to_day/
|
2024-01-16 12:25:00 +01:00 |
|
zero
|
50522bd7db
|
dao/spec: rename all mentions of slot to blockheight
|
2024-01-16 12:23:12 +01:00 |
|
zero
|
f357f1778b
|
spec: add money coin, current day, pedersen commits
|
2024-01-16 12:16:48 +01:00 |
|
parazyd
|
eecee6c829
|
contract/test-harness: Include Money::FeeV1 zk circuit for cached vks
|
2024-01-15 15:37:05 +01:00 |
|
parazyd
|
fc5968fb6f
|
contract/money/integration: Assert expected PoW reward
|
2024-01-15 15:25:11 +01:00 |
|
parazyd
|
b13464f27a
|
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-15 15:21:37 +01:00 |
|
parazyd
|
e7f2b556db
|
contract/test-harness: Update VKS and PKS checksums
|
2024-01-15 15:14:58 +01:00 |
|
parazyd
|
64c80377a2
|
contract: Move POW_REWARD constant to money contract
|
2024-01-15 15:11:45 +01:00 |
|
zero
|
9ec277abee
|
spec: add money contract with money transfer
|
2024-01-14 15:05:02 +01:00 |
|
zero
|
bba2c5472a
|
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-14 11:17:31 +01:00 |
|
zero
|
9257e01e35
|
spec: DAO::mint() and DAO::propose()
|
2024-01-13 14:19:29 +01:00 |
|
Dastan-glitch
|
dd43ff2bfd
|
remove unused import
|
2024-01-13 03:35:26 +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 |
|
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
|
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 |
|