dependabot[bot]
c08e7d2b11
build(deps): bump the patch-updates group with 22 updates ( #4846 )
...
Bumps the patch-updates group with 22 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.83` | `1.0.87` |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.81` | `0.1.82` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.16` | `4.5.17` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.2` | `4.5.26` |
| [clap_complete_fig](https://github.com/clap-rs/clap ) | `4.5.0` | `4.5.2` |
| [const_format](https://github.com/rodrimati1992/const_format_crates ) | `0.2.32` | `0.2.33` |
| [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) | `4.1.2` | `4.1.3` |
| [log](https://github.com/rust-lang/log ) | `0.4.21` | `0.4.22` |
| [parking_lot](https://github.com/Amanieu/parking_lot ) | `0.12.2` | `0.12.3` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [schemars](https://github.com/GREsau/schemars ) | `0.8.19` | `0.8.21` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.127` | `1.0.128` |
| [tar](https://github.com/alexcrichton/tar-rs ) | `0.4.40` | `0.4.41` |
| [tokio-stream](https://github.com/tokio-rs/tokio ) | `0.1.15` | `0.1.16` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.11` | `0.7.12` |
| [url](https://github.com/servo/rust-url ) | `2.5.0` | `2.5.2` |
| [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen ) | `0.3.42` | `0.3.43` |
| [http-body-util](https://github.com/hyperium/http-body ) | `0.1.1` | `0.1.2` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.3` | `0.1.5` |
| [tokio-tun](https://github.com/yaa110/tokio-tun ) | `0.11.4` | `0.11.5` |
Updates `anyhow` from 1.0.83 to 1.0.87
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.87 )
Updates `async-trait` from 0.1.81 to 0.1.82
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.81...0.1.82 )
Updates `clap` from 4.5.16 to 4.5.17
- [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.16...clap_complete-v4.5.17 )
Updates `clap_complete` from 4.5.2 to 4.5.26
- [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.2...clap_complete-v4.5.26 )
Updates `clap_complete_fig` from 4.5.0 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.0...clap_complete_fig-v4.5.2 )
Updates `const_format` from 0.2.32 to 0.2.33
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits )
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 `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 `parking_lot` from 0.12.2 to 0.12.3
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.2...0.12.3 )
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 `schemars` from 0.8.19 to 0.8.21
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.19...v0.8.21 )
Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `serde_derive` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `serde_json` from 1.0.127 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128 )
Updates `tar` from 0.4.40 to 0.4.41
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.40...0.4.41 )
Updates `tokio-stream` from 0.1.15 to 0.1.16
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.15...tokio-stream-0.1.16 )
Updates `tokio-util` from 0.7.11 to 0.7.12
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.11...tokio-util-0.7.12 )
Updates `url` from 2.5.0 to 2.5.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.2 )
Updates `wasm-bindgen-test` from 0.3.42 to 0.3.43
- [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/commits )
Updates `http-body-util` from 0.1.1 to 0.1.2
- [Release notes](https://github.com/hyperium/http-body/releases )
- [Commits](https://github.com/hyperium/http-body/compare/http-body-util-v0.1.1...http-body-util-v0.1.2 )
Updates `hyper-util` from 0.1.3 to 0.1.5
- [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.3...v0.1.5 )
Updates `tokio-tun` from 0.11.4 to 0.11.5
- [Commits](https://github.com/yaa110/tokio-tun/compare/0.11.4...0.11.5 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: async-trait
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: const_format
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: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: parking_lot
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: schemars
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_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: tar
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-util
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: wasm-bindgen-test
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: http-body-util
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
- dependency-name: tokio-tun
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-09-11 10:22:42 +02:00
Bogdan-Ștefan Neacşu
63d0ab49e1
Move credential verification into common crate ( #4853 )
...
* Move cred verification to common crate
* Put crate in toml file manually
2024-09-09 19:13:10 +02:00
Jon Häggblad
7e40207d46
Fix test failure in ipr request size ( #4844 )
...
* Fix test failure in ipr request size that suddenly appeared
* Use fixed date in unit test
2024-09-09 12:01:24 +02:00
Jędrzej Stuczyński
04a2f59034
fixed clap group names
2024-09-09 09:10:19 +01:00
Jędrzej Stuczyński
052dbeaef8
adjusting the API and fixing CI
2024-09-09 09:10:18 +01:00
Jędrzej Stuczyński
fb0b9da14f
revamped ticketbook serialisation and exposed additional cli methods
2024-09-09 09:10:17 +01:00
Bogdan-Ștefan Neacşu
18891e5f20
Use ecash credential type for bandwidth value ( #4840 )
...
* Use ecash credential type for bandwidth value
* Fill explicit default value for args
* Use up-to-date values for tickets
* Fix sdk example default value
* Another default
* Fix sdk test
* Fix TicketTypeRepr default
2024-09-05 13:19:19 +02:00
Mark Sinclair
17bdb583b5
Add get_mixnodes_described to validator_client ( #4725 )
...
* Add get_mixnodes_described to validator_client
* Add methods to client to get blacklisted mixnodes and gateways
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com >
2024-09-03 12:34:31 +02:00
Jon Häggblad
d0b380cd99
Remove serde_crate named import ( #4832 )
...
* Run cargo autoinherit following last weeks dependabot updates
* Remove serde_crate named import
2024-09-02 15:51:56 +02:00
Jon Häggblad
51d1803ddd
Run cargo autoinherit following last weeks dependabot updates ( #4831 )
2024-09-02 15:24:52 +02:00
Jędrzej Stuczyński
a7910c1049
Merge pull request #4807 from nymtech/dependabot/cargo/bs58-0.5.1
...
build(deps): bump bs58 from 0.4.0 to 0.5.1
2024-08-29 22:32:49 +01:00
dependabot[bot]
6b93309482
build(deps): bump bs58 from 0.4.0 to 0.5.1
...
Bumps [bs58](https://github.com/Nullus157/bs58-rs ) from 0.4.0 to 0.5.1.
- [Changelog](https://github.com/Nullus157/bs58-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/bs58-rs/compare/0.4.0...0.5.1 )
---
updated-dependencies:
- dependency-name: bs58
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 16:17:17 +00:00
dependabot[bot]
4d212f73fc
build(deps): bump rand from 0.6.5 to 0.8.5
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.6.5 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.6.5...0.8.5 )
---
updated-dependencies:
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 16:16:07 +00:00
Jędrzej Stuczyński
d7a7b643ef
Merge pull request #4808 from nymtech/dependabot/cargo/base64-0.22.1
...
build(deps): bump base64 from 0.13.1 to 0.22.1
2024-08-29 17:14:04 +01:00
Dinko Zdravac
a0fea6edb4
Add axum server to nym-api ( #4803 )
...
* Migrate nym-api HTTP server from rocket to axum (#4698 )
Migrate endpoints to Axum
* Squashed after PR review
Initial WIP
- bootstrap axum server with same data as rocket
- start axum server alongside rocket
- add routes for circulating-supply, contract-cache, network
- write simple bash validation that migrated APIs return 200
- mark rocket parts of code as deprecated
- start more complicated routes: WIP
Init storage always
Add coconut routes
Add api-status routes
Expand tests
WIP
Migrate unstable APIs with query params
Update bash tests
Add node-status routes
Redirect / to /swagger
Update API tests
Implement graceful shutdown
rustfmt
Fix clippy
* Add ecash routes after rebase
* PR feedback
- add CORS layer
- move logger to common crate
- remove global log filters for nym-api and axum
* Serve OpenAPI for all endpoints (#4761 )
* Playing around with swagger
* Generate OpenAPI for /status routes
* Phase out static_routes as strings
- also nest routers in a clearer way
* Generate OpenAPI for /network routes
* Generate OpenAPI for /api-status routes
* Generate OpenAPI for "nym nodes" routes
* Fix some network-monitor routes
* Generate OpenAPI for /ecash routes
* Add utoipa feature to /common mods
* Add OpenAPI for unstable routes
* Fix MixNodeDetails field in models
* Introduce axum feature flag (#4775 )
* Add Axum bind_address to config
* Introduce axum feature flag
* Add comment to template.rs
* Add Github action to build wtih `axum` feature
* Refactor server start & shutdown (#4777 )
* Clippy: don't forget axum feature
* Refactor router so it's safer
* Implement graceful shutdown
* Nicer pattern matching
* Better Result syntax
2024-08-29 15:31:01 +02:00
dynco-nym
33b85a3ca1
Fix additional one
2024-08-29 08:47:16 +02:00
dynco-nym
3635cbdc8d
Replace deprecated code
2024-08-29 01:22:51 +02:00
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
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
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
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
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
Bogdan-Ștefan Neacşu
2ae81f6da0
Avoid race on ip and registration structures ( #4766 )
2024-08-20 14:51:59 +02: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
Jon Häggblad
3f6de8b10c
Remove duplicate stat count for retransmissions ( #4756 )
2024-08-09 14:55:14 +02: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
Jędrzej Stuczyński
969155bf91
chore: fix unit tests
2024-07-30 11:31:48 +01:00
Jędrzej Stuczyński
f4fafbfea5
updated ecash-contract parameters and generated schema
2024-07-30 11:31:47 +01:00
Jędrzej Stuczyński
5e97b1f79a
updated all ecash-related parameters - bloomfilter, expiration, sizes, etc.
2024-07-30 11:31:47 +01:00
Jędrzej Stuczyński
b52bf951a6
improve client errors
2024-07-30 11:27:25 +01:00
Jędrzej Stuczyński
db1ad4dcab
fixed client crashing upon having bandwidth revoked
2024-07-30 11:27:25 +01:00
Jędrzej Stuczyński
04cafc72dc
improved bandwidth information propagation within the client
2024-07-30 11:27:24 +01:00
Jędrzej Stuczyński
19dee11539
changed the number of tickets to 100
2024-07-30 11:27:24 +01:00
Simon Wicky
fc2eedfc66
Another Grand Ecash Squasheroo
...
add offline ecash library
minor changes in coconut benchmarks
add ecash smart contract
change contract traits from coconut to ecash
first wave of andrew's suggestion
first wave of andrew's suggestion
second wave of andrew's suggestion for ecash lib
andrew's suggestion for ecash contract
licensing commit
safety comments for most unwraps
more unwrap handling
change chrono crate for time
latest cargo lock
error revamp
small visibility fix
small fix
remove indexedmap from contract + some tweaks
add cw2 version in ecash contract
remove envryption key from contract
change types from coconut to ecash types
adapt api model for credential issuance
adapt issued credential storage on API
add signatures cache on API
change API routes for new blind signing
modify issued_credential table
add issuance logic client-side
credential and signature storage client side
utils for credential issuance
first wave of fix
some of andrew's suggestions
remove encryption key from deposit
freepass issuance client side
freepass issuance API side
andrew's suggested fixes
other suggested fix
adapt change from PR below
allow offline verification flag
credential spending models
credential spending models for client
credential preperation for the client
credential preperation for the client
credential storage for spending on client
bloom filter for API
spent credential storage on validators
API route for spending online and offline ecash
API routes in the client lib
credential storage on gateway
ecash verifier to replace coconut verifier
accept credentials on gateway
bandwidth expiration for gateways
client ask for more bandwidth if it runs out
credential import
adapt nym validator rewarder and sdk
fix tests api tests and add constants
cargo fmt and lock and small test fix
cargo fmt and lock and small test fix
cargo lock
move stuff where they belong in ecash and static parameters
move some constants, error handling and phase out time crate
error revamp part 2
secret key by ref instead of clone
change l in wallet and v visibility
rework payinfo
rework monster tuples
fix expiration date signature cloning
minor fixes
final bits and bobs fixes
final bits and bobs fixes
rename l accessor to tickets_spent
wave of fixes
second wave of fixes
change hash domain value
removed benchmark flag
remove useless stringification in storage
nuke Bandwidth voucher
change timestamps to offsetdatetime
key name change
post-rebase fixes
update nym-connect 'time' dep due to broken semver
upload ecash contract to the build server
make wasm zknym-lib compile
but it won't work properly just yet
make wasm zknym-lib compile
but it won't work properly just yet
fix typo in ecash contract deps
make sure to use 0.1.0 sphinx packet
optimise pairings in 'check_vk_pairing'
derive serde for ecash types
simplified g1 tuple byte conversion
further optimise the pairing
unified signature type + renamed nym-api coconut module to ecash
using bincode serialiser for more complex binary types
using multimiller loop instead of rayon for verifying coin indices signatures
batching signature verification wherever possible
feature-locked rayon
clippy
refactor ecash contract a bit + introduce deposit storage
reworked find_proposal_id
various minor fixed
add offline_zk_nyms to nym-node everywhere
add missing #query
change test value to fit new serialization
optimised deposits storage
removed duplicate decompression code
using deposit_id instead of transaction hash
removed freepasses
split up ecash handling
unified shared state
fixed deposit_id parsing
log recovered deposit id
removed online verification
add detailed build info to ecash contract
fixed deserialisation of deposit amount received from nyxd queries
changed deposit to only persist attached pubkey
first iteration of split of verification and redemption
basic tool for setting up new network
expanded the tool with the option to bypass DKG
rename + init network without DKG
setting up locally running apis
ecash key migration
more local functionalities
wip fixing sql schemas
gateway immediately submitting redemption proposal
and getting it passed if valid
most of the gateway logic for split redemption with error recovery
fixed gateway not persisting ecash signers
simplify creation of compatible client
create properly serialised ecash key from the beginning
rebuild missing tickets and proposals on startup
stop ticket issuance during DKG transition
fixing build issues
split out ecash storage on nym-api side
master-verification-key route
caching all the signatures and keys
implemented aggregated routes for nym-apis
swagger UI for ecash endpoints
added explicit annotation for index and expiration signatures
revamped client ticketbook storage
save all recovery information in the same underlying storage
wrapper for bloomfilter
being more aggressive with marking tickets as used
ensure client has correct signatures before making deposit
fix deserialisation of AggregatedExpirationDateSignatureResponse + add ticketbook table
split nym-api ecash routes handlers into multiple files
fixed deserialisation of encoded expiration date
add tt_gamma1 to challenge and change naming for paper consistency
rotating double spending bloomfilter
nym-api test fixes + make sure to insert initial BF params
fixed ecash benchmark code
updated contract schema
updated CI to not upload gateway/mixnode binaries
ticket bandwidth revocation
added default deserialisation for zk nym config
post-rebase fixes
2024-07-30 11:27:21 +01:00