<p>In a transaction a sender must provide the digital signature to say that they own that transaction. </p>

<p>What information is the sender signing in the scriptSig?</p>

<p>I was thinking that It was:</p>

<ul>
<li>The particular input they would like to spend</li>
<li>The address they would like to send it to? </li>
</ul>

CC BY-SA 3.0
2018-03-20T00:14:15.517Z
I think you are mixing inputs with outputs. In the outputs there will be the addresses someone is sending values.
Osias Jota
CC BY-SA 3.0
2018-03-20T00:38:01.347Z
@OsiasJota Thanks for that. Do you know what is being signed?
Kyle Graham
CC BY-SA 3.0
2018-03-20T06:58:33.097Z
please also have a look here https://bitcoin.stackexchange.com/questions/22461/signrawtransaction-what-is-scriptpubkey-and-redeemscript-solved?rq=1 and here: https://bitcoin.stackexchange.com/questions/8250/what-is-relation-between-scriptsig-and-scriptpubkey?rq=1 - this question has been answered already in the forum if you search for sign transaction. I vote to close as this is a possible duplicate.
pebwindkraft
CC BY-SA 3.0
2018-03-20T07:01:30.963Z
short answer: the transaction without the sigscript is hashed, and this hash is signed. The steps are in the links. Another very good explanation is here: http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html, and of course you need to read Andreas fantastic book "Mastering Bitcoin" :-)
pebwindkraft
CC BY-SA 3.0
2018-03-20T11:03:51.340Z
Thanks @pebwindkraft , I've been trying to get through the book, sometimes I have burning questions and want to solidify my understanding as in most cases, I get something wrong. Thanks again
Kyle Graham
CC BY-SA 3.0
2018-03-20T12:33:46.353Z
yup - in this exciting environment we all go through the same emotions ! :-)
pebwindkraft
CC BY-SA 3.0
2018-03-20T17:08:53.393Z
@pebwindkraft I'm nearly finished learning the basics. You have helped me quite a lot in understanding bitcoin. If I may ask one more favour, could my question on forks, I am not quite sure what the person answering is talking about as the terminology is quite hard to grasp. https://bitcoin.stackexchange.com/questions/72662/what-would-happen-if-two-miners-were-mining-two-blocks-with-two-different-set-of/72670?noredirect=1#comment84094_72670  Thanks for the help
Kyle Graham
<transactions><input-script>
What information is the sender signing in the scriptsig?
Kyle Graham
# What information is the sender signing in the scriptsig?

(Asked by: username_0 on 2018-03-19)

In a transaction a sender must provide the digital signature to say that they own that transaction.

What information is the sender signing in the scriptSig?

I was thinking that It was:

* The particular input they would like to spend
* The address they would like to send it to?

**Tags:** transactions, input-script

> **Comments:**
> **username_1**: I think you are mixing inputs with outputs. In the outputs there will be the addresses someone is sending values.  
> **username_0**: @username_1 Thanks for that. Do you know what is being signed?  
> **username_2**: please also have a look here https://bitcoin.stackexchange.com/questions/22461/signrawtransaction-what-is-scriptpubkey-and-redeemscript-solved?rq=1 and here: https://bitcoin.stackexchange.com/questions/8250/what-is-relation-between-scriptsig-and-scriptpubkey?rq=1 - this question has been answered already in the forum if you search for sign transaction. I vote to close as this is a possible duplicate.  
> **username_2**: short answer: the transaction without the sigscript is hashed, and this hash is signed. The steps are in the links. Another very good explanation is here: http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html, and of course you need to read Andreas fantastic book "Mastering Bitcoin" :-)  
> **username_0**: Thanks @username_2 , I've been trying to get through the book, sometimes I have burning questions and want to solidify my understanding as in most cases, I get something wrong. Thanks again  
> **username_2**: yup - in this exciting environment we all go through the same emotions ! :-)  
> **username_0**: @username_2 I'm nearly finished learning the basics. You have helped me quite a lot in understanding bitcoin. If I may ask one more favour, could my question on forks, I am not quite sure what the person answering is talking about as the terminology is quite hard to grasp. https://bitcoin.stackexchange.com/questions/72662/what-would-happen-if-two-miners-were-mining-two-blocks-with-two-different-set-of/72670?noredirect=1#comment84094_72670  Thanks for the help  

---

## 0 answers

