Commit graph

2517 commits

Author SHA1 Message Date
satyakoneru
6e61d6b055
SON233 - Provide correct downtime metrics to user (#278) 2020-02-03 18:44:39 +05:30
satyakoneru
b952522b01
SON232 - Avoid duplicate proposals from sidechain plugin (#275) 2020-01-31 17:28:07 +05:30
satyakoneru
21c8337753
SON165 - Keys mapping missing from wallet data (#274) 2020-01-29 17:50:36 +05:30
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
7139b4a4e3 Quickfix for update_sidechain_address and delete_sidechain_address cli commands 2020-01-23 13:15:55 +01:00
satyakoneru
80870749de SON199 - Fix Unit Test Failure (#268) 2020-01-21 21:39:54 +05:30
Srdjan Obucina
e0e427a366 Quick fix for list_active_sons 2020-01-20 15:08:34 +01:00
gladcow
11339c1734 [SON-202] Implement cli_wallet commands for maintenance mode (#261)
* Add stop_son_maintenance CLI call

* fix bug with SON activation

* son_maintenance_operation

* son_maintenance_operation tests

* cli test for son maintenance state

* start_son_maintenance CLI call

* keep maintenance state during active SON set changes
2020-01-18 02:00:45 +05:30
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
Roshan Syed
691468dff0
Updated gitlab CI to sync submodules (#265) 2020-01-17 08:22:26 -04: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
obucinac
47eafcf6c0 Wallet recreation on new set of SONs voted in (#256)
* Extend GPO.active_sons to contain votes and all public keys

* Introduce son_wallet_object
2020-01-13 19:28:43 +05:30
satyakoneru
59a02b1460 SON206 - Plugin SON Heartbeat changes (#250)
* SON206 - Plugin SON Heartbeat changes

* SON206 - Plugin SON Heartbeat changes, comment removal

* SON206 - Plugin SON Heartbeat changes, stub testing and changes

* SON206 - Plugin SON Heartbeat changes, removing debugs prints
2020-01-06 18:36:49 +05:30
satyakoneru
01fb1db6a6 SON194-SON195 - Report SON Down, addition of SON Account for sidechain consensus (#244)
* SON194-SON195 - Addition of SON BTC Account and report son down changes

* SON194-SON195 - SON BTC Account errors rectification

* SON194-SON195 - Adding Tests

* User sidechain address mappings (#240)

* WIP: Sidechain objects
* Revert "WIP: Sidechain objects"
This reverts commit 8676940a28.
* WIP: User sidechain address mappings
* Fix reflection problem
* Reflect missing members of sidechain_address_update_operation
* Add sidechain address operation tests
* Enable RPC calls
* Fix build errors due to merge conflict
* Fix RPC, add CLI wallet commands for sidechain addresses
* Improved peerplays_sidechain_plugin_impl
* Remove short param for son-id
* Fix crashing errors on bitcoin event received
* Code review changes

* SON207 - Introduce scheduling for SONs similar to witnesses (#251)

* Extend SON objects to contain sidechain public keys (#254)

Co-authored-by: obucinac <obucinac@users.noreply.github.com>
2020-01-06 18:29:35 +05:30
obucinac
31ec55514b
Extend SON objects to contain sidechain public keys (#254) 2019-12-23 19:20:26 +01:00
satyakoneru
a347e97649 SON207 - Introduce scheduling for SONs similar to witnesses (#251) 2019-12-23 19:00:49 +05:30
obucinac
6d5b86a8e5
User sidechain address mappings (#240)
* WIP: Sidechain objects
* Revert "WIP: Sidechain objects"
This reverts commit 8676940a28.
* WIP: User sidechain address mappings
* Fix reflection problem
* Reflect missing members of sidechain_address_update_operation
* Add sidechain address operation tests
* Enable RPC calls
* Fix build errors due to merge conflict
* Fix RPC, add CLI wallet commands for sidechain addresses
* Improved peerplays_sidechain_plugin_impl
* Remove short param for son-id
* Fix crashing errors on bitcoin event received
* Code review changes
2019-12-18 19:30:38 +01:00
satyakoneru
1d5878db28 SON193-SON200- SON Heartbeats and maintenance mode changes (#241)
* SON193-SON200- SON Heartbeats and maintenance mode changes

* SON193-SON200- SON Heartbeats and maintenance tests
2019-12-12 18:36:38 +05:30
obucinac
876bbc8c6d
Add peerplays account for a SON in a config/command line options (#231) 2019-12-11 14:58:47 +01:00
gladcow
d03bfa81f7 [SON-199] Fix unit tests (#233)
* fix app_test

* fix son_delete_test
2019-12-08 12:13:05 +05:30
obucinac
749fc2f330
Add Bitcoin network listener to a SON plugin (#196)
* Add Bitcoin network listener to a SON plugin
* Add default parameters for Peerplays Bitcoin test node
* Add Bitcoin block processing
* Update source code to last designs
* Set default parameters for peerplays_sidechain plugin to Bitcoin test server
* WIP: Some Bitcoin transaction processing
2019-12-04 18:52:00 +01:00
Sandip Patel
76b95729e1 removed unrelated parameter description from delete_son 2019-11-21 13:34:29 +05:30
Alfredo Garcia
36c93a586c
Merge pull request #215 from peerplays-network/feature/SON-150
[SON-150] list_active_sons wallet_api call
2019-11-17 10:17:42 -03:00
Sandip Patel
ae781e48af Fixed betting tests (#217)
* Fixed betting tests

* Removed comments
2019-11-12 00:23:13 +05:30
gladcow
dbf6be02c5 use assert instead of checking condition with low possibility 2019-11-11 13:13:57 +03:00
gladcow
62f973ca80 fix code style 2019-11-11 12:54:54 +03:00
gladcow
8c4eb579a7 unit test for list_active_sons 2019-11-07 13:38:24 +03:00
gladcow
22f76a04c0 list_active_sons api call implementation 2019-11-07 13:38:24 +03:00
gladcow
e4eb3e6ce3 [SON-113] Fix several issues in update_son_votes call in wallet_api (#208)
* do not allow update votes with both empty lists

* fix error messages

* check number of sons against votes number in account_object

* Update error message
2019-11-01 22:26:00 +05:30
gladcow
a0e4ac59ff [SON-160] Fix create_vesting wallet_api call (#206)
* Fix create_vesting wallet_api call

* change type for vesting_type in create_vesting_balance
2019-11-01 19:13:34 +05:30
Alfredo Garcia
0bbe7f63c7
Merge pull request #203 from peerplays-network/feature/SON-142
[SON-142] Fix failed SON deletion CLI tests
2019-10-31 10:15:50 -03:00
gladcow
11e9830194 fix son_delete_operation reflection 2019-10-30 13:31:15 +03:00
satyakoneru
666ced390e SON126 - Witness Proposals to deregister SONs (#192)
* SON126 - Witness Proposals to deregister SONs

* SON126 - Approval by witness, removal of son_proposal_object, commenting

* SON126 - Witness proposal tests and related fixes

* SON126 - Proper commenting
2019-10-23 22:16:04 +05:30
gladcow
f9f95cd242 [SON-113] Unit test for cli update_son_votes (#179)
* refactor cli tests

* update_son_votes tests

* list_sons test

* test changes in get_global_properties() result

* fix generate_block failure

* fix update_son_votes test

* improve update_son cli test

* fix linking errors

* refactor select_top_fifteen_sons test

* refactor other son cli tests to use son_test_helper

* create_vesting call in wallet_api

* test fix

* fix create_son in wallet_api and cli tests
2019-10-23 18:54:17 +05:30
Alfredo Garcia
e0242bcf86 fix build error (#191)
* fix build error

* adapt son_pay_test to dormant vesting policy
2019-10-22 03:29:31 +05:30
obucinac
610490ef81
Active SONs, list up to 15, order by votes, add test (#185)
* Add test for selecting 15 SONs with highest votes
* Display up to 15 active SONs, SON ordering by total_votes
2019-10-21 15:44:09 +02:00
Alfredo Garcia
412177964c
Merge pull request #183 from peerplays-network/son_vesting
Son vesting balance implementation
2019-10-20 10:29:15 -03:00
Alfredo Garcia
f84155a166
Merge branch 'feature/SONs-base' into son_vesting 2019-10-18 15:21:08 -03:00
Alfredo Garcia
dcaf55a184 remove not needed code from wallet son commands, add delete son test to cli (#181) 2019-10-18 15:49:38 +05:30
Alfredo Garcia
d29e433488 force son create vesting balance to have dormant policy 2019-10-18 00:27:13 -03:00
Alfredo Garcia
76120a5b76 abstraction of dormant vesting policy 2019-10-18 00:01:40 -03:00
satyakoneru
ee7aae56da SON118-Add Budget for SON (#165)
* SON118-Add Budget for SON

* SON118 - Compilation errors fix

* SON118 - Proper commenting around pay_sons function

* SON118 - Comment correction, SON statistics object implementation type correction

* SON118 - Add missing index init and reflect enums

* SON118 - Correcting the indentation

* SON118 SON144 - Add unit test, code fixes and resolve failures for existing tests

* SON118 SON144 - Removing extra spaces added
2019-10-17 20:16:48 +05:30
Alfredo Garcia
032c4c7a99 add precision to son vesting amount 2019-10-16 14:59:49 -03:00
Alfredo Garcia
be8dc42d66 add dormant vesting policy for son 2019-10-15 21:55:48 -03:00
Alfredo Garcia
c94412cb7a add vesting balance type support 2019-10-15 20:28:04 -03:00
Alfredo Garcia
c02a33a004 add son vesting config options 2019-10-15 17:35:26 -03:00
obucinac
b3b994c6ea
Add son_delete cli tests (#182)
* Add son_delete cli tests
2019-10-15 18:13:14 +02:00
Alfredo Garcia
6c8f4bf9d5
Merge pull request #176 from peerplays-network/feature/SON-142
[SON-142] Fix the failed tests in SONs-base
2019-10-14 20:34:05 -03:00