Jędrzej Stuczyński
56206433e6
chore: apply 1.84 linter suggestions ( #5192 )
2024-11-29 09:20:45 +00:00
Jędrzej Stuczyński
0e5bd966dd
Merge branch 'release/2024.13-magura-patched' into develop
2024-11-22 15:53:59 +00:00
Jędrzej Stuczyński
119c36b0bb
added 'deterministic_route_selection' for sphinx packet route selection ( #5157 )
...
* added 'deterministic_route_selection' for sphinx packet route selection
* clippy + wasm
* Switch to ChaCha8Rng for deterministic route generation
---------
Co-authored-by: durch <durch@users.noreply.github.com >
2024-11-21 18:21:01 +00:00
dependabot[bot]
7abe1f505c
Bump the patch-updates group across 1 directory with 10 updates
...
Bumps the patch-updates group with 9 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.89` | `1.0.90` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.18` | `4.5.20` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.29` | `4.5.33` |
| [pin-project](https://github.com/taiki-e/pin-project ) | `1.1.5` | `1.1.6` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.210` | `1.0.211` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.128` | `1.0.132` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) | `0.2.93` | `0.2.95` |
| [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) | `0.4.43` | `0.4.45` |
| [web-sys](https://github.com/rustwasm/wasm-bindgen ) | `0.3.70` | `0.3.72` |
Updates `anyhow` from 1.0.89 to 1.0.90
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.90 )
Updates `clap` from 4.5.18 to 4.5.20
- [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.18...clap_complete-v4.5.20 )
Updates `clap_complete` from 4.5.29 to 4.5.33
- [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.29...clap_complete-v4.5.33 )
Updates `pin-project` from 1.1.5 to 1.1.6
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.5...v1.1.6 )
Updates `serde` from 1.0.210 to 1.0.211
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.211 )
Updates `serde_derive` from 1.0.210 to 1.0.211
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.211 )
Updates `serde_json` from 1.0.128 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132 )
Updates `wasm-bindgen` from 0.2.93 to 0.2.95
- [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.93...0.2.95 )
Updates `wasm-bindgen-futures` from 0.4.43 to 0.4.45
- [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 `web-sys` from 0.3.70 to 0.3.72
- [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 )
---
updated-dependencies:
- dependency-name: anyhow
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: pin-project
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: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen-futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: web-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-22 14:56:39 +00:00
Jędrzej Stuczyński
d36ea20366
bugfix: dont store sent/received fragments unless explicitly enabled ( #4991 )
2024-10-21 09:27:48 +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
51b511b27e
Rebased the branch one more time
...
WIP; rebasing
Another branch squash
Squashing the v3 branch
changing min pledge amounts
logic for adding new nymnode into the contract
converting mixnode/gateway bonding into nym-node bonding
logic for migrating gateways into nymnodes
ibid for mixnodes
further nym-node work + fixed most existing unit tests
forbid nymnode migration with pending cost params changes
preassign nodeid for gateways
changing role assignment and epoch progression
changing role assignment and epoch progression
optional custom http port
logic for unbonding a nym-node
updating Delegation struct
logic for increasing pledge of either mixnode or nymnode
logic for decreasing pledge of either mixnode or a nym node
logic for changing cost params of either mixnode or a nym node
wip
initialise nymnodes storage
fixing transaction tests
fixed naive family tests
reward-compatibility related works
resolving delegation events
introduced rewarded set metadata
another iteration of restoring old tests
updated rewarding part of nym-api
parking the branch
unparking the branch
wip
purged families
added 'ExitGateway' role
passing explicit work factor for rewarding function
remove legacy layers storage
wip: node description queries
added announced ports to self-described api
step1 in gruelling journey of adding node_id to gateways
ensure epoch work never goes above 1.0
changed active set to contain role distribution
[theoretically] sending rewarding messages for the new rewarded set
[theoretically] assigning new rewarded set
reimplementing more nym-api features
remove legacy types
re-implement legacy network monitor
restoring further routes + minor refactor of NodeStatusCache
skimmed routes now return legacy nodes alongside nym-nodes
seemingly restored all functionalities in nym-api
removing more legacy things from the contract
initial contract cleanup
added nym-api endpoints to return generic annotations regardless of type
updated simulator to use new rewarding parameters
more contract cleanup
made existing mixnet contract tests compile
extra validation of nym-node bonding parameters
fixed additional compilation issues
fixed nym-api v3 database migration failure
added additional nym-node contract queries
updated the schema
made additional delegation/rewards queries compatible with both legacy mixnodes and nym-nodes
fixing existing unit tests in mixnet contract
wip
resolved first batch of 500 compiler errors
re-deprecating routes
making wallet's rust backend compile
fixed non-determinism in contract + nym-api build
fixes to the build
populating cotracts-cache with nym-nodes data
more missing nymnodes queries
temp mixnet contract methods + restored result submission in nym-api
allow deprecated routes
submitting correct results for mixnode results
removed deprecated re-export of AxumAppState and removed smurf naming
moved axum modules into support::http
cleaning up nym-api warnings
determine entry gateways before exits
exposed transaction to update nym-node config
missing memo for updating node config
new routes
added routes to swagger and fixed relative paths
fixed some macro derivations
added nym-node commands to nym-cli
2024-10-10 13:27:05 +01:00
Drazen Urch
e2d1806e49
Extract packet processing from mixnode-common ( #4949 )
...
* Extract packet processing from mixnode-common
* Cleanup
2024-10-07 12:00:36 +02:00
Jędrzej Stuczyński
0d2418ef6a
Merge pull request #4885 from nymtech/feature/updated-gateway-registration
...
Feature/updated gateway registration
2024-09-20 09:09:28 +01:00
Jon Häggblad
35c94f5c4b
Update cargo deny ( #4901 )
...
* Regenerate deny.toml
* Backport old settings to deny.toml
* Explicitly allow GPL-3 only on our own specific crates
* Update deny.toml for latest changes
* Fix cargo-deny warnings for duplicate crates
* Update cargo-deny-action to v2
2024-09-19 12:53:27 +02:00
Jędrzej Stuczyński
71532484a9
updated client handshake to allow derivation of different key types
2024-09-18 17:43:07 +01:00
Jędrzej Stuczyński
8756763875
added support for aead in nym-crypto
2024-09-18 17:43:06 +01:00
Jon Häggblad
ede4b23e8a
Fix clippy::too-long-first-doc-paragraph ( #4897 )
2024-09-18 10:25:49 +02:00
Jon Häggblad
086611c7ac
Use serde from workspace ( #4833 )
...
* cargo autoinherit for serde
* cargo autoinherit for bs58 and vergen in cosmwasm-smart-contracts
2024-09-16 11:16:21 +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
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
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
Jon Häggblad
4aa8cb4647
Move dalek and rand_chacha crates to workspace
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
Drazen Urch
a2d57f269d
New clippy lints ( #4660 )
...
* New clippy lints
* I guess this got removed
2024-06-17 15:29:19 +02:00
Jędrzej Stuczyński
3cbcd001f4
clippy + test build issues
2024-06-10 11:36:57 +01:00
Simon Wicky
2a1d37dd22
update crypto and rand crates
2024-05-31 11:33:16 +01:00
Jon Häggblad
9badeac832
cargo autoinherit in root workspace
2024-05-20 13:16:25 +02:00
Jędrzej Stuczyński
4c5351ba60
Feature/one binary to rule them all ( #4500 )
2024-04-05 19:34:31 +02:00
Jędrzej Stuczyński
a5a9b5128f
Merge pull request #4508 from nymtech/chore/beta-CI
...
fixed beta clippy: lints + updated cosmwasm to 1.4
2024-03-28 10:12:33 +00:00
Jędrzej Stuczyński
a3132b907a
further propagation of new gateway/key types
2024-03-27 17:20:00 +00:00
Jędrzej Stuczyński
297cde513b
turns out 'make' doesn't run cargo fmt
2024-03-27 16:11:21 +00:00
Jędrzej Stuczyński
7e6feb0cd2
fixed beta clippy: lints + updated cosmwasm to 1.4
2024-03-27 16:04:51 +00:00
Jędrzej Stuczyński
e7d0c1812a
added import commands for client binaries
2024-02-19 11:43:15 +00:00
Jon Häggblad
10ba3c2ab9
Fix printing percentage instead of fraction ( #4359 )
2024-01-29 22:53:35 +01:00
Jędrzej Stuczyński
bac0f24cf7
Feature/issued credentials api ( #4207 )
...
* split up coconut module a bit
* internal tool for watching dkg state and updating group contract
* debug dkg state
* display past dealer data
* improved EpochState Display impl
* display contract errors + advance epoch state
* check admin
* panic handler
* simplify app.rs
* split action enum
* added new tab with logger information
* new dealing display
* sort by index
* [fixedup] wip: updating epoch issued credentials - OG 92ade10384a6d7b6c6c222d2e29d69d3b3446a4c
* storing and signing partial blinded credentials
* starting cleanup
* fixed coconut tests + clippy
* fixed nym-api tests
* removed dkg-manager tool
it was moved to a different branch
* implemented remaining endpoints
* unit tests + bug fixes
* clippy
* added persistent identity keys to nym-api
theyre not yet announced - this will be in another PR
* cargo fmt
* clippy
* fixed loading of old configs without storage paths set
* added additional logs for blind-sign endpoint
* fixed up licenses
* lowercasing error variants
* changed 'issued_credentials' to a post
* added minimal client support
* fixed the unit test
2023-12-18 12:51:34 +01:00
Jon Häggblad
a2219323d1
Overide number of mix hops separately per packet ( #4205 )
...
* Try passing mix_hops all the way down the call chain
* Set zero mix_hops manually
* fix
* also set zero mix hops in tun listener
* fix
* mix hops for surbs
* Another case covered
* Remove mix_hops config from Traffic
* clippy
* Add comment about why we added new functions
* Update comment
* Add surb_mix_hops to wasm config
* Remove temporary added mix_hops = 0
* Remove another temporary added mix_hops = 0
* Add comment about the limitation of num_mix_hops
2023-12-05 16:09:15 +01:00
Jędrzej Stuczyński
f328f3fa9e
Feature/gateway api ( #3970 )
...
* Squashing all the changes
initial router
started expanding the API
initial empty openapi/swagger
populated build-info endpoint
wip: populating rest of swagger
missing swagger data + using closure capture for immutable state
running the api as a proper task in gateway 'run'
fixing some version/feature clashes
refactored routes structures
initial host information endpoint
expanded on gateway-related endpoints
signing host information
moved all models to separate crate
unified http api client
routes unification + node api client
new generic cache and refresher
nym-api caching node self described information
removed old cache type
temporarily wired up NymContractCache to NodeDescriptionProvider
caching self reported host info
clients using self-described gateway information
fixed request timeouts for wasm
fixed wasm builds
post rebase fixes
cargo fmt
brought in wg routes into nym-node router
added ErrorResponse for wireguard routes
basic swagger support for wg endpoints
turns out swagger can be happy with strongly typed requests
output type support for wg routes
using concrete error type for nym node request error
fixed the registration test
landing page configurability
increased configurability
fixed build and lints of other crates
added default user-agent to http-api-client
reduced severity of gateway details lookup failure
changed default http port from 80 to 8080
nym-api using new default port for queries
added health endpoint
nym-api trying multiple ports for the client
using camelcase for node status
corrected health endpoint description
restored and revamped 'force_tls' flag to filter all gateways that support the wss protocol
fixed 'pub_key' path param in open api schema
derived Debug on 'NymNodeDescription'
ensuring valid public ips
added init and run flags to set hostname and public ips
fixed listening address being pushed to public ip
fixed the positional local flag
logging remote ip address of the request
updated helper function to query for described gateways
enabled tls in gateway client
removed hack-opts from mix fetch
additional changes after rebasing against origin/develop
* clippy
* wasm-related target locking
* more clippy, but this time in tests
2023-10-19 12:36:53 +02:00
Jon Häggblad
369330f517
Fix clippy for latest stable toolchain ( #3935 )
...
* clippy::redundant-guards
* clippy::incorrect_partial_ord_impl_on_ord_type
* clippy::redundant-guards
* clippy::unwrap-or-default
* rustfmt
* noop_method_call
* nym-wallet Cargo.lock
* Unpin rust toolchain for nym-wallet
* cargo clippy --fix --workspace
* clippy::redundant_locals
* Reorder Makefile targets for more logical ordering
2023-10-06 11:04:26 +02:00
Jędrzej Stuczyński
4890c528bc
feat: mixFetch - the final countdown ( #3737 )
...
* mixFetch
* clippy
* removed redundant Arc over 'WasmStorage' in the 'ClientStorage'
---------
Co-authored-by: Fouad <fmtabbara@hotmail.co.uk >
2023-09-07 12:45:03 +01:00
Jon Häggblad
377c9be790
clippy --fix
2023-08-24 17:58:51 +02:00
Bogdan-Ștefan Neacșu
5620fd7009
Set sphinx as default packet type
2023-08-08 15:16:22 +02:00
Bogdan-Ștefan Neacşu
122612fa03
Apply fix from feature/ephemera to develop too ( #3698 ) ( #3742 )
2023-08-08 15:16:22 +02:00
Bogdan-Ștefan Neacşu
19736b1204
Fix develop after bad automerge ( #3712 )
2023-07-27 13:25:34 +03:00
Bogdan-Ștefan Neacşu
a47899aa77
Apply fix from feature/ephemera to develop too ( #3698 )
2023-07-27 12:18:08 +03:00
pierre
54cb7be1e1
chore: update copyright notice in comment headers
2023-06-26 16:09:24 +02:00
Jon Häggblad
4af70ef255
nym-connect: medium speed setting ( #3585 )
...
* Lock files
* Add flag to disable cover traffic
* Add flag to disable per hop delays
* Add flag to enable mixed size packets
* Add meta flag to set medium speed
* Special case zero averge hop delay to be exactly zero
* Extract out generate_hop_delays function
2023-06-22 10:55:35 +02:00
Drazen Urch
6d30e7ea8e
Adjustments to cover traffic and ack handling ( #3548 )
2023-06-13 13:07:02 +02:00
Jędrzej Stuczyński
9a68702d4d
Feature/config refactor ( #3498 )
...
* revamping mixnode connfig
* wip
* native client config revamping
* wip
* building socks5
* using const for mixnnode config template
* compiling updated gateway
* nym-api
* nym-sdk
* everything compiling once more
but definitely not compatible with CI and older versions (yet)
* creating full directory structure on init
* renamed paths to storage_paths and fixed mixnode template
* mixnode config migration
* gateway config migration
* nym-api config migration
* native client config migration
* socks5 client config migration
* NR config migration
* removed deprecations (that will be resolved in the following PRs) + fixed clippy
* nym-connect clippy
* nym-connect config updates
* outfox fixes
* defined socks5 lib config
* clippy
* fixed wasm client build
* removed explicit packet_type argument when starting base client
it's known implicitly from the previously passed config struct
* Empty commit
* fixed re-using gateway information when client configs are re-initialised
* fixed borrowing id value in nym-connect
* post-rebase fixes
* updated 'old_config' versions
---------
Co-authored-by: Tommy Verrall <tommy@nymtech.net >
2023-06-07 17:06:35 +01:00
farbanas
7c55483585
Merge branch 'master' into develop
2023-06-07 10:43:11 +02:00
farbanas
8f3d7606f5
bump crate versions
2023-06-06 10:07:06 +02:00
Drazen Urch
b5c8b69547
Outfox integration ( #3331 )
...
* Experiment with serde
* Framed encoding serde POC
* Outfox framing
* Outfox rest compat (#3333 )
* Outfox forwarding compat
* Tidy up interface
* PacketSize compat
* Address PR comments
* Rebase on develop
commit 342883fcbe
Author: durch <durch@users.noreply.github.com >
Date: Thu Apr 27 09:17:18 2023 +0200
Put back PacketType 1
commit 61a0ee5a19
Author: Tommy Verrall <tommyvez@protonmail.com >
Date: Wed Apr 26 16:37:29 2023 +0100
change output for cpu-cycle management logs
commit 3956109c7e
Author: Tommy Verrall <tommy@nymtech.net >
Date: Wed Apr 26 12:13:22 2023 +0100
change the workflow file to build with cpucycles
commit 8d725b13c5
Author: durch <durch@users.noreply.github.com >
Date: Mon Apr 24 13:14:58 2023 +0200
Outfox client compat
commit 4d166c389b
Author: durch <durch@users.noreply.github.com >
Date: Fri Apr 21 00:30:46 2023 +0200
Address PR comments
commit 145c3c1223
Author: durch <durch@users.noreply.github.com >
Date: Fri Apr 21 00:12:35 2023 +0200
Rename PacketMode
commit cbd654d6fd
Author: Drazen Urch <drazen@urch.eu >
Date: Thu Apr 20 23:59:40 2023 +0200
Outfox rest compat (#3333 )
* Outfox forwarding compat
* Tidy up interface
* PacketSize compat
commit e7be91a94c
Author: durch <durch@users.noreply.github.com >
Date: Wed Apr 19 16:36:48 2023 +0200
Remove serde cruft
commit 582e7d566a
Author: durch <durch@users.noreply.github.com >
Date: Wed Apr 19 16:24:09 2023 +0200
Outfox framing
commit 6464da5f01
Author: durch <durch@users.noreply.github.com >
Date: Tue Apr 18 22:23:02 2023 +0200
Framing compat
commit d5e77e499b
Author: durch <durch@users.noreply.github.com >
Date: Tue Apr 18 18:18:54 2023 +0200
Framed encoding serde POC
commit f086f9c35a
Author: durch <durch@users.noreply.github.com >
Date: Tue Apr 18 16:54:21 2023 +0200
Experiment with serde
* Client tweaks
* Speed up from_plaintext
* SurbAcks
* More work on the reciever end, and outfox format
* Cleanup and fmt
* Wrap up rebase
* Happy clippy
* Fix lock files
* Final cleanup
2023-05-29 10:05:11 +02:00
Jędrzej Stuczyński
28a965e698
persistent wasm client keys
2023-05-09 10:46:40 +01:00
farbanas
6209e78c1e
bump crates
2023-05-02 10:53:42 +02:00