Commit graph

56 commits

Author SHA1 Message Date
Srdjan Obucina
e2ef5a6db1 Integrate PW wallet fund moving 2020-02-23 23:53:50 +01:00
Srdjan Obucina
224f01269c Fix repeating tasks that should be executed by scheduled SON only 2020-02-22 02:27:12 +01:00
Srdjan Obucina
1e27c0b4ba Merge branch 'SON261' into feature/SON-264
Fix conflicts
2020-02-21 14:17:02 +01:00
satyakoneru
c953864c39 SON261 - Add PW->PW Transfer and Code reorg 2020-02-21 09:09:33 +00:00
Srdjan Obucina
4a7e70c8d6 Withdrawal refactoring 2020-02-20 19:18:11 +01:00
satyakoneru
9e30f8866a SON261 - Withdrawal transfer ( PW -> user address ), addition of bitcoin public private key to config.ini for multiple sons mode 2020-02-20 13:45:59 +00:00
Srdjan Obucina
cbfaefde83 Some refactoring 2020-02-20 14:37:42 +01:00
Srdjan Obucina
22c12f5041 Rename son_wallet_withdrawal* to son_wallet_withdraw* 2020-02-20 13:03:13 +01:00
Srdjan Obucina
5a37d3ecd1 Renaming son_wallet_transfer* to son_wallet_deposit*, introducing son_wallet_withdrawal* 2020-02-19 16:31:11 +01:00
Srdjan Obucina
4b01d8064f Full Peerplays listener, use GRAPHENE_SON_ACCOUNT instead son_btc_account 2020-02-19 05:08:10 +01:00
Srdjan Obucina
992b245d5b Skeleton of Peerplays network listener 2020-02-14 21:54:02 +01:00
Srdjan Obucina
b927ffa4d0 Skeleton of sidechain_net_handler_peerplays 2020-02-14 01:25:24 +01:00
Srdjan Obucina
75626254fa Add cmake command line option SUPPORT_MULTIPLE_SONS 2020-02-11 16:59:10 +01:00
Srdjan Obucina
0d14b481a4 Fix merging issue 2020-02-11 15:18:04 +01:00
Srdjan Obucina
da7b161d3d Merge branch 'feature/SONs-base' into feature/SON-238 2020-02-11 14:52:05 +01:00
obucinac
116be75c32
SON wallet transfer object and operations (#279)
* Extend GPO.active_sons to contain votes and all public keys

* Introduce son_wallet_object

* son_wallet_object operations

* son_wallet_object operations

* son_wallet_object operations completed, basic tests added

* Create son_wallet_object on new set of SONs, to initiate primary wallet recreation

* son_wallet_object API and cli wallet commands

* Send RPC command to bitcoin node to recreate multisig wallet

* Send RPC command to bitcoin node to recreate multisig wallet

* Send RPC command to bitcoin node to recreate multisig wallet

* Wallet recreation by scheduled SON only, some cosmetic refactoring

* Wallet recreation by scheduled SON only, some cosmetic refactoring

* Updating wallet info through operation instead through database.modify() for persistance

* SON wallet transfer object and operations, for tracking assets deposit/withdrawal

* Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp

Co-Authored-By: gladcow <jahr@yandex.ru>

* Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp

Co-Authored-By: gladcow <jahr@yandex.ru>

* Fix #include <graphene/chain/son_wallet_transfer_object.hpp>

* SON wallet transfer object and operations, for tracking assets deposit/withdrawal

* SON wallet transfer object and operations, for tracking assets deposit/withdrawal

* Refactor primary wallet recreation

* Refactor primary wallet recreation

* PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal

* PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal

* Quickfix for checking payer in evaluator

* Quickfix for checking payer in evaluator

* Fix failing son_wallet_tests

- Check for son_btc_account is temporarely disabled

* Remove redundant file

* Squashed commit of the following:

commit a688bb93ed
Author: obucinac <obucinac@users.noreply.github.com>
Date:   Tue Feb 4 19:31:45 2020 +0100

    son_wallet_object operations and multisig wallet recreation by RPC (#263)

    * Extend GPO.active_sons to contain votes and all public keys

    * Introduce son_wallet_object
    * son_wallet_object operations
    * Create son_wallet_object on new set of SONs, to initiate primary wallet recreation
    * son_wallet_object API and cli wallet commands
    * Send RPC command to bitcoin node to recreate multisig wallet
    * Updating wallet info through operation instead through database.modify() for persistance
    * Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp
    * Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp
    * Fix #include <graphene/chain/son_wallet_transfer_object.hpp>
    * Refactor primary wallet recreation
    * PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal
    * Quickfix for checking payer in evaluator
    * Fix failing son_wallet_tests
    - Check for son_btc_account is temporarely disabled
    * Remove redundant file
    Co-authored-by: gladcow <jahr@yandex.ru>

commit 6e61d6b055
Author: satyakoneru <satyakoneru.iiith@gmail.com>
Date:   Tue Feb 4 00:14:39 2020 +1100

    SON233 - Provide correct downtime metrics to user (#278)

* Remove duplicated item in CMakeLists.txt

* Issue tokens to the user who deposited Bitcoin, WIP...

* Add son_wallet_transfer_process_operation

* Issue tokens to the user who deposited Bitcoin, WIP...

* Add is_active_son guards for sidechain events processing

Co-authored-by: gladcow <jahr@yandex.ru>
2020-02-11 19:16:35 +05:30
Srdjan Obucina
df369df421 Move transfer inside son_wallet_transfer_process_operation 2020-02-10 19:17:56 +01:00
Srdjan Obucina
95ad384f0c Fix aprovals on already approved or invalid proposals 2020-02-10 06:40:05 +01:00
Srdjan Obucina
7f56e8e661 Managing GRAPHENE_SON_ACCOUNT and issuing assets on Bitcoin deposit 2020-02-10 01:53:15 +01:00
Srdjan Obucina
69cad0f1bd Add is_active_son guards, fix sending proposals and aprovals 2020-02-07 21:38:30 +01:00
satyakoneru
daf7ac5da8
SON214 - Request maintenance wallet commands (#280) 2020-02-07 11:19:16 +05:30
Srdjan Obucina
5b1dea0d39 Support multiple SON nodes per software instance 2020-02-07 00:17:19 +01:00
Srdjan Obucina
9056ba6d07 Issue tokens to the user who deposited Bitcoin, WIP... 2020-02-05 20:19:47 +01:00
Srdjan Obucina
01f1b6137a Issue tokens to the user who deposited Bitcoin, WIP... 2020-02-04 23:40:40 +01:00
Srdjan Obucina
89ca9167d3 Squashed commit of the following:
commit a688bb93ed
Author: obucinac <obucinac@users.noreply.github.com>
Date:   Tue Feb 4 19:31:45 2020 +0100

    son_wallet_object operations and multisig wallet recreation by RPC (#263)

    * Extend GPO.active_sons to contain votes and all public keys

    * Introduce son_wallet_object
    * son_wallet_object operations
    * Create son_wallet_object on new set of SONs, to initiate primary wallet recreation
    * son_wallet_object API and cli wallet commands
    * Send RPC command to bitcoin node to recreate multisig wallet
    * Updating wallet info through operation instead through database.modify() for persistance
    * Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp
    * Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp
    * Fix #include <graphene/chain/son_wallet_transfer_object.hpp>
    * Refactor primary wallet recreation
    * PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal
    * Quickfix for checking payer in evaluator
    * Fix failing son_wallet_tests
    - Check for son_btc_account is temporarely disabled
    * Remove redundant file
    Co-authored-by: gladcow <jahr@yandex.ru>

commit 6e61d6b055
Author: satyakoneru <satyakoneru.iiith@gmail.com>
Date:   Tue Feb 4 00:14:39 2020 +1100

    SON233 - Provide correct downtime metrics to user (#278)
2020-02-04 19:56:20 +01:00
obucinac
a688bb93ed
son_wallet_object operations and multisig wallet recreation by RPC (#263)
* Extend GPO.active_sons to contain votes and all public keys

* Introduce son_wallet_object
* son_wallet_object operations
* Create son_wallet_object on new set of SONs, to initiate primary wallet recreation
* son_wallet_object API and cli wallet commands
* Send RPC command to bitcoin node to recreate multisig wallet
* Updating wallet info through operation instead through database.modify() for persistance
* Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp
* Update libraries/chain/include/graphene/chain/protocol/son_wallet.hpp
* Fix #include <graphene/chain/son_wallet_transfer_object.hpp>
* Refactor primary wallet recreation
* PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal
* Quickfix for checking payer in evaluator
* Fix failing son_wallet_tests
- Check for son_btc_account is temporarely disabled
* Remove redundant file
Co-authored-by: gladcow <jahr@yandex.ru>
2020-02-04 19:31:45 +01:00
satyakoneru
6e61d6b055
SON233 - Provide correct downtime metrics to user (#278) 2020-02-03 18:44:39 +05:30
Srdjan Obucina
ca112b1eb6 Merge branch 'feature/SON-98' into feature/SON-231 2020-01-31 23:55:59 +01:00
Srdjan Obucina
f62a46e789 Merge branch 'feature/SONs-base' into feature/SON-98 2020-01-31 23:53:31 +01:00
Srdjan Obucina
c5ea418321 PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal 2020-01-31 23:28:20 +01:00
Srdjan Obucina
afcb1ace1b PW recreation refactoring, prevent duplicated recreations, update wallet address through proposal 2020-01-31 21:53:51 +01:00
Srdjan Obucina
0c7ef96178 Refactor primary wallet recreation 2020-01-31 15:32:46 +01:00
satyakoneru
b952522b01
SON232 - Avoid duplicate proposals from sidechain plugin (#275) 2020-01-31 17:28:07 +05:30
Srdjan Obucina
f6c1da53df Refactor primary wallet recreation 2020-01-30 18:25:15 +01:00
Srdjan Obucina
42b7d25a99 SON wallet transfer object and operations, for tracking assets deposit/withdrawal 2020-01-29 17:09:37 +01:00
Srdjan Obucina
775fdf8980 SON wallet transfer object and operations, for tracking assets deposit/withdrawal 2020-01-28 22:10:35 +01:00
Srdjan Obucina
be60f65612 Merge branch 'feature/SONs-base' into feature/SON-98 2020-01-28 14:13:16 +01:00
satyakoneru
61c6d7f572 SON206_Plugin_CrashFix_Reorg - Plugin Changes (#272)
* SON206_Plugin_CrashFix_Reorg - Plugin Changes

* SON206_Plugin_CrashFix_Reorg - add owner auths to consensus account
2020-01-28 15:12:30 +05:30
Srdjan Obucina
0142348a9c Updating wallet info through operation instead through database.modify() for persistance 2020-01-27 13:14:22 +01:00
Srdjan Obucina
8399008e7d Wallet recreation by scheduled SON only, some cosmetic refactoring 2020-01-24 16:51:45 +01:00
Srdjan Obucina
7ceed83a95 Wallet recreation by scheduled SON only, some cosmetic refactoring 2020-01-24 16:50:25 +01:00
Srdjan Obucina
0b491510c4 Send RPC command to bitcoin node to recreate multisig wallet 2020-01-22 13:44:11 +01:00
Srdjan Obucina
f0a8e8e376 Send RPC command to bitcoin node to recreate multisig wallet 2020-01-22 02:43:24 +01:00
Srdjan Obucina
c25108f228 Send RPC command to bitcoin node to recreate multisig wallet 2020-01-21 04:32:19 +01:00
Srdjan Obucina
ebb6662210 Merge branch 'feature/SONs-base' into feature/SON-98 2020-01-20 13:11:23 +01:00
satyakoneru
5af31dd90d SON217 - SON Maintenance,Heartbeat state transition changes (#264)
* SON217 - SON Maintenance,Heartbeat state transition changes

* SON217 - SON Maintenance,Heartbeat state transition changes
2020-01-18 01:58:13 +05:30
Srdjan Obucina
61b8ff0cc7 son_wallet_object operations 2020-01-16 08:07:18 +01:00
satyakoneru
5d7ab51d58 SON212-SON213 - Fix Build Error (#262)
* SON212-SON213 - Fix Build Error

* SON212-SON213 - Fix Build Error Add smart_ref definition for linking
2020-01-16 02:17:05 +05:30
satyakoneru
77927da236 SON212-SON213 - Add Sidechain Plugin Code to report and approve SON Down proposal (#260)
* SON212 - Add Sidechain Plugin Code to report SON Down

* SON212-SON213 - Add Sidechain Plugin Code to report SON Down, Approve proposal from sidechain plugin
2020-01-14 18:43:02 +05:30
Srdjan Obucina
6fe0acb12d Fix build errors 2020-01-13 16:05:28 +01:00