206 Commits

Author SHA1 Message Date
akshaya
54d6ff3a55 Remove unused import 2024-09-27 10:53:24 -04:00
akshaya
24737df9ea Revert - remove mix message structure 2024-09-27 10:45:47 -04:00
akshaya
777af4f6fc Add Mix msg size 2024-09-26 15:05:21 -04:00
akshaya
5d5875f23d Add Mix protocol message struct and serialization 2024-09-26 14:29:11 -04:00
akshaya
2f2f4dabda Generic network manager
- Issue with Dial a peer test
- Must be modified to be compatible with our mix protocol
2024-09-20 15:03:03 -04:00
akshaya
913e95ed06 Updated libp2p version 2024-09-20 15:01:31 -04:00
akshaya
eb75cce484 Update mix protocol
- Renamed
- Implement handler to handle incoming connections
2024-09-20 15:01:07 -04:00
akshaya
88f7a1ad6d Update to a GC-safe tag manager 2024-09-20 14:39:16 -04:00
akshaya
07517d8cd6 Update imports 2024-09-11 14:35:51 -04:00
akshaya
707fabffa3 Custom libp2p Mix protocol 2024-08-30 16:48:37 -04:00
akshaya
c77abc9873 Add network manager
Separating network related functionality
2024-08-30 16:47:51 -04:00
akshaya
df979afcfc Add path to imports 2024-08-30 14:57:01 -04:00
akshaya
05bd99dcab Add dependancies 2024-08-30 14:55:03 -04:00
akshaya
32b0ccd152 Add PoW to message 2024-08-28 18:06:38 -04:00
akshaya
bc2e6ea8bd Add additional sphinx wrap tests 2024-08-26 19:09:01 -04:00
akshaya
4dfe329652 Remove Invalid status 2024-08-26 19:08:36 -04:00
akshaya
0871a8b120 Remove protobuf_serialization 2024-08-26 09:11:12 -04:00
akshaya
2f03359ecc Fix isExit check 2024-08-26 09:10:42 -04:00
akshaya
ef4eb8b28b Fix filler computation issue 2024-08-26 09:10:24 -04:00
akshaya
1485bb43e3 Add AES-CTR enc with a start block index 2024-08-26 08:01:35 -04:00
akshaya
7d88ef63e0 Fix alpha, beta, and filler computation 2024-08-21 19:01:37 -04:00
akshaya
b57d26c30f Change delays to seq 2024-08-21 19:01:02 -04:00
akshaya
84d553d266 Fixed typo 2024-08-16 17:33:21 -04:00
akshaya
52505f3e92 Update beta size 2024-08-16 17:33:02 -04:00
akshaya
2d99aebe26 Add Sphinx processing and tests 2024-08-14 17:15:56 -04:00
akshaya
5b3d32c96d Update test path 2024-08-14 17:15:04 -04:00
akshaya
ad094f6443 Truncate HMAC to 16 bytes 2024-08-14 11:33:57 -04:00
akshaya
3f3f1ce9a4 Add path length 2024-08-14 11:20:11 -04:00
akshaya
dda15c5dc1 Add tests 2024-08-12 09:15:35 -04:00
akshaya
f0673881f6 Add process sphinx packet 2024-08-12 09:15:15 -04:00
akshaya
7d006634ce Add tag manager and tests 2024-08-12 09:14:47 -04:00
akshaya
e840c33888 Add Proof of Work and Tests 2024-08-12 09:13:31 -04:00
akshaya
14c80bf5d3 Change test names 2024-08-12 09:13:07 -04:00
akshaya
6da6d220fb Add manual serialization 2024-08-09 18:15:55 -04:00
akshaya
7367a7ecc7 Add PoW and PoW Tests 2024-08-09 18:15:42 -04:00
akshaya
bfdbf76dbe Add PoWSize 2024-08-09 18:15:14 -04:00
akshaya
c92984225f Add test_pow 2024-08-09 18:14:54 -04:00
akshaya
b6b331df08 Change to lowercase 2024-08-08 17:12:30 -04:00
akshaya
5add66a91f Test manual serialization 2024-08-08 17:12:00 -04:00
akshaya
75551182a0 Manual serialization 2024-08-08 17:11:46 -04:00
akshaya
2b0c774fd7 Mix config params 2024-08-08 17:11:22 -04:00
akshaya
b60eca4e00 Change Nim version 2024-08-08 17:10:34 -04:00
akshaya
e09295127d Add function for computing alphas, betas, gammas, and deltas 2024-08-07 17:27:14 -04:00
akshaya
3fec6f67d9 Changed to array from seq 2024-08-07 17:26:30 -04:00
akshaya
7589fd8ace Remove converting to bytes when comparing 2024-08-07 17:25:57 -04:00
akshaya
88111a0e9f Change to array from seq 2024-08-07 17:25:27 -04:00
akshaya
a816565429 Change to OpenArray 2024-08-05 14:38:18 -04:00
akshaya
84a855d081 Change to OpenArray 2024-08-05 14:34:13 -04:00
akshaya
a1e407bbc7 Add SphinxPacket creation helper functions 2024-08-05 09:15:08 -04:00
akshaya
3eaa3c204e Add SphinxPacket protobufs 2024-08-05 09:14:29 -04:00