luke-jr / eloipool

Fast Python3 Bitcoin pool server
Other
136 stars 69 forks source link

Submitted segwit block serialized without witness nonce #16

Open chjj opened 7 years ago

chjj commented 7 years ago

I've been using eloipool to mine segwit blocks on testnet for the past week now. When I first started using it I noticed was I was getting submitted invalid blocks. It looks like the coinbase didn't contain a witness nonce. I added a hacky workaround to my submitblock call here.

I'm not sure what's causing this. I'd suspect the coinbase is being mistakenly serialized as non-witness somewhere, but I haven't dug into the eloipool code much yet.