Shigeyuki Azuchi
  • Member for 3 years, 10 months
  • Last seen this week
What's the difference between an 'address' and an 'addressHash' in a transaction on a bitcoind node?
2 votes

addressHash is the data output by pybtc. The data is a hash of the public key or script. It is contained in the address. And also parts of scriptPubkey(locking script). For P2PKH and P2WPKH, it is ...

View answer
Why in old blocks I can't see the miner address using RPC API calls?
1 votes

The coinbase output (the destination of the mining reward) is freely decided by the miner. In early block, this destination was Pay to Pubkey(P2PK). Since P2PK is not assigned an address, no address ...

View answer
1 of n Multisig Scriptless Scripts?
Accepted answer
1 votes

MuSig does not support m-of-n multisig, so you should use a threshold signature scheme like this: http://cacr.uwaterloo.ca/techreports/2001/corr2001-13.ps

View answer
Bitcoin-ruby returns "nil" value for bitcoin-cli calls
Accepted answer
1 votes

The above code is only using RPC to Bitcoin Core and bitcoin-ruby is not used. The problem is the body parameter name when sending the request. Change param key to params as follow. request.body = {...

View answer
unlock non standard script
0 votes

The scriptPubkey above is a P2WSH nested in P2SH. In order to unlock this coin: Put P2WSH payload into input scriptSig.00204a3babc5f8f8f5f67b6331c18931e6f198b6cf576b0f3747314d11dedddf97c5 Put P2WSH's ...

View answer
How I can get all adresses from WIF private key?
0 votes

In bitcoinj, there is a check that indicates an error if the private key is 0 or 1. The above private key is 1, so it is an error. https://github.com/bitcoinj/bitcoinj/blob/...

View answer
How to accept the payment with regtest?
Accepted answer
0 votes

untrusted_pending means untrusted pending balance (outputs created by others that are in the mempool) according to the bitcoin core source. If you create a new block and it contains above payment ...

View answer
Error broadcasting SegWit transaction
0 votes

Witness Signature: 304402204af85395dd8c758ac379c343bc278351f73cdf9d8548d933aada5fa4e13194a80220126c0614f75520709e63ac41 9308344c00a4a22c021e1b9d8b42115aa73e37b01 It seems that the signature value ...

View answer
Using Javascript, I want to generate a segwit private key (zprv) similarly to how I am generating my legacy base58 extended private key. How?
Accepted answer
0 votes

Key derivation for P2WPKH using the zpub/zprv version bytes is defined in BIP 84. So you can use bip84 library. let bip84 = require('bip84'); const root = new bip84.fromSeed('rural catch say tooth ...

View answer
Error validating a transaction with blockcypher
Accepted answer
0 votes

It seems that there is no sighash type at the end of the signature data in witness.

View answer
Verifying a P2WSH by hand
Accepted answer
0 votes

hashOutputs = sha256²(20120a0000000000a91417b9a9afddaae527d25788bce2202563d4ab0d058784ea1100000000000020701a8d401c84fb13e6baf169d59684e17abd9fa216c8cc5b9fc63d622ff8c58d) This value is incorrect. The ...

View answer