EDIT: Figured it out, see my 2nd comment.
I recently sent this transaction:
https://etherchain.org/tx/0x68d7f506db88297b94ca0efd7524ab466d328e7e93f6fb6343ff96bbfda859df using this command:
eth.sendTransaction({from: eth.accounts[0], to:"0xb4ecaafc5fb10d5d30a931de851f3ff1dad41141", value:web3.toWei(0.1, "ether")})
It took 90000 gas at a price of ~58 Shannon/gas. How was this calculated? I'm aware that gas is used for computation in contracts but not sure where this 90000 comes from, especially when the value I had seen before for a simple transaction was 21000 (though I'm not sure what the basis for that is either). What's the math involved here?
Comments
That said, if anyone has a reference for where 21000 comes from, I'd love to read it. I assume it's somehow related to the cost of storing the transaction data in the blockchain.