Jędrzej Stuczyński
69718db6d2
chore: remove standalone legacy mixnode/gateway binaries ( #5135 )
...
* remove standalone gateway overhead
* remove standalone mixnode overhead
* additional cleanup: removed unused dependencies et al.
* removed calls to 'log::'
2024-11-15 12:37:35 +00:00
Jędrzej Stuczyński
b9d1fc40e7
deprecated old nym-api client methods and replaced them when possible ( #5069 )
2024-10-31 12:08:58 +00:00
Jędrzej Stuczyński
8c979e3bac
scaffolding additional skimmed endpoints + strenghten key types
2024-10-10 13:27:32 +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
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
dependabot[bot]
b6c15deae6
build(deps): bump sysinfo from 0.27.8 to 0.30.12 ( #4795 )
...
* build(deps): bump sysinfo from 0.27.8 to 0.30.12
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.27.8 to 0.30.12.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Migrade to latest sysinfo in mixnode legacy hardware
* Use workspace version
---------
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-08-27 14:44:56 +02:00
Jon Häggblad
cb4b0403b5
Remove deprecated mark_as_success and use new disarm ( #4751 )
2024-08-13 15:09:48 +02:00
Jędrzej Stuczyński
c253b22f69
fixed the positional argument
2024-07-11 16:20:20 +01:00
Jędrzej Stuczyński
66f3a3e9a8
removed mixnode/gateway config migration code and disabled commands without explicit flag
2024-07-11 15:53:10 +01:00
Bogdan-Ștefan Neacşu
2ba0ef0e35
Remove unused wg http endpoint
2024-07-02 14:09:34 +00:00
Jon Häggblad
d34c829174
Create UserAgent that can be passed from the binary to the nym api client ( #4677 )
...
* Create UserAgent that can be passed from the binary to the nym api client
* TryFrom for UserAgent to HeaderValue
* Add user agent for getting the list of gateways
* Fix wasm client
* Move clap behind feature flag in bin-common
* Implement conversion to UserAgent
* Set user_agent on base client in native and socks5 clients
* Set user agent in socks5-listener lib
* wip
* wip
* Deserialize cargo_triple to unknown by default
* Abbreviate git hash
* Remove unused import
* Add missing dep, and remove dbg statements
* Reorder string representation
* Remove commented out code
* Revert temporary log level change
2024-07-01 13:29:10 +02:00
Jon Häggblad
34ef970fd8
Move dirs 4.0 to workspace deps
2024-06-27 10:52:14 +02: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
b342eb870e
removed explicit drops
2024-05-13 11:31:34 +01:00
Tommy Verrall
1ecb57fda0
Merge pull request #4588 from nymtech/jon/explicitly-handle-sqlite-constraint-violation
...
Explicitly handle constraint unique violation when importing credential
2024-05-13 11:30:31 +01:00
Jon Häggblad
4e5c765a0d
Quickfix for unused warnings after manually disabling legacy routes for release ( #4557 )
2024-04-23 16:24:59 +02:00
Jon Häggblad
e1abbc0b5b
Disable legacy endpoints in mixnode http client ( #4556 )
2024-04-23 13:46:02 +02:00
benedettadavico
a276608fd0
updating versions and changelog
2024-04-22 15:44:16 +02:00
Jędrzej Stuczyński
78fb3c2293
run http api by default
2024-04-09 16:26:54 +01: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
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
Drazen
8d46bba8eb
Switch to IntCounter and Gauge
2024-03-27 16:28:34 +01:00
durch
e67d3d816c
Push package name to metrics
2024-03-20 12:59:10 +01:00
Drazen
5753c30973
Instrument client-core
2024-03-20 12:59:10 +01:00
Drazen
7cbba823f8
metrics macros
2024-03-20 12:59:10 +01:00
Drazen Urch
25053e5e8a
Promethus is our friend ( #4408 )
...
* Generic prom wrapper idea
* Extend packet_statistics control with prom metrics
* Replace counters with Counters
* Add legacy mixnode api route
* fmt
* Sanitize metric names
* Format metrics
* Script to make prom targets
* More metrics
* Update script
* Make sure we dont panic in the future
* Remove fragile test
* Add metrics endpoint auth
* Remove per IP metrics
* Update target script, node_exporter setup
* Remove prom from client
* Simplify node stat
* Centralize metrice, break cpucycles temporarily
* Remove prometheus from mixnode
* Add cpu-cycles to Prom
* Further centralize Registry
* Cleanup old tracing
* Remove spurious assignment
* Move cpu-cycles to metrics
* Add features
* setup_logging before logging
* Remove cpucycle measurement in favour of time
* Cleanup, hygine
2024-03-15 14:59:52 +01:00
Tommy Verrall
c7fb89bd5e
Merge pull request #4412 from nymtech/master
...
Merge Master into Develop from Latest 2024.1-marabou release
2024-02-20 18:59:01 +01:00
Tommy Verrall
87ea3fcfc4
remove extra line
2024-02-20 09:29:26 +01:00
Tommy Verrall
289343d1c8
one last tweak
2024-02-20 09:26:00 +01:00
Tommy Verrall
66a54aeab3
small formatting
2024-02-19 14:51:23 +01:00
Tommy Verrall
d6afa74284
debhelper
2024-02-19 14:40:14 +01:00
Tommy Verrall
49e2be5b04
a condition was not being met for new installs
...
therefore, input a preinst script too to back up
2024-02-19 14:37:35 +01:00
Tommy Verrall
1cfddb942b
remove line
2024-02-19 13:43:56 +01:00
Tommy Verrall
49c43617c9
include a pretty print of the service file here
2024-02-19 13:41:38 +01:00
Jędrzej Stuczyński
e7d0c1812a
added import commands for client binaries
2024-02-19 11:43:15 +00:00
Jędrzej Stuczyński
7bbac26676
replaced usage of lazy_static to oncelock for build information
2024-02-19 11:42:57 +00:00
Tommy Verrall
8e16678f74
fix syntax
2024-02-16 16:39:01 +01:00
Tommy Verrall
52c46f371e
shell
2024-02-16 16:18:11 +01:00
Tommy Verrall
3010d5192f
add helper
2024-02-16 16:00:18 +01:00
Tommy Verrall
721ad9d8bb
remove helper
2024-02-16 15:55:43 +01:00
Tommy Verrall
85803ec11c
change some of the logic
2024-02-16 15:25:25 +01:00
Tommy Verrall
83da1f228b
debian package changer
...
- instead of dealing with the complexities of initing the builds, it's a complex beast for automagically guessing a user config for a binary
- therefore, find their existing binary, move the executable from /usr/bin/ then find and replace it with their current set up
- a user then can do sudo apt install nym-gateway && systemctl restart nym-gateway.service
- script tells the user a few key things too
2024-02-16 14:05:53 +01:00
benedettadavico
3771cb9188
Update changelog and bump versions
2024-02-14 11:55:30 +01:00
durch
f98698a121
Clean up git
2024-01-26 09:50:18 +01:00
Jędrzej Stuczyński
3f504d7500
fixed builds of other binaries
2024-01-09 11:03:05 +01:00
Jędrzej Stuczyński
b4b32bb907
wip
2024-01-09 10:59:52 +01:00
Jon Häggblad
f4dd9a915d
Add some license entries to Cargo.toml files ( #4250 )
...
* Add Apache 2.0 to bunch of common crates
* Allow some basic licenses
* Add more licenses
2023-12-19 09:21:33 +01:00