aniampio
7fcd246089
Start the spend function and zkproof for spend
2023-12-07 09:35:54 +01:00
aniampio
f384338f0f
Add new aggregation function and struct for the aggregated wallet
2023-12-07 09:35:54 +01:00
aniampio
0114743db9
Add aggregation into e2e tests
2023-12-07 09:35:54 +01:00
aniampio
9776bfb0b0
Copy and adjust aggregation of verification keys from coconut
2023-12-07 09:35:52 +01:00
aniampio
0526b3e6b4
Fix bug in the issuance verification
2023-12-07 09:35:37 +01:00
aniampio
d00bef2ddf
Fix a bug in the commitment computation
2023-12-07 09:35:37 +01:00
aniampio
a0c81c982c
Copy polynomial and ttpcode from Coconut; add first test; add keypair structures
2023-12-07 09:35:37 +01:00
aniampio
32ba1c7c18
Add zk proof for withdrawal request
2023-12-07 09:35:35 +01:00
aniampio
bea8e4a881
Add initial functions
2023-12-07 09:34:41 +01:00
aniampio
9558c3deb2
Add template for the compact ecash crate
2023-12-07 09:33:00 +01:00
mx
74481003e6
made taskclient shutdown log more verbose ( #4134 )
...
* made taskclient shutdown log more verbose
* fmt
* changed 'disconnect' to 'shutdown' in 'task client is being dropped' log
2023-12-06 10:25:00 +01:00
Jon Häggblad
ac14382a08
Change to Option in new_regular_with_custom_hops
2023-12-05 20:30:20 +01:00
Jon Häggblad
0e26a6efdf
Register num_hops
2023-12-05 20:30:20 +01:00
Jon Häggblad
a2219323d1
Overide number of mix hops separately per packet ( #4205 )
...
* Try passing mix_hops all the way down the call chain
* Set zero mix_hops manually
* fix
* also set zero mix hops in tun listener
* fix
* mix hops for surbs
* Another case covered
* Remove mix_hops config from Traffic
* clippy
* Add comment about why we added new functions
* Update comment
* Add surb_mix_hops to wasm config
* Remove temporary added mix_hops = 0
* Remove another temporary added mix_hops = 0
* Add comment about the limitation of num_mix_hops
2023-12-05 16:09:15 +01:00
Jędrzej Stuczyński
2e077ca946
basic draft of all tasks
2023-12-04 12:12:54 +00:00
Jędrzej Stuczyński
95e9a96ae1
wip
2023-12-04 12:12:52 +00:00
Jędrzej Stuczyński
aaeb6a7cbf
attaching file watcher to upgrade-plan.json
2023-12-04 12:10:47 +00:00
Jędrzej Stuczyński
12497f3222
not errorring out if genesis or current already exist (and match up)
2023-12-04 12:10:46 +00:00
Jędrzej Stuczyński
4a5a6d366c
conditionally enabling logging
2023-12-04 12:10:46 +00:00
Jędrzej Stuczyński
b8036031ba
first part of nymvisor initialisation
2023-12-04 12:10:45 +00:00
Jon Häggblad
49b4217cc0
Enable static_secrets feature to fix build ( #4208 )
2023-12-01 22:03:27 +01:00
Jon Häggblad
b1fa70a232
Sort out task flow in ip packet router ( #4200 )
...
* Create separate tun listener task
* log tweaks
* typo
* typo in log
* Add sync event
* typo in log
* Add note
* Switch to unbounded channel
* tweak log
* Handle tun device directly in ip-packet-router
* clippy
* update comment
* Fix mac build
* allow unused imports on non-linux
* listen for shutdown in tun listener
* log tweaks
2023-11-30 11:40:43 +01:00
Bogdan-Ștefan Neacşu
03b4c87115
Feature/kernel wg gw ( #4197 )
...
* Kernel wg mode in gateway
* Cleanup boringtun code
* Fix clippy
* Fix feature flag missing
* Remove even more and get rid of boringtun
* Fix bad merge
2023-11-30 04:06:57 +01:00
Jon Häggblad
115cae54a0
IPR: use passthrough mode for the tun crate ( #4196 )
...
* Add Passthrough mode to tun device crate
* Use passthrough mode in ipr
* Only parse dst address for response packets
2023-11-29 15:39:45 +01:00
Jon Häggblad
5832144ce6
clippy::map_identity ( #4195 )
2023-11-29 09:29:59 +01:00
Jon Häggblad
4a8c09f476
Handle dynamic ip allocation in ip packet router ( #4186 )
...
* Add dynamic connect support to ip packet router
* Disconnect inactive clients
* Don't generate ip same as tun device
* clippy
* Extract a few functions to separate mod
* clippy
2023-11-27 15:31:35 +01:00
Jon Häggblad
44395f8466
Implement ip-packet-router connect request response outline ( #4177 )
...
* Try revised request response connect types
* wip: try to get data requests work
* Also serialize response
* tweak log
* Add code path for connect response fail
* Convenience functions on ip packet request
* Remove commented out code
* Restore log to debug
2023-11-27 12:17:58 +01:00
Jędrzej Stuczyński
39d714f2c0
Merge pull request #4171 from nymtech/research/partial_blind_signature_verification
...
Research/partial blind signature verification
2023-11-27 09:57:44 +00:00
Jon Häggblad
336f220c83
Fix some clippy for beta toolchain ( #4182 )
2023-11-27 10:52:18 +01:00
Tommy Verrall
6b2c13b3fd
Merge pull request #4126 from nymtech/chore/adjust-selection-weights
...
using performance^20 when calculating active set selection weight
2023-11-27 07:46:57 +00:00
Bogdan-Ștefan Neacşu
bd830780e1
Add wireguard_mode flag to SDK ( #4168 )
...
* Add wireguard_mode flag to SDK
* Add to builder in sdk too
* Move hardcoded IP in a lighter crate
* Put in network defaults
* Fix linux
* Move wireguard mode swap before init
* Use the updated gateway hosts
* Set wireguard IP even for pre-inited mix client
* Fix typo
2023-11-24 16:20:22 +01:00
Jon Häggblad
c79d864c3d
Merge remote-tracking branch 'origin/master' into develop
2023-11-24 14:23:49 +01:00
Jędrzej Stuczyński
d92c8c4149
deal with the pow error during stake adjustment
2023-11-24 09:40:17 +00:00
Jędrzej Stuczyński
4c8fa74dfe
remove the panic
2023-11-24 09:31:46 +00:00
Jon Häggblad
177cb22a3f
Fix action controller stopping too early ( #4170 )
...
* Stop ActionController only after both incoming channels closed
* Downgrade task getting dropped message to debug level
* The warning to the user is not a warning that things didn't work
* rustfmt
* fix channel close logic
* Don't close real traffic stream and sent notification listener too aggressively
2023-11-23 12:44:25 +01:00
Jędrzej Stuczyński
b1ac5b4e86
using multimiller loop for partial blinded signature verification
2023-11-23 11:21:47 +00:00
aniampio
ae22a132a3
Update benchmarks
2023-11-23 11:21:47 +00:00
aniampio
d0b9583b79
Add benchmark for verification of a single partial blind signature
2023-11-23 11:21:46 +00:00
aniampio
1f5568b4a7
Extend the function to support also public attributes
2023-11-23 11:21:46 +00:00
aniampio
16f51a0014
Add documentation to the verification function
2023-11-23 11:21:46 +00:00
aniampio
5e8767c5d6
Update tests
2023-11-23 11:21:46 +00:00
aniampio
15abfb390f
Make the function more generic
2023-11-23 11:21:46 +00:00
aniampio
45e5f12198
Add function to verify partial blind signature
2023-11-23 11:21:46 +00:00
Tommy Verrall
5eda5cc35d
amending gas adjustment to prevent tx broadcast errors
2023-11-22 09:37:54 +00:00
Jędrzej Stuczyński
6ac38f80c7
fixed coconut test fixture
2023-11-22 09:37:54 +00:00
Tommy Verrall
a4cf3b9166
amend gas adjustment
...
otherwise we have no gas :(
2023-11-22 09:37:53 +00:00
Jędrzej Stuczyński
002c04051a
Changing from 034 compat mode to 037
2023-11-22 09:37:53 +00:00
Jędrzej Stuczyński
1aa12886db
'deliver_tx' => 'tx_result'
2023-11-22 09:37:53 +00:00
Jędrzej Stuczyński
6552cbaeda
Updated cosmrs-related dependencies
2023-11-22 09:37:52 +00:00
Jon Häggblad
818d7ee13e
Add logging for client fetching gateways and pretty print error ( #4164 )
...
* Add logging for client fetching gateways
* Pretty print error in client
* update
2023-11-21 11:41:03 +01:00