Commit graph

11 commits

Author SHA1 Message Date
gladcow
00a453fd77 correct btc regtest bech32 address prefix 2020-03-18 18:39:40 +03:00
gladcow
38831b4742 use existing implementation for hex conversion 2020-03-17 09:41:19 +03:00
gladcow
a1adcc8507 make testnet default bitcoin network 2020-03-17 09:28:24 +03:00
Srdjan Obucina
2528c349d4 Fix public key processing, its Hex not Base58 encoded 2020-03-16 23:47:25 +01:00
Srdjan Obucina
e28a19a9d3 Code formatting 2020-03-15 23:40:27 +03:00
gladcow
d93f5e66b1 Add redeem_script to son_wallet_object 2020-03-06 16:58:23 +03:00
gladcow
6b47ed4a8c replace createrawtransaction call 2020-03-06 16:58:23 +03:00
gladcow
0d1adde0a6 Create weighted multisig address 2020-03-06 16:58:23 +03:00
obucinac
d6e6bed907
Various SON improvements (#297)
* Refactor SON processing
* Better exposure of sidechain private keys in sidechain handlers
* Support non default Bitcoin wallets
* Fix crash on config file recreation
* clang-format formatting
* New Bitcoin wallet related RPC calls
* Add missing create_son_deregister_proposals calls
* Add missing create_son_deregister_proposals calls
* Add loading/unlocking/locking of non-default bitcoin wallet
* Bitcon RFC logs improved, proposal aprovement improved
* Move signal connection after handlers are created
2020-03-02 15:24:24 +02:00
gladcow
a968ec922c
add ability to gather signatures before signing (#290) 2020-02-21 19:02:06 +05:30
gladcow
544112c63b
[SON-209] Create P2SH address with custom redeemScript (#271)
* Create redeem script for SONs primary wallet

* Add importaddress call

Allows to watch for related transactions without private keys import

* Get UTXO set for watched addresses

* createrawtransaction call

* signing PW spending transaction

* unit test for btc tx serialization

* sending PW transfer in test

* BIP143 tx signing

* use bech32 address format

* use single sha256 for lock script

* Digest fix

* working signing

* separate signing

* test partially signed PW transfer
2020-02-19 17:16:27 +05:30