Bogdan-Ștefan Neacşu
fd1d437211
Add 1GB/day/user bandwidth cap ( #4717 )
...
* Add check for 1GB/day/user and remove stale check
* Use saturated_sub
* Remove from wg peers
* Use 10 seconds instead of 1
* Query bandwidth message
* Ad client query message too
* Keep stale check
* Make bandwidth cap value public
* Fix consumed vs available bug
* Don't overwrite existing registrations
* Use self pub key instead of peer's
2024-07-23 20:49:49 +02:00
Tommy Verrall
962684ff56
Merge pull request #4667 from nymtech/feature/authenticator
...
Add authenticator
2024-07-10 10:14:58 +02:00
Sachin Kamath
dc2020559a
parse attributes from events instead of raw logs
2024-07-09 21:24:58 +05:30
Tommy Verrall
2b9444cce3
add an early return in parse_raw_str_logs for empty raw log strings.
...
this accommodates for the v50 chain upgrade
2024-07-09 20:36:36 +05:30
Bogdan-Ștefan Neacşu
c7fa910516
Fix add of req id
2024-07-05 10:36:18 +00:00
Bogdan-Ștefan Neacşu
2fe08274dd
Add another layer for request id field
2024-07-05 10:20:56 +00:00
Bogdan-Ștefan Neacşu
a230a9b8b9
Merge remote-tracking branch 'origin/develop' into feature/authenticator
2024-07-05 09:57:48 +00:00
Bogdan-Ștefan Neacşu
72eae7cdf3
Remove stale mid-registrations
2024-07-05 09:38:17 +00:00
Bogdan-Ștefan Neacşu
dfb16e385c
Rand from workspace
2024-07-05 07:53:33 +00:00
Bogdan-Ștefan Neacşu
660e1cad0a
Reconstruction msg
2024-07-04 14:26:37 +00:00
Bogdan-Ștefan Neacşu
7c1aa57a7e
Add curr version
2024-07-04 14:15:25 +00:00
Bogdan-Ștefan Neacşu
a06e496f78
Add final req creation
2024-07-04 13:54:13 +00:00
Jon Häggblad
70599b97b9
Send bandwidth status messages when connecting ( #4691 )
...
* Send bandwidth status messages when connecting
* Rename to task_client
* Move status message type to bandwidth controller
2024-07-04 13:10:16 +02:00
Bogdan-Ștefan Neacşu
02b194bde0
Function to create AuthReq
2024-07-04 10:40:53 +00:00
Bogdan-Ștefan Neacşu
20ec049db5
Remove more unnecessary structures
2024-07-04 09:41:17 +00:00
Jon Häggblad
6078787daa
Remove constructor since it's weakly typed ( #4689 )
2024-07-03 12:26:47 +02:00
Bogdan-Ștefan Neacşu
4d3fb2b585
Merge remote-tracking branch 'origin/develop' into feature/authenticator
2024-07-02 16:25:29 +03:00
Jon Häggblad
d34c829174
Create UserAgent that can be passed from the binary to the nym api client ( #4677 )
...
* Create UserAgent that can be passed from the binary to the nym api client
* TryFrom for UserAgent to HeaderValue
* Add user agent for getting the list of gateways
* Fix wasm client
* Move clap behind feature flag in bin-common
* Implement conversion to UserAgent
* Set user_agent on base client in native and socks5 clients
* Set user agent in socks5-listener lib
* wip
* wip
* Deserialize cargo_triple to unknown by default
* Abbreviate git hash
* Remove unused import
* Add missing dep, and remove dbg statements
* Reorder string representation
* Remove commented out code
* Revert temporary log level change
2024-07-01 13:29:10 +02:00
Bogdan-Ștefan Neacşu
f75b4843e8
Merge remote-tracking branch 'origin/develop' into feature/authenticator
2024-07-01 09:56:34 +00:00
Jon Häggblad
8acd3a0975
Move a few more deps partially to workspace
2024-06-27 10:52:15 +02:00
Jon Häggblad
fa1519ec6a
Move itertools to workspace deps
2024-06-27 10:52:15 +02:00
Jon Häggblad
4aa8cb4647
Move dalek and rand_chacha crates to workspace
2024-06-27 10:52:15 +02:00
Jon Häggblad
5d13538508
Use workspace base64 dep
2024-06-27 10:52:15 +02:00
Jon Häggblad
4bbbcf629d
Fix warning for default_features
2024-06-27 10:52:15 +02:00
Jon Häggblad
34ef970fd8
Move dirs 4.0 to workspace deps
2024-06-27 10:52:14 +02:00
Jon Häggblad
fec570613c
Remove code that refers to removed nym-network-statistics ( #4679 )
...
* Remove nym-network-statistics from workspace
* Remove nym-network-statistics
* Cargo.lock
* Update ci workflow
* Remove code that refers to removed nym-network-statistics
* Remove more
* Remove nym-statistics-common
* Delete commented out modules
* Remove commented out code
* Remove more commented out code
* Remove more commented out stuff
* Remove unused function
2024-06-27 10:32:32 +02:00
benedetta davico
24ffb8fe8c
Merge pull request #4675 from nymtech/release/2024.6-chomp
...
Release/2024.6-chomp to develop
2024-06-26 12:15:52 +02:00
Bogdan-Ștefan Neacşu
b43844bd7a
Embed into gateway
2024-06-21 15:51:02 +00:00
Drazen Urch
2a260d46f8
New clippy lints ( #4660 )
...
* New clippy lints
* I guess this got removed
2024-06-21 10:02:29 +01:00
Bogdan-Ștefan Neacşu
17553d606e
Requests and responses
2024-06-20 16:58:21 +03:00
Zane Schepke
589074360d
change to OffsetDateTime
2024-06-20 09:16:05 -04:00
Zane Schepke
2e5406692c
add expiry returned on import
2024-06-20 07:00:48 -04:00
Drazen Urch
a2d57f269d
New clippy lints ( #4660 )
...
* New clippy lints
* I guess this got removed
2024-06-17 15:29:19 +02:00
Tommy Verrall
9460a9941c
remove additional code :)
2024-06-12 16:40:11 +02:00
Tommy Verrall
eeffc0db51
fmt
2024-06-12 16:29:00 +02:00
Tommy Verrall
b7d6e0e1e3
remove left over bbc code
2024-06-12 16:27:00 +02:00
Tommy Verrall
45e0b406ac
remove additional ephemera code and related service provider info
2024-06-12 16:15:52 +02:00
Jędrzej Stuczyński
70360196f0
bugfix: make sure nym-api can handle non-cw2 (or without detailed build info) compliant contracts
2024-06-11 17:38:24 +01:00
Jędrzej Stuczyński
c50c30ae76
standarised ContractBuildInformation and added it to all contracts
2024-06-11 12:22:15 +01:00
Jędrzej Stuczyński
5745cb4d7a
Merge pull request #4642 from nymtech/chore/purge-ephemera
...
Removed ephemera code
2024-06-11 13:15:04 +02:00
Tommy Verrall
9e4c58efdf
Merge pull request #4640 from nymtech/feature/periodic_remove
...
Remove stale peers
2024-06-11 12:26:55 +02:00
Tommy Verrall
13e6fcaa85
Merge pull request #4635 from nymtech/feature/new-node-endpoints
...
Feature/new node endpoints
2024-06-11 12:26:30 +02:00
Jędrzej Stuczyński
3e87063ab4
Removed ephemera code
2024-06-11 11:17:26 +01:00
Bogdan-Ștefan Neacşu
a32cbd44b0
Remove stale peers
2024-06-11 10:05:38 +00:00
Jon Häggblad
f43a2a1e42
Merge pull request #4603 from nymtech/jon/purge-name-service-and-sp-dir-contracts
...
Purge name service and service provider directory contracts
2024-06-11 11:50:13 +02:00
Jon Häggblad
4666e91820
Merge pull request #4620 from nymtech/jon/ipr-read-both-v6-and-v7
...
Handle v6 and v7 requests in the IPR, but reply with v6
2024-06-11 11:48:00 +02:00
Bogdan-Ștefan Neacşu
bb46235b54
Add generic wg private network routing ( #4636 )
2024-06-10 16:55:05 +03:00
Jędrzej Stuczyński
433748521c
wasm fixes
2024-06-10 13:00:24 +01:00
Jędrzej Stuczyński
3cbcd001f4
clippy + test build issues
2024-06-10 11:36:57 +01:00
Jędrzej Stuczyński
282b27646f
review comments
2024-06-10 11:19:27 +01:00