Commit Graph

3143 Commits

Author SHA1 Message Date
Jędrzej Stuczyński 3e5923eaad merged with fbdf31b879 2022-06-10 09:56:35 +01:00
Bogdan-Ștefan Neacşu fbdf31b879 Feature/split stats service (#1328)
* Replace client address with service address

* Copy over the server parts of the statistics server

* Separate API in module

* Rename struct

* Add insertion endpoint

* Remove unused code from network requester

* Box big rocket error

* Remove the feature-specific code

* Construct http req

* Clippy + Cargo.lock update

* Re-added needed sqlx feature

* Wrap http req in ordered msg

* Add http headers

* Move common api functionality into the separate crate

* Make stats server address configurable, especially for testing

* Update changelog

* Fix clippy

* Help command update
2022-06-09 16:58:51 +03:00
Jędrzej Stuczyński c5350f30aa Regenerated rust => ts types 2022-06-09 14:42:15 +01:00
Jon Häggblad e9aa75ccac wallet: fix clippy (#1334) 2022-06-09 14:35:44 +02:00
Jędrzej Stuczyński 7ffc8b9999 More type-restrictive exported denom type 2022-06-09 11:49:12 +01:00
Jon Häggblad be938cf4f0 client/native: tidy some logging (#1320)
* client/native: some logging refinement

* client/native: fix pedantic clippy warn

* client/native: another pedantic clippy warn

* rustfmt
2022-06-08 21:51:00 +02:00
Bogdan-Ștefan Neacşu 12412d32e6 Panic early if re-init with new gateway (#1322)
* Panic early if re-init with new gateway

* Update CHANGELOG
2022-06-08 14:07:17 +03:00
Bogdan-Ștefan Neacşu fb5193163e Remove coconut debugging code (#1321) 2022-06-08 12:08:12 +03:00
Jędrzej Stuczyński c13d3ab15d Updated cosmwasm dependencies to 1.0.0 (#1318)
* Updated cosmwasm dependencies to 1.0.0

* changelog
2022-06-07 12:55:10 +01:00
Bogdan-Ștefan Neacşu f655a9d8c6 Replace default network with provided network (#1317) 2022-06-07 14:44:48 +03:00
gala1234 73a2fd68c6 Merge branch 'develop' of github.com:nymtech/nym into develop 2022-06-07 13:18:33 +02:00
gala1234 ca16dc6d66 Revert "Adding discord icon"
This reverts commit 24d3089458.
2022-06-07 13:17:15 +02:00
Jon Häggblad d5c456a370 wallet: additional wallet test (#1312) 2022-06-07 13:16:00 +02:00
gala1234 24d3089458 Adding discord icon 2022-06-07 13:14:16 +02:00
Tommy Verrall b020251b62 Merge pull request #1309 from nymtech/feature-219-explorer-small-changes
Explorer: Feature 219 explorer small changes
2022-06-07 11:31:29 +01:00
Jon Häggblad f15ecdda06 mixnode: graceful shutdown on ctrl-c (#1304)
* mixnode: add graceful notification to most tasks

* Add note about remaining work

* task/shutdown: add shutdown timer

* changelog: add entry for shutdown

* mixnode: revert some temp changes

* common/task: make sure to use latest tokio
2022-06-07 11:41:58 +02:00
Jędrzej Stuczyński 7c9fbc9c73 Fixed conversion to display coin 2022-06-07 10:11:04 +01:00
Raphaël Walther 7a74bb9ad5 Fixed unused variables in test (#1311) 2022-06-07 09:47:59 +01:00
gala1234 67625fe768 explorer: move stake-sat column in node list 2022-06-07 09:40:55 +02:00
Jędrzej Stuczyński 2bcdc4c3d0 Removed explicit Arc and RwLock from all tauri commands 2022-06-06 17:51:45 +01:00
Jędrzej Stuczyński 8300daa117 Minor post-merge fixes 2022-06-06 17:31:09 +01:00
Jędrzej Stuczyński a60de5764d merge with wallet-delegation-ui-squashed 2022-06-06 17:18:48 +01:00
Jędrzej Stuczyński 23b093349d Fixed up tests and made clippy happier 2022-06-06 17:09:30 +01:00
Jędrzej Stuczyński 8955ee0b1d More unification for conversion methods 2022-06-06 16:43:12 +01:00
Jędrzej Stuczyński 9ef87df573 Display for Fee 2022-06-06 16:24:49 +01:00
Jędrzej Stuczyński ce7717fb2a Finished purge of MajorCurrencyAmount 2022-06-06 16:18:33 +01:00
gala1234 858ef7b3f9 cleaning 2022-06-06 16:49:04 +02:00
gala1234 c7dd48edbb remove delegators number column on node list and hardcode 2022-06-06 16:47:30 +02:00
gala1234 7c6d8daba2 Merge branch 'develop' into feature-219-explorer-small-changes 2022-06-06 16:40:22 +02:00
vnpmid d8fed178aa Upgrade to tokio 1.19.1, tokio-util 0.7.3, tokio-stream 0.1.9, tokio-test 0.4.2 (#1305)
* Upgrade to tokio 1.19.1, tokio-util 0.7.3, tokio-stream 0.1.9, tokio-test 0.4.2

* Tokio-util 0.7.3 handle_done_delaying, handle_expired_ack_timer

* Upgrade to tokio 1.19.1, tokio-util 0.7.3, tokio-stream 0.1.9, tokio-test 0.4.2
2022-06-06 14:38:01 +01:00
Drazen Urch 27a4a44717 Claim and compound reward wallet endpoints (#1302)
* Add claim and compound wallet endpoints, proc_macro to generate execute and simulate

* CHANGELOG

* Sort CHANGELOG lines

* PR comments
2022-06-06 14:19:36 +02:00
Drazen Urch 459db5718e Set probability to 1 if less nodes then the limit (#1306)
* Set probability to 1 if less nodes then the limit

* Check both sets independantly
2022-06-06 14:19:24 +02:00
durch 1bdaab6c97 Fix underflow in rewards estimation 2022-06-06 14:17:59 +02:00
Jędrzej Stuczyński 24c146766d Merge with wallet-claim-rewards 2022-06-06 12:04:15 +01:00
Jędrzej Stuczyński b6ddaebe67 Attempt at dec-coinifying get_all_mix_delegations 2022-06-06 11:59:02 +01:00
durch 282b18660f PR comments 2022-06-06 12:38:33 +02:00
Jędrzej Stuczyński b248f2e4b5 Further replacements of MajorCurrencyAmount into DecCoin 2022-06-06 10:33:41 +01:00
durch 184dd7767d Sort CHANGELOG lines 2022-06-06 11:28:36 +02:00
durch 2483a545b7 CHANGELOG 2022-06-06 11:27:09 +02:00
durch df1926071a Add claim and compound wallet endpoints, proc_macro to generate execute and simulate 2022-06-06 11:21:35 +02:00
Tommy Verrall d3fe80c875 Merge pull request #1303 from nymtech/feature-225-delegation-number
explorer: implement SummedDelegations endpoint and display value on f…
2022-06-06 10:04:32 +01:00
Raphaël Walther ec799cf17c Add sccache to wallet workflow 2022-06-02 18:59:23 +02:00
Bogdan-Ștefan Neacşu 5f7b3db9a4 Feature/spend coconut (#1261)
* Add coconut verifier structure for coconut protocol in gateway

* Add endpoint for validator-api cred verification

* Remove unused signature field

* Register new endpoint

* Improve validator-api config handling

* Aggregate verif result from all apis

* Simplify aggregate functions

* Verify cred on apis correctly

* Introduced coconut bandwidth contract to validator client

* Fix rebase double import

* Fix clippy on non-coconut

* Add multisig contract address to validator client

* Refactor Credential struct

* Do bincode magic in the coconut interface

* Implement serialization for credential and remove bindcode

* Fix clippy and don't remove dkg

* Client release funds proposal

* Add wrapper for blinded serial number

Also compare theta with a blinded serial number (in base 58 form)
for future double spend protection.

* Only post blinded serial number to blockchain

* Validator api propose credential spending

* Fix wallet

* Gateway calls proposal creation

* Query for proposal in verify coconut

* Remove db from git

* Verify against proposal description

* Validator apis vote based on verification of cred

* Fix wallet fmt

* Execute the release of funds

* Fix translation between token and bytes

* Update CHANGELOG
2022-06-02 16:54:59 +03:00
Jędrzej Stuczyński 81a206f6c0 Further WIP work on transforming usages of MajorCurrencyAmount into DecCoin 2022-06-01 17:25:27 +01:00
Jędrzej Stuczyński 87e8666b86 'New' API on 'send' 2022-06-01 16:52:26 +01:00
fmtabbara 3519d0c31d Merge branch 'develop' into feature/wallet-delegation-ui-squashed 2022-06-01 16:32:34 +01:00
Jędrzej Stuczyński dbbd94d64c Generating typescript type for DecCoin 2022-06-01 16:21:17 +01:00
Jędrzej Stuczyński 93705d83ab Denom registration + conversion 2022-06-01 16:18:17 +01:00
gala1234 6a929af584 Merge branch 'develop' into feature-225-delegation-number 2022-06-01 15:39:57 +02:00
Tommy Verrall a5759ab227 Merge pull request #1300 from nymtech/feature-224-add-stake-saturation
explorer: adding stake saturation o node list
2022-06-01 14:38:24 +01:00