Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A 2017 softfork that introduced a new transaction format to fix third-party transaction malleability and increased the blocksize.
3
votes
1
answer
174
views
Sign manually P2SH-P2WPKH with openssl
I have a very similar problem of my last post before post again, I tried a lot of time but whitout success. I studied this link but I don't find solution.
I have 50 bitcoins (total Amount) and I want …
1
vote
1
answer
101
views
Limitations in P2WSH custom script
I did a stupid custom validation script in P2SH where after check signature, check if OP_3 is equal of OP_3. Now I want to move the same logic in P2WSH multisignatue 1-3.
it's my script
$ bitcoin-cl …
1
vote
1
answer
522
views
ScriptSig in P2SH-P2WPKH BIP16
I have some doubts about P2SH-P2WPKH BIP16.
I can read the witness program and I understand that a node is triggered when find 0 and 20 o 32 bytes in scriptSig or ScriptpubKey, more precisely:
If is …
3
votes
1
answer
164
views
Checksum P2WSH failed
My goal is replicate the same P2WSH of https://en.bitcoin.it/wiki/BIP_0173
tb1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3q0sl5k7
I'm able to generate the "first" part before checksum. …
1
vote
1
answer
156
views
Naming in segwit script
I have some doubts about naming in witness script/transaction.
P2SH-P2WSH (multisig)
WITNESS_SCRIPT = OP_3 <public key1> <public key2> <public key3> <OP_2>
(is it witness script or redeem script? F …
0
votes
1
answer
320
views
P2SH-P2WPKH stack
I'm studying P2SH-P2WPKH and when I create the signed transaction I can see this stack (using btcdeb)
script | …
3
votes
1
answer
798
views
Confusion about Addresses
I have a little bit confusion about addresses segwit and not segwit.
I can see P2WPKH and P2WSH from this link https://en.bitcoin.it/wiki/BIP_0173, and they are segwit and start with bc (mainnet) or …
3
votes
1
answer
227
views
Sign manually P2WSH native with Openssl
I'm studying the segwit part, and I want to sign P2WSH (native) manually (openssl).
I just read the BIP0143 and I see the new transaction digest.
Double SHA256 of the serialization of:
1. nVers …
3
votes
1
answer
580
views
Get public or private key from address with C-lightning
I'm studying Lightning network and I use c-lightning.
I can Get a new address with newaddr method, but I can't find private key.
My address is bcrt1qmckts70jsq2u5886lgcq2yn7xjmp97t09zlrg, how can I re …
1
vote
1
answer
374
views
Generate P2WSH native
I want to create P2WSH native like https://en.bitcoin.it/wiki/BIP_0173.
I have already a script to generate P2WPKH and it works, thank the python part and re-arrange group byte works.
I read that wit …
1
vote
1
answer
379
views
Sign message with private key result is different than txinwitness
I'm studying segwit and I'm doing some experiment in regtest.
I create a raw transaction with P2SH address.
My Transaction data without signature is:
0200000001faf19017fe7e20747535ac41009922e4beb76e …
1
vote
0
answers
163
views
Stripped segwit data
I have two client Bitcoin, 0.17.0 and 0.12.0 and I want to see the difference between the same transaction.
0.17 has segwit, 0.12 doesn't have.
If I do that RPC call in 0.17.0
/bin/bitcoin-cli -datad …
0
votes
3
answers
732
views
Generate P2SH-P2WSH
I want to generate P2SH-P2WSH with script P2PKH.
My public key is 027712968e8f2f9dfa79abe10940a3d915a0c95a0b97750881e6201acf2b66da97
SHA256 and RIPEMD160 of Public key
---------- Witness Scrip …
2
votes
1
answer
95
views
Retrieve address when create a channel lightning network
I have two nodes in regtest.
the first one is:
$ l1-cli getinfo
{
"id": "02c3f99e70c8da59e428dd119d36c0a1317e5cd85218a760355b5f9b4f822f6109",
"alias": "ALICE",
"color": "ddff06",
"num_peer …
5
votes
1
answer
3k
views
Redeem script. script hash, witness script and witness program
I have a little confusion about naming in Bitcoin.
Redeem script is the conditions that will be satisfy.
For example P2PKH inside P2SH
OP_DUP OP_HASH160 <PubKHash> OP_EQUALVERIFY OP_CHECKSIG == re …