Commit Graph

1185 Commits

Author SHA1 Message Date
parazyd
c1b2c2af5a Update crate dependencies 2022-11-08 12:17:25 +01:00
parazyd
f062a2bbe9 Apply new TokenID API throughout codebase. 2022-11-08 11:35:31 +01:00
parazyd
e6455facb7 Migrate more crypto API to sdk 2022-11-07 22:27:24 +01:00
parazyd
d7ee8f3e0c Update calls throughout repository for latest darkfi-sdk changes. 2022-11-07 01:42:39 +01:00
parazyd
8c27c24473 make fix 2022-11-06 21:29:06 +01:00
parazyd
f2dd798f2d Clear up most warnings and have test units pass. 2022-11-06 21:17:36 +01:00
lunar-mining
2eb72ce53e dao/Transaction: each Vec<Signature> corresponds to ONE function call 2022-11-05 12:49:08 +01:00
lunar-mining
fb9f3ea6cf Revert "bin/dao: remove MakeFile"
This reverts commit ff694187e5.
2022-11-05 12:34:27 +01:00
x
346a6a5802 wasm: make functions use the same generic underlying call(), and able to return data through env with set_return_data() 2022-11-05 09:55:27 +00:00
Dastan-glitch
ff694187e5 bin/dao: remove MakeFile 2022-11-04 05:51:58 +03:00
Dastan-glitch
452212590c bin/dao: use chacha20poly1305 crate in dao binary too 2022-11-04 05:51:38 +03:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
Dastan-glitch
7a7c5070f2 bin/dao: balance() replace token name with token_id 2022-10-31 05:46:21 +03:00
Dastan-glitch
d5a1951c1b bin/dao: some error handling 2022-10-31 05:34:15 +03:00
Luther Blissett
43a871c3f2 Update all Cargo.toml files to include AGPL license reference. 2022-10-30 11:01:40 +01:00
aggstam
4ba31723c1 consensus: participants logic updated, proposal proof validation added, fmt 2022-10-30 03:11:35 +03:00
Dastan-glitch
50f6428257 bin/dao: minor fix based on recent change in src/error.rs 2022-10-27 05:15:19 +03:00
Dastan-glitch
5c346b44e4 bin/dao: execute run_demo regardless of pwd 2022-10-20 04:57:43 +03:00
Dastan-glitch
dc86c69562 bin/dao: add more cli information 2022-10-20 03:45:08 +03:00
Dastan-glitch
ad29ec69ff bin/dao: update run_demo script to use already built binary 2022-10-20 03:43:05 +03:00
Dastan-glitch
31838e93fe bin/dao: make cli a bit more interactive 2022-10-20 03:41:47 +03:00
x
2b0d414d36 Merge branch 'master' of github.com:darkrenaissance/darkfi 2022-10-17 10:37:59 +00:00
x
00458ccd48 doc: fix missing code samples in smart_contracts.md 2022-10-17 10:36:27 +00:00
lunar-mining
328fbc2ae4 dao: re-added Transaction TODO overwritten by merge and deleted old TODO file 2022-10-17 10:39:55 +02:00
Dastan-glitch
7063ccaf6c bin/dao: remove schema.rs 2022-10-17 07:29:50 +03:00
Dastan-glitch
bfb8b90acd bin/dao: re-remove serde dependency for publickey and secretkey 2022-10-17 06:32:19 +03:00
Luther Blissett
62d1f06c1f Update imports for type migrations. 2022-10-17 00:34:34 +02:00
Luther Blissett
c93034f164 zkas: Write the circuit namespace in the bincode. 2022-10-16 16:02:33 +02:00
Dastan-glitch
acdca1e747 bin/dao: [minor] reorganize imports 2022-10-16 03:38:14 +03:00
Dastan-glitch
38491b7649 bin/dao: rename foo_contract to just foo 2022-10-16 03:29:46 +03:00
Dastan-glitch
c0c97337d7 resolve conflicts merging dao_demo 2022-10-16 02:50:59 +03:00
Luther Blissett
2ca5866c43 Fix tests compilation 2022-10-15 20:30:21 +02:00
Luther Blissett
5e4b663b13 Apply new path to serial crate throughout codebase. 2022-10-15 20:06:28 +02:00
Luther Blissett
2b587bc14a Migrate lib to smol instead of explicit async deps.
Internally they're the same, smol exports them.
2022-10-14 18:43:26 +02:00
aggstam
c4227d9e03 stakeholder: conflict resolved 2022-10-14 18:44:26 +03:00
aggstam
13d8865b75 consensus: participants logic updated with keepalive 2022-10-14 18:42:11 +03:00
aggstam
cc080d1494 consensus: votes chopped 2022-10-14 18:42:11 +03:00
Luther Blissett
47dbf1363f Clean up async_daemonize for less imports and use smol. 2022-10-14 14:07:06 +02:00
Luther Blissett
7a431fca4d bin: Apply API changes. 2022-10-14 02:30:21 +02:00
Luther Blissett
4adb6d1c67 node/state: Implement temporary dummy state function. 2022-10-14 02:29:52 +02:00
Luther Blissett
9865b21a28 crypto: Stricter API for nullifier and secretkey. 2022-10-14 02:29:51 +02:00
Luther Blissett
dd8169915f darkfid: Add TODO note about OsPath. 2022-10-14 02:29:31 +02:00
x
435f25491c doc: add info about zkas arch 2022-10-13 11:41:45 +00:00
x
7e0c87c34f expand smart_contracts.md section 2022-10-11 12:29:36 +00:00
Luther Blissett
4888b25830 drk/deploy: Add ZK proof for deployment, and some cleanups and roadmap. 2022-10-10 14:53:17 +02:00
Luther Blissett
9b0f68460d drk: Draft code for contract deployment. 2022-10-10 13:33:09 +02:00
Luther Blissett
98d6300c5e darkwikid: Add more explanations in the config file. 2022-10-07 01:20:21 +02:00
Luther Blissett
54c9404c35 darkfiki: Clean up config file. 2022-10-07 01:13:08 +02:00
Luther Blissett
c769fd42ec Update dependency versions and remove env_logger dep. 2022-10-07 00:58:48 +02:00
Luther Blissett
e7bc898923 darkwikid: main.rs improvements, and cleanups.
* Use dryoc for crypto_secretbox instead of public-key encryption.

* Detach raft task to background (this needs a good rework, current
  design is suboptimal).

* Remove ctrlc and add signal-hook to handle signals

* Upon SIGHUP, reload workspace secrets from the TOML config file.
2022-10-07 00:50:40 +02:00