Author

Topic: tx sign (Read 588 times)

legendary
Activity: 1260
Merit: 1019
October 29, 2016, 05: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"
sr. member
Activity: 375
Merit: 254
October 28, 2016, 06:39:48 PM
#3
ty
staff
Activity: 3374
Merit: 6530
Just writing some code
October 28, 2016, 06: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.
sr. member
Activity: 375
Merit: 254
October 28, 2016, 06:29:01 PM
#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
Jump to: