Commit Graph

3715 Commits

Author SHA1 Message Date
Janmajaya Mall
fe5a032c60 zk/range_check: Fixed test_64_bit 2022-07-19 10:09:59 +02:00
parazyd
e0b4cba1f4 zk/range_check: Fix test compilation. 2022-07-19 10:09:59 +02:00
Janmajaya Mall
94d6416eb1 src/zk/gadget: added instruction functions for less_than gadget 2022-07-19 10:09:59 +02:00
Janmajaya Mall
57273be2cd src/zk/gadget: added configure for less_than gadget 2022-07-19 10:09:59 +02:00
Janmajaya Mall
dfc7d71940 added 64 bit test for range_check gadget 2022-07-19 10:09:59 +02:00
Janmajaya Mall
7a4016867a fixed mutability in decompose_value fn 2022-07-19 10:09:59 +02:00
Janmajaya Mall
e51ba71306 added fn in RangeCheckChip 2022-07-19 10:09:59 +02:00
Janmajaya Mall
95f12fde62 added configure for RangeCheckChip 2022-07-19 10:09:59 +02:00
Dastan-glitch
5a1c33cb97 bin/tau: add workspace feature 2022-07-18 23:54:12 +00:00
aggstam
b64edcbe41 src/consensus/proto: removed redundant continue 2022-07-19 00:09:27 +03:00
aggstam
8e8ae97c9d script/research/dhtd: decoupled structures, moved p2p actions inside Dht struct. 2022-07-19 00:06:07 +03:00
aggstam
7b0d19e8dd script/research/dhtd: renaming and added optional init lookup map 2022-07-19 00:06:07 +03:00
narodnik
ba4213f75e modified tate lichenbaum pairing 2022-07-18 19:21:29 +02:00
narodnik
6b47bcf7b2 add small note to pairing code 2022-07-17 21:17:59 +02:00
ghassmo
e00bc7d967 minor fix to log messages in tau and net 2022-07-16 17:21:14 +04:00
ghassmo
95f4de0a7d finishing github/irc-commit-message 2022-07-16 03:05:59 +04:00
aggstam
64a354fffa script/research/dhtd: simple lookup table impl added 2022-07-15 22:56:52 +03:00
TG × ⊙
455b349ebc nix flake: add packages and apps 2022-07-15 16:58:09 +00:00
aggstam
d585120315 script/research/dhtd: changed data storage from String to Vec<u8> 2022-07-14 16:25:15 +03:00
TG × ⊙
a779d218ab nix flake: rust 1.58 -> 1.60 2022-07-14 09:25:21 +00:00
aggstam
016f30e62d script/research/dhtd: implementation of a simple DHT. 2022-07-12 15:05:35 +03:00
ghassmo
2db183418d github/workflows: change irc-commit-message.yml title 2022-07-11 17:06:07 +03:00
ghassmo
f25d7fb406 .github/workflows: add irc commit notifications 2022-07-11 16:59:57 +03:00
ghassmo
3a8a66bdff update Cargo.toml info for ircd and tau 2022-07-11 16:46:19 +03:00
Dastan-glitch
f98063fa73 Revert "raft: remove redundant code"
This reverts commit b64f3f379d.
2022-07-10 23:54:59 +00:00
Dastan-glitch
51e67a0e0c bin/ircd: clip nicks with length more than MAXIMUM_LENGTH_OF_NICKNAME instead of skipping their msgs 2022-07-10 23:41:01 +00:00
Dastan-glitch
b64f3f379d raft: remove redundant code 2022-07-10 23:38:34 +00:00
Dastan-glitch
08e79bbea1 bin/tau: slight change in tasks styling 2022-07-10 23:37:01 +00:00
ghassmo
a8ddc5c44e tau: take comment as vector instead of string from cli 2022-07-10 22:27:53 +03:00
ghassmo
7abeea28b4 tau: remove old codes 2022-07-10 22:27:34 +03:00
ghassmo
cc823f1a65 util/time: remove the name of day when printing date 2022-07-10 22:25:54 +03:00
ghassmo
7f3c831d74 bin/tau: add start state and add more colore indicating the state 2022-07-10 22:09:32 +03:00
ghassmo
4203adc403 raft: increase sync attempts 2022-07-10 21:28:14 +03:00
Dastan-glitch
bf2c11b459 bin/tau: Clippy lints 2022-07-10 15:32:16 +00:00
ghassmo
eb101f22e2 bin/tau: catching errors and exit signals 2022-07-10 16:20:39 +03:00
ghassmo
41803ebc37 bin/ircd/script/meeting_bot: using ! instead of # 2022-07-10 14:58:59 +03:00
ghassmo
1a1e97a78a bin/tau: WIP catching signals on changing tasks files 2022-07-10 02:56:44 +03:00
ghassmo
92cd0ed4c2 bin/tau: watch changes on tasks files and broadcast accordingly 2022-07-10 01:40:22 +03:00
ghassmo
6675cc2262 raft: more robust syncing process 2022-07-10 01:40:22 +03:00
Jay Butera
df0a20f571 link to ircd install instructions in readme 2022-07-09 16:05:39 +00:00
lunar-mining
2a7ece72b0 net: improve some documentation and correct errors 2022-07-09 12:47:20 +02:00
lunar-mining
578e5dc612 net: change timer to 15 mins, name SESSION_OUTBOUND explicitly, add todos 2022-07-09 12:47:20 +02:00
lunar-mining
ac5c97cb76 net: if it's an outbound session + has an external_addr, then:
* start another process in the jobsman
* loop send our addr
* sleep for 20 min
2022-07-09 12:47:19 +02:00
lunar-mining
2f6909ab6a net: create session() function that returns an Arc pointer to session 2022-07-09 12:47:19 +02:00
lunar-mining
967f9ec770 net: channel hosts a pointer to Session
solved a bug which warned Session could not be made into an object.

documented here: https://github.com/rust-lang/rust/issues/51443
and here: https://stackoverflow.com/questions/72838225/rust-trait-warning-method-references-the-self-type-in-its-where-clause
2022-07-09 12:47:19 +02:00
lunar-mining
ab2a5af40b net: error[E0038]: Weak pointer to parent trait from child
Provokes the following error:

 error[E0038]: the trait `Session` cannot be made into an object
  --> src/net/channel.rs:72:14
   |
72 |     session: SessionWeakPtr,
   |              ^^^^^^^^^^^^^^ `Session` cannot be made into an object
   |
note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
  --> src/net/session/mod.rs:79:14
   |
76 | pub trait Session: Sync {
   |           ------- this trait cannot be made into an object...
...
79 |     async fn register_channel(
   |              ^^^^^^^^^^^^^^^^ ...because associated function `register_channel` has no `self` parameter
help: consider turning `register_channel` into a method by giving it a `&self` argument
   |
79 |     async fn register_channel(&self,
   |                               ++++++
help: alternatively, consider constraining `register_channel` so it does not apply to trait objects
   |
82 |         executor: Arc<Executor<'_, Self: Sized>>,
   |                                  +++++++++++++
-----------------------
2022-07-09 12:47:19 +02:00
narodnik
5382a76eac use div(f) instead of <f> for divisor of f 2022-07-09 09:54:58 +02:00
narodnik
2bcf9e3b58 ec pairing class group divisors in sage 2022-07-09 09:45:23 +02:00
narodnik
324f43d097 add #random to default autojoin 2022-07-08 20:41:58 +02:00
ghassmo
f8369fd605 bin/ircd/script: minor changes 2022-07-05 17:03:03 +03:00