Bitcoin Forum
December 11, 2017, 12:14:50 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
  Home Help Search Donate Login Register  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Pay to Script Hash on: November 11, 2017, 08:06:27 AM
For P2SH, i understand it lets the sender funds a transaction using 20 byte hash. The script supplied to redeem must hash to the scriptHash.

scriptPubKey: OP_HASH160 <scriptHash> OP_EQUAL
scriptSig: 0 <sig1> ... <script> OP_m <pubKey1> ... OP_n OP_CHECKMULTISIG

For this example, the processing is:

The checking process:
Stack   Script   Description
Empty.0 <sig1> <sig2> OP_2 <pubKey1> <pubKey2> <pubKey3> OP_3 OP_CHECKMULTISIG OP_HASH160 <scriptHash> OP_EQUAL   locking script combined with redeem script
0 <sig1> <sig2> OP_2 <pubKey1> <pubKey2> <pubKey3> OP_3   OP_CHECKMULTISIG OP_HASH160 <scriptHash> OP_EQUAL   Constants are added to the stack.
trueOP_HASH160 <scriptHash> OP_EQUAL   Signatures validated in the order of the keys in the script.

what happens after OP_CHECKMULTISIG, what value does OP_HASH160 hash to?



2  Bitcoin / Development & Technical Discussion / Pay to public key hash on: November 10, 2017, 03:35:59 PM
In P2PKH, the public key

scriptPubKey: OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
scriptSig: <sig> <pubKey>

is the public key of the sender? the hash is from the sender public key? the signature is of the sender?
3  Bitcoin / Development & Technical Discussion / main() in bitcoin-tx.cpp on: November 08, 2017, 01:58:01 PM
I notice that is a main() function in bitcoin-tx.cpp. This main() is not the main function of bitcoin core. Because the main function is in bitcoind.cpp

So why there is a main() in bitcoin-tx.cpp ?
4  Bitcoin / Bitcoin Discussion / Simple bitcoin core tutorial on: November 05, 2017, 07:58:28 AM
hello,

I have created a simple bitcoin blog.

https://embedded-design-vic.blogspot.com/

kindly criticise if you find any mistakes.

vic
5  Bitcoin / Electrum / cannot build electrum from source on: July 03, 2017, 08:43:15 AM
when i build electrum from source, i get the following errors. How could i solve it? i use OS X sierra.

vic$ ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip
running py2app
creating /Users/vic/Downloads/electrum/build/bdist.macosx-10.7-x86_64/python2.7-standalone/app
creating /Users/vic/Downloads/electrum/build/bdist.macosx-10.7-x86_64/python2.7-standalone/app/collect
creating /Users/vic/Downloads/electrum/build/bdist.macosx-10.7-x86_64/python2.7-standalone/app/temp
creating build/bdist.macosx-10.7-x86_64/python2.7-standalone/app/lib-dynload
creating build/bdist.macosx-10.7-x86_64/python2.7-standalone/app/Frameworks
/Users/vic/Downloads/electrum/.eggs/modulegraph-0.15-py2.7.egg/modulegraph/find_modules.py:258: UserWarning: No module named sip
/Users/vic/Downloads/electrum/.eggs/modulegraph-0.15-py2.7.egg/modulegraph/find_modules.py:273: UserWarning: No package named packages
6  Local / Bahasa Indonesia (Indonesian) / Bitcoin survey in Indonesia on: December 17, 2016, 01:31:10 AM
To the moderators:
Saya tidak meminta untuk bisnis. Jangan mencoret posting ini.

I am a mba student from thailand, please help me do the Bitcoin questionnaire. The data collected is used in thesis for academic purpose. I need 100 people from Indonesia to help me fill in the Bitcoin questionnaire. One of the first 100 people to do so will win a lucky draw price, USD$20 worth of Bitcoin. Thank you so much !

https://www.surveymonkey.com/r/V3RY77X

The USD$20 will be paid in Bitcoin.  (but the person must fill to the end of questionnaire)

(1) MBA Student: Victor Yeo
(2) My Institution : Kasetsart University
(3) Year of Study : 2016
(4) Subject Name: A survey of Bitcoin risk perception and Adoption
(5) Your Instructor : Nirundon Tapachai
(6) Your Research Topic : Bitcoin
(7) Purpose of the Survey: To understand Bitcoin adoption and risk perception from end user's perspective
7  Bitcoin / Bitcoin Discussion / [Help] Bitcoin survey in degree thesis on: July 14, 2016, 06:09:51 AM
Hi all,

As part of my mba thesis, I am doing a research on the adoption and perception of Bitcoin by e-commerce users.
This survey is anonymous and confidential, all data are only used for my study and will never be disclosed anywhere.

https://docs.google.com/forms/d/e/1FAIpQLSdJWw6SuiKyFQFKzGMCG-VN4fCqBRtCZAT4UkVWwxgQ4422uQ/viewform

please tell me if any part of the questionnaire is not clear.

Thanks a lot guys! ^^

Pages: [1]
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!