Mark Sinclair
41b77c3ad5
Merge pull request #894 from nymtech/feature-gate-ts-rs
...
Only use ts-rs in tests
2021-11-11 10:34:04 +00:00
Jędrzej Stuczyński
7e1cf2f105
Feature/rewarding interval updates ( #880 )
...
* Introduced rewarding_interval_nonce to contract state
* Queries for ibid.
* Mixnode demanded set size
* Routes for obtaining demanded/active mixnode sets
* Testing only demanded nodes
* Typo
* Initial state
* Feature-locking unused imports
* Generating pseudorandom (with deterministic seed) demanded mixnodes set
* cargo fmt
* Fixed tauri state
* Renamed network monitor address to the rewarding validator
* [ci skip] Generate TS types
* Notice for the future
* Transactions to begin/finish mixnode rewarding + double rewarding protection
* Validator API using new contract calls
* Removed dead code from an old experiment
* [ci skip] Generate TS types
* Removed unused import
* Renamed 'demanded' set to 'rewarded' set
* Some renaming action
* [ci skip] Generate TS types
* Fixed post-merge dependency issue in tests
* Post merge test fix
Co-authored-by: jstuczyn <jstuczyn@users.noreply.github.com >
2021-11-10 15:28:16 +00:00
Drazen Urch
c7007de1ea
Only use ts-rs in tests
2021-11-10 15:02:59 +01:00
Jędrzej Stuczyński
d952f3233a
Active sets => Rewarded + Active/Idle sets ( #864 )
...
* Introduced rewarding_interval_nonce to contract state
* Queries for ibid.
* Mixnode demanded set size
* Routes for obtaining demanded/active mixnode sets
* Testing only demanded nodes
* Typo
* Initial state
* Feature-locking unused imports
* Generating pseudorandom (with deterministic seed) demanded mixnodes set
* cargo fmt
* Fixed tauri state
* [ci skip] Generate TS types
* Renamed 'demanded' set to 'rewarded' set
* Some renaming action
* [ci skip] Generate TS types
* Fixed post-merge dependency issue in tests
Co-authored-by: jstuczyn <jstuczyn@users.noreply.github.com >
2021-11-10 12:52:13 +00:00
Drazen Urch
eae4276381
Tokenomics rewards ( #802 )
...
* Initial analysis
* Implement core rewards distribution
* Tests and refactoring for better testability
* Feature gate ts-rs in mixnet-contract
* No more floats
* Fix performance calculation
* Add migration
* Bandwidth fix, reduce inflation pool size
* Update tokenomics
* Refactor rewarding and replace num crate
* Address review comments
* Cleanup, better test values
* Simplify formula
* Cleanup, add rewarding formulas to README
* Address review comments
* Cleanup rebase
* [ci skip] Generate TS types
* fmt
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
2021-11-10 11:14:06 +01:00
Jędrzej Stuczyński
8bcc931d9b
Feature/removal of monitor good nodes ( #833 )
...
* Removed separated ipv4 and ipv6 testing
* Testing network using chosen core nodes
This should have probably been like 20 independent commits... sorry...
* SQL migrations for updated schema
* SQL updates
* Using absolute uptime directly
* New uptime calculations
* Config entries, more DB work, some cleanup
* Additional API query routes
* More SQL and API work
* Changed `_` to `-` in new routes
* Removed good topology from config
* Fixed gateways reader yield condition
* Initial gateways pinger
* Minor cleanup and logging level decreases
* Missing trait derivations
* Further logging adjustments
* Unused commented out import
* Claiming additional bandwidth in coconut feature when low
* Fixed build with coconut feature
* Minimum number of test routes
* Making beta/nightly clippy happier
2021-11-09 12:25:41 +00:00
Jędrzej Stuczyński
b19528d47e
Removed gateway rewarding and delegation ( #856 )
...
* Removed gateway rewarding and delegation
* Removed redundant error variants
* [ci skip] Generate TS types
* Test fixes
Co-authored-by: jstuczyn <jstuczyn@users.noreply.github.com >
2021-11-03 15:01:59 +00:00
Bogdan-Ștefan Neacşu
488f1c7742
Remove stale migration code ( #868 )
2021-11-03 16:01:13 +02:00
Bogdan-Ștefan Neacşu
2a98f7482d
Feature/migrate hidden delegations ( #786 )
...
* Remove migration code
* Added function to iterate over delegation of variable type
* Add unit tests
* Refactored some naming and reused mix/gateway functionality
* Borrow bucket instead of move
* Linked with existing delegations function
* Migration of left-over delegations
* Remove unused imports
* Put a gateway test as well, next to the mix one
* Expose queries for all delegations
* Change break point
* Added client side calls to the new queries
* Fix clippy
* Added pagination and read check tests
* Fix gateway test from the last commit
* Test functions for (de)serialization of identity and owner (in)to storage keys
* Add delegation function unit test
* Feature guard import
* Changed UnpackedDelegation from type to struct
* Remove mutable parameter and put start_after in returned value
* Made all delegations into iterator for OOM safety
* Fix clippy
* Add test for delegations iterator size in memory
* Change map with if let for ease of read
* Use DENOM instead of hardcoded value
2021-09-30 15:04:33 +03:00
Jędrzej Stuczyński
668325a4ce
Feature/active sets ( #764 )
...
* Added separate gateway active set size
* Grabbing contract state
* Defined PartialOrd on MixnodeBond and GatewayBond
* Some initial stub for active set
* Unit tests for mixnode and gateway bond partialord implementation
* Obtaining active sets
* Active nodes routes
* Additional methods on validator client
* Added state migration
* Feature locking unused import
* Fixed State test fixture
* Included block height for partial_ord
* Missing post-merge imports
* api on the client for active nodes
* Native/socks5/wasm clients using active nodes
* Rewarding only active nodes
* Updated validator client StateParams definition
* Gateway active set size
* Contract migration update
* Cargo fmt
* Updated TauriStateParams
* [ci skip] Generate TS types
Co-authored-by: jstuczyn <jstuczyn@users.noreply.github.com >
2021-09-28 09:38:22 +01:00
Drazen Urch
9a65e44166
Add Tauri wallet
...
--
Squashed commit of the following:
commit 3f4f9073b7
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 27 11:38:12 2021 +0200
Delete .lock for merge
commit bf502f6338
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 27 11:36:51 2021 +0200
Squashed commit of the following:
commit 020cad897d
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Fri Sep 24 15:49:21 2021 +0100
Feature/rust rewarding (#750 )
* Calculating gas fees
* Ability to set custom fees
* Added extra test
* Removed commented code
* Moved all msg types to common contract crate
* Temporarily disabling get_tx method
* Finishing up nymd client API
* Comment fix
* Remaining fee values
* Some cleanup
* Removed needless borrow
* Fixed imports in contract tests
* Moved error types around
* New ValidatorClient
* Experiment with new type of defaults
* Removed dead module
* Dealt with unwrap
* Migrated mixnode to use new validator client
* Migrated gateway to use new validator client
* Mixnode and gateway adjustments
* More exported defaults
* Clients using new validator client
* Fixed mixnode upgrade
* Moved default values to a new crate
* Changed behaviour of validator client features
* Migrated basic functions of validator api
* Updated config + fixed startup
* Fixed wasm client build
* Integration with the explorer api
* Removed tokio dev dependency
* Needless borrow
* Fixex wasm client build
* Fixed tauri client build
* Needless borrows
* New tables for rewarding
* Updated cosmos-sdk version
* Removed reward-specific node status routes
* New rewarding-specific config entries
* Additional network defaults
* Initial periodic rewards from validator api
* Replaced print with log
* Filtering nodes with uptime > 0
* Additional failure logging statements
* Fixed operation ordering
* Adjusted next rewarding epoch determination
* Modified rewarding behaviour to keep track of rewarding in progress
* Improved error message on config load failure
* Additional log statement
* Adjusted rewarding gas limit calculation
* Made naming slightly more consistent
* Fixed incorrect parentheses placement
* Fixed fee calculation
* Cargo fmt
* Removed failed merge artifacts
* Introduced comment for any future reward modification
* typos
* Helper functions for the future
* Making @mfahampshire 's life easier
* Redesigned epoch + rewarding skipped epochs (if possible)
* Removed old merge artifacts
* Naming consistency
* Constraining arguments
* Removed unnecessary if branch
* Ignore monitor check for current epoch
* Additional checks for current epoch data
* Monitor threshold check
* cargo fmt
* Fixed post-merge issues in transactions.rs
commit 5dfaff6296
Author: Drazen Urch <drazen@urch.eu >
Date: Tue Sep 21 10:59:17 2021 +0200
Update hmac and blake3 (#673 )
* Update hmac and blake3
* Remain paranoid for `0.*` crates
* Most paranoid versions :)
* Updated aes and using published version of blake3
Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
commit 5b03982043
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Mon Sep 20 10:40:03 2021 +0100
Replaced unwrap_or_else with unwrap_or_default (#780 )
commit 8f6856d6fb
Author: Drazen Urch <drazen@urch.eu >
Date: Mon Sep 20 11:15:06 2021 +0200
Make fee helpers public (#777 )
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
commit 80664b911f
Merge: f66ea059 46149012
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Thu Sep 23 20:59:27 2021 +0100
Merge pull request #783 from nymtech/tauri-wallet-frontend
tauri wallet front-end
commit 46149012bd
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 23 17:42:34 2021 +0100
PR updates
commit de601c319a
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 23 17:06:47 2021 +0100
PR updates
commit 7318de23f2
Author: max <mfahampshire@gmail.com >
Date: Wed Sep 22 18:07:29 2021 +0200
added info on nym-wallet (tauri) in readme
commit 56e07753ea
Author: max <mfahampshire@gmail.com >
Date: Wed Sep 22 14:44:22 2021 +0200
added minimal readme for wallet
commit 21b008fae9
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 13 13:30:05 2021 +0100
use wrapper functions for send and delegate
form updates
update working
finish bonding and unbonding setup
funds allocation check when bonding/sending/delegating
update title
commit 27a202cbe8
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 17 11:32:41 2021 +0100
integrate admin functions
updates
integrate admin form update function
commit 085538582b
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Fri Sep 17 10:43:26 2021 +0200
Admin functions, reorganize code
commit f66ea05929
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Fri Sep 17 10:43:26 2021 +0200
Admin functions, reorganize code
commit 052c7188ec
Merge: f6c316ee 976dd7aa
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 17 09:38:19 2021 +0100
merge develop
commit f6c316eea9
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 16 18:02:15 2021 +0200
fix typo
commit f33defc645
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 16 17:36:24 2021 +0200
Squashed commit of the following:
commit 976dd7aae2
Author: Drazen Urch <drazen@urch.eu >
Date: Wed Sep 15 17:28:49 2021 +0200
Add block_height method to Delegation (#778 )
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
commit 0d21f4e937
Merge: e84af4f6 1403449a
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Wed Sep 15 12:41:29 2021 +0100
Merge pull request #776 from nymtech/update/re-enable-bonding
re-enable bonding
commit 1403449ad5
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 14 16:00:21 2021 +0100
enable bonding
commit e84af4f601
Author: Drazen Urch <drazen@urch.eu >
Date: Tue Sep 14 15:15:26 2021 +0200
Migrate legacy delegation data (#771 )
* Skip ReadOnlyBucket deserialization errors
* empty migration
* clippy
* cargo schema
* Drop invalid delegation data
* Dont drop old data
* Add todo
* Unify on type param
* gateways are different
* cargo fmt
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
commit 26b032c15c
Merge: e1ddaff0 cba36253
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Tue Sep 14 10:09:14 2021 +0100
Merge pull request #774 from nymtech/feature/explorer-api-delegations
Explorer-api: add API resource to show the delegations for each mix node
commit cba3625394
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Mon Sep 13 10:33:41 2021 +0100
explorer-api: add API resource to show the delegations for each mix node
commit e1ddaff04d
Merge: 0b9c03ca 66ab5de4
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 17:17:14 2021 +0100
Merge pull request #772 from nymtech/update/disable-bonding
add app alert
commit 66ab5de442
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 16:16:58 2021 +0100
add app alert
commit 0b9c03ca90
Author: Dave Hrycyszyn <futurechimp@users.noreply.github.com >
Date: Fri Sep 10 11:23:21 2021 +0300
Adding deps for building the Tauri wallet under Ubuntu (#770 )
commit c9dce0c1da
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Thu Sep 9 11:21:45 2021 +0200
Feature/consumable bandwidth (#766 )
* Set actual value for bandwidth
Also put it as a public attribute, such that it can be actively used
by the credential consumer
* Switch from sending Attribute structs to sending the actual attribute bytes over the wire
* Add atomic bandwidth value to gateway
* Consume bandwidth based on the mix packet size
* Use Bandwidth struct for specific functionality
* Move bandwidth code outside the dependency path of wasm client
* Use u64 instead of AtomicU64, as the handling is not parallel
commit e00e77db15
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Wed Sep 8 15:07:24 2021 +0200
Feature/bond blockstamp (#760 )
* Add block_height to MixNode/GatewayBond
* Reward based on blockstamp of bonded node or of delegation
* Add specific tests
* Add migration code
* Apply doc nit
commit 1074449f91
Merge: 08276e6e 9a3d824a
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Tue Sep 7 23:45:10 2021 +0100
Merge pull request #767 from nymtech/update/remove-app-alert
remove alert
commit 08276e6e42
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Tue Sep 7 16:33:30 2021 +0200
Remove migration code (#759 )
commit 9a3d824a4a
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 6 20:39:24 2021 +0100
remove alert
commit 2789ee8f18
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Fri Sep 3 15:30:45 2021 +0300
Update coconut-rs and use hash_to_scalar from there (#765 )
Failed tests are due to some nightly issue, not related to this PR
commit a7ba643c35
Merge: 28be53ee c42f3c68
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 09:14:50 2021 +0100
Merge pull request #762 from nymtech/feature/app-alert
add app alert banner
commit 28be53eefb
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Thu Sep 2 18:26:40 2021 +0300
Add block_height in the Delegation structure as well (#757 )
commit 219c45a352
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Thu Sep 2 15:48:29 2021 +0100
Updated cosmos-sdk (#761 )
* Updated cosmos-sdk
* Re-exposing more things
commit 1a3b83752e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Sep 2 15:45:56 2021 +0100
Bump next from 11.1.0 to 11.1.1 in /wallet-web (#758 )
Bumps [next](https://github.com/vercel/next.js ) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v11.1.0...v11.1.1 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit c42f3c6844
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 12:29:47 2021 +0100
add app alert banner
commit a5d3ba3900
Merge: 92e13a5d cdf0d443
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Tue Aug 31 15:59:11 2021 +0100
Merge pull request #755 from nymtech/bugfix/explorer-api-ping
Explorer API: port test now split out address resolution and add units tests
commit cdf0d44341
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Tue Aug 31 14:37:28 2021 +0100
explorer-api: turned down logging from `error` to `warn`
commit 92f976a45d
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Fri Aug 27 11:34:21 2021 +0100
explorer-api: sanitize hostname before running checks to avoid leading or trailing spaces that are known to exist in the current test net
commit 2bc858cde3
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Fri Aug 27 09:32:26 2021 +0100
explorer-api: port test: split out address resolution and add units tests
commit 92e13a5d00
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Tue Aug 31 14:51:15 2021 +0300
Feature/add blockstamp (#756 )
* Add RawDelegationData
* Fix current tests for the new stored data
* Added migration commit. Will be reverted after doing the migration
* New tests for block height
* Use current blockstamp instead of 24h old one
* Put _alot_ of migration stuff in the migrate function scope
commit 122f5d9f2e
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Mon Aug 30 10:27:20 2021 +0300
Feature/cred after handshake (#745 )
* Call perform_initial_authentication instead of register in clients
* Refactor the register/authenticate functions a bit
* Introduce Bandwidth request type
* Add encryption layer to cred
* Remove cred pass and check from handshake
* Replaced unreachable! with error
* Changed decrypt_tagged signature to not take mutable ownership of data
* Put handle_bandwidth work inside a function
* Add check before unwrap
* Remove unnecessary async
* Decouple bandwidth credential from authentication
* Use new_error for ServerResponse:Error
* Send a fresh IV each time the BandwidthCredential request is sent
* Remove unwrap of bincode::serialize
* Add comment regarding Bandwidth response
* Remove _mut from naming
* Leave Debug trait alone, as the initial error doesn't reproduce anymore
* Pass iv as Vec<u8> instead of base58 string
* Renamed AuthenticationIV to IV, as it is now used for more the just authentication
* Did some IV refactorization
commit 982ee0266c
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Fri Aug 27 16:02:34 2021 +0300
Feature/get own delegations (#748 )
* Introduce reverse delegation bucket
* Add client command
* Fix clippy error
* Added tests in queries
* Add tests in transactions
* Migration code. Will be reverted after it's called on testnet
* Replace unwrap with expect
* Move some test code in the right file...
... to remove unnecessary auxiliary function.
* Reduce the scope to migration auxiliary functions
* Rename everything from [node]reverse to reverse[node]
* Fix fmt
commit 5f42a9bd05
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Fri Aug 27 13:52:18 2021 +0100
NetworkMonitorBuilder - starting the monitor after rocket has launched (#754 )
* NetworkMonitorBuilder - starting the monitor after rocket has launched
* Removed unused import
commit 1811df9ddb
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Fri Aug 27 13:52:10 2021 +0100
Enabled validators api argument (#753 )
commit 6bdfe7f895
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Thu Aug 26 11:21:01 2021 +0100
Correctly bounding nominator of uptime calculation (#752 )
commit c6b286a1db
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Wed Aug 25 14:50:57 2021 +0100
Fixed argument parsing for ipv6 'good' topology (#751 )
commit b3568a26f5
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Tue Aug 24 11:25:05 2021 +0300
Revert "Migration commit, will be reverted after the testnet contract is updated" (#749 )
This reverts commit 38d868bcce .
commit 15ae0f521e
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Mon Aug 23 10:26:51 2021 +0100
Feature/more reliable uptime calculation (#747 )
* New database table holding monitor run info
* SQL interface for new table
* Updated uptime calculation to instead rely on number of monitor test runs
commit 2923d4b872
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Thu Aug 19 22:03:07 2021 +0300
Update template toml key (#746 )
commit 424230c3bb
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 16 17:33:20 2021 +0200
Squashed commit of the following:
commit cddd9e8e4c
Merge: 40fbdff0 976dd7aa
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 16 17:27:27 2021 +0200
Merge branch 'develop' into tauri-wallet
commit 976dd7aae2
Author: Drazen Urch <drazen@urch.eu >
Date: Wed Sep 15 17:28:49 2021 +0200
Add block_height method to Delegation (#778 )
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
commit 0d21f4e937
Merge: e84af4f6 1403449a
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Wed Sep 15 12:41:29 2021 +0100
Merge pull request #776 from nymtech/update/re-enable-bonding
re-enable bonding
commit 1403449ad5
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 14 16:00:21 2021 +0100
enable bonding
commit e84af4f601
Author: Drazen Urch <drazen@urch.eu >
Date: Tue Sep 14 15:15:26 2021 +0200
Migrate legacy delegation data (#771 )
* Skip ReadOnlyBucket deserialization errors
* empty migration
* clippy
* cargo schema
* Drop invalid delegation data
* Dont drop old data
* Add todo
* Unify on type param
* gateways are different
* cargo fmt
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
commit 26b032c15c
Merge: e1ddaff0 cba36253
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Tue Sep 14 10:09:14 2021 +0100
Merge pull request #774 from nymtech/feature/explorer-api-delegations
Explorer-api: add API resource to show the delegations for each mix node
commit cba3625394
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Mon Sep 13 10:33:41 2021 +0100
explorer-api: add API resource to show the delegations for each mix node
commit e1ddaff04d
Merge: 0b9c03ca 66ab5de4
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 17:17:14 2021 +0100
Merge pull request #772 from nymtech/update/disable-bonding
add app alert
commit 66ab5de442
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 16:16:58 2021 +0100
add app alert
commit 0b9c03ca90
Author: Dave Hrycyszyn <futurechimp@users.noreply.github.com >
Date: Fri Sep 10 11:23:21 2021 +0300
Adding deps for building the Tauri wallet under Ubuntu (#770 )
commit c9dce0c1da
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Thu Sep 9 11:21:45 2021 +0200
Feature/consumable bandwidth (#766 )
* Set actual value for bandwidth
Also put it as a public attribute, such that it can be actively used
by the credential consumer
* Switch from sending Attribute structs to sending the actual attribute bytes over the wire
* Add atomic bandwidth value to gateway
* Consume bandwidth based on the mix packet size
* Use Bandwidth struct for specific functionality
* Move bandwidth code outside the dependency path of wasm client
* Use u64 instead of AtomicU64, as the handling is not parallel
commit e00e77db15
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Wed Sep 8 15:07:24 2021 +0200
Feature/bond blockstamp (#760 )
* Add block_height to MixNode/GatewayBond
* Reward based on blockstamp of bonded node or of delegation
* Add specific tests
* Add migration code
* Apply doc nit
commit 1074449f91
Merge: 08276e6e 9a3d824a
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Tue Sep 7 23:45:10 2021 +0100
Merge pull request #767 from nymtech/update/remove-app-alert
remove alert
commit 08276e6e42
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Tue Sep 7 16:33:30 2021 +0200
Remove migration code (#759 )
commit 9a3d824a4a
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 6 20:39:24 2021 +0100
remove alert
commit 2789ee8f18
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Fri Sep 3 15:30:45 2021 +0300
Update coconut-rs and use hash_to_scalar from there (#765 )
Failed tests are due to some nightly issue, not related to this PR
commit a7ba643c35
Merge: 28be53ee c42f3c68
Author: Fouad <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 09:14:50 2021 +0100
Merge pull request #762 from nymtech/feature/app-alert
add app alert banner
commit 28be53eefb
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Thu Sep 2 18:26:40 2021 +0300
Add block_height in the Delegation structure as well (#757 )
commit 219c45a352
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Thu Sep 2 15:48:29 2021 +0100
Updated cosmos-sdk (#761 )
* Updated cosmos-sdk
* Re-exposing more things
commit 1a3b83752e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Sep 2 15:45:56 2021 +0100
Bump next from 11.1.0 to 11.1.1 in /wallet-web (#758 )
Bumps [next](https://github.com/vercel/next.js ) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v11.1.0...v11.1.1 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit c42f3c6844
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 12:29:47 2021 +0100
add app alert banner
commit a5d3ba3900
Merge: 92e13a5d cdf0d443
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Tue Aug 31 15:59:11 2021 +0100
Merge pull request #755 from nymtech/bugfix/explorer-api-ping
Explorer API: port test now split out address resolution and add units tests
commit cdf0d44341
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Tue Aug 31 14:37:28 2021 +0100
explorer-api: turned down logging from `error` to `warn`
commit 92f976a45d
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Fri Aug 27 11:34:21 2021 +0100
explorer-api: sanitize hostname before running checks to avoid leading or trailing spaces that are known to exist in the current test net
commit 2bc858cde3
Author: Mark Sinclair <mmsinclair@gmail.com >
Date: Fri Aug 27 09:32:26 2021 +0100
explorer-api: port test: split out address resolution and add units tests
commit 92e13a5d00
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Tue Aug 31 14:51:15 2021 +0300
Feature/add blockstamp (#756 )
* Add RawDelegationData
* Fix current tests for the new stored data
* Added migration commit. Will be reverted after doing the migration
* New tests for block height
* Use current blockstamp instead of 24h old one
* Put _alot_ of migration stuff in the migrate function scope
commit 122f5d9f2e
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Mon Aug 30 10:27:20 2021 +0300
Feature/cred after handshake (#745 )
* Call perform_initial_authentication instead of register in clients
* Refactor the register/authenticate functions a bit
* Introduce Bandwidth request type
* Add encryption layer to cred
* Remove cred pass and check from handshake
* Replaced unreachable! with error
* Changed decrypt_tagged signature to not take mutable ownership of data
* Put handle_bandwidth work inside a function
* Add check before unwrap
* Remove unnecessary async
* Decouple bandwidth credential from authentication
* Use new_error for ServerResponse:Error
* Send a fresh IV each time the BandwidthCredential request is sent
* Remove unwrap of bincode::serialize
* Add comment regarding Bandwidth response
* Remove _mut from naming
* Leave Debug trait alone, as the initial error doesn't reproduce anymore
* Pass iv as Vec<u8> instead of base58 string
* Renamed AuthenticationIV to IV, as it is now used for more the just authentication
* Did some IV refactorization
commit 982ee0266c
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Fri Aug 27 16:02:34 2021 +0300
Feature/get own delegations (#748 )
* Introduce reverse delegation bucket
* Add client command
* Fix clippy error
* Added tests in queries
* Add tests in transactions
* Migration code. Will be reverted after it's called on testnet
* Replace unwrap with expect
* Move some test code in the right file...
... to remove unnecessary auxiliary function.
* Reduce the scope to migration auxiliary functions
* Rename everything from [node]reverse to reverse[node]
* Fix fmt
commit 5f42a9bd05
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Fri Aug 27 13:52:18 2021 +0100
NetworkMonitorBuilder - starting the monitor after rocket has launched (#754 )
* NetworkMonitorBuilder - starting the monitor after rocket has launched
* Removed unused import
commit 1811df9ddb
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Fri Aug 27 13:52:10 2021 +0100
Enabled validators api argument (#753 )
commit 6bdfe7f895
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Thu Aug 26 11:21:01 2021 +0100
Correctly bounding nominator of uptime calculation (#752 )
commit c6b286a1db
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Wed Aug 25 14:50:57 2021 +0100
Fixed argument parsing for ipv6 'good' topology (#751 )
commit b3568a26f5
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Tue Aug 24 11:25:05 2021 +0300
Revert "Migration commit, will be reverted after the testnet contract is updated" (#749 )
This reverts commit 38d868bcce .
commit 15ae0f521e
Author: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Date: Mon Aug 23 10:26:51 2021 +0100
Feature/more reliable uptime calculation (#747 )
* New database table holding monitor run info
* SQL interface for new table
* Updated uptime calculation to instead rely on number of monitor test runs
commit 2923d4b872
Author: Bogdan-Ștefan Neacşu <bogdan@nymtech.net >
Date: Thu Aug 19 22:03:07 2021 +0300
Update template toml key (#746 )
commit cddd9e8e4c
Merge: 40fbdff0 976dd7aa
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 16 17:27:27 2021 +0200
Merge branch 'develop' into tauri-wallet
commit 63bc42cd5f
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 16 10:01:53 2021 +0100
update title
commit 9dc8ba7b77
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 15 21:39:18 2021 +0100
funds allocation check when bonding/sending/delegating
commit e130131f16
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 15 20:37:24 2021 +0100
finish bonding and unbonding setup
commit 64a5b4b593
Merge: 9934b9bc 40fbdff0
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 14 12:08:38 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
rust updates
commit 40fbdff05a
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Tue Sep 14 10:29:31 2021 +0200
Coin and denom tests
commit 9934b9bc8a
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 13 15:20:56 2021 +0100
update working
commit 6954b383a7
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 13 14:26:21 2021 +0100
form updates
commit 4b5276e816
Merge: 56a95274 0278bd2c
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 13 13:32:24 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
rust updates
commit 0278bd2c26
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 13 14:31:33 2021 +0200
Fix coin to cosmwasm coin
commit 56a9527497
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 13 13:30:05 2021 +0100
use wrapper functions for send and delegate
commit a601c28a20
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 13 13:07:57 2021 +0200
Return useful info from bond/unbond
commit 005dd7513b
Merge: 3ebdc558 aaf5d186
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 13 12:58:01 2021 +0200
Merge branch 'tauri-wallet-frontend' into tauri-wallet
commit 3ebdc55847
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 13 12:50:26 2021 +0200
extract Coin and Denom
commit aaf5d18692
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 13 11:19:28 2021 +0100
update admin component
commit bcbec1f3e6
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sun Sep 12 21:49:39 2021 +0100
admin form style updates
commit c95005265d
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sun Sep 12 01:26:57 2021 +0100
button updates
commit b299c9e4b5
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sun Sep 12 01:03:21 2021 +0100
add qrcode to receive page
commit bacbd3dfce
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sun Sep 12 00:40:53 2021 +0100
fix bug
commit 55561fe1f7
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sun Sep 12 00:26:15 2021 +0100
add admin page
commit 0d01500b87
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sat Sep 11 00:35:14 2021 +0100
remove login deets
commit 74e34567b4
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sat Sep 11 00:32:54 2021 +0100
form updates
commit b77025bfd5
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sat Sep 11 00:10:03 2021 +0100
form updates
commit 4d831efcd6
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 22:33:00 2021 +0100
more fees work
commit d227d20385
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 17:31:04 2021 +0100
add gas fees to bond form
commit fb2d3bae3c
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 14:17:24 2021 +0100
use new getFee api
commit 967d74eb19
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 11:15:52 2021 +0100
add nvmrc file
commit 228df278d9
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 11:13:18 2021 +0100
update tsconfig
commit 37da23ab1c
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 09:56:04 2021 +0100
set up global error handling
commit 0c9cf7b5d9
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 10 09:16:45 2021 +0100
finish create account
commit 262149078c
Merge: 08fd1c1b 3bcbb901
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 9 19:21:38 2021 +0100
rust updates
commit 08fd1c1b47
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 9 19:00:30 2021 +0100
make getBalance global
commit 3bcbb90127
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 9 17:47:11 2021 +0200
fix docs
commit 8156ed0029
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 9 17:43:56 2021 +0200
get_fee, create_new_account
commit 265f7a7c2e
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 9 13:21:27 2021 +0200
Dedicated workspace, random_mnemonic, gas_limits
commit 5de8c9d1ed
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 9 11:35:49 2021 +0100
style updates
commit 7658eec9b9
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 9 09:16:38 2021 +0100
create account page
commit 99c49581df
Merge: 7a8ad138 926689da
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 8 20:49:27 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
rust updates
commit 926689da1d
Merge: 714171f4 b40be179
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Wed Sep 8 11:54:49 2021 +0200
Merge branch 'tauri-wallet' of https://github.com/nymtech/nym into tauri-wallet
commit 714171f4e5
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Wed Sep 8 11:54:36 2021 +0200
redundant into
commit 7a8ad1387d
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 8 10:30:51 2021 +0100
add eslint file
commit bd72426280
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 7 23:44:02 2021 +0100
start adding gas fees
commit 48d0f31d7e
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 7 23:13:54 2021 +0100
send updates
commit 4522c18a55
Merge: b9389f12 b40be179
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 7 21:53:38 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
rust updates
commit b9389f1235
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Sep 7 21:53:05 2021 +0100
send updates
commit b40be179ae
Author: durch <durch@users.noreply.github.com >
Date: Tue Sep 7 12:37:24 2021 +0000
[ci skip] Generate TS types
commit 32ef9e019e
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Tue Sep 7 14:26:48 2021 +0200
More verbose send response
commit 45a56a7088
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 6 20:27:15 2021 +0100
update logo
commit d50afd6113
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 6 20:00:47 2021 +0200
Add coconut creds
commit 3205b1e0e6
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 6 16:42:56 2021 +0100
start work on send form
commit 53ea8486f8
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 6 17:36:46 2021 +0200
get_gas_price, get_gas_limits
commit 43ababf8d4
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Mon Sep 6 17:31:08 2021 +0200
Rework client errors
commit 5461574023
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 6 13:23:20 2021 +0100
small refactors
commit 01d2df7bb7
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Sep 6 11:12:39 2021 +0100
set up form validation for undelegation
commit 7cff72757b
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sun Sep 5 00:07:46 2021 +0100
set up delgate request
commit 5bcbf45d16
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Sat Sep 4 22:52:02 2021 +0100
onerror onsuccess added to bond form
commit 4295d75e0f
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 16:53:32 2021 +0100
format bonding data pre request
commit 018666a614
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 16:37:51 2021 +0100
layout updates
commit 15048524a7
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 16:25:15 2021 +0100
layout updates
commit 2b792945cc
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 15:07:38 2021 +0100
update type roots
commit b6193270a6
Merge: 0b4a8fe6 29973379
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 15:02:56 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
rust updates
commit 0b4a8fe657
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 15:02:09 2021 +0100
update type roots
commit 2997337948
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Fri Sep 3 15:29:20 2021 +0200
printable balance should be major
commit e1bea43ff4
Author: Drazen Urch <drazen@urch.eu >
Date: Fri Sep 3 15:22:48 2021 +0200
Autogenerate types (#763 )
* Generate TS types on push
* run shell
* fix typo
* pango
* libpango-dev
* hopefully all deps are in now :)
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
commit 27ef28da8d
Merge: 42bf139e 87a0b05d
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 12:13:28 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
rust updates
commit 42bf139ebb
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 12:12:52 2021 +0100
update args collection function
commit 352862e4d0
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 11:42:31 2021 +0100
delegation form validation
commit 9f9ab010d8
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Sep 3 11:39:17 2021 +0100
integrate rust generated types
commit 87a0b05d1a
Author: Drazen Urch <drazen@urch.eu >
Date: Fri Sep 3 07:43:29 2021 +0200
Send
commit dbf82da9b6
Author: Drazen Urch <drazen@urch.eu >
Date: Fri Sep 3 07:36:02 2021 +0200
Delegation docs
commit 01a4305883
Author: Drazen Urch <drazen@urch.eu >
Date: Fri Sep 3 07:33:11 2021 +0200
Delegation
commit 704b3241ee
Author: Drazen Urch <drazen@urch.eu >
Date: Fri Sep 3 06:58:57 2021 +0200
Gateway bonding
commit 4513edae46
Merge: 5d3f1b86 f020b211
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 21:38:19 2021 +0100
rust updates
commit f020b21106
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 2 21:08:19 2021 +0200
node unbond
commit 2587906473
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Thu Sep 2 20:57:10 2021 +0200
TS exports, rework internals
commit 5d3f1b86e8
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 17:29:03 2021 +0100
delegate form validation
commit 5a17e48581
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 16:11:54 2021 +0100
finish bond form validation
commit 41356f2181
Merge: bd7d7887 63107c2b
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 10:10:55 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
merge rust updates
commit bd7d788741
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Thu Sep 2 10:10:18 2021 +0100
more validation work
commit 63107c2bca
Author: Drazen Urch <drazen@urch.eu >
Date: Thu Sep 2 10:27:49 2021 +0200
WIP node bonding
commit f043639ad2
Merge: 1d2a1b26 6fb15fff
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 19:48:22 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
merge rust update
commit 1d2a1b2635
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 19:47:41 2021 +0100
start form validation
commit 6fb15fff8b
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Wed Sep 1 16:33:29 2021 +0200
printable_balance
commit c69d7fa46f
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 15:12:50 2021 +0100
remove unused imports
commit c2ee02a2cf
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 15:12:25 2021 +0100
use printable balance
commit 6f5f0c00b5
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 15:11:24 2021 +0100
use printable balance
commit 12707c5f1e
Merge: 2aa7fa04 0daf89ee
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 14:59:27 2021 +0100
merge rust updates
commit 0daf89eeb4
Author: Drazen Urch <drazen@urch.eu >
Date: Wed Sep 1 15:14:50 2021 +0200
Utility native <> printable functions
commit 2aa7fa0426
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 13:41:42 2021 +0100
move balance function call to global state
commit f5aa6e2db2
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Sep 1 09:39:22 2021 +0100
style updates
commit ee5d1c3419
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 20:57:21 2021 +0100
fix nav styling
commit e68c261162
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 20:48:30 2021 +0100
fix ts error
commit c7fe4cd24e
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 15:28:46 2021 +0100
update imports
commit 1c690fc3d0
Merge: d8e6a5fb f56edb82
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 15:24:35 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
merge rust updates
commit f56edb825a
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Tue Aug 31 15:22:10 2021 +0200
Fix client address
commit d8e6a5fb2e
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 12:55:13 2021 +0100
make typescript happy
commit b95893bb02
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 11:20:12 2021 +0100
update balance page
commit 6bdff701b4
Merge: ccdb5911 eff38c84
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 11:05:51 2021 +0100
merge backend updates
commit ccdb5911c6
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 31 09:35:24 2021 +0100
update routing and use new sign in function
commit eff38c8466
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Tue Aug 31 07:38:25 2021 +0200
some cleanup, get blockchain stuff working
commit 5f4fabc0b8
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Fri Aug 27 15:17:15 2021 +0200
Add internal documentation scaffolding
commit e2dd1cc9ae
Merge: c7e622f2 42f75028
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Aug 25 14:51:29 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
connect with mnemonic update
commit 42f75028bc
Author: Drazen Urch <durch@users.noreply.guthub.com >
Date: Wed Aug 25 15:44:08 2021 +0200
Resolve state deadlock
commit c7e622f284
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Aug 25 14:06:37 2021 +0100
begin sign in rust integration
commit 248da351c6
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Aug 25 14:05:00 2021 +0100
use color palette object
commit fe1c8a3b08
Merge: 84af9233 1bc17abb
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Aug 25 10:36:11 2021 +0100
Merge branch 'tauri-wallet' into tauri-wallet-frontend
merge rust api updates
commit 84af923389
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Wed Aug 25 10:35:42 2021 +0100
update receive to use state value
commit 1bc17abbaa
Author: Drazen Urch <drazen@urch.eu >
Date: Wed Aug 25 11:18:16 2021 +0200
Add connect_with_mnemonic and get_balance tauri functions
commit b8c2735520
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 24 16:12:08 2021 +0100
cargo lock update
commit 67fd4367ef
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 24 16:08:55 2021 +0100
global theme update
commit 4540d2c447
Merge: ce757697 4ad25114
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 24 12:56:59 2021 +0100
Merge branch 'feature/tauri-wallet-ui' into tauri-wallet
merge with rust updates
commit 4ad25114c3
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 24 12:46:34 2021 +0100
update nav cards
commit 3ce7888c07
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 24 11:59:10 2021 +0100
address and balance cards
commit ce75769703
Author: Drazen Urch <drazen@urch.eu >
Date: Tue Aug 24 12:54:49 2021 +0200
Bootstrap nymd client with config
commit 66210658cb
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Tue Aug 24 10:35:54 2021 +0100
add favicon
commit 728da763b3
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 22:54:30 2021 +0100
fix padding issue
commit 3da08ee33c
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 22:49:39 2021 +0100
style updates
commit 55977185fd
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 22:04:26 2021 +0100
add unbond and undelegte pages
commit 1c8c0a47bc
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 21:34:14 2021 +0100
receive page adjust margin
commit c161b2fe71
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 21:32:29 2021 +0100
send wizard updates
commit eb91c1180d
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 17:23:25 2021 +0100
update balance page
commit 13e357637b
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 17:18:07 2021 +0100
style updates
commit 54c4bdb7d2
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 17:12:40 2021 +0100
send wizard update
commit 9b5f50913f
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 14:56:52 2021 +0100
add send wizard
commit 7cfa35b542
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 11:18:13 2021 +0100
style updates
commit 581a6b0a6f
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 10:38:56 2021 +0100
update nav bar
commit 85f23eb3d1
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 10:38:42 2021 +0100
create delegation page
commit 17100fa7da
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Mon Aug 23 10:38:17 2021 +0100
create node type selector component
commit 24af0c94bf
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Aug 20 22:26:14 2021 +0100
add bond form
commit 8ec9e3121f
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Aug 20 17:35:59 2021 +0100
side bar updates
commit 498dbb8ba3
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Aug 20 12:24:04 2021 +0100
add balance page
commit 7345bd8148
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Aug 20 11:51:27 2021 +0100
update navigation style
commit b405d2e4af
Author: fmtabbara <fmtabbara@hotmail.co.uk >
Date: Fri Aug 20 09:03:21 2021 +0100
set up tauri app with React frontend
2021-09-27 12:03:54 +02:00
Drazen Urch
976dd7aae2
Add block_height method to Delegation ( #778 )
...
Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com >
2021-09-15 17:28:49 +02:00
Bogdan-Ștefan Neacşu
e00e77db15
Feature/bond blockstamp ( #760 )
...
* Add block_height to MixNode/GatewayBond
* Reward based on blockstamp of bonded node or of delegation
* Add specific tests
* Add migration code
* Apply doc nit
2021-09-08 15:07:24 +02:00
Bogdan-Ștefan Neacşu
28be53eefb
Add block_height in the Delegation structure as well ( #757 )
2021-09-02 18:26:40 +03:00
Bogdan-Ștefan Neacşu
92e13a5d00
Feature/add blockstamp ( #756 )
...
* Add RawDelegationData
* Fix current tests for the new stored data
* Added migration commit. Will be reverted after doing the migration
* New tests for block height
* Use current blockstamp instead of 24h old one
* Put _alot_ of migration stuff in the migrate function scope
2021-08-31 14:51:15 +03:00
Bogdan-Ștefan Neacşu
982ee0266c
Feature/get own delegations ( #748 )
...
* Introduce reverse delegation bucket
* Add client command
* Fix clippy error
* Added tests in queries
* Add tests in transactions
* Migration code. Will be reverted after it's called on testnet
* Replace unwrap with expect
* Move some test code in the right file...
... to remove unnecessary auxiliary function.
* Reduce the scope to migration auxiliary functions
* Rename everything from [node]reverse to reverse[node]
* Fix fmt
2021-08-27 16:02:34 +03:00
Bogdan-Ștefan Neacşu
b3568a26f5
Revert "Migration commit, will be reverted after the testnet contract is updated" ( #749 )
...
This reverts commit 38d868bcce .
2021-08-24 11:25:05 +03:00
Bogdan-Ștefan Neacşu
eec211e038
Feature/use delegation rates ( #741 )
...
* Rename storage read functions for bond reward rates
* Add reward values per epoch in State
Calculate delegation rewards per epoch for mixnodes and gateways, which
are used when the delegators are rewarded for their stake.
* Migration commit, will be reverted after the testnet contract is updated
2021-08-18 16:24:00 +03:00
Bogdan-Ștefan Neacşu
bed09bf8a4
Add stake reward rates and bump version of client ( #738 )
...
* Tiny PR to add stake reward rates and bump version
This is needed so that we can publish the 0.17 version.
* Add the changes to contracts as well
On second thought, update the contract together with the client, and
leave the wallet changes for another PR.
* Rename _stake_ to _delegation_
2021-08-16 11:43:24 +03:00
Jędrzej Stuczyński
8694396942
Feature/completing nymd client api ( #732 )
...
* Calculating gas fees
* Ability to set custom fees
* Added extra test
* Removed commented code
* Moved all msg types to common contract crate
* Temporarily disabling get_tx method
* Finishing up nymd client API
* Comment fix
* Remaining fee values
* Some cleanup
* Removed needless borrow
* Fixed imports in contract tests
* Made contract address optional to allow for contract upload and initialisation
2021-08-11 17:15:14 +01:00
Jędrzej Stuczyński
ebeac73f30
Rust nymd/cosmwasm client ( #724 )
...
* Using forked cosmwasm
* Basic wallet functionalities
* WIP
* Generic abci_query method
* More API stubs with some semi-working code
* More API stub work
* Moving from fork of cosmos-rust to the upstream
* Implemented most sign-less cosmwasm client methods
* Full contract upload with log parsing
* Implemented most of remaining methods on signing client
* Some initial cleanup on existing code
* Feature-locking nymd client
* Better type for base account
* Pagination handling
* Searching transaction by concrete hash
* basic search_tx
* More cleanup
* Disabled default validator-client features on wasm client
* Fixed account conversion
* Fixed typo in cargo.toml
* Moving back to main cosmos-sdk repo
* Re-exported connect functions
* comment
* Wallet no longer storing signing keys
* Went back to the trait approach
* Example stub of future API
* Removed needless borrow
* Fixed starting page
* Fixed typo
* Using centralised config defaults
2021-08-06 16:31:57 +01:00
Jędrzej Stuczyński
25d2af3b04
Changed Layer serde behaviour for easier usage ( #686 )
2021-07-16 16:23:41 +01:00
Bogdan-Ștefan Neacşu
57df77a995
Layer selection ( #664 )
...
* mixnode: Remove layer computation from mixnode
The layer is currently computed locally. This should be moved to
the validator, and the mixnode should find this information via
a query. Until the query is actually processed, we keep the layer
field as None.
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* contracts: Compute layer of bonding mixnode
Predictably compute the best layer of a bonding mixnode by putting it on
the layer with the fewest mixnodes and, in case of equality, with the
smallest index e.g. layer 1 is better then layer 3 if both have
the fewest mixnodes.
The layer received from the client app is regarded as a preferred option
and is only accepted if the number of nodes on the preferred layer is not
bigger then the one on the best layer.
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* contracts: Add tests for layer selection
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* mixnode: Upgrade from 0.10.2 to 0.10.3
The config file is changed so that it's only containing the layer if
the layer exists.
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* contracts: Move the layer from MixNode to MixNodeBond
Remove the option of a client app to propose a preferred
layer.
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* contracts: Move from u64 to Layer representation
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* contracts: Remove Layer::Invalid as it no longer makes sense...
... because layer choice is now present only in the contract.
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* contracts: Move layer selection algorithm in `choose_with_fewest` method
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* mixnode: Remove layer altogether
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* mixnode: Refactor upgrading system
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* mixnode: Remove layer from template as well
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
* Remove invalid field from LayerDistribution
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
2021-07-01 17:56:57 +03:00
Jędrzej Stuczyński
2bdee705b7
Feature/total delegation field ( #660 )
...
* Changed bond Vec<Coin> into a Coin
* Introduced total_delegation field to bond models
* Restoring total old delegation
* Updating total delegation on new delegations
* Updating total delegation on removal
* Keeping track of delegation increase during rewarding
* Updating total delegation during rewarding + additional response attributes
* Removed irrelevant tests
* Fixed storage-related tests
* Added additional test assertions for delegation increase
* Added additional node rewarding test assertions
* Tests for correct reward calculation + gateway rewarding early termination
* Added delegation field to parsed node type
* Updated typescript bond types
* Moved `OLD_DELEGATIONS_CHUNK_SIZE` to file-wide namespace so that it could be used in tests
* Tests for finding old node delegations
* ibid.
* Issue#657
* Additional test assertions regardingn total delegation
* Missed test field after merge
* ibid
* Cleaning up storage related imports
2021-06-29 11:29:51 +01:00
Bogdan-Ștefan Neacșu
a82ac9c50d
contracts: Removed mixnode location from the bonding process
...
Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
2021-06-28 15:10:57 +03:00
Jędrzej Stuczyński
9df360cf63
Removed constructors only used in tests
...
To elaborate further, to update Mixnode constructor it would require adding yet two more arguments and at that point the compiler warns about too many arguments
2021-06-23 16:08:27 +01:00
Jędrzej Stuczyński
035ee3a402
Added new ports to bond model
2021-06-23 16:04:21 +01:00
Jędrzej Stuczyński
07f2f9c39e
Fixed mixnet contract test fixtures
2021-06-23 12:46:38 +01:00
Jędrzej Stuczyński
a6be3e763f
Spliting host into explicit address and port(s)
2021-06-22 16:39:07 +01:00
Jędrzej Stuczyński
08964f8775
Introduced type alias for IdentityKey reference
2021-06-18 12:32:13 +01:00
Jędrzej Stuczyński
dff7a8976a
cargo fmt
2021-06-18 12:15:34 +01:00
Jędrzej Stuczyński
648543e536
Merge branch 'feature/cosmwasm-0.14.0-update' into feature/cosmwasm-0.14.1-update
2021-06-18 11:59:45 +01:00
Jędrzej Stuczyński
3d2654923a
Bugfix/delegation type fixes ( #649 )
...
* Extended no delegation found errors with address information
* Error now use Display implementation rather than Debug
* Delegation correctly contains owner address
* Updated js delegation type
* Bumped validator client version number
* Delegation::owner returns owned type
* cargo fmt
2021-06-17 10:51:50 +01:00
Jędrzej Stuczyński
d03798629c
Introduced type aliases for mixnode and gateway keys ( #650 )
...
* Introduced type aliases for mixnode and gateway keys
* Ibid for error types
* Ibid for tests
2021-06-17 09:01:41 +01:00
Jędrzej Stuczyński
164c8ad05c
Feature/reverse contract mapping ( #640 )
...
* WIP
* One fewer todos
* Migrated transactions,queries + query tests
* Transaction-related tests restored
* Import cleanup
* Initial draft of the migration procedure
* Future migration test
* Fixed rust compilation errors
* Unbonding no longer requires explicit identity
* Delegation API changes
* Fixed incorrect gateway delegation object
2021-06-14 17:55:41 +01:00
Jędrzej Stuczyński
1fb26b68c6
Feature/delegated staking ( #635 )
...
* Initial delegation
* Queries for delegation
* Validation + delegation tests
* Removing delegation tests + fixes
* Tests for query related functions
* Adjusted delegation queries page limits
* Added delegation queries to validator client
* Methods for delegation inside validator client
* Some comments
* missing return types
* Post merge fixes
* Rewarding mix delegations
* Renaming
* Moved storage keys around
* Gateway delegation
* ibid
* Removed needlessly commented lines
2021-06-10 12:55:58 +01:00
Jędrzej Stuczyński
50f65aa698
Feature/per layer count ( #628 )
...
* Initial struct
* WIP
* Added test for migration
* unused import
2021-06-07 11:59:33 +01:00
Jędrzej Stuczyński
27e704ab80
Reordered imports
2021-05-27 11:42:11 +01:00
Jędrzej Stuczyński
99780d3eb0
Updated smart contract to work with future cosmwasm 0.14.0 update
2021-05-27 11:27:09 +01:00
Jędrzej Stuczyński
3136346a01
Feature/bonding adjustments ( #561 )
...
* Made mixnode bonding process similar to that of gateways' + lowered bonding fee
* Adjusted bonding fee to 100
* Adjusted MixNode Display implementation for nicer formating
* Renamed bonding stake to just bond
* Renamed other cases where stake was referring to bond
2021-04-08 11:15:19 +01:00
Jędrzej Stuczyński
7361d7a220
Added contract query to check if given address owns a mixnode/gateway ( #544 )
...
* Added contract query to check if given address owns a mixnode/gateway
* Fixed merge conflict
2021-03-24 17:29:08 +00:00
Jędrzej Stuczyński
9e0bb80163
Feature/topology conversion ( #536 )
...
* Removed reputation field from existing topology
* ibid for registration time
* Basic bond to topology conversion
* Made existing tests compilable
* Added owner and stake fields to mix and gateway topology entries
* Moved node conversion to topology crate
* Added mixnet contract field to clients configs
* topology refresher trying to use new validator
* Removed clients depepdency on the old validator client
* Removed mixnode dependency on the old validator client
* Removed gateway dependency on the old validator client
* Removed location field fron mixnode and gateway configs
* Removed incentives address from mixnodes and gateways
* Cargo.lock changes
* Ignoring clippy warnings originating from codegen from JsonSchema
* no longer formating string with a literal
2021-03-24 10:52:27 +00:00
Jędrzej Stuczyński
2e7cd451ec
Feature/mix contract identity key ( #533 )
...
* Added identity_key field to mixnodes
* Printing out required bond information on mixnode startup
2021-03-18 15:05:32 +00:00
Jędrzej Stuczyński
67c92b3e56
Feature/validator client rust ( #532 )
...
* Moved definition of mixnet contract common items to separate module
* Removed schemars dependency from being wasm32 specific
* Moved query responses to the shared module
* Fixed tests due to differerent import paths
* Updated dashmap in other crates to help with once_cell version selection
* Reexporting coin and humanaddr
* Deserializing response from validator
* Deserializing smart result directly to specific type
* Ability to query for mixnodes and gateways from rust
* Fixed compilation warning due to updated dashmap
2021-03-18 09:31:15 +00:00