Bitcoin Forum
April 25, 2024, 01:16:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: transaction edit done by mining nodes  (Read 442 times)
sarat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 1


View Profile
October 25, 2017, 08:39:29 AM
Merited by ABCbits (1)
 #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.
1714050964
Hero Member
*
Offline Offline

Posts: 1714050964

View Profile Personal Message (Offline)

Ignore
1714050964
Reply with quote  #2

1714050964
Report to moderator
1714050964
Hero Member
*
Offline Offline

Posts: 1714050964

View Profile Personal Message (Offline)

Ignore
1714050964
Reply with quote  #2

1714050964
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714050964
Hero Member
*
Offline Offline

Posts: 1714050964

View Profile Personal Message (Offline)

Ignore
1714050964
Reply with quote  #2

1714050964
Report to moderator
1714050964
Hero Member
*
Offline Offline

Posts: 1714050964

View Profile Personal Message (Offline)

Ignore
1714050964
Reply with quote  #2

1714050964
Report to moderator
1714050964
Hero Member
*
Offline Offline

Posts: 1714050964

View Profile Personal Message (Offline)

Ignore
1714050964
Reply with quote  #2

1714050964
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 25, 2017, 10:13:07 AM
Merited by ABCbits (2)
 #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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
sarat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 1


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: 3374
Merit: 4606



View Profile
October 25, 2017, 12:25:16 PM
Merited by ABCbits (1)
 #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 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 1


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
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


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.

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
sarat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 1


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!