Commit Graph

4202 Commits

Author SHA1 Message Date
Luther Blissett
6b792d6203 darkwikid: Clippy lint. 2022-09-07 13:19:03 +02:00
Luther Blissett
e53f17c114 taud: Clippy lint. 2022-09-07 13:18:41 +02:00
Luther Blissett
c293a03981 drk: Remove unused prettytable::cell import. 2022-09-07 13:17:21 +02:00
Luther Blissett
3337ae249f ircd: More robust handling of TOML in parse_configured_contacts.
This is done to avoid thread panics which would not exit the program and
leave it in some weird limbo. Take note, and add this elsewhere where
applicable and be careful about indexing which you haven't confirmed
exists.
2022-09-07 13:15:34 +02:00
Luther Blissett
9ec99c4401 contrib: Merge dependency scripts into a single one. 2022-09-07 12:17:34 +02:00
Stellar Magnet
ca88ae5d8e Updated ircd listen port in instructions 2022-09-07 09:36:10 +00:00
ghassmo
b33ac13922 raft: handle separately each timeout durations 2022-09-07 13:08:45 +04:00
ghassmo
3046b9023c bin/ircd: don't need to wait for outbound connections 2022-09-07 10:54:24 +04:00
ghassmo
cec662af31 net: add the channel address to error log when the channel disconnect 2022-09-07 10:45:18 +04:00
ghassmo
f680467ebc bin/ircd: use BtreeMap for unread_msgs 2022-09-07 10:45:18 +04:00
aggstam
830e05e30c p2pnet: localnet impl minor optimization 2022-09-07 03:01:56 +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