Mathematician22
u/Mathematician22
I mean, I understand this community has definite bias on this one, because I KNOW that we are the people that all tell pretty much everyone we know about bitcoin.
And yet, there are still so many people I have met, that straight up say to me "What is Bitcoin? Never. Even. Hearduvit." It actually blows my mind now when I find one of these people, but again, bias.
My default response is "Internet money." Then I start throwin all the D-words at them, decentralized, distributed, digital sigantures. They stop me right there.
[EDIT] Deflationary
Another overproduced unenlightening video about "blockchain"
technologyreview.com/video/608261/blockchain-...Alice creates a tx to pay to Bob's pubkeyhash.
Alice: The output script (currently) for P2PKH is dup hash160 <pubkeyhash> EV Cksg
The P2WPKH (segwit version) is 0 <pubkeyhash>
In the example, those pubkeyhash fields are the same data, so both of these scripts can be "spent" if you have the private key.
In the first case: Bob's input script: Sig Pubkey
Segwit version: Bob's input script: empty
Bob's witness data: Sig Pubkey
But remember, only one element can be left on the stack after script execution (legacy nodes), and P2WPKH is 2 elements... so legacy nodes will not broadcast Bob's attempt to spend, because his script actually does not execute properly from pre-segwit
Final exam question in the Bitcoin class.
https://github.com/Steamtradenet/smart-contract/blob/master/contracts/Crowdsale.sol
What is this function up to?
-
Allow to back SkinCoin address in the case of emergency. */
function backSkinCoinOwner() onlyOwner public {
coin.transferOwnership(owner);
}



