0
From the bitcoin RPC, both gettransaction and getblock returns a confirmation number in their response, are they always the same? Is there a case a transaction's confirmations isn't the same as its containing block's confirmation number?
https://bitcoin.org/en/developer-reference#gettransaction
https://bitcoin.org/en/developer-reference#getblock
So that is a yes? the two confirmations are the same thing? – fluter – 2018-01-05T08:31:11.467
Yes, they're the same, by definition. – Pieter Wuille – 2018-01-05T09:53:28.880