Bogdan-Ștefan Neacşu
69e97b3bbc
Remove old use of 1GB constant ( #5096 )
...
* Remove old use of 1GB constant
* Fix clippy
2024-11-05 16:16:59 +02:00
Bogdan-Ștefan Neacşu
15ca24b848
Add more translations from v2 to v3 authenticator ( #5091 )
2024-11-05 15:30:00 +02:00
Bogdan-Ștefan Neacşu
c6959d3e2d
Make 250 GB/30 days for free ride mode ( #5083 )
2024-11-05 11:14:43 +02:00
Jędrzej Stuczyński
2569deb080
bugfix: [wallet] displaying delegations for native nymnodes ( #5087 )
...
* fixed return type for getting nymnode details
* fixed nym-api queries if using relative paths
* fixed queries for delegations of native nymnodes
2024-11-04 21:15:29 +00:00
Bogdan-Ștefan Neacşu
f9b363648f
Fix expiration date as today + 7 days ( #5076 )
2024-11-01 16:01:24 +02:00
Bogdan-Ștefan Neacşu
b73561f1c9
Fix gateway decreasing bandwidth ( #5075 )
...
* Update storage peers after periodic check
* Reset storage bytes on restart
* Fix clippy
2024-11-01 15:40:22 +02:00
Dinko Zdravac
09b68a8204
Cherry pick NS API from develop ( #5074 )
...
* Revert "NS API with directory v2 (#5068 )"
This reverts commit cf4fe5f875 .
* Merge pull request #5050 from nymtech/dz-node-status-api
Node Status API
* Ns agent workflow (#5055 )
* feat: add dockerfile
* add github workflow for node status agent
---------
Co-authored-by: Fran Arbanas <arbanasfran@gmail.com >
* NS API with directory v2 (#5058 )
* Use unstable explorer client
* Clean up stale testruns & logging
- log gw identity key
- better agent testrun logging
- log responses
- change response code for agents
* Better logging on agent
* Testrun stores gw identity key instead of gw pk
* Agent 0.1.3
* Agent 0.1.4
* Sqlx offline query data + clippy
* Compatible with directory v2
* Point to internal deps + rebase + v0.1.5
* self described field not null
* Fix build.rs typo
* Fix clippy
---------
Co-authored-by: Fran Arbanas <arbanasfran@gmail.com >
2024-11-01 01:24:41 +01:00
Dinko Zdravac
cf4fe5f875
NS API with directory v2 ( #5068 )
...
* Use unstable explorer client
* Clean up stale testruns & logging
- log gw identity key
- better agent testrun logging
- log responses
- change response code for agents
* Better logging on agent
* Testrun stores gw identity key instead of gw pk
* Agent 0.1.3
* Agent 0.1.4
* Sqlx offline query data + clippy
* Compatible with directory v2
* Point to internal deps + rebase + v0.1.5
* self described field not null
* Fix build.rs typo
2024-10-31 13:52:20 +01:00
Jędrzej Stuczyński
b9d1fc40e7
deprecated old nym-api client methods and replaced them when possible ( #5069 )
2024-10-31 12:08:58 +00:00
Jędrzej Stuczyński
753a21f8ca
bugfix/feature: added NymApiClient method to get all skimmed nodes ( #5062 )
...
* bugfix/feature: added NymApiClient method to get all skimmed nodes
* wasm
* helper: utility method for getting ed25519 identity directly from node description
2024-10-30 12:21:27 +00:00
Jędrzej Stuczyński
317f7fffa9
added hacky routes to return nymnodes alongside legacy nodes ( #5051 )
...
* added hacky routes to return nymnodes alongside legacy nodes
* fixed mixing role
* Update client (#5054 )
* removed hacky mixnodes endpoint for its not used
* construct explorer-api client with timeout
---------
Co-authored-by: Dinko Zdravac <173912580+dynco-nym@users.noreply.github.com >
2024-10-29 08:35:07 +00:00
Jędrzej Stuczyński
d626e7689f
bugfix: make gateways insert themselves into [local] topology ( #5038 )
...
* added explicit SP suffix to started tasks
* added 'GatewayTopologyProvider' that always injects itself into the network
* use the new topology provider to bypass described bootstrapping problem
2024-10-25 12:06:16 +01:00
Jędrzej Stuczyński
9234474565
bugfix: use old name for 'epoch_role' in SkimmedNode ( #5034 )
...
* bugfix: use old name for 'epoch_role' in SkimmedNode
* clippy
2024-10-25 09:29:37 +01:00
Jędrzej Stuczyński
0edb9631a6
feature: use axum_client_ip for attempting to extract source ip ( #5031 )
2024-10-24 17:38:32 +01:00
Jędrzej Stuczyński
c09a17b66d
bugfix: verifying signed information of legacy nodes ( #5029 )
...
* Added new legacy variant of HostInformation
* fixed 'option_bs58_x25519_pubkey' for empty string
* 'Debug' impl for x25519 and ed25519 to use human-readable representation
* HttpClient to use explicit 'serde_json' conversion for better errors
* additional 'Debug' derives
2024-10-24 15:00:34 +01:00
Jędrzej Stuczyński
d18ddcdc11
bugfix: introduce 'LegacyPendingMixNodeChanges' that does not contain 'cost_params_change' ( #5028 )
...
* bugfix: introduce 'LegacyPendingMixNodeChanges' that does not contain 'cost_params_change'
* updated schema files due to removal of '#[serde(deny_unknown_fields)]'
2024-10-24 10:54:00 +01:00
Jędrzej Stuczyński
38e66f6ddf
added 'get_all_described_nodes' to NymApiClient and adjusted return type on api itself ( #5016 )
2024-10-23 09:48:25 +01:00
Bogdan-Ștefan Neacşu
b9fbe0b8f3
Reapply fixes to new branch ( #5014 )
2024-10-22 18:33:18 +03:00
Bogdan-Ștefan Neacşu
daafb5cae4
Consume only positive bandwidth ( #5013 )
2024-10-22 17:46:46 +03:00
Jędrzej Stuczyński
9efc50e067
Merge branch 'release/2024.12-aero' into merge/release/2024.12-aero
2024-10-22 13:03:07 +01:00
Jędrzej Stuczyński
338835698c
feature: adjusted ticket sizes to the agreed amounts ( #5009 )
...
* feature: adjusted ticket sizes to the agreed amounts
* adjusted MiB values to MB
2024-10-22 11:47:31 +01:00
Bogdan-Ștefan Neacşu
9a45de5874
Remove stale free riders after 24 hours ( #5002 )
2024-10-21 13:15:08 +03:00
Jędrzej Stuczyński
d36ea20366
bugfix: dont store sent/received fragments unless explicitly enabled ( #4991 )
2024-10-21 09:27:48 +01:00
Bogdan-Ștefan Neacşu
d291582128
Separate storage from wg_api ( #4988 )
2024-10-18 19:34:09 +03:00
Jędrzej Stuczyński
0e47b88dd8
chore: update itertools in compact ecash ( #4994 )
2024-10-18 16:34:38 +01:00
Dinko Zdravac
4e65617f08
Bump sqlx to 0.7.4 ( #4959 )
...
* Upgrade to v0.7
More goodies
Revert cargo.toml
Fix cargo toml
* Generate offline sqlx schemas
Fix data-observatory
Fix credential-storage
Fix gateway-storage
Fix client-core/-gateways-storage
Generate offline schemas for nym-api as well
* Update nym-api after rebase
---------
Co-authored-by: Andrej Mihajlov <andrej@nymtech.net >
2024-10-18 12:51:41 +02:00
Bogdan-Ștefan Neacşu
18c6fd3e3e
Gateway peer fixes ( #4985 )
...
* Create bandwidth entry
* Remove mismatch possibilities
2024-10-18 12:43:36 +03:00
aniampio
25326e5f9b
Fixes following cargo fmt
2024-10-18 09:32:27 +01:00
aniampio
f37eb9db23
Fixes following cargo clippy
2024-10-18 09:32:27 +01:00
aniampio
c5b74353f3
Add infinity checks to fix SI-87
2024-10-18 09:32:22 +01:00
aniampio
871b54e314
Fix computation of h for the SI-86
2024-10-18 09:11:45 +01:00
Jędrzej Stuczyński
5af6ee763c
Merge pull request #4758 from nymtech/ania/cure53_SI84_SI85
...
Fix critical issues SI84 and SI85 from Cure53
2024-10-18 09:09:07 +01:00
Jędrzej Stuczyński
dabbe8ba7f
removed additional sources of copying secrets and introduced extra error variants
2024-10-17 15:23:40 +01:00
Bogdan-Ștefan Neacşu
31f1037d44
Add topup req constructor ( #4983 )
2024-10-17 16:03:48 +02:00
Bogdan-Ștefan Neacşu
e675e3937a
Top up bandwidth ( #4975 )
...
* Top up wg bandwidth
* Introduce v3 with top up
* Verify and increase cred bw
* Add log
* Fix clippy
2024-10-17 16:34:52 +03:00
Simon Wicky
355991adc9
[Product Data] Add session type based on ecash ticket received ( #4974 )
...
* add session type based on ecash ticket collection
* avoid setting session type if already set
* change duration type to duration
* add a cap for finished sessions
2024-10-17 14:11:05 +02:00
Jędrzej Stuczyński
02dd16bcc6
added unit tests for the migration and fixed rounding errors
2024-10-16 16:31:16 +01:00
Jędrzej Stuczyński
14fd7c77d0
added unit tests for vested migrations and fixed additional issues
2024-10-16 16:31:16 +01:00
Jędrzej Stuczyński
3158a67445
Merge pull request #4973 from nymtech/bugfix/additional-directory-fixes
...
Bugfix/additional directory fixes
2024-10-16 15:09:38 +01:00
Simon Wicky
435f236812
[Product Data] First step in gateway usage data collection ( #4963 )
...
* add stats model
* add stats collection
* add stats route
* propagate stuff and run stuff
* cargo stuff
* sqlx unused what?
* add sessions started stat
* session durations in miliseconds
* apply Jon's comments
* [Product Data] Second step in gateway usage data collection (#4964 )
* turn stats collection into event based
* move events into a common crate for future use elsewhere
* apply Jon's comments
2024-10-15 09:18:02 +02:00
Jędrzej Stuczyński
d04331a5df
updated clients to use 'new' endpoints
2024-10-14 18:12:56 +01:00
Jędrzej Stuczyński
16edca21b0
allow to optionally skip state migration
2024-10-14 11:41:36 +01:00
Bogdan-Ștefan Neacşu
8758bea17c
Use ticket type when retrieving from storage ( #4947 )
2024-10-14 12:39:12 +03:00
Jędrzej Stuczyński
493390d92b
bugfix: fix expected return type on /v1/gateways endpoint
2024-10-11 16:05:53 +01:00
Jędrzej Stuczyński
9341db5d08
removed gateway/nym-node using global double spending bloomfilter
2024-10-10 17:09:51 +01:00
Jędrzej Stuczyński
45f4eeeff2
fixed linter issues and outdated tests
2024-10-10 15:38:00 +01:00
Jędrzej Stuczyński
f76d677f64
additional rewarding-related unit tests
2024-10-10 13:27:35 +01:00
Jędrzej Stuczyński
050a58affa
fixed cli command for updating node cost params
2024-10-10 13:27:35 +01:00
Jędrzej Stuczyński
561566f3c4
fixed wasm sdk build
2024-10-10 13:27:34 +01:00
Jędrzej Stuczyński
6879c211ee
cleaning up mixnet contract in preperation for merging
2024-10-10 13:27:34 +01:00