narodnik
2c0d8c9a8d
Fixed 3 bugs:
...
1. Skip writing or reading anything from the socket when payload size is 0
2. Ping/Pong write their payload in pack()
3. Race conditions caused by having protocol subscriptions inside spawned tasks. Instead these have now been moved to class constructors. This enables messages to be queued for that protocol subsystem while it is setting up itself. Once it is ready the messages can be read and processed. See the changes for files protocols/protocol_address.rs and protocols/protocol_version.rs
2021-02-01 18:32:00 +01:00
narodnik
c42450c301
reorder logs tool
2021-02-01 14:22:11 +01:00
narodnik
fb00f7056c
add outbound_session and detailed logging info
2021-01-31 18:06:16 +01:00
narodnik
82e8a3c515
stop channel once seed process is done and disconnect.
2021-01-29 16:45:09 +01:00
narodnik
9294e2a0ec
Functional seed synchronization step
2021-01-28 10:12:28 +01:00
narodnik
961d586cef
add protocol_address which does addr/get_addr hosts sync
2021-01-25 17:49:05 +01:00
narodnik
2dca8127fb
cargo fmt and fix
2021-01-25 17:13:47 +01:00
narodnik
bd2353620e
Start to better define the protocol subsystem through ProtocolJobsManager
2021-01-25 17:02:45 +01:00
narodnik
295bfed30f
create specialized network error that is copyable and easily sent between threads.
2021-01-22 16:16:30 +01:00
narodnik
235099e440
Acceptor class for inbound connections
2021-01-19 17:04:57 +01:00
narodnik
466abc1dfa
InboundSession stub which accepts new connections
2021-01-19 11:29:44 +01:00
narodnik
c127266556
nuke old networking subsystem
2021-01-19 11:21:49 +01:00
narodnik
9d216c9f40
networking subsystem initial commit (still not working)
2021-01-18 12:27:23 +01:00
narodnik
44b5f3088f
cleanup rpc code
2020-12-28 18:30:05 +01:00
narodnik
a63acc38c2
configurable log path
2020-12-28 17:50:51 +01:00
narodnik
48e45d2c28
json rpc quit
2020-12-28 17:05:12 +01:00
narodnik
751dc91414
rename client.py to jsonrpc_client.py
2020-12-27 18:02:08 +01:00
narodnik
5ddcdbc69e
working json rpc module
2020-12-27 18:01:07 +01:00
narodnik
6df824ffb6
migrate other protocols (server and seed) to Arc<Self>
2020-12-20 21:00:40 +01:00
narodnik
a5791f6f07
cargo fmt
2020-12-20 18:33:37 +01:00
narodnik
3af393cf78
migrate client_protocol to Arc<Self> model.
2020-12-20 17:58:33 +01:00
narodnik
939bc52072
removed obsolete targets in cargo.toml and ran cargo fmt
2020-12-20 15:17:48 +01:00
narodnik
747198b32d
added working p2p network
2020-12-20 15:14:21 +01:00
narodnik
e875ee3e77
4.8 example computation
2020-11-14 23:45:53 +01:00
narodnik
dcbcb27ec0
multi-variable operand polynomial
2020-11-14 22:26:24 +01:00
narodnik
726ae89ee9
working 4.5.2 basic algorithm
2020-11-08 22:23:57 +01:00
narodnik
dc293969b3
4.5.2 multi op polynomials
2020-11-07 23:43:46 +01:00
narodnik
3f0abbd808
remove some things from zk scripts
2020-11-04 13:49:06 +01:00
narodnik
bb93400165
lagrange interpolation
2020-10-28 21:16:58 +01:00
narodnik
8d3b1e8254
4.4 - proof of operation
2020-10-28 20:48:06 +01:00
narodnik
c56b2ffe6a
mv to 3.3
2020-10-28 17:43:40 +01:00
narodnik
effe1e31bd
add some minor documentation
2020-10-28 17:37:19 +01:00
narodnik
0c173a0438
forgot to add polynomial restriction check
2020-10-28 17:35:57 +01:00
narodnik
a300de3aba
correct section numbers
2020-10-28 17:33:02 +01:00
narodnik
7f63fbe98c
more zk scripts
2020-10-28 17:30:54 +01:00
narodnik
0bf213e949
mark s as toxic waste in encrypted poly script
2020-10-27 20:35:41 +01:00
narodnik
716209a335
mark trusted setup section in 3-encrypted-polynomial.py
2020-10-27 20:34:22 +01:00
narodnik
573d38b7ba
move qap.py to scripts/zk/ subdir
2020-10-27 20:33:21 +01:00
narodnik
250c67b168
add comment
2020-10-27 20:32:55 +01:00
narodnik
1f040cc862
Merge branch 'master' of github.com:narodnik/sapvi into master
2020-10-27 20:27:33 +01:00
narodnik
7d949bac88
proof of encrypted polynomial
2020-10-27 20:26:58 +01:00
rachel-rose
f51ddea3fd
bash script for mimc on zkvm
2020-10-24 12:48:32 +02:00
rachel-rose
92a0d1c0d6
got mimc/params working
2020-10-24 12:46:24 +02:00
rachel-rose
59177163cb
commented out jubjub specific check
2020-10-24 11:44:16 +02:00
rachel-rose
8aab25d30b
added .zts file to contract.setup() call
2020-10-22 22:42:13 +02:00
rachel-rose
852820ae68
added zts file to contract.setup() call
2020-10-22 22:39:58 +02:00
rachel-rose
69330830e5
Merge branch 'master' of github.com:narodnik/sapvi into master
2020-10-21 20:11:04 +02:00
rachel-rose
9ae1f20d75
commented out Ok() from unimplemented functions
2020-10-21 20:10:17 +02:00
rachel-rose
079e876d0d
added _ prefix to unused variables in unimplemented functions
2020-10-21 20:03:32 +02:00
rachel-rose
69d8bee5ab
removed mut from const variables
2020-10-21 19:43:36 +02:00