Jędrzej Stuczyński
b484f47369
fix nym-cli
2024-07-26 15:05:47 +01:00
Jędrzej Stuczyński
82f161fb91
added associated [hacky] wallet types
2024-07-26 15:05:47 +01:00
Jędrzej Stuczyński
9d0fd681d4
introducing allowed range of operator interval operating cost
2024-07-26 15:05:47 +01:00
Jędrzej Stuczyński
c2ab47a102
profit margin range validation
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
8704c21621
normalise node's profit margin during rewarding
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
03ffb25bf9
introduced the concept of allowed profit margin ranges
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
9179f1c351
exposed migration commands to nym-cli + clippy
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
c4f7a1e09d
implemented migration into non-vesting mixnodes/delegations
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
9767f72b8f
removed all on_behalf mixnet contract methods
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
2c6e5eb673
cherry-pick: fix build issues
2024-07-26 11:11:52 +01:00
Jon Häggblad
02fde4e530
Handle clients with different versions in IPR ( #4723 )
...
* Add signable_request function
* Export key type in function signature
* Cargo.lock
* Track client version and respond using it
* Internally use v7 and then down convert if needed
* Local response type
* Streamline
* Strong type for client version
* Remove commented out code
* rustfmt
* Ignore sign verification fail for v6
2024-07-24 15:35:59 +02:00
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