Questions tagged [signature]

This tag should be used for questions regarding digital signatures. A digital signature proves that the owner of a private key produced or endorsed a given message. These are used in transactions to prove that an output can be spent in a transaction.

Filter by
Sorted by
Tagged with
4
votes
1answer
153 views

Are Bitcoin's blocks signed by the miner?

To my understanding, at no point in the Bitcoin Whitepaper does it say that blocks are signed by the miner. However, one could see the advantage of having blocks signed. Thus I wonder if in the ...
0
votes
0answers
12 views

Locally Sign transactions Blockcypher API

I'm having a problem that I can't solve since yesterday with the blockCypher APIs when I try to create a new transaction and submit it. https://www.blockcypher.com/dev/bitcoin/?shell#creating-...
3
votes
1answer
22 views

How to verify a lnurl-auth callback with python

I want to create a Python implementation of an lnurl-auth server. I started a quick HTTP server to be the callback url, and captured the signed callback sent by BLW on Android. ?tag=login &k1=...
0
votes
0answers
16 views

RPC to sign PSBT with private key

What is the PSBT related RPC which works similar to signrawtransactionwithkey ?
0
votes
0answers
26 views

Can Block-version signalling still be implemented and how to do that with the current code base?

There is a generation of softforks used the block header's nVersion field for signalling (up to the year 2015). Each of those used a subsequent version numbers (BIP34 used version 2; BIP66 used ...
0
votes
1answer
49 views

Deleting Electrum wallet and setting up new one

I set up an Electrum wallet before I learnt that you should verify the signature. While I went straight to the electrum.org website to download it, I would still like to be secure, just in case. So I ...
0
votes
0answers
39 views

blockchain scanning

Hello friends please let me know that is there any script that can scan the entire blockchain and extract the signature values and find the match of given input. lets suppose i give the input "...
0
votes
0answers
16 views

How to create signature for the payload (data)using private key in java with bitcoinj? [duplicate]

I have private key as 'cUN9LNcEC54HAbWAwUs6coPSc72TcQYzxf4qSqdHJPVKSapeHzFj' and payload as 'hello', now how to create the signature for this payload using private key in java with bitcoinj library? ...
0
votes
2answers
59 views

How is the random number R for transaction signatures created?

I wonder about the random number used in signatures that result in R values ? x coordinate R = G(k) How is it created? Does it have a specific chars length? Is there a specific random generator used, ...
2
votes
1answer
59 views

p2pkh vs. p2pk keeping public key private

I just got into learning Bitcoin programming through Jimmy Song's Programming Bitcoin. Jimmy says that some of p2pkh's advantages over p2pk include: a smaller ScriptPubKey keeping one's public key ...
0
votes
1answer
34 views

Random Number In R Value , what is it actually, is it the same as Nonce in the blocks

I wonder about the random number in R value ... if i am right , the R value is First part of the script signature which is combined of two parts (r,s) r = Gk (elliptic curve scalar multiplication) Or ...
0
votes
1answer
24 views

How New Bitcoin Addresses not using Signature ? Only witness or Very Short Signature?

I have Noticed Something strange to me Newly Used Bitcoin Addresses show repeated very short Signatures and Multiple Witness ?? and Some not even any signature for the transaction ? what is happening ...
0
votes
1answer
46 views

Can't Make Sense of Why OP_CHECKSIG Fails Here

I'm try to get to grips with verifying the signature of a P2PKH transaction. I have an example transaction: 9ec4bc49e828d924af1d1029cacf709431abbde46d59554b62bc270e3b29c4b1 I am trying to verify the ...
0
votes
1answer
23 views

Distinguishing bitcoin deposits

If i had a central Bitcoin wallet, and then allowed 3 different people to deposit bitcoin into that address, would there be anyway to distinguish who they are, without knowing who's address is who, i ...
0
votes
1answer
53 views

Error while broadcasting the raw bitcoin testnet transaction

I am trying to create a simple P2PKH raw bitcoin testnet transaction from the scratch. Here is the information about the transaction: hash of the UTXO consumed - ...
4
votes
1answer
218 views

