At this stage of the game, your best bet is to setup a private push pool.
You can start by downloading and compiling this:
https://gitorious.org/bitcoin/luke-jrs-pushpool/source/d917fe3c435b42a3cb2db52f88c75e69192fbcab:
That repository has a SHA256 version of Push Pool that works correctly with the modern cgminer versions.
Added: Then just follow the instructions in my post here using the above push pool instead of the scrypt version in the post.
https://bitcointalksearch.org/topic/m.2038693
It is working just fine for me.
Push Pool uses getwork to submit blocks , not the submit block command
JSON protocol request:
{"method": "getwork", "params": [ "000000041208e0d4c82cb562f10ba8b29ff674f29882e744485ef9810bf31fc000000000fdc8cafb57b8f4e879e1171bb11465baa0b0150b7547c54cfe68d71926869e95525b35a11c11ca82a7dad21a000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
Found bundle for host 127.0.0.1: 0xae4c20
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 6666 (#0)
* Server auth using Basic with user 'miner'
> POST / HTTP/1.1
Authorization: Basic bWluZXI6bWlzdHkxMzEz
Host: 127.0.0.1:6666
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 49
< HTTP/1.1 200 OK
< Date: Mon, 14 Oct 2013 00:06:58 +0000
< Connection: keep-alive
< Content-Length: 596
< Content-Type: application/json
< Server: shitcoin-json-rpc/v1.0.0.0-takeaduker
<
* Connection #0 to host 127.0.0.1 left intact
JSON protocol response:
{
"error": null,
"result": {
"target": "0000000000000000000000000000000000000000000000000082ca1100000000",
"midstate": "8589d4703056408f3d6ba9bd84fc98400f627cc9812ab626e9119b203bbc7f7b",
"data": "000000041208e0d4c82cb562f10ba8b29ff674f29882e744485ef9810bf31fc0000000009f7a63ccdf0bd4f4de6afe8094ca4d4ba9a3b45639e55dc792269d4a4ae8b72f525b35a21c11ca8200000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000",
"hash1": "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"
},
"id": 30187
}
JSON protocol request:
{"method": "getwork", "params": [ "000000041208e0d4c82cb562f10ba8b29ff674f29882e744485ef9810bf31fc000000000fdc8cafb57b8f4e879e1171bb11465baa0b0150b7547c54cfe68d71926869e95525b35a11c11ca82a7dad21a000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
* Found bundle for host 127.0.0.1: 0xae4c20
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 6666 (#0)
* Server auth using Basic with user 'miner'
> POST / HTTP/1.1
Authorization: Basic bWluZXI6bWlzdHkxMzEz
Host: 127.0.0.1:6666
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 305
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 25,
"generated" : true,
"blockhash" : "000000000cb491a00fd54bcbcb007930088b00f8c6cc0245f4a5bc0c78222318",
"blockindex" : 0,
"blocktime" : 1381709217,
"txid" : "26869e95fe68d7197547c54ca0b0150bb11465ba79e1171b57b8f4e8fdc8cafb",
"time" : 1381709217,
"timereceived" : 1381709220,
"tx-comment" : ""
},
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 24,
"generated" : true,
"blockhash" : "00000000000704f2c2e5c4a83443c51a88c3587b381e276afaeb4a0c39876125",
"blockindex" : 0,
"blocktime" : 1381709252,
"txid" : "1bc4305de4b0d558e23990f7ac7c6408310195624a7a87a1c0b1c3130813eee6",
"time" : 1381709252,
"timereceived" : 1381709258,
"tx-comment" : ""
},
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 23,
"generated" : true,
"blockhash" : "0000000003d2ba6bf7227cbabfd68e927bd6f11fbd957714a31c6965d2dbe51b",
"blockindex" : 0,
"blocktime" : 1381709271,
"txid" : "e8f29c0b589d758e47bdaca02f8590c11a36f774c66941e38b1c6bfd745f84af",
"time" : 1381709262,
"timereceived" : 1381709262,
"tx-comment" : ""
},
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 17,
"generated" : true,
"blockhash" : "0000000004b79839d722180cca7ce94d809e3fb0e52a4ae7f6f8e78308c37f7d",
"blockindex" : 0,
"blocktime" : 1381709301,
"txid" : "daf914a0bea185e3dfab8e850d49f9699ecafe76a33500fd90507d4d767d878b",
"time" : 1381709297,
"timereceived" : 1381709297,
"tx-comment" : ""
},
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 16,
"generated" : true,
"blockhash" : "00000000054afa9e35feb3a9e43b5c6363377358024ac5be1c493bf7e3dd963d",
"blockindex" : 0,
"blocktime" : 1381709302,
"txid" : "3e530549c9ecd7e09587bf5eedc215d2ffe7e9aa8cecd62c4b21e0a605c8b10a",
"time" : 1381709302,
"timereceived" : 1381709304,
"tx-comment" : ""
},
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 15,
"generated" : true,
"blockhash" : "000000000ecfb7adabd5a94a186c8e9a2877222c95155d7997375fb2c9aaebe7",
"blockindex" : 0,
"blocktime" : 1381709310,
"txid" : "1c2ece85d4cfc55335ef32812766f9be77841d0b977a2df896c0ef76fb96f266",
"time" : 1381709307,
"timereceived" : 1381709307,
"tx-comment" : ""
},
{
"account" : "",
"category" : "immature",
"amount" : 3000000.00000000,
"confirmations" : 13,
"generated" : true,
"blockhash" : "0000000009cbd3f3ec958ccf87ace660466860efc2a8569eaf4f14bbdd0444f9",
"blockindex" : 0,
"blocktime" : 1381709324,
"txid" : "b870f6ebab8e90be680e5fe89b9ad0b54a55c6a24dd730a74b3a0f6e2e5144d3",
"time" : 1381709316,
"timereceived" : 1381709316,
"tx-comment" : ""
},