Maxime Van Hees
f8b98b2d83
Added functionality to CHANGELOG
2024-06-05 15:37:15 +02:00
Maxime Van Hees
d0e3fa0d76
Removed unused import
2024-06-05 15:34:26 +02:00
Maxime Van Hees
b86d5ba054
Listing selected and fallback routes with CLI (table and json format)
2024-06-05 15:26:30 +02:00
Maxime Van Hees
9841e1ef75
Printing peers list in JSON using --json
2024-06-05 08:20:31 +02:00
Maxime Van Hees
9fc44174c9
Changed 'connected' to 'connection' in table
2024-06-04 16:41:35 +02:00
Maxime Van Hees
6551067bb4
Better format rx/tx bytes + typo
2024-06-04 16:39:19 +02:00
Maxime Van Hees
aace33b577
Implemented Display trait for ConnectionState and PeerType + code cleanup
2024-06-04 16:11:18 +02:00
Maxime Van Hees
a38dbfefa4
API functions for peers (list, add, remove) with CLI
2024-06-04 14:59:06 +02:00
Lee Smet
13d765e057
Use default feasibility distance for seqno request
...
In case the source table has no feasibility distance, use a default one
instead of silently dropping the request.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-04 14:40:56 +02:00
Lee Smet
7c637ff2bb
Fall back to all known peers to send seqno
...
In case the route is not known at all (this could happen in rare cases
were a seqno request is forwarded from a peer, for instance), the
request would be silently dropped. Know we shell out to all known peers.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-04 14:10:24 +02:00
Lee Smet
3975a23e6c
Add tests for SourceTable::route_feasible
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-04 11:23:21 +02:00
dependabot[bot]
e10651e2c6
Bump nix from 0.28.0 to 0.29.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.28.0 to 0.29.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-04 09:45:56 +02:00
dependabot[bot]
e407cd65a9
Bump rustls from 0.23.8 to 0.23.9
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.8...v/0.23.9 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-04 09:45:44 +02:00
dependabot[bot]
422a26bc54
Bump tokio from 1.37.0 to 1.38.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-04 09:45:34 +02:00
dependabot[bot]
22f8d5a4b6
Bump netdev from 0.26.0 to 0.27.0
...
Bumps [netdev](https://github.com/shellrow/netdev ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/shellrow/netdev/releases )
- [Commits](https://github.com/shellrow/netdev/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: netdev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-04 09:45:20 +02:00
Lee Smet
a71235a890
Remove clippy suspicious arithmetic lint override
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-03 16:43:30 +02:00
Lee Smet
936999e893
Update SourceTable test names
...
Make it clear this handles update feasibility
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-03 16:13:52 +02:00
Lee Smet
c2c1243876
Add unit tests for SourceTable::is_update_feasible
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-06-03 15:35:26 +02:00
Maxime Van Hees
959cc7fd44
Fixed operation id in API docs
2024-05-31 13:42:21 +02:00
Maxime Van Hees
2ce576093d
added api endpoint to get public key associated with an IP
2024-05-31 13:42:21 +02:00
Lee Smet
388b240c3f
Remove obsolete api module from myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-31 11:14:43 +02:00
Maxime Van Hees
553be70501
additions to Cargo.toml + adding lock files
2024-05-31 09:34:12 +02:00
Maxime Van Hees
98f19f6071
api extraction: add myceliumd-private & updated Cargo.toml file
2024-05-31 09:34:12 +02:00
Maxime Van Hees
73d3b1bf95
extracted api into mycelium-api crate
2024-05-31 09:34:12 +02:00
Lee Smet
385af57ffb
Make PeerState::new private
...
Since PeerState itself is private, it makes no sense to have the new
function marked public.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-30 16:26:08 +02:00
Iwan Budi Kusnanto
24600ff2f0
fix(android): handle second tracing init. ( #273 )
...
* fix(android): handle second tracing init.
ignore error when register the tracing subscriber as global default
because it is harmless.
* fix(mobile): call tracing init only once.
Call it once with lazy_static
2024-05-30 09:54:03 +02:00
Lee Smet
da962db704
Fix seqno cache cleaning calculation
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-29 10:29:39 +02:00
Lee Smet
f41811b669
Kill peer connection if router appears to be gone
...
If the router is gone (or the receiver of the packet forward channels,
at least), peers got stuck repeatedly trying to forward packets to said
router.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-29 09:56:04 +02:00
dependabot[bot]
1764d7dd30
Bump quinn from 0.11.0 to 0.11.1
...
Bumps [quinn](https://github.com/quinn-rs/quinn ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/compare/0.11.0...0.11.1 )
---
updated-dependencies:
- dependency-name: quinn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 15:57:32 +02:00
Lee Smet
b9a1c9859b
Swap myceliumd-private metrics to mycelium-metrics
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 14:31:00 +02:00
Lee Smet
6a4bf39173
Remove myceliumd metrics for mycelium-metrics
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 14:28:27 +02:00
Lee Smet
148283db39
Add metrics implementations in mycelium-metrics
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 14:21:59 +02:00
Lee Smet
f4e034826a
Init prometheus-metrics
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:49:51 +02:00
Lee Smet
00f4cb23d9
Point binary README's to own directory
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:46:55 +02:00
Lee Smet
038d4f7df3
Add note for mycelium-private public functionality
...
It can connect to the public network for now but that is not guaranteed
to stay that way.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:32:52 +02:00
Lee Smet
489ffa9c2d
Update private network docs
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:31:30 +02:00
Lee Smet
4a0c820d83
Add small README.md to myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:28:26 +02:00
Lee Smet
ceb0370ef7
Add small README.md to myceliumd
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:21:44 +02:00
Lee Smet
8d4cf0a8d6
Adapt github release workflow
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 13:03:29 +02:00
Lee Smet
f9fb02b616
Add lock file for myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 12:10:18 +02:00
Lee Smet
0959c3011d
Add separate binary changes in CHANGELOG.md
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 12:05:06 +02:00
Lee Smet
f46b58e6d9
Update flake dependencies to latest
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 12:03:14 +02:00
Lee Smet
246b7a7eab
Try to build binaries in flake
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 12:02:28 +02:00
Lee Smet
87db38a9a0
Update ci.yaml to build and check binaries
...
Since they are no longer part of the workspace
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 11:07:42 +02:00
Lee Smet
a456f0ec77
Remove binaries from cargo workspace
...
To avoid the resolver building the regular binary with private network
related code. In the future the regular binary might become part of the
workspace again, TBD.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2024-05-28 11:01:32 +02:00
dependabot[bot]
fdf6b2d454
Bump etherparse from 0.14.3 to 0.15.0
...
Bumps [etherparse](https://github.com/JulianSchmid/etherparse ) from 0.14.3 to 0.15.0.
- [Release notes](https://github.com/JulianSchmid/etherparse/releases )
- [Changelog](https://github.com/JulianSchmid/etherparse/blob/master/changelog.md )
- [Commits](https://github.com/JulianSchmid/etherparse/compare/v0.14.3...v0.15.0 )
---
updated-dependencies:
- dependency-name: etherparse
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 10:47:58 +02:00
dependabot[bot]
b2aef5b840
Bump serde from 1.0.202 to 1.0.203
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.202 to 1.0.203.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 10:47:29 +02:00
dependabot[bot]
1a81ca2f9f
Bump nix from 0.28.0 to 0.29.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.28.0 to 0.29.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 10:47:14 +02:00
dependabot[bot]
15f44fb5a8
Bump rustls from 0.23.7 to 0.23.8
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.7 to 0.23.8.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.7...v/0.23.8 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 10:44:41 +02:00
Iwan BK
b0bdada330
feat(mobile): set log level for android & iOS.
...
- INFO as default log level
- WARN as log level for mycelium:router module
2024-05-28 10:44:27 +02:00