Why does Bitcoin use ECDSA, instead of plain old hashing, to secure transaction outputs?

For example, let’s say I pick a random secret and hash it. Now, in the hypothetical hash-based scheme, my hash effectively replaces my public-key hash, and my random secret effectively replaces my ...
2
votes
2answers
64 views

Does every transaction have the same signature?

I want to know whether the bitcoin network generates the same signature for each transaction, because people have only one signature?
0
votes
1answer
47 views

signing multiple input raw transaction - algorithm and sighash types [duplicate]

I have an unsigned raw transaction: ...
0
votes
1answer
56 views

How can be proven that a signature is valid with it's public key

If someone wants to make a transaction, they need to sign the transaction data with their private key. For example Sign(transactionData, privateKey) creates the signature. What is exactly this Sign ...
0
votes
1answer
83 views

How can I sign a bitcoin address that is on a paper wallet?

I have a bitcoin address that shows I held the BTC prior to December 2019. I need to verify this but as the address refers to a paper wallet I don't seem to be able to do so. If I move the coin to ...
3
votes
1answer
72 views

What does signing a transaction mean?

What do people exactly mean when they say the person "signs" the transaction to transfer bitcoins? Is it decrypting the previous output with your private key and encrypting it with the new ...
0
votes
1answer
35 views

Error: Non-canonical DER signature when attempting to broadcast signed Segwit Transactions

I'm trying to build a native Segwit transaction programmatically, however, whenever I attempt to broadcast the transaction, it returns this error: non-mandatory-script-verify-flag (Non-canonical DER ...
3
votes
1answer
40 views

What is the “value” in a Segwit sig hash?

The BIP143 docs state that the value is: "value of the output spent by this input (8-byte little endian)" If I have a single UTXO of value 10,000 sats and I'm using this as an input for a ...
2
votes
1answer
53 views

How do we know which co-signer signature is in raw hex in multisig?

I have a raw 2of3 multisig transaction. In this transaction, one co-signer already signed. The signature is for only one input. ...
1
vote
0answers
38 views

How to use Digital Signature to Sign Unsigned Transaction?

so I was trying to sign my unsigned transaction: ...
0
votes
0answers
48 views

Using a bitcoin library to create digital signatures in TypeScript/Javascript

I have been trying to sign my transactions with a digital signature for the past few days but seems that libraries in bitcoin, as far as to my knowledge do not provide a simple way to sign the ...
-1
votes
1answer
76 views

How to get the raw signature data of a transaction?

With the use of segwit, signature data is no longer part of transaction body and thus can’t be retrieved from block explorers. So is there a Bitcoin rpc method in order to get it directly without ...
2
votes
0answers
29 views

Sign transaction externally

I create a transaction with inputs from a given address / public key without signatures. Every input needs to be signed. I use a different method to generate the signatures so I can't provide a ...
0
votes
0answers
82 views

How to sign a transaction and also get the signature part from it using electrum console?

How do I sign a transaction with following things: Unsigned Tx: ...
0
votes
0answers
22 views

How to convert High-S value to low-S value without signing the transaction again? [duplicate]

I created a bitcoin transaction but I'm getting an error when trying to broadcast it: mandatory-script-verify-flag-failed (Non-canonical signature: S value is unnecessarily high) (code 16) I googled ...
1
vote
0answers
25 views

Is there any 'Metamask-like' app for Bitcoin? [duplicate]

9 months ago someone asked this same question: Metamask-like web3 inject for bitcoin but I was wondering if there had been be any changes since then. I'm currently looking for a Chrome extension that ...
3
votes
1answer
166 views

Any idea why Bitcoin Core signature is untrusted?

It's suppose to be a trusted signature, right?. I'm downloading Bitcoin Core from bitcoin.org gpg --import laanwj-releases.asc gpg: key 90C8019E36C2E964: 51 firmas no comprobadas por falta de claves ...
1
vote
2answers
178 views

Do you sign only the previous output of transaction?

I need to confirm that I understand how transactions work in the Bitcoin network. Ok, so: Alice is a network node. Alice wants to send bitcoins to someone in the network. Alice is creating a ...
1
vote
1answer
136 views

How to verify if a transaction is signed correctly?

