Commit graph

2609 commits

Author SHA1 Message Date
Srdjan Obucina
c6c862d482 Add check for settle proposal duplicate 2020-04-19 05:00:59 +02:00
Srdjan Obucina
9004325597 Remove logs 2020-04-19 04:40:25 +02:00
Srdjan Obucina
edbf8fea1d Remove logs 2020-04-19 04:37:35 +02:00
Srdjan Obucina
9af7bfc58f Fix withdraw settling 2020-04-19 04:34:46 +02:00
Srdjan Obucina
9c550956dc Deposit/withdraw process and sidechain transaction creation in single proposal 2020-04-19 04:04:37 +02:00
Srdjan Obucina
1caaab2cef Merge branch 'feature/SONs-base' into feature/SON-349 2020-04-18 23:35:30 +02:00
sierra19XX
b436b790fb
SON Weighted Multi Signature Signing (#349)
* Bring in the bitcoin utils code into plugin
* Add tx creation, signing and tests
* tx deserialization fix
* add 10-of-14 multisig address test
* Add signing and verification tests and sign_transaction_standalone
* Add send_transaction_standalone function
* Debug logs and additional tests
* Fix for son deletion in the middle
* Extend script_builder
* Witness script for weighted wallet
* btc_weighted_multisig_address implementation
* Fix for bad-txns-nonstandard-inputs
* Weighted multisignature address test
* Create test tx with weighted multisig wallet
* Fix the issues with tx signing
* End to End test weighted multi sig
* 1 or m-of-n deposit address support
* Move network_type enum to the base class
* btc_one_or_weighted_multisig_address implementation
* Simplify redeem script
* Fix error in redeem_script
* btc_one_or_weighted_multisig_address tests
* Refactor sidechain address mapping
* CLANG code format
* CLANG code format sidechain tests
* Integration of deposit and rest of weighted wallets, withdrawal fee fix, whole code refactoring
* Move util functions to Utils file
* Add proper checks for withdraw fee
* Deposit address creation, import deposit/withdraw addresses, some code cleanup

Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
Co-authored-by: gladcow <s.gladkov@pbsa.info>
Co-authored-by: Srdjan Obucina <obucinac@gmail.com>
2020-04-18 22:18:04 +02:00
gladcow
fbb4bbd757
check object's id (#351)
Co-authored-by: gladcow <s.gladkov@pbsa.info>
2020-04-17 21:38:47 +02:00
obucina
5305757136
[SON-354] Fix son_info compare function (#350) 2020-04-17 21:02:30 +02:00
Srdjan Obucina
56ec93e6ce All dev features enabled/disabled with single flag 2020-04-15 19:48:57 +02:00
Srdjan Obucina
b6514577a7 Remove logs 2020-04-15 03:13:17 +02:00
Srdjan Obucina
d937863949 Align with SONs-base 2020-04-15 01:15:34 +02:00
Srdjan Obucina
40fb681162 Merge branch 'feature/SONs-base' into feature/SON-349_SON-350 2020-04-15 00:41:58 +02:00
obucina
dd8abfe1cd
[SON-353] Refactor PW processing, PW transfer fixed (#347)
* Add proposal checks for deposit and withdrawal
* Refactor proposal approvement
* Fix transaction verification
* Remove logs
2020-04-15 00:33:56 +02:00
Srdjan Obucina
0a5ad52ee1 Merge branch 'feature/SON-353' into feature/SON-349_SON-350 2020-04-14 23:26:46 +02:00
Srdjan Obucina
5ec353f46b Remove logs 2020-04-14 20:42:48 +02:00
Srdjan Obucina
5284a1487c Fix transaction validation 2020-04-14 19:04:17 +02:00
Srdjan Obucina
3f71b7de1f Fix segfault 2020-04-14 07:48:59 +02:00
Srdjan Obucina
703a13dab4 Fix transaction verification 2020-04-14 07:27:18 +02:00
Srdjan Obucina
bc25f6d20d Fix transaction verification 2020-04-14 06:59:20 +02:00
Srdjan Obucina
2d079cacf6 Fix build error 2020-04-14 06:05:53 +02:00
Srdjan Obucina
16a090fc5e Merge branch 'feature/SON-353' into feature/SON-349_SON-350 2020-04-14 05:46:49 +02:00
Srdjan Obucina
4507601992 Refactor proposal approvement 2020-04-14 05:27:14 +02:00
Srdjan Obucina
88c98db1f4 Add proposal checks for deposit and withdrawal 2020-04-14 05:15:17 +02:00
Srdjan Obucina
ba6fd8e690 [SON-353] Refactor PW processing, PW transfer fixed 2020-04-14 04:50:29 +02:00
Srdjan Obucina
7dd0afe257 Handle peerplays deposits with transaction settling 2020-04-13 07:07:42 +02:00
Srdjan Obucina
66713f0b48 Separate transaction settling from deposit/withdrawal processing 2020-04-13 01:43:09 +02:00
Srdjan Obucina
c77c19563c [SON-349, SON-350] Delay BTC asset issue/reserve until tx confirmed on sidchain 2020-04-11 03:18:41 +02:00
sierra19XX
6a8cd25878
[SON-337] - Prevent update_son_votes without GPOS vesting (#344)
Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
2020-04-10 14:56:20 +02:00
obucina
7988236b2a
[SON-348] Transaction hash not saved in object after Bitcoin transaction is sent (#343)
- Fixed
- Unused parameters removed
2020-04-09 23:24:48 +02:00
obucina
44db4f5c9b
[SON-346] Sidechain transaction marked as complete even though current_weight < threshold, Fixed (#342) 2020-04-08 22:40:20 +02:00
obucina
4f72269cf6
[SON-344] BTC asset is created with wrong quote asset id, Fixed (#341)
* [SON-344] BTC asset is created with wrong quote asset id, Fixed
* Respond to code review
2020-04-08 13:51:16 +02:00
gladcow
c345369c67
[SON-341, SON-342] Fix issue with deposits number (#339)
Co-authored-by: gladcow <s.gladkov@pbsa.info>
2020-04-06 18:26:41 +02:00
obucina
bd1bd842ce
[SON-325] Added check for approving sidechain_transaction_create_operation (#337) 2020-04-06 18:09:01 +02:00
obucina
be4b55c4a0
[SON-320] Added check for approving son_wallet_update_operation (#336) 2020-04-06 11:31:58 +02:00
obucina
17bf51e963
[SON-322, SON-324] Approval checks for processing deposit/withdrawal (#330)
* Refactor proposal processing
* Added check for approving son_wallet_deposit_process_operation
* Added check for approving son_wallet_withdraw_process_operation
* Calculating exchange rates fixed
* Fix depositing Peerplays assets
2020-04-04 20:02:27 +02:00
sierra19XX
52d7ebc200
[SON-291,SON-328] - SON Configuration invalid, PW creation issues (#335)
* [SON-291,SON-328] - SON Configuration invalid, PW creation issues

Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
2020-04-04 05:47:50 +02:00
sierra19XX
1542a9a8e4
[SON-339] - SON Schedule crash (#334)
Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
2020-04-04 05:36:28 +02:00
gladcow
e1a487c87b
[SON-305, SON-308, SON-310] Use BTC asset in bitcoin deposits and withdraws (#332) 2020-04-03 04:59:24 +02:00
Srdjan Obucina
b6dc7dcc13 Merge branch 'feature/SONs-base' of https://github.com/peerplays-network/peerplays into feature/SONs-base 2020-04-02 17:54:30 +02:00
Srdjan Obucina
efa7436ded Hotfix - add initialization values to extension params, remove trailing spaces 2020-04-02 17:54:13 +02:00
sierra19XX
5bf245ee6c
SON-297_SON-336 - SON vesting functionality broken after graphene merge (#331)
Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
2020-04-02 21:22:05 +11:00
gladcow
8aaa3791bf
[SON-307] Create PBTC asset (#326) 2020-04-01 18:57:50 +02:00
sierra19XX
27f401d24e
[SON-313] - Limit SON functionality when min no. of sons are not present (#329)
* [SON-313] - Limit SON functionality when min no. of sons are not present

* Revert SON HF related checks and tests

* Remove the capability to process proposals in plugin

Co-authored-by: satyakoneru <15652887+satyakoneru@users.noreply.github.com>
2020-04-01 23:05:22 +11:00
Srdjan Obucina
d71061565a [SON-329] Hotfix - Enable test test_update_dividend_interval 2020-03-31 14:16:18 +02:00
pbattu123
210e72f843
update son-account parameters (#328) 2020-03-30 22:49:03 +02:00
obucina
f3a0827d5d
[SON-332] Check gitlab building process for dirty build (#327)
* Fix failing son test, fix data types and check condition
* Very clean build on Gitlab
2020-03-30 22:48:39 +02:00
Srdjan Obucina
bccba7697e Quickfix - change GPOS and SON hardfork times 2020-03-30 16:59:10 +02:00
Srdjan Obucina
dc5a8da13d Hotfix - Fix build error 2020-03-29 23:23:57 +02:00
gladcow
1e76a23133
[SON-311] Add try_create_son call without explicit deposit params (#324)
Co-authored-by: gladcow <s.gladkov@pbsa.info>
2020-03-29 23:19:45 +02:00