Bitcoin Forum
September 19, 2018, 11:31:03 PM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: transaction edit done by mining nodes  (Read 340 times)
sarat
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 25, 2017, 08:39:29 AM
 #1

Hi,
I'm reading through bitcoin manuals and I got this question, please help me to correct my understanding.

I'm aware that changing the transaction output amount value can make the transaction unusable. What happens if the mining nodes lowers the output value to get more transaction fee, in such scenarios how the bitcoin protocol counterfeit that?

Thank You.
1537399863
Hero Member
*
Offline Offline

Posts: 1537399863

View Profile Personal Message (Offline)

Ignore
1537399863
Reply with quote  #2

1537399863
Report to moderator
1537399863
Hero Member
*
Offline Offline

Posts: 1537399863

View Profile Personal Message (Offline)

Ignore
1537399863
Reply with quote  #2

1537399863
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537399863
Hero Member
*
Offline Offline

Posts: 1537399863

View Profile Personal Message (Offline)

Ignore
1537399863
Reply with quote  #2

1537399863
Report to moderator
1537399863
Hero Member
*
Offline Offline

Posts: 1537399863

View Profile Personal Message (Offline)

Ignore
1537399863
Reply with quote  #2

1537399863
Report to moderator
HCP
Hero Member
*****
Offline Offline

Activity: 728
Merit: 923

<insert witty quote here>


View Profile
October 25, 2017, 10:13:07 AM
 #2

Because the transaction has been cryptographically signed... once they alter anything (addresses, amounts etc.) inside that transaction, it'll break the signature and the transaction will no longer be considered valid and will be rejected by pretty much everyone. This would then render the entire block invalid.

sarat
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 25, 2017, 12:15:17 PM
 #3

Because the transaction has been cryptographically signed... once they alter anything (addresses, amounts etc.) inside that transaction, it'll break the signature and the transaction will no longer be considered valid and will be rejected by pretty much everyone. This would then render the entire block invalid.

Can you please provide me some source, from where I can get to know on what are all the fields the signature is computed and verified.
DannyHamilton
Legendary
*
Offline Offline

Activity: 2198
Merit: 1373



View Profile
October 25, 2017, 12:25:16 PM
 #4

Because the transaction has been cryptographically signed... once they alter anything (addresses, amounts etc.) inside that transaction, it'll break the signature and the transaction will no longer be considered valid and will be rejected by pretty much everyone. This would then render the entire block invalid.

Can you please provide me some source, from where I can get to know on what are all the fields the signature is computed and verified.

The signature is computed and verified on ALL of the data except the signature.  It would not be possible for a signature to sign itself.

sarat
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 25, 2017, 01:03:11 PM
 #5

Because the transaction has been cryptographically signed... once they alter anything (addresses, amounts etc.) inside that transaction, it'll break the signature and the transaction will no longer be considered valid and will be rejected by pretty much everyone. This would then render the entire block invalid.

Can you please provide me some source, from where I can get to know on what are all the fields the signature is computed and verified.

The signature is computed and verified on ALL of the data except the signature.  It would not be possible for a signature to sign itself.


Thank you, Does that mean when the block is mined, and it published over bitcoin network, does the other nodes verify the transaction validity along with the block hash validity?
amaclin1
Full Member
***
Offline Offline

Activity: 434
Merit: 208


View Profile
October 25, 2017, 02:27:02 PM
 #6

Thank you, Does that mean when the block is mined, and it published over bitcoin network,
does the other nodes verify the transaction validity along with the block hash validity?
Yes. The nodes verify transactions in block.
For more information refer to: https://en.bitcoin.it/wiki/Protocol_rules#.22block.22_messages
(I am not sure that this article is 100% up-to-date)

Of course, there can be some "caching tricks": node does not need to validate already seen and validated txs.
sarat
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 25, 2017, 03:46:18 PM
 #7

Thank you, Does that mean when the block is mined, and it published over bitcoin network,
does the other nodes verify the transaction validity along with the block hash validity?
Yes. The nodes verify transactions in block.
For more information refer to: https://en.bitcoin.it/wiki/Protocol_rules#.22block.22_messages
(I am not sure that this article is 100% up-to-date)

Of course, there can be some "caching tricks": node does not need to validate already seen and validated txs.

Thank you.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!