Given an arbitrary signed raw transaction, how can we easily verify if all inputs are correctly signed (assuming all inputs are existent/unspent and the fee is higher than zero)? Bitcoin core's RPC ...
0
votes
1answer
279 views

Signing transaction offline - manual way vs. Electrum

Being inspired by the thread (Redeeming a raw transaction step by step example required) I wanted to understand transaction signatures on the byte level. So I created my own Linux scripts that: ...
0
votes
1answer
33 views

Can hashtype in BTC scriptSig contained value other than 0x01, 0x02, 0x03, 0x80, 0x81, 0x82, 0x83?

As per hashtype value in https://en.bitcoin.it/wiki/OP_CHECKSIG or https://developer.bitcoin.org/devguide/transactions.html#signature-hash-types, hashtype could either be 0x01, 0x02, 0x03, 0x80, 0x81, ...
0
votes
1answer
63 views

Relationship of R/S signature in between signed message and DER signature

this time is difficult for me to explain problem i was facing. i realize that R/S signature in DER signature is not match to the 1 in bitcoin signed message? Ok below is my say signed message. -----...
1
vote
1answer
285 views

How to sign a PSBT transaction?

I have a PSBT (in Base64 format) which I need to sign using GoLang, but I can't figure out which steps I need to do that. I found this but I'm not really confident with Bitcoin and Python, so I didn't ...
1
vote
1answer
95 views

What is “signature recovery”?

Bolt #11 defines a "tagged field," n, which identifies the payee by a public key, but it isn't required. It also requires a signature which can be verified only if the public key is known. When ...
1
vote
0answers
27 views

signing message [duplicate]

I'm trying to sign a message with the Bitcoin Core version v0.19.0.1 wallet. But when I do I see the message "the entered address does not refer to a key." is there a way to sign a message with the ...
0
votes
1answer
263 views

Calculate Z from r and s

Can anyone explain me any clearly answer or code in python with examples how we can calculate Z value from r and s and inputs outputs order ?? I search in google and youtube and i not saw any ...
0
votes
1answer
27 views

Understanding assurance contract in bitcoin scripts

I'm having a bit of trouble understanding example 3, the bit coin assurance contract on the bitcoin wiki(https://en.bitcoin.it/wiki/Contract) where senders choose to donate money only if 1000BTC total ...
7
votes
1answer
517 views

Why is there no such thing as a redirected, forged, or fake transaction?

In the past, we had numerous questions about "fake" or "forged" transactions. Such transactions could supposedly be created even without holding any bitcoins, yet would end up in the mempool or even ...
0
votes
2answers
297 views

How to verify signature in java using message and public key?

I was trying different things to verify the signature but couldn't succeed. I have got the following: message in string or decimal array (ASCII code for each char) public key in decimal array (which I ...
3
votes
1answer
120 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. ...
0
votes
0answers
714 views

What does sigscript and witness mean?

I tried using the R scanner from the following link https://github.com/ca333/rng-scanner/blob/master/rscan.py, then I got results like this Bitcoin Address : 3EZ5yV5FARDqEZTXzwWNt33XLVhv7hqAS2 R: ...
0
votes
1answer
62 views

difference between signing a message and signing a p2sh

can i use the sign message function to sign the serialized hex for a p2sh transaction? Are the ecdsa functions used the same or are they different? It looks like the output is in a different format ...
1
vote
1answer
130 views

How to Verify P2SH Signature

I am trying to debug an issue where i believe i might have a bad signature but i am trying to figure out how to approach it. What is this a signature of. Private key + what (redeem script? entire raw ...
1
vote
2answers
1k views

How to find Reused R values

I use software from https://github.com/ca333/rng-scanner , I try to find r that is reused. from the software I found results Bitcoin Address : 1GQdrgqAbkeEPUef1UpiTc4X1mUHMcyuGW In Input NR : 141 ~ ...
1
vote
2answers
115 views

Multisignature technology in bitcoin - math and code

I am interested in the math and code behind bitcoin multisignature technology. I've been looking for actual code that creates a multisignature address/pub key, and verifies transactions/digital ...

1
2 3 4 5
8