Commit graph

2609 commits

Author SHA1 Message Date
satyakoneru
b81088f192 Integration of deposit and rest of weighted wallets, withdrawal fee fix, whole code refactoring 2020-04-17 12:10:48 +00:00
satyakoneru
bb9e005204 CLANG code format sidechain tests 2020-04-17 11:41:27 +00:00
satyakoneru
b5a3ca8040 CLANG code format 2020-04-17 04:59:11 +00:00
Srdjan Obucina
2739b56b94 Refactor sidechain address mapping 2020-04-17 02:47:32 +02:00
Srdjan Obucina
4d7454a98a Merge branch 'feature/SONs-base' into SON-BTCPxPlex-Tryouts 2020-04-17 01:50:53 +02:00
gladcow
438305c848 btc_one_or_weighted_multisig_address tests 2020-04-16 23:21:40 +03:00
gladcow
7bc2511418 fix error in redeem_script 2020-04-16 18:27:23 +03:00
gladcow
c5c6dd8721 simplify redeem script 2020-04-16 17:49:42 +03:00
gladcow
c67cc5b673 btc_one_or_weighted_multisig_address implementation 2020-04-16 17:19:55 +03:00
gladcow
b90a0c36e1 move network_type enum to the base class 2020-04-16 16:48:14 +03:00
satyakoneru
b31f380135 1 or m-of-n deposit address support 2020-04-16 12:10:02 +00:00
satyakoneru
a60dc96f88 End to End test weighted multi sig 2020-04-16 06:18:16 +00:00
gladcow
44abebab97 fix the issues with tx signing 2020-04-16 01:23:14 +03:00
gladcow
14d535ba68 create test tx with weighted multisig wallet 2020-04-15 16:57:46 +03:00
gladcow
e778d2a043 weighted multisignature address test 2020-04-15 16:57:46 +03:00
satyakoneru
93bc6f9823 Fix for bad-txns-nonstandard-inputs 2020-04-15 13:37:19 +00:00
gladcow
dd9e350f9f btc_weighted_multisig_address implementation 2020-04-15 12:54:23 +03:00
gladcow
6e3a0e962b witness script for weighted wallet 2020-04-15 10:24:12 +03:00
gladcow
9842a11846 extend script_builder 2020-04-15 10:24:12 +03:00
satyakoneru
30717b73ae Fix for son deletion in the middle 2020-04-15 04:56:46 +00: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
satyakoneru
7112292832 Debug logs and additional tests 2020-04-14 20:18:20 +00:00
satyakoneru
4c3da2015a Add send_transaction_standalone function 2020-04-14 17:49:56 +00:00
satyakoneru
73e0673199 Add signing and verification tests and sign_transaction_standalone 2020-04-14 16:41:43 +00:00
satyakoneru
b08d34d62f add 10-of-14 multisig address test 2020-04-14 14:45:59 +00:00
satyakoneru
458dfe5a29 tx deserialization fix 2020-04-14 13:45:53 +00:00
satyakoneru
b153513863 Add tx creation, signing and tests 2020-04-14 13:06:13 +00:00
satyakoneru
c4a48f1317 Bring in the bitcoin utils code into plugin 2020-04-13 13:04:43 +00: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