Jędrzej Stuczyński
76c3081470
introduced rewarding resync alongside recovery instructions
2024-09-27 16:41:07 +01:00
Jędrzej Stuczyński
d399161d31
adjust 'process_until' command to allow empty stop height
2024-09-27 16:35:53 +01:00
Jędrzej Stuczyński
74392a2886
don't request useless blocks during startup sync
2024-09-27 15:53:16 +01:00
Jędrzej Stuczyński
457c478a03
introduced cli command to process a block range
2024-09-27 15:15:13 +01:00
Jędrzej Stuczyński
5e95992427
introduced cli command to process an individual block
2024-09-27 14:57:39 +01:00
Jędrzej Stuczyński
d7eecd481c
decreased SOCKET_FAILURE_RESET
...
the previous value of 2h was way too big. especially since it was quite likely for multiple failures to occur hourly during increased validator load when mixnet epoch was getting transitioned
2024-09-27 14:13:09 +01:00
Bogdan-Ștefan Neacşu
fabd48b7ea
Fix broken build after merge ( #4937 )
2024-09-26 18:44:21 +02:00
Bogdan-Ștefan Neacşu
894e0bd1bf
Add more conversions for responses of authenticator messages ( #4929 )
...
* More conversions for responses
* Expose version
2024-09-26 18:00:13 +02:00
Jędrzej Stuczyński
333ace1f97
Merge branch 'release/2024.11-wedel' into feature/wedel-merge-conflicts
2024-09-26 08:56:11 +01:00
Jon Häggblad
1627146c0e
Make ip-packet-request VERSION pub ( #4925 )
2024-09-25 09:56:32 +02:00
Bogdan-Ștefan Neacşu
1bc26ed79f
Expose error type ( #4924 )
2024-09-24 11:48:54 +02:00
Jon Häggblad
3b7088aeea
Fix nymvpn.com url in mainnet defaults ( #4920 )
2024-09-24 10:25:27 +02:00
Bogdan-Ștefan Neacşu
179d214e21
Check both version and type in message header ( #4918 )
...
* Move client type to the client code
* Check both version and type in header
2024-09-23 17:57:03 +02:00
Jon Häggblad
2a94ce6443
Bump http-api-client default timeout to 30 sec ( #4917 )
2024-09-23 15:45:47 +02:00
Bogdan-Ștefan Neacşu
95ec91daa1
Entry wireguard tickets ( #4888 )
...
* Create credential verifier in authenticator
* Add new version of peer storage with client id
* Fix v1 to what it was before
* Compact storage into ecash verifier
* Fix non-linux build
* Less overlapping conditions
* Remove moved code
* Use handler thread for each peer
* Re-spawn stored handles at startup
* Keep new function without async & Result
* Put query peer in function too
* Query bandwidth
* Fix clippy
* Replace tap with inspect_err
* Fix copyright year
* Handle version 2 on the reqeust deser
* Add protocol type in req/resp messages
2024-09-23 14:49:18 +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
Bogdan-Ștefan Neacşu
6f0c8dbe73
Fix missing duplication of modified tables ( #4904 )
2024-09-19 18:25:21 +02:00
Jędrzej Stuczyński
be7f00fe52
replaced an assertion with an error return instead
2024-09-19 15:59:04 +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
f5863b9668
fixed client key upgrade due to extra Arc
2024-09-19 11:06:50 +01:00
dependabot[bot]
963c54fea2
build(deps): bump semver from 0.11.0 to 1.0.23 ( #4881 )
...
* build(deps): bump semver from 0.11.0 to 1.0.23
Bumps [semver](https://github.com/dtolnay/semver ) from 0.11.0 to 1.0.23.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/0.11.0...1.0.23 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update for 1.0
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
2024-09-19 11:55:10 +02:00
dependabot[bot]
db55a96f91
build(deps): bump toml from 0.5.11 to 0.8.14 ( #4805 )
...
* build(deps): bump toml from 0.5.11 to 0.8.14
Bumps [toml](https://github.com/toml-rs/toml ) from 0.5.11 to 0.8.14.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.5.11...toml-v0.8.14 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Use workspace dependency
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
2024-09-19 11:10:34 +02:00
Jędrzej Stuczyński
7c0235ab26
fixed wasm build and trait impl
2024-09-19 10:06:59 +01:00
Jędrzej Stuczyński
3dc62a9a60
Merge pull request #4892 from nymtech/bugfix/ticketbook-false-double-spending
...
Bugfix/ticketbook false double spending
2024-09-19 09:44:43 +01:00
Jędrzej Stuczyński
b3d7c26443
added key upgrade mechanism
2024-09-18 17:43:47 +01:00
Jędrzej Stuczyński
9efeef881a
split types.rs + added additional helpers
2024-09-18 17:43:44 +01:00
Jędrzej Stuczyński
9d8369a5b2
generate pseudorandom salt for deriving aes256gcm-siv key
2024-09-18 17:43:43 +01:00
Jędrzej Stuczyński
cc32eb3904
fixed wasm build
2024-09-18 17:43:43 +01:00
Jędrzej Stuczyński
8cf4977021
assert new gateway keys zeroize on drop
2024-09-18 17:43:43 +01:00
Jędrzej Stuczyński
2c2748832c
cargo fmt
2024-09-18 17:43:42 +01:00
Jędrzej Stuczyński
114db3c1cf
post-rebasing fixes
2024-09-18 17:43:42 +01:00
Jędrzej Stuczyński
b6f07fbfce
warning for unimplemented upgrade
2024-09-18 17:43:42 +01:00
Jędrzej Stuczyński
c39d42b7dd
fixed deserialisation of updated gateway shared materials
2024-09-18 17:43:41 +01:00
Jędrzej Stuczyński
21e9df488f
compatibility with legacy clients
2024-09-18 17:43:40 +01:00
Jędrzej Stuczyński
94113206b2
completing handshake using legacy keys
2024-09-18 17:43:07 +01: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
Jędrzej Stuczyński
5753b79997
slightly refactored bandwidth tracking
2024-09-18 11:27:35 +01:00
Jędrzej Stuczyński
2a6aa13ecd
fixed client bandwidth being not correctly deducted
2024-09-18 11:12:24 +01:00
Jon Häggblad
ede4b23e8a
Fix clippy::too-long-first-doc-paragraph ( #4897 )
2024-09-18 10:25:49 +02:00
Jędrzej Stuczyński
c8c3928575
put client bandwidth (gateway-side) behind shared pointer
2024-09-17 18:40:24 +01:00
Jędrzej Stuczyński
2fa8da8117
making sure there can be only a single client task claiming more bandwidth
2024-09-17 18:39:49 +01:00
Jędrzej Stuczyński
48bcd7e802
fix: allow updating globally stored signatures
2024-09-17 14:21:42 +01:00
Jędrzej Stuczyński
a708fa2d4a
Merge pull request #4873 from nymtech/feature/stateless-gateway-requests
...
allow clients to send stateless gateway requests without prior registration
2024-09-16 17:00:15 +01: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
Bogdan-Ștefan Neacşu
9c514fe3b7
Fix snake case serde ( #4875 )
2024-09-13 11:53:39 +02:00
Jędrzej Stuczyński
a4b47ef3a5
allow clients to send stateless gateway requests without prior registration
2024-09-12 15:57:38 +01:00
Bogdan-Ștefan Neacşu
6db3b34bcb
Bump defguard to github latest version ( #4872 )
...
* Bump defguard to github latest version
* Fix comment location
2024-09-12 13:49:33 +02:00
Bogdan-Ștefan Neacşu
47303bcf48
Gateway database modifications for different modes ( #4868 )
...
* Gateway db modifications for different modes
* Add exit mixnet and replace whitespaces
2024-09-12 11:58:20 +02:00
dependabot[bot]
f616b3c15a
build(deps): bump strum from 0.25.0 to 0.26.3 ( #4848 )
...
* build(deps): bump strum from 0.25.0 to 0.26.3
Bumps [strum](https://github.com/Peternator7/strum ) from 0.25.0 to 0.26.3.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits/v0.26.3 )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update to handle deprecation error
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
2024-09-11 23:18:11 +02:00