Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: IanQuinn on May 15, 2016, 11:47:57 PM



Title: A few questions about bitcoin transactions
Post by: IanQuinn on May 15, 2016, 11:47:57 PM
Are bitcoin transactions guaranteed unique?
Can they be manipulated?
Can you determine in advance a transaction Id?

Been reading bitcoinwiki on Transaction, but could not find the answer we are looking for.

With the extensive knowledge base here on this forum, these should be simple questions.

If there are better documents to view, this would be helpful also.


Title: Re: A few questions about bitcoin transactions
Post by: achow101 on May 15, 2016, 11:54:29 PM
Are bitcoin transactions guaranteed unique?
Yes. Each transaction references an output of another transaction, and that output is unique.

Can they be manipulated?
Manipulated in what way? You can add arbitrary data into a transaction.

Can you determine in advance a transaction Id?
Usually no. This is because the signature(s) in a transaction use random nonces and that randomness then makes the txid not predictable.

Been reading bitcoinwiki on Transaction, but could not find the answer we are looking for.

With the extensive knowledge base here on this forum, these should be simple questions.

If there are better documents to view, this would be helpful also.
Take a look at the documentation on bitcoin.org.


Title: Re: A few questions about bitcoin transactions
Post by: IanQuinn on May 16, 2016, 12:07:08 AM
Thank you for your reply.

We are trying to use transaction id as an RNG, from funds sent.  So want to know if someone can manipulated the results of a transaction.


Title: Re: A few questions about bitcoin transactions
Post by: achow101 on May 16, 2016, 12:20:57 AM
Thank you for your reply.

We are trying to use transaction id as an RNG, from funds sent.  So want to know if someone can manipulated the results of a transaction.
Yes, it most certainly can be manipulated, it is just slightly difficult to do.