Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a bad article. As one example:

> The transaction in the first block is a coinbase transaction ― consisting of an input and an output. We recognize that it is a coinbase transaction (i.e. coin creation) from one key element: The number of inputs is equal to 1 (this condition is explicit in Satoshi’s code).

That's not what's characteristic for a coinbase transaction, many transactions might have only one input. What's characteristic is that the input comes out of no-where, so to speak, and has no predecessor. In other words, it's the second part of the condition below, not the first one, that characterises CoinBase:

    bool IsCoinBase() const
    {
        return (vin.size() == 1 && vin[0].prevout.IsNull());
    }


> That's not what's characteristic for a coinbase transaction, many transactions might have only one input.

Yes, you're correct. Thank you for the clarification, however I wanted to mark the check found on the source code. By the way, "bad article": I think you're a little bit over exaggerating.


> By the way, "bad article": I think you're a little bit over exaggerating.

With all due respect, you might be a little bit biased.


With all due respect, you're not adding anything to discussion. HN really surprises me every day. :/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: