Your assumptions are off by quite a lot actually. sha256 chews through about 100MB/s. On 5 year old hardware. And single-threading.
So I'm wondering where that 5ms comes from.
Your assumptions are off by quite a lot actually. sha256 chews through about 100MB/s. On 5 year old hardware. And single-threading.
So I'm wondering where that 5ms comes from.
That's not the only operation in tx verification in a block; the signatures have to be verified (the expensive bit), the inputs have to be checked against the utxo set, and the scripts need to be executed.
It's not that simple.
bitcoind is slow