Floriane TUERNAL SABOTINOV
dacd35470d
configure format for sending logs to signoz
2025-10-21 13:59:59 +02:00
Floriane TUERNAL SABOTINOV
acc11e8776
setup otel for surb_reply
2025-10-21 13:59:59 +02:00
Floriane TUERNAL SABOTINOV
a11de8eb74
fix otel panic
2025-10-21 13:59:59 +02:00
Floriane TUERNAL SABOTINOV
fa603be538
setup otel from run to forward_sphinx_packet
2025-10-21 13:59:59 +02:00
Floriane TUERNAL SABOTINOV
2447520010
revert changes from previous commit
2025-10-21 13:59:59 +02:00
Mark Sinclair
5888102359
wip: sdk surb-reply example add otel tracing
2025-10-21 13:59:59 +02:00
Mark Sinclair
7d7acc2691
wip: tracing in nym-node
2025-10-21 13:59:59 +02:00
Mark Sinclair
20e6243738
add opentelemetry for debugging and testing behind otel feature flag
2025-10-21 13:59:55 +02:00
Jędrzej Stuczyński
88c4e0ce6c
bugfix: update stored epoch share when changing announce address ( #6131 )
...
* bugfix: update stored epoch share when changing announce address
* chore: remove placeholder legacy mixnode bonding test [mixnet contract]
2025-10-21 10:59:17 +01:00
Tommy Verrall
5a817e1df1
Merge pull request #6126 from nymtech/multiple-fall-back-urls
...
Changes:
Multiple URL fallback with configurable retries (defaults to 3)
Infallible URL conversion per Andrews feedback (Url::from() instead of parse().ok())
Non-breaking builder pattern for BuilderConfig per Andrej's "too many arguments" feedback
Reverted redundant node filtering per Andrew's clarification that API already filters by supported_roles.entry
2025-10-21 11:27:37 +02:00
Tommy Verrall
a07a24db00
Fix CI issues
2025-10-21 11:01:04 +02:00
Tommy Verrall
a0cb812eff
Allow clippy::enum_variant_names for BuilderConfigError
2025-10-21 10:35:57 +02:00
Tommy Verrall
923c1fa184
Improve error handling
...
Changes:
- Replace String error with BuilderConfigError enum in BuilderConfigBuilder
- Update tests to use pattern matching instead of string assertions
2025-10-20 16:57:31 +02:00
Tommy Verrall
35ea7e4926
- Add DEFAULT_NYM_API_RETRIES constant (replaces magic number 3)
...
- Run cargo fmt on all affected packages
- All clippy warnings resolved
2025-10-20 16:51:07 +02:00
Tommy Verrall
d1cb9afaf0
not sure what happened but it's fixed
2025-10-20 15:20:24 +02:00
Tommy Verrall
79d4b4b2e3
Merge branch 'develop' into multiple-fall-back-urls
2025-10-20 15:16:36 +02:00
Tommy Verrall
8460b33946
Merge branch 'multiple-fall-back-urls' of https://github.com/nymtech/nym into multiple-fall-back-urls
2025-10-20 15:16:17 +02:00
Tommy Verrall
ae6539e07c
Merge resolution
2025-10-20 15:14:48 +02:00
Tommy Verrall
18cebdfedc
Add accessor methods for Url internals
...
Add inner_url() and fronts() accessor methods to nym_http_api_client::Url
for VPN client integration
2025-10-20 14:33:57 +02:00
Tommy Verrall
c448ec823a
Remove tests for removed with_nym_api_client method
...
These tests were referencing with_nym_api_client() which was removed when
cleaning domain fronting code from this branch
2025-10-20 11:52:04 +02:00
Tommy Verrall
a266137278
Add optional builder pattern for BuilderConfig (non-breaking)
...
Addresses @jstuczyn's feedback about too many arguments by adding
BuilderConfigBuilder as an alternative to the existing new() method.
2025-10-20 11:39:50 +02:00
Tommy Verrall
6f4dfd1dab
fix conversion type && make the retry count configurable
2025-10-20 11:15:31 +02:00
Andy Duplain
57719787db
Merge pull request #6130 from nymtech/andy/url_fronts
...
VPN-4262: Update `Url` to return `url` and `front` fields.
2025-10-17 15:44:08 +01:00
Andy Duplain
29a57bf172
VPN-4262: Update Url to return url and front fields.
...
The VPN client is using the `Url` type alot now and in order to avoid
double URL-parsing we would like the content of the `Url` type exposed.
2025-10-17 15:37:07 +01:00
Tommy Verrall
db813b6e3e
Revert node filtering changes per Andrew's feedback
...
Andrew clarified that get_basic_entry_assigned_nodes_v2() already filters by
supported_roles.entry
2025-10-17 15:18:28 +02:00
Tommy Verrall
1be5ba310a
Remove domain fronting code to keep gateway changes only
...
This branch now contains only gateway registration improvements:
- Multiple URL fallback support in gateways_for_init()
- Get all entry-capable nodes for registration
- Performance and code quality improvements
2025-10-17 14:27:31 +02:00
Tommy Verrall
41ff3f7824
Address PR feedback: simplify code and reduce log noise
...
- Reverted all changes to topology_control/nym_api_provider.rs
- Changed info/warn logs to debug for custom client messages
- Removed unused _rng parameter from gateways_for_init()
- Simplified URL builder to always use new_with_urls()
2025-10-17 14:20:12 +02:00
Tommy Verrall
c9d4d62446
Fix clippy warnings: use arrays instead of vec! in tests
2025-10-17 13:30:30 +02:00
Tommy Verrall
e839a0d80e
Merge develop into multiple-fall-back-urls
...
Resolved conflicts:
- Added event_tx field to MixnetClientBuilder alongside custom_nym_api_client
- Both features are independent and coexist:
* custom_nym_api_client: for domain fronting support
* event_tx: for event handling
- Updated all constructors and methods to properly handle both fields
2025-10-17 13:23:04 +02:00
Tommy Verrall
cd61f930bf
feat: pass custom HTTP client through SDK stack for domain fronting
...
- Add with_nym_api_client() to BaseClientBuilder, MixnetClientBuilder, and RegistrationClientBuilderConfig
- Modify nym_api_provider to fetch all nodes then filter by supported_roles.entry (fixes metadata inconsistency)
- Update helpers.rs to build HTTP client with all nym_apis URLs and retries for fallback support
- Fix SDK to use entry_capable_nodes() instead of entry_gateways() for broader gateway selection
This enables domain fronting and URL rotation throughout the entire SDK stack, improving censorship resistance and connection reliability. All changes are backward compatible - custom client is optional.
2025-10-17 08:36:23 +02:00
Bogdan-Ștefan Neacşu
0674f31227
Introduce event backchannel ( #6119 )
...
* Introduce even backchannel
* Rust fmt
* Rename Event to MixnetClientEvent
* Use unbounded_send for events
* Remove unused file
* Remove mut borrow
* Event hierarchy and mixnet client intermediary
* Export MixTrafficEvent in sdk
2025-10-16 19:02:36 +03:00
Jędrzej Stuczyński
3e4f563dce
Merge pull request #6099 from nymtech/bugfix/incompatibility-fixes
...
Bugfix/incompatibility fixes
2025-10-16 15:58:43 +01:00
Tommy Verrall
edcf2b1204
enable URL rotation and retries for mixnet gateway init
2025-10-16 16:22:57 +02:00
Jędrzej Stuczyński
b07fb18113
Merge pull request #6125 from nymtech/merge/release/2025.18-jarlsberg
...
Merge/release/2025.18 jarlsberg
2025-10-16 14:50:16 +01:00
benedettadavico
017dea4afd
update changelog
2025-10-16 14:09:46 +01:00
Jędrzej Stuczyński
5a9ce13beb
Bugfix/bloomfilters purge ( #6089 )
...
* remove all old bloomfilters upon starting binary
* remove old bloomfilter file upon purging secondary data
2025-10-16 14:09:45 +01:00
benedettadavico
514cf25c68
bump versions
2025-10-16 13:53:06 +01:00
Andrej Mihajlov
49ee0636e4
Merge pull request #6109 from nymtech/am/update-dirs-6
...
Update dirs to 6.0
2025-10-16 12:59:31 +02:00
Jędrzej Stuczyński
bb971ce99c
bugfix: nym-credential-proxy query params parsing regression ( #6121 )
2025-10-16 11:40:12 +01:00
Tommy Verrall
54de369c1e
Skip ipv6 metadata endpoint request ( #6118 )
...
Co-authored-by: Tommy Verrall <tommy@nymtech.net >
2025-10-16 11:39:53 +01:00
Jędrzej Stuczyński
6d6ce284df
bugfix: revert some dep updates introduced in #6043 ( #6120 )
2025-10-16 11:39:09 +01:00
Andrej Mihajlov
56ad1c6c8e
Merge pull request #6115 from nymtech/am/revert-cancel-token
...
Revert "Propagate cancel token to mixnet client"
2025-10-15 16:54:49 +02:00
Jędrzej Stuczyński
10b4a288c8
chore: restore pending dkg contract state migration ( #6116 )
...
since it has not yet been run on mainnet
2025-10-15 14:18:03 +01:00
benedetta davico
bbbb9486ce
Merge pull request #6117 from nymtech/probe/remove-1mb-file
...
update to no longer use 1mb files
2025-10-15 15:17:01 +02:00
benedetta davico
16e86e1a07
Update lib.go
2025-10-15 15:15:20 +02:00
Jędrzej Stuczyński
ca0c9898f0
bugfix: retrieve and update ticketbook in the same query ( #6101 )
...
* bugfix: retrieve and update ticketbook in the same query
* bump up NS version
* Update Cargo.toml
* remove SKIP LOCKED part of the query
---------
Co-authored-by: benedetta davico <46782255+benedettadavico@users.noreply.github.com >
2025-10-15 13:53:07 +01:00
Andrej Mihajlov
8b73d4e615
Revert "Propagate cancel token to mixnet client"
...
This reverts commit 50a259d454 .
2025-10-15 14:17:36 +02:00
mfahampshire
6a9a767ab4
DOCS Jarlsberg Release ( #6111 )
...
* First pass release notes
* build info
2025-10-15 09:20:03 +00:00
Andrej Mihajlov
e03a9fa16f
Merge pull request #6105 from nymtech/am/reg-client-mixnet-cancel-token
...
Propagate cancel token to mixnet client
2025-10-14 13:10:02 +02:00
Andrej Mihajlov
a0fbd57d5b
Update dirs to 6.0
2025-10-14 11:17:33 +02:00