Commit Graph

3965 Commits

Author SHA1 Message Date
lunar-mining
8d163282da daod: mint gdrk + send to 3 hodlers 2022-08-15 19:08:52 +02:00
narodnik
b632561942 daod: successfully receive a coin to the treasury 2022-08-15 14:39:00 +02:00
narodnik
ee294eac35 daod: correctly specify spend_hook and user_data when minting new supply of treasury tokens 2022-08-15 13:52:38 +02:00
narodnik
e81809d39f forgot to add note.rs in last commit 2022-08-15 13:26:13 +02:00
narodnik
1ff5211566 simplify note and make it generic 2022-08-15 13:24:50 +02:00
narodnik
0adf5bbe2b darkfi: extend mint/burn proofs with spend_hook and user_data 2022-08-15 11:43:40 +02:00
narodnik
0d9da87d4f darkfi: add spend_hook and user_data to create_mint/burn_proof() 2022-08-15 11:05:28 +02:00
narodnik
bf55e6bd5e daod: remove useless lines from python demo 2022-08-15 10:19:44 +02:00
narodnik
c51645aa42 rename ZkContractTable to ZkBinaryTable 2022-08-15 10:03:11 +02:00
narodnik
173d759c05 daod: makefile auto compile zk files in proof/ 2022-08-15 10:02:56 +02:00
narodnik
2440a175cb daod: money::transfer() add the proofs back into the signature again 2022-08-15 09:45:24 +02:00
narodnik
4e7f05b2af daod: add support for native zk contracts, and migrate money::transfer() to new FuncCall structure 2022-08-15 09:32:45 +02:00
lunar-mining
4064cf4423 daod/ money: moved CallData into validate.rs 2022-08-15 08:07:03 +02:00
Dastan-glitch
62caeff37c bin/tau, bin/ircd: update crypto_box crate 2022-08-15 05:26:17 +03:00
Dastan-glitch
b4f7a420c4 bin/ircd: channel/contact metadata encryption 2022-08-15 04:44:58 +03:00
Dastan-glitch
4118765fe1 bin/tau: rework drawdown() 2022-08-15 04:40:14 +03:00
Dastan-glitch
e0ccf945aa bin/tau: events log show action author and comments as well, and timestamp alignment 2022-08-15 04:38:53 +03:00
lunar-mining
03ba954d34 daod: import crate::{dao_contract, money_contract} 2022-08-14 21:12:40 +02:00
lunar-mining
72a2d46e96 daod: bugfix x2 -- fix multiple imports of State + CallData causing state_transition to crash 2022-08-14 21:02:53 +02:00
lunar-mining
27442bb2d1 daod/ demo: create lookup/ lookup_mut. uncomment money_contract state changes code 2022-08-14 14:14:32 +02:00
lunar-mining
3df425f283 daod/ money_contract: implement state transition function 2022-08-14 14:00:27 +02:00
lunar-mining
a17af44651 daod/ dao_contract: move state_transition, Update and apply to validate.rs 2022-08-14 13:59:45 +02:00
lunar-mining
cb60ad3dfc daod/ money_contract: implement CallDataBase for CallData and cleanup 2022-08-14 13:56:56 +02:00
lunar-mining
a1ff7e8f44 crypto: change Mint/BurnRevealedValues::make_ouputs to return Vec<DrkCircuitField> 2022-08-14 09:03:45 +02:00
lunar-mining
a3bf281894 daod: update demo.rs with dao submodule. change money_contract::FuncCall to money_contract::CallData. add TODOs for money_contract 2022-08-14 08:14:10 +02:00
aggstam
513e990890 src/dht: lookup map syncing minor optimization 2022-08-13 18:19:09 +03:00
aggstam
2c326770a5 src/consensus/task/consensus_sync: missing break added 2022-08-13 18:19:09 +03:00
lunar-mining
5168ea18ba daod/ money_contract: rename Transaction to FuncCall 2022-08-13 14:24:14 +02:00
lunar-mining
7263e8eb6b daod: created money_contract/transfer subdir 2022-08-13 14:10:59 +02:00
lunar-mining
c0bf10d60c daod/ Makefile: add cargo run 2022-08-13 14:03:04 +02:00
lunar-mining
72adeab9d1 daod: rename money to money_contract + create Makefile 2022-08-13 10:47:58 +02:00
narodnik
89b0b8cadd daod: add money submodule 2022-08-13 10:18:21 +02:00
lunar-mining
11a71fc1c8 serial: implement Encodable/ Decodable for Vec<T>. deprecates impl_vec! macro 2022-08-13 09:23:27 +02:00
narodnik
3017700717 daod: remove wallet specific code from money_contract::transfer::state_transition() 2022-08-13 06:46:19 +02:00
narodnik
f4d1c84cee apply stackoverflow fix https://stackoverflow.com/questions/73331888/rust-return-mut-reference-from-downcast-ref-of-hashmap-mutable-value?noredirect=1#comment129506443_73331888 2022-08-13 06:21:57 +02:00
aggstam
0e2929a5c8 scr/util/serial: added BTreeMap Generic encoding 2022-08-12 20:47:57 +03:00
aggstam
0ef1a45086 src/dht: lookup map syncing implemented 2022-08-12 20:25:24 +03:00
parazyd
eb1a9f1349 darkotc: Implement signing of partially signed transaction. 2022-08-12 16:19:53 +02:00
parazyd
07d9286dcf contrib/localnet: Add memo to coins table of faucet wallet. 2022-08-12 13:59:07 +02:00
parazyd
2615f7a30e lib: Reenable wasm runtime module. 2022-08-12 11:25:45 +02:00
narodnik
befb47b20a dao_contract::mint::apply(update) modifies the state. 2022-08-12 10:49:50 +02:00
narodnik
0aa108c83d daod: dao-mint zk prove & verify 2022-08-12 09:58:56 +02:00
aggstam
99107d4d87 script/research/state_usage_analyser: txs simulation to measure ram usage 2022-08-11 21:28:32 +03:00
narodnik
04bb57bfcc daod: temp workaround just duplicate last value to be even number of inputs 2022-08-11 18:54:36 +02:00
narodnik
e5773319f3 dao mint witness all values except y due to poseidon crashing 2022-08-11 18:28:01 +02:00
narodnik
1dd581042d daod: comment out unused values 2022-08-11 11:55:50 +02:00
narodnik
dbf46005e4 workaround for zkas bug (missing constants section) 2022-08-11 11:43:12 +02:00
narodnik
4510dba0c6 remove old prototype zk contracts 2022-08-11 11:41:46 +02:00
narodnik
57b796dfc3 daod: DAO::mint() zk proof 2022-08-11 11:40:30 +02:00
narodnik
80bff2fa45 daod bugfix, use ** for deref any since the any is & 2022-08-11 10:17:15 +02:00