Commit Graph

9668 Commits

Author SHA1 Message Date
Jędrzej Stuczyński 2d5b614777 additional bugfixes and guards against stuck epoch 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 6720f9db74 bug fixes... 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński e3c1e0c485 v2 nym-api endpoints to retrieve nodes with additional metadata information 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński f1aecd0f80 split nym-nodes http handlers 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 0c653cef51 retrieving rotation id when pulling topology 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 58087a029b controlling announced sphinx keys within nym-api 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 80a94db2b9 added a dedicated CacheRefresher listener to perform full refresh outside the set interval 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 42b037c6b4 split up node describe cache 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński c0435c9a3d fixed backwards compatible deserialisation of host information 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński ba79b1e4c6 dont use deprecated fields 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 78e0111d8c split http state.rs file 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 3eabd2aa3a fixes due to backwards compatible hostkeys 2025-06-03 09:34:25 +01:00
Jędrzej Stuczyński 1364b4d134 post rebase fixes 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 61dd59ff9d most of nym-node changes 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 8bcbb69889 flushing bloomfilters to disk and loading 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 8b0d9a00ec wired up KeyRotationController 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 5ba44b5bdf rotating bloomfilters 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 90d6dddd32 fixed sphinx key loading 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 8544c2eb2e processing loop of KeyRotationController 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 3a01d6bf2d wip: putting new sphinx keys to self described endpoints 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 440a0dc6a4 logic for migrating config file 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 90b48b4294 rotating sphinx key files 2025-06-03 09:34:24 +01:00
Jędrzej Stuczyński 874d4c70d6 multi api client + retrieving rotation id 2025-06-03 09:34:23 +01:00
Jędrzej Stuczyński 73860e253a finish packet decoding 2025-06-03 09:33:43 +01:00
Jędrzej Stuczyński f06ad1d51c unified nym-api contract cache refreshing 2025-06-03 09:33:43 +01:00
Jędrzej Stuczyński 0177f6f2f7 wip: introducing cached queries for key rotation info from nym api 2025-06-03 09:33:43 +01:00
Jędrzej Stuczyński 8eb45c2f7a added basic key rotation information to mixnet contract 2025-06-03 09:33:43 +01:00
Jędrzej Stuczyński a0c6ab8f83 attaching key rotation information to reply surbs 2025-06-03 09:33:42 +01:00
Jędrzej Stuczyński b95afd11af further propagation of key rotation information 2025-06-03 09:33:42 +01:00
Jędrzej Stuczyński 85b51f21e5 wip: choosing correct key for packet processing 2025-06-03 09:33:42 +01:00
Jędrzej Stuczyński 30163a0174 wip: wrap node's sphinx key with a manager 2025-06-03 09:33:42 +01:00
Jędrzej Stuczyński 4139a6a675 wip 2025-06-03 09:33:42 +01:00
Jack Wampler 8384a411df Bug Fix for Wallet build (#5820)
revert url used for connection-tester
2025-06-02 14:19:43 -06:00
Jack Wampler c56ebd9ceb Url scheme warning log (#5819)
fix conditions for logging about url scheme
2025-06-02 09:11:16 -06:00
Jędrzej Stuczyński b081b20a83 chore: adjust heuristic for wireguard peer activity (#5818)
* chore: adjust heuristic for wireguard peer activity

* fixed incorrect delta_tx calculation + typo
2025-06-02 15:37:37 +01:00
Andrej Mihajlov 866d547745 Merge pull request #5795 from nymtech/am/update-sqlx-0.8.6
Update to sqlx 0.8.6
2025-06-02 13:23:09 +02:00
Andrej Mihajlov 64e3f066a7 Use type override to enforce i64 type instead of Option<i64> 2025-05-30 10:17:19 +02:00
Andrej Mihajlov 62520c9308 Update sqlx cache 2025-05-30 09:28:48 +02:00
Andrej Mihajlov e65d455c91 Switch counters to i64 since sqlx started giving it back 2025-05-30 09:28:48 +02:00
Andrej Mihajlov 9b9c82a02a Run unchecked as sqlx does not understand COALESCE on NULL value 2025-05-30 09:28:48 +02:00
Andrej Mihajlov 1a38a2503e Stick to OffsetDateTime 2025-05-30 09:28:48 +02:00
Andrej Mihajlov 318f293983 All count() calls return i64 from now on 2025-05-30 09:28:48 +02:00
Andrej Mihajlov 5f2aba19c2 Update to sqlx 0.8.6 2025-05-30 09:28:48 +02:00
Jack Wampler 814ee45b4d HTTP Client Retries, Fallbacks, and Redirects (#5789)
updates to nym HTTP api client with multiple features relating to request domains
2025-05-29 10:37:07 -06:00
dynco-nym 56ed915626 Replace chrono with time in NS API (#5811)
* Replace chrono with time in NS API

* Replace chrono in client

* Bump package version
2025-05-29 16:33:00 +02:00
Jędrzej Stuczyński 2de8f8bc21 feature: nympool contract (#5464)
* squashed nym-pool commits

initialised nym-pool contract and updated all bls12_381 to make it possible

create scaffolding for tests

ability to control the contract admin

introducing contract grants

grant type validation

basic grant operations + stubs for other messages

added queries

use transaction stubs

added expiration information to grant queries

setting initial grant state based on the current environment

allowance logic for attempting to spend part of a grant

implemented all remaining transactions

made public api for coin locking perform validation

tests for locked tokens storage

nympool storage tests

added messages for changing granter set

tests and fixes for sufficient tokens when inserting grants

tests for initial state + more bugfixes

queries tests

additional tests for transactions and fixes

post rebase fixes

updated contract dependencies

removed redundant wasm constructor

dont ask me why this suddenly became an issue - no clue

removed redundant wasm constructor

dont ask me why this suddenly became an issue - no clue

* missing schema + added nym_pool to the main Makefile
2025-05-29 10:31:01 +01:00
import this f04cb6f6a6 [DOCs/operators]: Release notes v2025.10-brie (#5808)
* finish release notes and operator updates

* add NSL update - ready for merge

* address review comment
2025-05-28 11:59:35 +00:00
dynco-nym 4c67f01efb Make address cache configurable (#5784)
* Make address cache configurable

* TestFixture
2025-05-28 10:41:12 +02:00
Simon Wicky b69c2e1e94 Nym Statistics API (#5800)
* move stats types from vpn-client to here

* base stats api

* change storage schema

* add link to nymAPI for whitelisting

* remove outdated comment

* more comments update

* example of chrono vs time

* Add build.rs
- exports DATABASE_URL so cargo check works
- exports SQLX_OFFLINE for CI
- added pg_up.sh which spawns PG container
  - required for cargo sqlx prepare

* fixes time vs chrono issue and cleaner build with docker

* add correct swagger types, with feature locking where relevant

* apply dynco suggestions

---------

Co-authored-by: dynco-nym <173912580+dynco-nym@users.noreply.github.com>
2025-05-28 10:23:11 +02:00
benedetta davico d27e3b49db Merge pull request #5806 from nymtech/release/2025.10-brie 2025-05-28 09:38:36 +02:00