Posts

Is P2SH-wrapped P2PKH possible?

Is P2SH-wrapped P2PKH possible? There is a known form of address that called P2SH-wrapped P2PKH, wrapping SegWit address as Base58 (P2SH) address. Thinking about such address type, I come up with the question: Is P2SH-wrapped P2PKH possible? I know that it is completely useless and meaningless, but I want to think about it now. Step 1: Decide an address to convert Let's use the address 1CciesT23BNionJeXrbxmjc7ywfiyM4oLW as it is used as a sample here . Step 2: Convert it into "output script", then hash it using "hash160" I got OP_DUP OP_HASH160 7f6ab65fa911f558ca2dde3e9d073acb02c0d5c6 OP_EQUALVERIFY OP_CHECKSIG. Hashed result is c852ac34a1c76b63a279c97502c9ccc4e3cb9e8b. Step 3: Make P2SH address from hashed script toBase58Check(c852ac34a1c76b63a279c97502c9ccc4e3cb9e8b, 5) = 3KxE77EHe1ip6WGRifwr9fZ5WBDGsLyWFz The result 3KxE77EHe1ip6WGRifwr9fZ5WBDGsLyWFz is what I want. Here is the code to reproduce this address generation. Question Is that possible to ...

How to import p2wsh-in-p2sh multisig as watch-only?

How to import p2wsh-in-p2sh multisig as watch-only? I've created a p2wsh-in-p2sh multisig address using an offline node. I have the address and redeem script, as provided by bitcoin-cli addmultisigaddress on the offline node. How do I import this as a watch-only address on an online node, so I can use the online node to create transactions ? I have tried the following: $ bitcoin-cli -testnet -rpcwallet=glacier importmulti '[{ "scriptPubKey": { "address": "2MzqiaZzpLT2SSBfsFqqo3FpZsP8g6WTvyC" }, "timestamp":"now", "redeemscript":"5221029f531503facdac2496f50a446d9bd29846a06a04a45e3845b656bb471df422fc2102e30787703a990e4015a2cb9071fcfd1c7d4641fb294e4b4c3f5f6b450a1925132102da28088a8022651171c4f13429b98709dabe13bc6da526537fdd2d0730dd2dbb2103286c96ecaa850a6ba43cc45fbb539c1fb1d65c23cc0f3cd09fcf9765826ff9de54ae", "watchonly":true, "label":"Glacier 2012-12-21" }]' [ { "su...

Sent BTC to Jaxx Wallet Never Received

Sent BTC to Jaxx Wallet Never Received A friend suggested I use Jaxx Wallet so I downloaded the software and sent my BTC using their QR Code from Coinbase. Looking back, I should've left it where it was! It never arrived. I also sent LTC using the same QR Code method. That has arrived and is in my Jaxx Wallet now. I see my transaction completed and verified on the blockchain. How do I locate where it is? How can I trace that this transaction was actually sent (and maybe received) by Jaxx although it doesn't show in my wallet? http://bit.ly/2EE6PDt

What rules does the Exodus Wallet follow in selecting outputs to cover the amount being sent?

What rules does the Exodus Wallet follow in selecting outputs to cover the amount being sent? If you use CTRL-Shift-D to open the Developer Menu in the Exodus wallet, you can go under Developer|Assets and select your crypto and then choose the "Export Address" function. This saves a csv file for you that lists the internal "HD" addresses for which you have private keys. If you've done a few transactions, receiving and sending, you'll have a few of these addresses that still have some amount in them. When you tell Exodus that you want to send some of that crypto to another address, it will follow a strategy of selecting those addresses in some kind of order in order to get a total which is greater than the sending amount. I'm trying to find out in what order the Exodus wallet will choose those addresses. http://bit.ly/2CtPJq8

How to calculate profit for merged mining coins

How to calculate profit for merged mining coins I am making a mining profitability calculator for these coins that use merged mining: BlakeCoin However I dont know on how I would actually calculate the profitability for that. I made a calculator for Sia, SiaPrime, SiaClassic, and Hyperspace(these dont use merged mining): BlakeMining.com The way I calculated the profit for that was by doing (hashrate/(difficulty/BlockTime)) * ((300000 - height - ((period/BlockTime)/2)) * (period/BlockTime)) (Using JavaScript) and that gave an accurate result. I was thinking that maybe I could do the same thing but then divide the result by the number of coins on the merged mining network. I dont know if that will give accurate results though. If you know how to calculate this or if there is some article/answered question on this, please send a link. -Thanks! http://bit.ly/2BzRBfD

What are the issues of running lightning daemon with pruning node?

What are the issues of running lightning daemon with pruning node? Most lightning implementations I came across don't officially support pruned full node. Why is pruned mode implementation a challenge? What risk am I taking when I run lnd with pruned bitcoind? http://bit.ly/2QMHtuq

Determining the byte size of multisig transaction beforehand knowing the details of the transaction

Determining the byte size of multisig transaction beforehand knowing the details of the transaction If I know the m of n values of the multisig, the # of inputs (all of which are from the multisig and require m signatures) and outputs and the redeem script, how can I determine the size of the transaction after m signatures? http://bit.ly/2CtfUgL