Commit Graph

5337 Commits

Author SHA1 Message Date
parazyd
fd79349982 contract/money: Client spend-hook support. 2023-01-11 17:14:46 +01:00
parazyd
ee93088dae drk: Write minted DAO updates to wallet when scanning blocks. 2023-01-10 19:31:49 +01:00
parazyd
17170e4f2e drk: Add API for fetching all DAOs from the wallet and prefer that. 2023-01-10 19:16:18 +01:00
parazyd
f83270f175 drk: DAO Mint 2023-01-10 17:44:47 +01:00
parazyd
8a06300ff5 contract/dao: Derive DAO public key when minting, and enforce it. 2023-01-10 17:43:42 +01:00
parazyd
faf649cff8 drk: Initial block scans for DAO 2023-01-10 16:32:26 +01:00
parazyd
2cbc0264ac contract/dao: Prefix structs with Dao namespace. 2023-01-10 16:11:15 +01:00
parazyd
0b7a85d162 contract/money/harness: Fix log targets. 2023-01-10 15:57:42 +01:00
parazyd
3f4a94e387 contract/dao: Fix syntax errors in wallet.sql. 2023-01-10 15:09:16 +01:00
parazyd
f642524e81 drk: DAO list. 2023-01-10 15:08:58 +01:00
parazyd
48206a0eaa drk: DAO import. 2023-01-10 14:13:45 +01:00
parazyd
44579ebcba drk: dao_import stub. 2023-01-09 18:39:07 +01:00
parazyd
e50a0f3c8e walletdb: Implement options. 2023-01-09 18:39:07 +01:00
aggstam
971ea62ab8 fix broken imports 2023-01-09 18:26:50 +02:00
x
0e8f891e7f rename money/src/state.rs to model.rs 2023-01-09 15:59:36 +01:00
parazyd
d860174fc8 drk: Initial DAO commands layout. 2023-01-09 15:43:06 +01:00
x
0c292e524e add spend_hook to money contracts, and checks for DAO::exec() 2023-01-09 14:20:28 +01:00
spital
f03966069b docker-remove-old-bins-and-remove-apt-cache 2023-01-09 13:14:45 +00:00
parazyd
fd391979a0 drk/wallet: Initialize DAO contract wallet Merkle trees. 2023-01-09 14:04:55 +01:00
x
903b3286ab dao-test: add fixes to check for duplicates in mint() and propose() 2023-01-09 13:16:06 +01:00
parazyd
cb29f8ef80 contract/dao/client: Add sql wallet column constants. 2023-01-09 11:59:39 +01:00
parazyd
df85da6345 drk: build.rs experiment. 2023-01-09 11:59:39 +01:00
x
ad94b9bce3 cleanup the mess with dao::vote() associated variables: vote_option, vote_value .etc just rename everything to either yes_vote_* or all_vote_* 2023-01-09 11:40:58 +01:00
Dastan-glitch
257ba08bdb doc: update maintenance subpage 2023-01-09 12:41:12 +03:00
x
e723d40004 dao cleanup for vote() and exec() phases 2023-01-09 10:25:56 +01:00
Dastan-glitch
345efe3be1 README: fix darkfi book url for development 2023-01-09 00:56:23 +03:00
Dastan-glitch
078ce075df doc: added areas of work subpage to development section in book 2023-01-08 22:42:15 +03:00
x
be037aeba9 cleanup DAO user API 2023-01-08 10:52:50 +01:00
x
ea9e3cdf58 add DAO wallet.sql 2023-01-08 09:56:31 +01:00
x
fd2dec238c move halo2 specific types out from zk:: to their own submodule zk::halo2:: 2023-01-07 13:45:06 +01:00
x
9cd9c3113e cleanup imports by flattening everything to submodules. 2023-01-07 13:02:23 +01:00
x
e549746c87 impl of curve trees 2023-01-06 19:04:43 +01:00
x
9558338545 fix broken dao-exec proof due to swapped numbers 2023-01-06 09:37:30 +01:00
parazyd
7867f2eef0 Add example/simple.zk to zkas dependency targets. 2023-01-05 19:13:15 +01:00
parazyd
4443e2808c Fix make check 2023-01-05 16:05:18 +01:00
aggstam
be0d25ec10 consensus/utils: fixed broken test 2023-01-05 14:48:47 +02:00
x
9caa49ffa8 disable cursor checks in db_* since it uses an unstable rust feature 2023-01-05 13:45:25 +01:00
x
5ff054f840 forgot to add these files before 2023-01-05 12:54:02 +01:00
x
84ef0ab2cb random todos 2023-01-05 12:52:25 +01:00
x
a7751f4e18 split WalletCache into its own module 2023-01-05 12:44:42 +01:00
x
f36747728d remove unused imports 2023-01-05 12:06:44 +01:00
x
155e7473a4 fix various warnings and general cleanup 2023-01-05 11:50:05 +01:00
x
4c056ceb86 implement dao::exec() update, and add missing db_del() to runtime 2023-01-05 11:02:55 +01:00
parazyd
0a14d8223f research/last_man_standing: Minor cleanup and behaviour notes. 2023-01-04 16:25:08 +01:00
parazyd
4c4132ce7e consensus/types: Wrap Float10 into our own struct for some code simplification. 2023-01-04 15:15:20 +01:00
aggstam
61525b3ed9 script/research/last_man_standing: created new dummy consensus state with its own pid controller 2023-01-03 18:34:09 +02:00
x
3647d69c75 reorganize dao client functions into src/dao_client/foo.rs and rename state.rs to dao_model.rs 2023-01-03 13:28:35 +01:00
x
1b096e8f3f remove money harness, and rename dao_harness to just harness 2023-01-03 11:44:20 +01:00
aggstam
2a6aa7fdcf script/research/last_man_standing: survivors vec fix 2023-01-02 18:18:20 +02:00
x
ff6eba45ec cleanup logs for consensus::proto::* 2023-01-02 16:41:19 +01:00