Commit Graph

198 Commits

Author SHA1 Message Date
akshaya
4c12059230 update: Changes to parse exit and reply with I introduced 2025-08-22 12:55:44 -04:00
akshaya
66610fd0a8 fix: Final hop should have zero padding embedded as destination 2025-08-22 12:54:23 -04:00
Richard Ramos
db8c4775c7 feat: create surbs 2025-08-21 20:21:35 -04:00
Richard Ramos
4736413a6c fix: code review: 2025-08-21 20:11:57 -04:00
Richard Ramos
1b2829c01d feat: add create, use and process SURB functions; split computeBetaGammaDelta 2025-08-21 20:11:57 -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
akshaya
710829db25 fix: Make last hop (or the exit) as the destination 2025-06-30 18:47:31 -04:00
akshaya
b0b6ecd856 fix: return explicit future in closeImpl to prevent nil await crash 2025-05-06 17:27:19 -04:00
akshaya
9cc499ee5b fix: exclude MixEntryConnection from libp2p stream metrics tracking 2025-05-06 12:52:48 -04:00
akshaya
f3cf3adf09 Fixed typo 2025-05-01 22:04:21 -04:00
akshaya
42871664f9 fix: explicitly close MixExitConnection to decrement LPChannel metrics 2025-05-01 13:13:41 -04:00
akshaya
52efc6e831 fix: ensure all LPChannel streams are properly closed 2025-05-01 11:21:24 -04:00
akshaya
491af98499 fix: ensure connection is closed after readLp 2025-04-30 10:45:25 -04:00
akshaya
1cbb254aef Changed to trace level logs 2025-04-25 14:54:35 -04:00