206 Commits

Author SHA1 Message Date
Richard Ramos
80a97d3f6c fix: use times instead of chronos for benchmark logs 2025-09-16 15:18:44 -04:00
richΛrd
5e95337693 fix: ensure destination and exit nodes are not selected as part of SURBs path (#85) v0.1.0 2025-09-12 14:23:34 -04:00
richΛrd
c8910a78a3 refactor: each surb has a different I (#84) 2025-09-10 16:38:20 -04:00
Richard Ramos
e45cd05bfd chore: add init function 2025-09-09 09:23:01 -04:00
Richard Ramos
4687c955f5 fix: entry connection log 2025-09-09 08:53:52 -04:00
richΛrd
bc0a9be913 feat: benchmark logs (#80) 2025-09-08 14:30:14 -04:00
richΛrd
eb4b8d4ff1 chore: add comments to public API (#83) 2025-09-08 11:14:59 -04:00
richΛrd
f380a0eb8c refactor: remove exit == destination (#81) 2025-09-08 10:09:34 -04:00
Richard Ramos
70a17d138b fix: code review 2025-09-05 12:23:11 -04:00
richΛrd
15c995eb81 fix: dont use global variables (#79) 2025-09-05 12:09:56 -04:00
richΛrd
dcea429e09 refactor: processSphinxPacket and process replies and return in conn (#78) 2025-09-05 12:07:05 -04:00
richΛrd
67cad04d5e feat: create surbs and send response back (#73) 2025-09-05 11:37:12 -04:00
richΛrd
2cb3cba705 feat: add create, use and process SURB functions; split computeBetaGammaDelta (#68) 2025-09-03 14:40:33 -04:00
Richard Ramos
84acc9bcc5 fix: anonymizeLocalProtocolSend 2025-08-21 20:11:13 -04:00
Richard Ramos
6eba434ff9 refactor: choose between mix node or forwarding address 2025-08-20 19:34:36 -04:00
Richard Ramos
02057fcdb4 fix: delay 2025-08-11 14:15:33 -04:00
Richard Ramos
d2ed0556c0 fix: callbacks 2025-08-06 16:40:17 -04:00
Richard Ramos
5847afa996 fix: instantiate tagmanager by default 2025-08-05 17:57:50 -04:00
Richard Ramos
4e1cfb46a2 fix: pragma 2025-08-05 17:45:04 -04:00
Richard Ramos
bedf59bb78 fix: add missing procs 2025-08-05 17:44:31 -04:00
Richard Ramos
7cc8f99e13 fix: createMixPubInfo 2025-08-05 17:40:45 -04:00
Richard Ramos
1893ebe1f1 fix: trace log 2025-08-05 17:28:55 -04:00
Richard Ramos
4427b48666 fix: export initMixMultiAddrByIndex 2025-08-05 11:43:39 -04:00
Richard Ramos
7f599dd6d1 chore: bump libp2p version 2025-08-05 10:27:52 -04:00
Richard Ramos
209ce0294d fix: poc_gossipsub 2025-08-04 17:29:13 -04:00
richΛrd
62325f5503 fix: do not encode a delay for last hop (#71) 2025-08-04 16:04:50 -04:00
richΛrd
e17689ba70 refactor: remove entry_connection_callbacks and gossipsub related procs (#70) 2025-08-04 14:26:34 -04:00
richΛrd
331f4be769 Add support for circuit relay multiaddresses and fixes quic multiaddresses (#69)
Fixes #61
2025-08-04 14:17:24 -04:00
Richard Ramos
8942c62109 fix: condition only makes sense when exit == destination 2025-07-30 13:41:55 -04:00
Richard Ramos
d917e5e998 fix: packetSize constant, limit msgSize and newSeqUninit 2025-07-29 15:58:07 -04:00
Richard Ramos
bb751e2d12 fix: valueOr and createDummyData() 2025-07-29 10:56:30 -04:00
richΛrd
3290358585 refactor: exit layer (#64) 2025-07-28 10:04:14 -04:00
richΛrd
c4f3d2d511 refactor: rm exitNodeIsDestination (#63) 2025-07-25 15:20:12 -04:00
richΛrd
cead65d489 refactor: exit node (#62)
* refactor: exit node
* refactor: entry/exit will serialize embedded dest as 0 in not present
2025-07-25 15:10:10 -04:00
richΛrd
afe4237bf2 chore: use new/init and naming of res variables (#60)
- `new` is used for those that return references
- `init` for those that return values
- Also changed the name of some `*res` variables that were result of `valueOr`, and use `==` for field elements directly
- renamed serialize/deserialize procs
2025-07-24 17:52:02 -04:00
richΛrd
ed242006b4 refactor: make mix protocol agnostic (#59) 2025-07-24 17:47:12 -04:00
richΛrd
cdd5ab9657 fix: enforce not having unused imports, and force correct casing (#58) 2025-07-24 17:16:33 -04:00
richΛrd
8167b35157 chore: drop nim 1.6 support (#65) 2025-07-24 17:01:33 -04:00
richΛrd
c18788aa2e feat: mix API and extract examples to root (#57) 2025-07-24 16:59:08 -04:00
richΛrd
d86f9809ef refactor: choose whether dest == exit when creating a connection (#56) 2025-07-24 16:33:33 -04:00
Richard Ramos
d8230b7ba2 fix: prefix on writeLp should be kept 2025-07-17 17:53:04 -04:00
richΛrd
385045bdff chore: use Opt instead of Option as recommended by nimbus style guide (#54) 2025-07-17 17:11:33 -04:00
richΛrd
fa1a26a295 chore: github workflows (#53)
* chore: github workflows
* fix: reduce the minimum required nim version
* fix: compile examples
* chore: use specific commit for libp2p (should be replaced by v1.10.4 once available)
* fix: 1.6
2025-07-17 17:07:40 -04:00
Richard Ramos
058be6cb47 chore: compile all tests and run them in the same command 2025-07-17 17:03:09 -04:00
Richard Ramos
94fdfbf7d7 chore: rename shouldFwd to destIsExit (easier to read) 2025-07-17 13:34:19 -04:00
Richard Ramos
faed0b775c refactor: integrate mix-waku-integ and poc/gossipsub 2025-07-16 14:43:36 -04:00
akshaya
7e931800b0 switched to yamux muxer; update gossipsub usage to match upstream changes 2025-07-02 11:21:56 -04:00
akshaya
e9ee76069a changed to yamux 2025-07-02 11:18:45 -04:00
akshaya
263bf30acd add error handling when destination does not support Mix Protocol 2025-07-02 10:03:12 -04:00
akshaya
9cedc3eaf2 Switch nim-libp2p dependency to master branch 2025-06-30 19:09:16 -04:00