Bitcoin Forum
October 14, 2024, 03:47:51 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Using pubkeys as transaction inputs on: May 06, 2020, 05:01:07 PM
Now every input contains previous transaction hash and output index. Instead, we could just replace it by public key in compressed form. The meaning would be "take every previous output matching this key as an input in this transaction". It can be especially useful if there are many outputs with small amounts sent to some address.
2  Bitcoin / Development & Technical Discussion / Why we use X in compressed keys and signatures instead of Y? on: April 04, 2020, 01:01:53 PM
Now we have r=(k*basePoint).x in signatures and (privKey*basePoint).x in compressed keys. We have y^2=x^3+7 function, so having given x we can calculate y^2 and then we have two possible y values matching this equation. Instead, when we have some y, we can calculate x=cbrt(y^2-7) and there is only one matching x. So the question is: why x value was chosen instead of y? Are there some performance-related issues?
3  Bitcoin / Development & Technical Discussion / Two identical coinbase transactions? on: April 04, 2020, 08:54:28 AM
Any non-coinbase transaction has some inputs. They contain previous transaction hashes, so as long as hash function is not broken, they are always unique. But what about coinbase transactions? In this case all inputs are ignored, so it is possible to create two identical coinbase transactions and place them in two different blocks. What happens when someone wants to spend these coins?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!