Commit Graph

4158 Commits

Author SHA1 Message Date
lunar-mining
d9451f7eef dao: improve confusing vote/ value names.
TLDR: win_votes is now weighted_votes. total_votes is now all_votes.

decided on weighted_votes instead of yes_votes because otherwise the fact
that we create it by commiting to yes_vote_value and all_vote_blinds is
confusing.

i.e:

    weighted_vote_commits = commit(yes_vote_values, all_vote_blinds)

is easier to understand than:

    yes_vote_commits = commit(yes_vote_values, all_vote_blinds)
2022-09-04 13:39:36 +02:00
lunar-mining
1643902e8b daod: change ContractId and FuncId to static pallas::Base 2022-09-04 13:39:36 +02:00
lunar-mining
608e1981e3 daod: moved DaoParams to dao_contract::mint::wallet + removed new() from mint::wallet::Builder() 2022-09-04 13:39:36 +02:00
lunar-mining
2f2f1d959a daod: cleaned up unused imports 2022-09-04 13:39:36 +02:00
Dastan-glitch
50f3c07203 bin/ircd: update ircd_config.toml 2022-09-03 20:03:51 +03:00
Dastan-glitch
1552aa26d3 bin/ircd: implement encrypted DMs 2022-09-03 19:42:23 +03:00
aggstam
70d1aaa626 p2pnet: manual sessions to support outbound transport enforcing, wait_for_outbound to include manual peers connections, minor fixes 2022-09-03 17:02:10 +03:00
Stellar Magnet
fff455f1d1 docs: Updated ircd port & mac config location (#99)
* docs: Updated ircd port & mac config location

* Update ircd.md

Co-authored-by: ghassmo <45806536+ghassmo@users.noreply.github.com>
2022-09-03 11:21:22 +04:00
ghassmo
699a2bf262 net: add app version to VerackMessage message for version protocol 2022-09-03 11:11:46 +04:00
ghassmo
6823927156 p2p: use SerialEncodable, SerialDecodable for types in message.rs & create AppMessage and AppAckMessage message 2022-09-03 10:20:59 +04:00
lunar-mining
18932c50b1 daod: implement custom encode_bytes() method for CallDataBase. finish sign and verify implementation using said method. remove Box<T> from serial.rs 2022-09-02 21:44:10 +02:00
aggstam
041600f5e2 p2pnet: outbound transports configuration implemented 2022-09-02 19:27:27 +03:00
aggstam
e87930c045 p2pnet/wait_for_outbound: connection timeout added 2022-09-02 15:12:37 +03:00
lunar-mining
1a853df52b daod: implement Encodable for Box<T> and create isolated error case in demo.rs 2022-09-02 13:08:26 +02:00
Luther Blissett
fd9c32f729 net/transport/tor: Remove regex dependency. 2022-09-02 10:50:24 +02:00
lunar-mining
6eee78cab3 daod: remove redundant signature_publics field and return signature_public_keys from input 2022-09-02 10:12:03 +02:00
lunar-mining
2349eaab43 daod: move signature verification and signing to Transaction level. at this point, encoding is still unimplemented 2022-09-02 09:45:06 +02:00
lunar-mining
2a9e52846d daod/ example: remove unnecessary Header from CallData + fix imports 2022-09-01 16:12:54 +02:00
lunar-mining
dbd99fcdc7 Revert "daod/ example: removed unnecessary Header from CallData"
This reverts commit 8a42c51f6003ccb82e90de3927a8b79cd9c92cbc.
2022-09-01 16:12:54 +02:00
lunar-mining
d7e1fdf778 daod/ example: removed unnecessary Header from CallData 2022-09-01 16:12:54 +02:00
lunar-mining
b5cba9cb99 move daod::util::poseidon_hash() to darkfi::crypto::util + update usage in src/crypto 2022-09-01 16:12:54 +02:00
lunar-mining
cdecb92313 daod: disabled as_any() method on UpdateBase and added note re: disabled checks 2022-09-01 16:12:53 +02:00
lunar-mining
4137d63948 daod/ exec: atomically apply all updates 2022-09-01 16:12:53 +02:00
lunar-mining
02952694c9 daod/money_contract: move wallet/builder.rs to wallet.rs 2022-09-01 16:12:53 +02:00
Luther Blissett
5f1f79d4c5 ircd/server: Avoid DoS when receiving empty lines from clients. 2022-09-01 11:40:15 +02:00
Luther Blissett
1494782314 CI: Remove matrix commit message workflow. 2022-09-01 10:11:50 +02:00
Luther Blissett
13a6334687 doc/zkas: Update bincode reference. 2022-09-01 10:10:02 +02:00
Joshua Trujillo
48ffde789b doc/zkas/: add syntax reference 2022-09-01 07:59:37 +00:00
Dastan-glitch
eb63d9559c bin/tau: review taskwarrior CLI and cleanup tau usage 2022-09-01 04:36:20 +03:00
aggstam
e4838c4335 dnetview: lilith nodes support implemented 2022-08-30 21:44:47 +03:00
aggstam
1881cce93d localnets: lilith default rpc url fixed in config 2022-08-30 16:29:31 +03:00
ghassmo
4e0cfd6a89 add darkwiki and darkwikid to BINS in Makefile 2022-08-30 15:04:23 +04:00
ghassmo
9193c37960 general clean up for taud & add refresh flag to both taud and darkwikid for cleaning up local data and run fresh start 2022-08-30 13:30:14 +04:00
Luther Blissett
e5f212a4ad Update project dependencies. 2022-08-30 10:18:07 +02:00
Luther Blissett
0fa8b27d99 Makefile: Include example/simple.zk in PROOFS. 2022-08-29 23:30:20 +02:00
Luther Blissett
bc028798d9 Makefile: Add missing dependencies. 2022-08-29 23:02:21 +02:00
Luther Blissett
99e616e0fd Makefile: Move zkas into separate target for proper .zk dependencies. 2022-08-29 22:41:23 +02:00
Luther Blissett
a24d9db8e9 tests: Add test units to test all zkvm opcodes.
TODO: Test failures.
2022-08-29 22:41:23 +02:00
Luther Blissett
acc5773230 zkas: Clippy lints. 2022-08-29 22:41:23 +02:00
Luther Blissett
deaed0bdc8 Update zkas proofs merkle root opcode. 2022-08-29 22:41:23 +02:00
Luther Blissett
7c1ed1f0ef zk/vm: Update for new functionality. 2022-08-29 22:41:23 +02:00
Luther Blissett
40d909552c zkas: Enforce range checks to be 64 or 253 bits. 2022-08-29 22:41:23 +02:00
Luther Blissett
90407fa4f2 contrib/zk: Add new things in vim and vis lexers. 2022-08-29 22:41:23 +02:00
Luther Blissett
a1732be74e zkas/compiler: Introduce .literal section in bincode, and add remaining code. 2022-08-29 22:41:23 +02:00
Luther Blissett
cfbc6c7573 zkas/compiler: Extend for literal type support. 2022-08-29 22:41:23 +02:00
Luther Blissett
be0b9bfc70 zkas/analyzer: Reintroduce interactive analysis. 2022-08-29 22:41:23 +02:00
Luther Blissett
ecbedd8894 zkas/analyzer: Rewrite analyzer. 2022-08-29 22:41:23 +02:00
Luther Blissett
ed1bc8c30f zkas/parser: Implement circuit section parsing. 2022-08-29 22:41:23 +02:00
Luther Blissett
dca691fa55 zkas/ast: Derive Clone,Debug and add support for functions as args. 2022-08-29 22:41:23 +02:00
Luther Blissett
7c104ad156 zkas/error: Fix caret pad. 2022-08-29 22:41:23 +02:00