I'm attempting to set up CGminer using my own full node for fun / education / lottery, I know the chances are well below zero but figured I'd give it a go.
Software
Bitcoin-qt v 0.20.1
CGminer v 4.11.1
OS
Debian 5.4.79-v7l+ armv7l
When running using the below command for CK pool everything works fine,
/usr/src/cgminer/cgminer -o stratum+tcp://solo.ckpool.org:3333 -u bc1qgh7q8kceh4289xehdy8mmjfsp74rzg4fsemtj5 -p x
When run with the below command for solo mining,
/usr/src/cgminer/cgminer -o
http://localhost:8332 -u 12345 -p 12345 --btc-address bc1qgh7q8kceh4289xehdy8mmjfsp74rzg4fsemtj5
I get the following response,
Pool 0 JSON failed to decode GBT
I have tested the getblockinfo with the segwit rule via bitcoin-cli and it appears to be working fine, this leads me to believe it is either a config or version issue but I can't figure it out.
Any help appreciated
Phil