Bogdan-Ștefan Neacşu
ff0ad976c6
Remove unused wireguard flag from SDK ( #4823 )
...
* Remove unused wireguard flag from SDK
* Remove from wasm and socks5 too
2024-08-28 19:47:51 +02:00
benedettadavico
74cd73a58f
fmt
2024-08-28 17:35:37 +02:00
Jędrzej Stuczyński
07c80e5150
naming consistency
2024-08-28 16:32:02 +01:00
Jędrzej Stuczyński
c17f0ac3f8
added explicit updateable admin to the mixnet contract
2024-08-28 16:30:30 +01:00
Jędrzej Stuczyński
7ae56b08b3
using legacy signing payload in CLI and verifying both variants in contract
2024-08-28 15:19:55 +01:00
benedettadavico
73fc2d6bb2
remove unused import
2024-08-28 11:43:16 +02:00
benedettadavico
ec0e1b67a0
adding ecash contract address
2024-08-28 11:28:17 +02:00
benedettadavico
eafbed6c9f
wording
2024-08-28 11:21:11 +02:00
dependabot[bot]
9378100957
build(deps): bump base64 from 0.13.1 to 0.22.1
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.1 to 0.22.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.1...v0.22.1 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-27 15:30:24 +00:00
benedettadavico
4635db73f1
update code and fmt again
2024-08-27 16:20:44 +02:00
benedettadavico
9a43d1079a
cargo fmt
2024-08-27 15:15:45 +02:00
Jon Häggblad
279de8a09b
Run cargo-autoinherit for a few new crates ( #4801 )
...
* Run cargo-autoinherit for a few new crates
* Sort crates list
* sort
2024-08-27 14:06:17 +01:00
benedettadavico
3238722ade
WIP
2024-08-27 14:55:47 +02:00
dependabot[bot]
c521ee6702
build(deps): bump the patch-updates group with 23 updates ( #4791 )
...
Bumps the patch-updates group with 23 updates:
| Package | From | To |
| --- | --- | --- |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.80` | `0.1.81` |
| [blake3](https://github.com/BLAKE3-team/BLAKE3 ) | `1.5.1` | `1.5.4` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.7` | `4.5.16` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.5` | `4.5.23` |
| [clap_complete_fig](https://github.com/clap-rs/clap ) | `4.5.1` | `4.5.2` |
| [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) | `4.1.2` | `4.1.3` |
| [fastrand](https://github.com/smol-rs/fastrand ) | `2.1.0` | `2.1.1` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.30` | `1.0.33` |
| [log](https://github.com/rust-lang/log ) | `0.4.21` | `0.4.22` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.5` | `1.10.6` |
| [safer-ffi](https://github.com/getditto/safer_ffi ) | `0.1.8` | `0.1.12` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.203` | `1.0.209` |
| [serde_bytes](https://github.com/serde-rs/bytes ) | `0.11.14` | `0.11.15` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.203` | `1.0.209` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.117` | `1.0.127` |
| [si-scale](https://github.com/graelo/si-scale ) | `0.2.2` | `0.2.3` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.63` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.39.2` | `1.39.3` |
| [url](https://github.com/servo/rust-url ) | `2.5.1` | `2.5.2` |
| [bip32](https://github.com/iqlusioninc/crates ) | `0.5.1` | `0.5.2` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) | `0.2.92` | `0.2.93` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.5` | `0.1.7` |
Updates `async-trait` from 0.1.80 to 0.1.81
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.80...0.1.81 )
Updates `blake3` from 1.5.1 to 1.5.4
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.5.1...1.5.4 )
Updates `clap` from 4.5.7 to 4.5.16
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.7...clap_complete-v4.5.16 )
Updates `clap_complete` from 4.5.5 to 4.5.23
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.5...clap_complete-v4.5.23 )
Updates `clap_complete_fig` from 4.5.1 to 4.5.2
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete_fig-v4.5.1...clap_complete_fig-v4.5.2 )
Updates `curve25519-dalek` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3 )
Updates `fastrand` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/smol-rs/fastrand/releases )
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/fastrand/compare/v2.1.0...v2.1.1 )
Updates `flate2` from 1.0.30 to 1.0.33
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.30...1.0.33 )
Updates `log` from 0.4.21 to 0.4.22
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `regex` from 1.10.5 to 1.10.6
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6 )
Updates `safer-ffi` from 0.1.8 to 0.1.12
- [Release notes](https://github.com/getditto/safer_ffi/releases )
- [Commits](https://github.com/getditto/safer_ffi/compare/v0.1.8...v0.1.12 )
Updates `serde` from 1.0.203 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.209 )
Updates `serde_bytes` from 0.11.14 to 0.11.15
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.14...0.11.15 )
Updates `serde_derive` from 1.0.203 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.209 )
Updates `serde_json` from 1.0.117 to 1.0.127
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...1.0.127 )
Updates `si-scale` from 0.2.2 to 0.2.3
- [Release notes](https://github.com/graelo/si-scale/releases )
- [Changelog](https://github.com/graelo/si-scale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/graelo/si-scale/compare/0.2.2...v0.2.3 )
Updates `thiserror` from 1.0.61 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.63 )
Updates `tokio` from 1.39.2 to 1.39.3
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3 )
Updates `url` from 2.5.1 to 2.5.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.1...v2.5.2 )
Updates `bip32` from 0.5.1 to 0.5.2
- [Commits](https://github.com/iqlusioninc/crates/compare/bip32/v0.5.1...secrecy/v0.5.2 )
Updates `wasm-bindgen` from 0.2.92 to 0.2.93
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93 )
Updates `hyper-util` from 0.1.5 to 0.1.7
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.5...v0.1.7 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete_fig
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: curve25519-dalek
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: fastrand
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: safer-ffi
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_bytes
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: si-scale
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: bip32
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: hyper-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 12:45:26 +02:00
Jon Häggblad
72c86ebe7c
Fix clippy for unwrap_or_default ( #4783 )
2024-08-26 13:59:11 +02:00
Drazen Urch
1ac262ec90
New Network Monitor ( #4610 )
...
* Initial commit
* Cherry pick from develop
* Keep track of fragments
* A bunch of data formats, graphs
* Use mix_id for display
* Proper API routes
* Add openapi + swagger ui
* Update locustfile
* Add node stats endpoint
* Add Swagger and locust to readme
* All node stats endpoint
* Update dependencies to use workspace
* Bunch of pedantic fixes
* More version updates, fmt
* More lints
* Add new_from_env for NymTopology
* Nym API endpoint to submit monitoring results (#4616 )
* Nym API endpoint to submit monitoring results
* Add gateway monitoring results
* Cleanup, ergonomics
* Weaponize
* Finalize results submissions
* Monitor message signing and verification
* Update README
* Axum graceful shutdown
* More grtacefulness
* Restructure result submission
* Less fragile routes
* Remove gateway unique index on node_id
2024-08-22 11:29:36 +02:00
Bogdan-Ștefan Neacşu
a6ad6c7d49
Sync last_seen_bandwidth immediately ( #4774 )
2024-08-21 14:17:01 +02:00
Bogdan-Ștefan Neacşu
7c1fca8ce4
Persist used wireguard private IPs ( #4771 )
...
* Persist used wireguard private IPs
* Fix imports
* Remove unnecessary type specification
2024-08-21 11:26:14 +02:00
Jędrzej Stuczyński
776443131e
fixed full display being always printed
2024-08-20 16:57:18 +01:00
Jędrzej Stuczyński
e3e4dc6db9
added an utility nym-cli command to output binary representation of ecash tickets
2024-08-20 16:31:00 +01:00
Bogdan-Ștefan Neacşu
2ae81f6da0
Avoid race on ip and registration structures ( #4766 )
2024-08-20 14:51:59 +02:00
Jędrzej Stuczyński
6393d6093f
changed parsing of 'credential_data' when importing ticketbooks
2024-08-20 11:31:07 +01:00
Jędrzej Stuczyński
e6c5eddbe5
bugfix: make sure DKG parse data out of events if logs are empty
...
this will be the case on post 0.50 chains
2024-08-16 11:56:48 +01:00
Jon Häggblad
dff82f946f
Make gateway latency check generic ( #4759 )
...
* Replace concrete gateway type with trait in latency check
* Rename to ConnectableGateway
2024-08-15 09:42:13 +02:00
Jon Häggblad
cb4b0403b5
Remove deprecated mark_as_success and use new disarm ( #4751 )
2024-08-13 15:09:48 +02:00
aniampio
4957d9dbf2
Fix clippy
2024-08-12 22:09:18 +01:00
aniampio
96ead0b19e
Fix function input
2024-08-12 21:51:16 +01:00
aniampio
47a3c53cfb
Run fmt in ecash files
2024-08-12 21:43:32 +01:00
Jon Häggblad
3f6de8b10c
Remove duplicate stat count for retransmissions ( #4756 )
2024-08-09 14:55:14 +02:00
aniampio
29bfd544f1
Fix checks for non identity h in offline ecash
2024-08-09 00:29:29 +01:00
aniampio
eff725e8ec
Run cargo fmt
2024-08-09 00:11:27 +01:00
aniampio
5743624948
Add check for identity point in all required Coconut functions
2024-08-09 00:11:03 +01:00
aniampio
07de1868ff
Coconut: add check if h is not identity in the prepare_blind_sign function
2024-08-08 17:54:18 +01:00
aniampio
6ea746e7f3
Add test for check if h is identity in the verify_partial_blind_signature
2024-08-08 16:47:17 +01:00
aniampio
7722a7080c
RequestVerify: check if h is non-identity
2024-08-08 12:36:48 +01:00
aniampio
bbe3917c8f
WithdrawalRequest: make sure h is non-identity
2024-08-08 12:22:38 +01:00
Bogdan-Ștefan Neacşu
f939cae3d9
Update peer refresh value ( #4754 )
...
* Use a more proper timeout value
* Move const to wireguard types
2024-08-06 18:14:29 +02:00
Jon Häggblad
c92f09543e
Fix clippy on rustc beta toolchain ( #4746 )
...
* Fix clippy warnings for rust beta toolchain
* Cargo.lock nym-wallet
2024-08-05 17:59:49 +02:00
Jon Häggblad
996ce6a233
Fix clippy for beta toolchain ( #4742 )
...
* Fix clippy for beta toolchain
* Remove ignored default-features for workspace dependency
* Add nym- prefix to serde-helpers crate
* Remove unused local_guard mod
2024-08-02 11:05:34 +02:00
Jon Häggblad
55b99e4ce1
Don't set NYM_VPN_API to default ( #4740 )
2024-07-30 20:46:02 +02:00
Bogdan-Ștefan Neacşu
bd94dd3055
Persist wireguard peers ( #4732 )
...
* Store wireguard peers in db
* Add update to nym-node
* Move gateway-requests and gateway-storage to common
* Carry storage to PeerController field
* Double kernel modifications with storage ones
* Take storage peers at boot
* Link storage query for registration flow
* Move authenticator peer comms in peer manager
* Modify template too
* Remove unused
* Fix clippy
* Fix clippy non-linux
* Keep storage data up-to-date on every check
* Check for staleness in storage timestamps
* Remove potential for panic in unwrap
* Fix clippy
* Fmt
* Clippy after rebase
* Remove in memory test structure
2024-07-30 18:26:40 +02:00
Jon Häggblad
0d19bb4ddc
Fix (some) feature unification build failures ( #4681 )
...
* nym-crypto: use rand_core traits from rand crate instead of cipher
Make rand feature also use the rand_core traits from the rand crate to
fix compilation of nym-bandwidth-controller
* Add features to bip32 in nym-ledger crate
* Delete unused empty crate
* Add clag feature to socks5-client
* Add feature flags to authenticator
* Add clap feature to network-requester
* Handle rebase changes
2024-07-30 16:15:56 +02:00
Jędrzej Stuczyński
3cb69780a6
removed 95/5 reward split in favour of the holding account
2024-07-30 11:31:49 +01:00
Jędrzej Stuczyński
68b61bfa84
fix build issues
2024-07-30 11:31:49 +01:00
Jędrzej Stuczyński
4c10cebf1b
propagated new ticket type through the whole stack
2024-07-30 11:31:49 +01:00
Jędrzej Stuczyński
aea962b546
explicit aliases for ExpirationDate and TicketType
2024-07-30 11:31:49 +01:00
aniampio
ab2a1c3fe5
Run fmt
2024-07-30 11:31:49 +01:00
aniampio
8d0c040015
Move functions around
2024-07-30 11:31:48 +01:00
aniampio
42efff83da
Add type attribute
2024-07-30 11:31:48 +01:00
Jędrzej Stuczyński
86fe955592
fixed sdk-wasm build
2024-07-30 11:31:48 +01:00