This is an interesting experience. Hopefully someone else will find these posts and learn as I have.
I now need some help determining why Testnet is not accepting my blocks.Brief background: I use NOMP locally to solo mine and have done so successfully for dozens of coins. I like and have grown accustom to NOMP. When I started the first post just 5 days ago, my NOMP wasn't SegWit compliant so I couldn't use it for Bitcoin. I've since found a commit for a NOMP fork making it SegWit compliant and I added the code to my NOMP, tested it on Testnet and I'm having problems.
The biggest lesson learned: if you make changes to Bitcoin mining or pool software, USE TESTNET!!!! Thank you to all who encouraged me to do so: @Carlton Banks, @jackg and @gmaxwell.
Thanks to @DaveF for giving me some more stable alternatives to NOMP which I may still end up using, and to all others who shared their knowledge and experience with me.
These are 6 blocks that I found on Testnet.
https://tbtc.bitaps.com/mtAeMSyVpsdX3BrVdNMaKwA1G8G4GMWHpFWhat I've noticed:
(1) I don't think this is anything but
bitcoin-cli getnewaddress gave me an address that I used as the pools address (it began with a "2" and testnet=1 was set) but my blocks were found by the above address beginning with an "m". I assume they equate to each other.
(2) I notice looking at my Raw Transactions that my version number is a 1 whereas all other transactions had a 2 but I didn't think transaction numbers were still being used. If this is the issue, easily fixed and tested again.
(3) After the first rejection I started the daemon with
./bitcoind -debug=rpc -debug=http but after finding the next block, nothing additional of value was in the debug log
(4) The pool reported the issue to me in multiple lines when payment processing ran (example of block 1609642):
Daemon reports invalid transaction: 72aefa77a1b642e599788dd29e336e666b48e54e8b5fe1974dc25b316e908180
Filtering out round 1609642 as kicked cause of invalid tx
Round with height 1609642 and tx 72aefa77a1b642e599788dd29e336e666b48e54e8b5fe1974dc25b316e908180 is orphan
I don't think the block was actually orphaned because all 6 found blocks reported the same way
(5) Looking at the blocks in the link above, I notice that the blocks are getting confirmations. I'm not sure how many are required before (fake) payment but I doubt that payment is coming.
(6) This really may be minor but when looking at the Verbose listing, I see of the 2 outputs, that my OP_RETURN is listed first whereas in all other blocks that are not mine, the OP_RETURN is 2nd. I think there's a reason but not sure what it is.
Any help appreciated on any of the above.