Closed chappjc closed 2 years ago
That looks very correct. The minimum transaction size is 100 bytes since the MagneticAnomaly fork took effect.
Are the rules different for testnet4?
Are the rules different for testnet4?
No idea. Looks like some other node software at least isn't following the same rules, and it's got all the work.
Invalid chain: https://testnet4.imaginary.cash/node-status says node version "24010100 (/Bitcoin Cash Node:24.1.1(EB2.0)/)" Other chain: https://tbch4.loping.net/node-status says node version "24010000 (/Bitcoin Cash Node:24.1.0(EB2.0)/)"
Maybe this is a bug with Bitcoin Cash Node?
Hashrate seems to be on the chain with the rejected block.
Wherever the invalid chain on https://testnet4.imaginary.cash/ is coming from, it does not seem to be followed by bitcoin-cash-node either. Closing the issue, but whoever is running testnet4.imaginary.cash could probably shed some light on this since their node accepted that block.
During an IBD on testnet4, a recent block gets rejected:
2022-09-09 17:53:46.616 [INF] SYNC: Rejected block 000000001ad72b7fcc01b5c1beca6df36cc276d5b7bbdf8362b9d3c5d5306e04 from [199.192.18.235:28333](http://199.192.18.235:28333/) (outbound): serialized transaction is too small - got 99, min 100
Context:
99 byte txn https://testnet4.imaginary.cash/tx/f0764b9579ea03dd29cb973ad80f33f490fccbbc064534364ee94d6219b6be9e
violates these rules: https://github.com/gcash/bchd/commit/06e210339c6c3bccf1eabde3a290c0e4ec10637b
Judging by the data in that block's coinbase txn, it looks designed to hit this.