Bitcoin Forum
June 30, 2024, 04:35:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: tx sign  (Read 589 times)
FabioCarpi (OP)
Sr. Member
****
Offline Offline

Activity: 375
Merit: 254



View Profile
⇾ tx sign
October 28, 2016, 10:29:01 PM
Merited by ABCbits (3)
 #1

when we sign a message, we can retrieve the pubkey from the sig
Why the bitcoin does not use the same technique in tx signature?
so the transaction would be smaller because you wouldn't have to contain the pubkey
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3444
Merit: 6726


Just writing some code


View Profile WWW
October 28, 2016, 10:33:52 PM
 #2

when we sign a message, we can retrieve the pubkey from the sig
Why the bitcoin does not use the same technique in tx signature?
so the transaction would be smaller because you wouldn't have to contain the pubkey
It has been briefly talked about before. The issue is the additional overhead required to do so. Someone could give you a bunch of invalid transactions so you need to spend a lot of computing power to get the pubkey and then check that that maps to the address. That could become a DoS attack. The current system does the low computational cost action first of hashing before the more intensive task of verifying.

FabioCarpi (OP)
Sr. Member
****
Offline Offline

Activity: 375
Merit: 254



View Profile
October 28, 2016, 10:39:48 PM
 #3

ty
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
October 29, 2016, 09:46:05 AM
 #4

when we sign a message, we can retrieve the pubkey from the sig
are you sure?
may be you mean: "the long base64 string holds the ecdsa signature itself and a public key"
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!