Commit Graph

4193 Commits

Author SHA1 Message Date
Dastan-glitch
d4c3b2f5e5 move daod and dao-cli to dao folder, and rename dao-cli to dao 2022-09-07 02:39:36 +03:00
Dastan-glitch
4e4ae9914e bin/dao: creating rpc methods 2022-09-07 01:40:05 +03:00
aggstam
d5a4654704 p2pnet: localnet flag implemented 2022-09-06 21:02:10 +03:00
Luther Blissett
ee4c99387e Update project dependencies. 2022-09-06 16:41:03 +02:00
Luther Blissett
94b0c40e4e dnetview: Support custom config file through args, and cleanup args. 2022-09-06 12:30:57 +02:00
ghassmo
a10e40160c bin/ircd: don't pass contacts to on_receive_join function 2022-09-06 13:44:13 +04:00
ghassmo
cd200f8be4 src/system: remove notify_by_id function from subscriber 2022-09-06 13:35:43 +04:00
ghassmo
77c8dbabcd bin/ircd: detach the main loop for ctrlc to work properly 2022-09-06 13:33:34 +04:00
ghassmo
0f05836c31 bin/ircd: auto join configured channels 2022-09-06 12:53:47 +04:00
ghassmo
8c6bd69c90 bin/ircd: fix a minor bug causing showing message twice 2022-09-06 11:41:56 +04:00
ghassmo
9c935fa1c4 bin/ircd: rename p2p_notifiers to notify_clients 2022-09-06 11:09:38 +04:00
ghassmo
85834f9e27 bin/ircd: combine all irc config in one struct & create Buffers struct for read/unread msgs 2022-09-06 11:02:10 +04:00
aggstam
d358019d1a p2pnet: default app_version retrieval added 2022-09-05 19:47:58 +03:00
aggstam
209672570c ircd: fixed rebasing trash 2022-09-05 19:38:12 +03:00
aggstam
65a501f721 p2pnet: default app_version retrieval added 2022-09-05 19:33:11 +03:00
ghassmo
88cb7a5068 bin/ircd: fix typos & clean up 2022-09-05 17:57:11 +04:00
ghassmo
1a6ba6a005 bin/ircd: move the irc server functionalities from main file 2022-09-05 17:30:15 +04:00
ghassmo
58459ed244 bin/ircd: remove const vars from main.rs 2022-09-05 14:34:42 +04:00
ghassmo
04a4577afd bin/ircd: minor fix 2022-09-05 14:32:56 +04:00
ghassmo
30d2655dfd bin/ircd: major fix on protocol privmsg & more clear log messages 2022-09-05 14:23:18 +04:00
ghassmo
67068b86b8 bin/ircd: pass the ircd version to p2p settings & general clean up for the code 2022-09-05 14:23:18 +04:00
Dastan-glitch
a55e14a8d4 bin/ircd: minor info add to config file 2022-09-05 14:23:18 +04:00
ghassmo
a392477a54 bin/ircd: implement encrypted DMs 2022-09-05 14:23:05 +04:00
ghassmo
48b21d5d55 remove id from Inv struct 2022-09-05 14:22:52 +04:00
ghassmo
00815519d6 bin/ircd: minor changes to the protocol_privmsg 2022-09-05 14:22:52 +04:00
ghassmo
15eab6a994 bin/ircd: add Inv and GetData to the protocol to remain the messages in sync 2022-09-05 14:22:46 +04:00
ghassmo
bd9789850e bin/ircd: redesign on main.rs code for handling connections 2022-09-05 14:21:53 +04:00
ghassmo
f5611d7212 bin/ircd: push the privmsg with the same term to the buffer 2022-09-05 14:19:49 +04:00
ghassmo
0395727e32 bin/ircd: update the buffer when add/send a message 2022-09-05 14:17:07 +04:00
ghassmo
a521090200 bin/ircd: minor changes and some clean up 2022-09-05 14:16:24 +04:00
ghassmo
89847e52e4 bin/ircd: new implement for PrivmsgBuffer 2022-09-05 14:16:24 +04:00
ghassmo
f74b636e63 bin/ircd: build ring buffer struct & remove ringbuffer crate 2022-09-05 14:16:24 +04:00
ghassmo
a448fdde02 full redesign for ircd 2022-09-05 14:15:51 +04:00
lunar-mining
e1cfc5f897 daod: further simplify vote pederson commitment naming 2022-09-05 11:31:20 +02:00
Dastan-glitch
a28a32526c doc: update tau section in the book 2022-09-05 02:43:58 +03:00
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