No submitblock in altcoin? I'm trying to figure out how I'd submit a block in many alt-coins. I originally found this issue in bbqcoin but have since found it in many others. I have bbqcoin (and others) installed from gihub source on Ubuntu 12.04.4

root@ubuntu-hp:~# bbqcoind help
addmultisigaddress &lt;nrequired&gt; &lt;'["key","key"]'&gt; [account]
backupwallet &lt;destination&gt;
dumpprivkey &lt;bbqcoinaddress&gt;
encryptwallet &lt;passphrase&gt;
getaccount &lt;bbqcoinaddress&gt;
getaccountaddress &lt;account&gt;
getaddressesbyaccount &lt;account&gt;
getbalance [account] [minconf=1]
getblock &lt;hash&gt; [decompositions]
getblockcount
getblockhash &lt;index&gt;
getconnectioncount
getdifficulty
getgenerate
gethashespersec
getinfo
getmemorypool [data]
getmininginfo
getnetworkhashps [blocks]
getnewaddress [account]
getpeerinfo
getrawmempool
getreceivedbyaccount &lt;account&gt; [minconf=1]
getreceivedbyaddress &lt;bbqcoinaddress&gt; [minconf=1]
gettransaction &lt;txid&gt; [decompositions]
getwork [data]
getworkex [data, coinbase]
help [command]
importprivkey &lt;bbqcoinprivkey&gt; [label]
keypoolrefill
listaccounts [minconf=1]
listreceivedbyaccount [minconf=1] [includeempty=false]
listreceivedbyaddress [minconf=1] [includeempty=false]
listsinceblock [blockhash] [target-confirmations]
listtransactions [account] [count=10] [from=0]
move &lt;fromaccount&gt; &lt;toaccount&gt; &lt;amount&gt; [minconf=1] [comment]
sendfrom &lt;fromaccount&gt; &lt;tobbqcoinaddress&gt; &lt;amount&gt; [minconf=1] [comment] [comment-to]
sendmany &lt;fromaccount&gt; {address:amount,...} [minconf=1] [comment]
sendrawtx &lt;hex string&gt;
sendtoaddress &lt;bbqcoinaddress&gt; &lt;amount&gt; [comment] [comment-to]
setaccount &lt;bbqcoinaddress&gt; &lt;account&gt;
setgenerate &lt;generate&gt; [genproclimit]
setmininput &lt;amount&gt;
settxfee &lt;amount&gt;
signmessage &lt;bbqcoinaddress&gt; &lt;message&gt;
stop
validateaddress &lt;bbqcoinaddress&gt;
verifymessage &lt;bbqcoinaddress&gt; &lt;signature&gt; &lt;message&gt;


Best I can figure, the closest thing would be sendrawtx.. but that can't be right, can it? I'm thinking at this point I should have taken advantage of the checkout feature, but it's hard to tell what version each coin is on.

Edit: I've found that many coins have this issue as described here: https://github.com/Crypto-Expert/stratum-mining/issues/72

So looks like the solution is to build it yourself, there is a hail-mary workaround which might do the trick but is heavily undocumented. I found reference that you can submit a block through getblocktemplate, https://github.com/moopless/stratum-mining-litecoin/issues/48

When trying with some data I go a json parse error.. has anyone used getblocktemplate submit?
Ok, took some doing but I figured it out!

It seems there a lot of which do not have submitblock in the source. Whether this is intended (mining advantages vs noobs) or just pure incompetence is not sure, but the solution requires minimal changes to the source.

I found this which should help if you're having this issue: https://github.com/earthcoinproject/earthcoin/commit/0b862e499e05386e333563656f84e99bad1b0290

Hope this helps another frustrated developer :)