Simon Wicky
d4d55d11f0
fix tests api tests and add constants
2024-05-07 13:51:28 +02:00
Simon Wicky
c76c8e5b4c
credential import
2024-05-07 13:51:28 +02:00
Simon Wicky
0d69bfbef7
client ask for more bandwidth if it runs out
2024-05-07 13:51:27 +02:00
Simon Wicky
facc1338aa
API routes in the client lib
2024-05-07 13:51:27 +02:00
Simon Wicky
4cc1b65e0a
credential storage for spending on client
2024-05-07 13:51:26 +02:00
Simon Wicky
3c7b7c7a8f
credential preperation for the client
2024-05-07 13:51:26 +02:00
Simon Wicky
82d427aa60
credential spending models for client
2024-05-07 13:51:26 +02:00
Simon Wicky
7247e11b9e
freepass issuance client side
2024-05-07 13:51:25 +02:00
Simon Wicky
0c1eb4a2ce
utils for credential issuance
2024-05-07 13:51:25 +02:00
Simon Wicky
0e8742579c
credential and signature storage client side
2024-05-07 13:51:25 +02:00
Simon Wicky
e968a271ce
add issuance logic client-side
2024-05-07 13:51:25 +02:00
Simon Wicky
2194b05310
change contract traits from coconut to ecash
2024-05-07 13:50:18 +02:00
Simon Wicky
5195a71251
add ecash smart contract
2024-05-07 09:42:52 +02:00
Simon Wicky
b1114536ea
minor changes in coconut benchmarks
2024-05-07 09:38:55 +02:00
Simon Wicky
98be79d309
add offline ecash library
2024-05-07 09:38:06 +02:00
Jon Häggblad
7bbe153b8f
Add AuthenticationFailureWithPreexistingSharedKey and a few log statements ( #4568 )
2024-05-03 09:53:53 +02:00
Jon Häggblad
1f2d888626
Handle selected gateway in rust sdk ( #4515 )
...
* Set active gateway after setting up gateway in base client
* Elevate log statements in gateway setup
* Add debug implementations for some gateway setup types
* Rework gateway setup in rust sdk mixnet client
* Remove unused KeyMode type
* Remove pub from internal setters
* Remove pseudo builder methods
* Make create_bandwidth_client pub
* Downgrade log statement to debug
* Revert set_active_gateway in base_client
* Rename to set_active_gateway_if_previously_registered
2024-04-15 14:11:26 +02:00
Jędrzej Stuczyński
1c93cc8a68
Merge pull request #4437 from nymtech/feature/freepass-expiration
...
expire freepass bandwidth + stagger db flushes
2024-04-12 17:48:37 +01:00
Jędrzej Stuczyński
4865f7f205
[bugfix] Prevent generation of free passes with expiry date in the past ( #4535 )
2024-04-12 17:44:32 +02:00
Jędrzej Stuczyński
a785950d76
[bugfix] don't shutdown NR on failed connection ( #4539 )
2024-04-12 17:43:22 +02:00
Jędrzej Stuczyński
f826904407
fix credential expiration + improve errors + naively stop client when out of bandwidth
2024-04-12 15:00:49 +01:00
Jędrzej Stuczyński
210269cb9c
[bugfix] restore old serialisation of 'NymNodeDescription' ( #4533 )
2024-04-11 10:11:46 +02:00
Tommy Verrall
264771f8cf
Merge pull request #4428 from nymtech/sachin/delegate_from_file
...
nym-cli: delegations from a file
2024-04-10 15:36:11 +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
2aa5e25532
removed the usage of allow.list
2024-03-28 15:43:36 +00:00
Jędrzej Stuczyński
519d419bbf
bugfix: use OptionFuture for creating metrics server
2024-03-28 15:16:28 +00: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
91b790accc
fixed incorrect ArgGroup naming
2024-03-28 09:30:27 +00:00
Jędrzej Stuczyński
c585753d02
removing unused code
2024-03-28 09:10:57 +00:00
Jędrzej Stuczyński
0b46d64869
cargo fmt
2024-03-28 08:57:17 +00:00
Jędrzej Stuczyński
8fa213502d
removed force register flag + improved error message on no gateways available
2024-03-28 08:11:57 +00:00
Jędrzej Stuczyński
b869c30909
added extra alias
2024-03-27 17:22:30 +00:00
Jędrzej Stuczyński
74d03bfb3b
moved for adding new gateways to separate command and made client init only first time setup related
2024-03-27 17:22:30 +00:00
Jędrzej Stuczyński
dcd3d80b24
fixed post-rebasing clippy issues
2024-03-27 17:22:28 +00:00
Jędrzej Stuczyński
36f84ca18f
fixed typo in SQL query
2024-03-27 17:20:39 +00:00
Jędrzej Stuczyński
6259106b6b
fixed embedded SP not correctly setting active gateway
2024-03-27 17:20:39 +00:00
Jędrzej Stuczyński
73d6e704c4
fixed gateway not generating keys for nr and ipr
2024-03-27 17:20:39 +00:00
Jędrzej Stuczyński
c95e424981
missing licenses for new crates
2024-03-27 17:20:39 +00:00
Jędrzej Stuczyński
7c14a92baa
decreased logging level
2024-03-27 17:20:38 +00:00
Jędrzej Stuczyński
c07b782afa
added bool to list gateways to indicate currently active gateway
2024-03-27 17:20:38 +00:00
Jędrzej Stuczyński
062f4517d6
added cli command for switching active gateway
2024-03-27 17:20:38 +00:00
Jędrzej Stuczyński
28b02c83db
unified credential import cli + added it for ipr
2024-03-27 17:20:36 +00:00
Jędrzej Stuczyński
1b5a0f8cf2
list gateways cli command
2024-03-27 17:20:04 +00:00
Jędrzej Stuczyński
6c0573cb01
split up InitialisableClient trait
2024-03-27 17:20:04 +00:00
Jędrzej Stuczyński
0ac8098dad
ability to reuse free passes from the storage for new gateways
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
e48af11e8f
clippy et. al
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
a4e5b2af93
further wasm fixes
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
67c5a36894
building wasm-client-core
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
765ac715c1
fixing builds of x86-based binaries
2024-03-27 17:20:03 +00:00
Jędrzej Stuczyński
c4bc156cac
actual sql
2024-03-27 17:20:03 +00:00