Jon Häggblad
1a37e60483
Add max_retransmissions flag on each message ( #5642 )
2025-03-20 19:54:07 +01:00
Jon Häggblad
04664c8ae1
Rework IPR codec to extract out timer and implement AsyncWrite ( #5632 )
...
* Update ipr codec
* Tweak conditional
* Fix sending empty packet for flush
* Remove unneeded log
* Bump mix_traffic and real_message channel from size 1 to 8
2025-03-20 15:59:44 +01:00
Jon Häggblad
3c432ac073
Clean stale partially received buffers ( #5536 )
...
* Clean stale partially received buffers
* Tweak timeout
* Do cleanup after handling new messages instead of in the select loop
* Debug logging and remove unreachable
* Downgrade log
* Tweak logs
* tweak whitespace
* Only run the stale check every 10 sec
2025-03-20 10:01:42 +01:00
Jon Häggblad
230b2b1784
Upgrade sha2 to workspace version or validator-client ( #5644 )
2025-03-19 10:46:15 +01:00
Jack Wampler
79ce611d21
Server Side internal DoT/DoH opt out ( #5577 )
2025-03-12 10:14:04 -06:00
Jędrzej Stuczyński
ce124a29a7
Chore/more payment watcher debug endpoints ( #5608 )
...
* add new endpoints for health and build information
* fixed timestamp serialisation in api responses
* status routes for price scraper
* state for processing bank msg
* clippy
2025-03-12 12:12:28 +00:00
Jędrzej Stuczyński
f62d8813e0
chore: start sending v2 sphinx packets ( #5554 )
...
* chore: start sending v2 sphinx packets
* updated surb construction to use current format
2025-03-12 12:01:58 +00:00
Jon Häggblad
e9a7b48da0
Export lane queue lengths in sdk ( #5609 )
2025-03-12 12:57:17 +01:00
Jędrzej Stuczyński
f8d863249e
Merge pull request #5605 from nymtech/chore/update-bls12_381-fork
...
Chore/update bls12 381 fork
2025-03-12 11:02:34 +00:00
Jędrzej Stuczyński
7d59a2477a
chore: change auth v2 timestamp skew and allow values from the future ( #5604 )
...
* chore: change auth v2 timestamp skew and allow values from the future
* made the if statement more readable
2025-03-12 11:02:19 +00:00
Jędrzej Stuczyński
eca88b0fa4
introduce internal tool for checking signer status ( #5598 )
...
* introduce internal tool for checking signer status
* fixed nym-api types due to moving values around
* added abci version
2025-03-12 11:02:03 +00:00
Jędrzej Stuczyński
63002e784a
Merge branch 'develop' into merge/release/2025.4-dorina-patched
2025-03-11 09:53:56 +00:00
Jon Häggblad
2d00fcd934
Allow resetting all SURB sender tags ( #5600 )
...
* Allow resetting all SURB sender tags
* wasm fixes
* More wasm fixes
2025-03-11 08:35:40 +01:00
Jędrzej Stuczyński
01c052e9a4
use legacy crypto for constructing SURB headers ( #5579 )
2025-03-06 20:13:16 +00:00
Jon Häggblad
430c33eb04
Set DEFAULT_MAXIMUM_REPLY_SURB_REQUEST_SIZE to 50
2025-03-06 18:03:08 +01:00
Jędrzej Stuczyński
be92ccf0da
bugfix: make sure to correctly decode response content when putting it into error message ( #5571 )
2025-03-06 11:24:16 +00:00
Jędrzej Stuczyński
35bf49c48c
chore: additional logs when attempting to load ecash keys ( #5567 )
2025-03-06 11:24:03 +00:00
Jędrzej Stuczyński
698883c03f
feature: v2 authentication request ( #5537 ) ( #5563 )
...
* introduced v2 authentication request between clients and gateways
* client to send v2 auth when possible
* added persistence to last used authentication timestamp
* added clients identity to signed plaintext
2025-03-06 09:18:39 +00:00
Jon Häggblad
8ddef08c72
Tweak surb management to be more conservative ( #5570 )
...
To reduce the risk of the IPR DoS the client:
- Lower the timeout until the IPR will disconnect a client
- Reduce fewer surbs at a time. Large surb requests increases the
latency until all fragments in the response have been delivered. The
efficiency gains of having large surb requests dimishes quickly for
large sizes as well
2025-03-06 10:09:15 +01:00
Jędrzej Stuczyński
eacaf84430
add full response body to error message upon decoding failure ( #5566 )
2025-03-05 16:43:56 +00:00
Jon Häggblad
c284b1e8b1
Create authenticator v5 request/response types ( #5561 )
...
* Create authenticator v5 request/response types
* Support v5 in the authenticator
* Fix tests
* Bump nym-node version
2025-03-05 15:41:44 +01:00
Jędrzej Stuczyński
27dc9c8024
Merge branch 'develop' into merge/release/2025.4-dorina
2025-03-04 11:00:24 +00:00
Jędrzej Stuczyński
94ff8a79ee
feature: disallow routing mix packets to nodes not present in the topology ( #5526 )
...
* new NymNodeTopologyProvider to also keep track of ips of all nodes
* added nym-api endpoint for nodes existence by ip
* change behaviour of updating allowed nodes alongside the topology
* clippy
* license fix
* fix default filtering limit
2025-03-03 18:03:47 +00:00
Jędrzej Stuczyński
155c4d37ef
feature: v2 authentication request ( #5537 )
...
* introduced v2 authentication request between clients and gateways
* client to send v2 auth when possible
* added persistence to last used authentication timestamp
* added clients identity to signed plaintext
2025-03-03 17:51:30 +00:00
Jon Häggblad
9be9c04f52
Add SURBs soft threshold ( #5535 )
...
* Add surbs soft threshold
* wip
* Proactively request more SURBs than needed
* fmt
* cleanup
* wip logging
* wip
* debugging
* wip
* Tidy
* tidy
* Set threshold buffer default for IPR
* rustfmt
* wasm fixes
* debug
* Tweak debug message
* Set default min buffer to 0
* Tweak backlog message
* Restore debug message
* tweak
* tweak
* wasm
2025-03-03 14:06:20 +01:00
Jędrzej Stuczyński
4f7124e661
Feature/chain status api ( #5539 )
...
* nym-api endpoint to return latest block information
* attached chain health to health query
* fixed serde casing
* one of the most nastiest work arounds in test code
2025-03-03 10:47:40 +00:00
Jon Häggblad
128f69a5d6
Simplify IPR v8 ( #5532 )
...
* Purge stuff from v8
* Adapt to v8 changes
* Use protocol in ipr header
* Remove commented out code
* Remove unused error
2025-02-28 13:04:53 +01:00
Jack Wampler
f13ce6bf2d
HickoryDnsResolver use a shared instance by default to limit fd use ( #5523 )
2025-02-27 09:05:10 -07:00
Jon Häggblad
856dbfe1ac
IPR request types v8 ( #5498 )
...
* IPR v8 request/response types
* Remove signature for when we use sender tags
* Remove unused
* Address some review comments
* Update license to GPL-3.0 for IPR
Since the IPR can run as a binary, make sure it's license is GPL-3.0
* update cargo deny
* Add back support for v6
* Tidy responses
* Clippy
* Fix compilation
* Conversions
* Conversions
* Split response conversion
* request split
* Complete conversion switch
* Remove commented out code
* rustfmt
* Remove unused conversions
* Remove unused TryFrom
* use from
2025-02-27 15:21:55 +01:00
Jędrzej Stuczyński
65175fee09
merge #5512 again after reverting due to incorrect rebase ( #5520 )
...
* setup workspace global lints to prevent needless panics
* removed sources of panic in nym-crypto, nym-node and nym-api
* adjusted test code
2025-02-26 10:52:09 +00:00
Jędrzej Stuczyński
69b2448500
chore: removed all old coconut code ( #5500 )
2025-02-26 10:02:55 +00:00
Jędrzej Stuczyński
8ba5322997
bugfix: bound check when recovering a reply SURB ( #5502 )
2025-02-26 09:48:21 +00:00
Jędrzej Stuczyński
80b395cd8e
feat: use ct_eq for checking bearer token ( #5501 ) ( #5519 )
2025-02-26 09:48:05 +00:00
Jędrzej Stuczyński
8f5457e698
feature: allow nym-nodes to understand future version of sphinx packets ( #5496 ) ( #5518 )
...
* use updated sphinx crate
* updated outfox usage of keygen in tests
* use x25519 in outfox
* remove redundant constructor
* adjusted key convertion traits
2025-02-26 09:47:57 +00:00
Bogdan-Ștefan Neacşu
d511611641
Connection fd callback before actual connection ( #5494 )
2025-02-24 14:23:43 +02:00
Jędrzej Stuczyński
26f97d3c34
dont query for ecash apis unless necessary ( #5508 )
2025-02-24 10:59:06 +00:00
Jędrzej Stuczyński
17d3ff2d77
feat: use ct_eq for checking bearer token ( #5501 )
2025-02-24 09:04:34 +00:00
Jędrzej Stuczyński
6e5d0dac1b
feature: allow nym-nodes to understand future version of sphinx packets ( #5496 )
...
* use updated sphinx crate
* updated outfox usage of keygen in tests
* use x25519 in outfox
* remove redundant constructor
* adjusted key convertion traits
2025-02-21 11:06:07 +00:00
Jack Wampler
50b044a100
Support static routes for HTTP requests ( #5487 )
...
allow static dns override
2025-02-18 11:53:32 -07:00
Jack Wampler
be44811a65
centralize API request interface and add preffered compression in responses ( #5450 )
2025-02-18 08:58:35 -07:00
Jon Häggblad
eeaca9fc10
Run cargo autoinherit ( #5460 )
...
* cargo autoinherit
* sort
2025-02-17 15:05:27 +00:00
Jon Häggblad
35be8de9f1
Update task fork names to be consistent
2025-02-17 14:37:34 +01:00
Jon Häggblad
2b14a9e6f8
Fix unexpected drop:
2025-02-17 14:37:34 +01:00
Jon Häggblad
e9269da897
Fix using is_shutdown_poll
2025-02-17 14:37:34 +01:00
Jon Häggblad
7bceeadf16
Include MessageHandler
2025-02-17 14:37:34 +01:00
Jon Häggblad
e72ce8fa92
Fix bug with ack control task client
2025-02-17 14:37:34 +01:00
Jon Häggblad
c6d38d3c4f
Also include topology refresher and mix traffic controller
2025-02-17 14:37:34 +01:00
Jon Häggblad
e8e2bf107f
Wrap more send errors in shutdown check
2025-02-17 14:37:34 +01:00
Jon Häggblad
efe4e5c1c1
Move TaskClient to Self in few tasks
2025-02-17 14:37:34 +01:00
Jon Häggblad
2230609a72
Use a TaskClient in client stats sender
2025-02-17 14:37:34 +01:00