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
akshaya
124a8c26e8
nph formatted
2025-04-22 09:36:56 -04:00
akshaya
b2bc7616a7
Added initMixMultiAddrByIndex proc
2025-04-22 09:36:30 -04:00
akshaya
038737b84a
Listen on 0.0.0.0 instead of 127.0.0.1
2025-04-21 16:39:17 -04:00
akshaya
5a0736786d
Added createMixProtocol for initialization
2025-04-21 11:11:53 -04:00
akshaya
4dd7180d30
Remove setCallback function
2025-04-21 10:12:47 -04:00
akshaya
5a8a38ad1c
Added separate nodeInfo and pubInfo folders
2025-04-21 09:57:36 -04:00
akshaya
be4bfc6a7f
Merge branch 'poc/gossipsub' of https://github.com/vacp2p/mix into poc/gossipsub
2025-04-17 10:06:32 -04:00
akshaya
57e122a98d
Updated dependency
2025-04-17 10:06:22 -04:00
Richard Ramos
dac749c04c
fix: missing filePath
2025-04-16 16:19:25 -04:00
akshaya
7cc9e875f4
Fix: update function name
2025-04-16 12:14:53 -04:00
akshaya
3417624dea
Rename function to writeMixPubInfoToFile
2025-04-16 11:46:34 -04:00
Richard Ramos
fe1f371e80
chore: allow overriding paths
2025-04-16 11:34:44 -04:00
Richard Ramos
98b0942da6
fix: add missing parameter
2025-04-16 11:34:44 -04:00
akshaya
9b8dfd4d10
Fix import path
2025-04-16 10:56:01 -04:00
akshaya
731db26d35
chore: remove srcDir
2025-04-14 15:09:14 -04:00
akshaya
095765eb09
rename src dir to mix to resolve import errors
2025-04-14 08:13:37 -04:00
akshaya
246887fc50
Remove while and catch LPStream read exceptions
2025-04-14 08:12:19 -04:00
akshaya
35c575a994
Update dependency branch after libp2p fork rebase
2025-04-07 15:42:59 -04:00
akshaya
fe21c22ba6
Fix: Handle CancelledError due to libp2p fork rebase
2025-04-07 15:39:59 -04:00
akshaya
8b8b31a8a5
Close stream once we finish writing
2025-03-18 12:08:49 -04:00
akshaya
7ca8554ae8
Added peerSelection callback
2025-03-17 13:47:03 -04:00
akshaya
adad5f0487
Renamed entry_connection_utils
2025-03-17 13:46:31 -04:00
akshaya
9c997ddf25
Added to debug message loss in poc_gossipsub
2025-03-16 23:16:37 -04:00