Bitcoin Forum
January 21, 2019, 06:47:27 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: transaction edit done by mining nodes  (Read 340 times)
sarat
Newbie
*
Offline Offline

Activity: 6
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.
1548053248
Hero Member
*
Offline Offline

Posts: 1548053248

View Profile Personal Message (Offline)

Ignore
1548053248
Reply with quote  #2

1548053248
Report to moderator
1548053248
Hero Member
*
Offline Offline

Posts: 1548053248

View Profile Personal Message (Offline)

Ignore
1548053248
Reply with quote  #2

1548053248
Report to moderator
1548053248
Hero Member
*
Offline Offline

Posts: 1548053248

View Profile Personal Message (Offline)

Ignore
1548053248
Reply with quote  #2

1548053248
Report to moderator
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1548053248
Hero Member
*
Offline Offline

Posts: 1548053248

View Profile Personal Message (Offline)

Ignore
1548053248
Reply with quote  #2

1548053248
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 854
Merit: 1040

<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: 6
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: 1390



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: 6
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: 532
Merit: 226


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: 6
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:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
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!