In bitcoinj 0.9, .isCoinBase fails regularly on coinbase txns.
I drilled it down to TransactionInput.isCoinBase() failing.
outpoint.getIndex() == NO_SEQUENCE yields false.
index = -1
NO_SEQUENCE = 4294967295
Is this a long/int mismatch? NO_SEQUENCE looks like an int value from the
number of digits.
It should be noted that when the tx arrived, .isCoinBase did not fail. It was
some minutes later (perhaps after an app restart) that caused the start of this
issue. I suspect the protobuf representation not correctly representing the -1
values.
Original issue reported on code.google.com by andreas....@gmail.com on 27 Jun 2013 at 10:48
Original issue reported on code.google.com by
andreas....@gmail.com
on 27 Jun 2013 at 10:48