kramble
|
|
December 13, 2013, 11:40:04 AM Last edit: December 13, 2013, 04:51:24 PM by kramble |
|
I am also using this setup. After reading the requirement of a special cgminer version, I did not even try to use the pool.
I'm going to try compiling this version and see if it will run on a cainsmore CM1 via driver-icarus. Unforunately ztex support was removed from cgminer 3.7 so its going to be a bit tricky to add it back in (my C skills are a bit lacking). EDIT Not having much success here. I got it to compile on windows (after a bit of a fight as it still wanted OPENCL which I don't have installed), but while the cainsmore usb device is detected OK, it then fails to get the iProduct string. I had even less success on raspi as autoconf just barfed on AC_PROG_LIBTOOL, seems I just needed to install libtool, so let's see how much further I can get on this ... well, it detects the CM1 usb device (so I think the windows problem was just due to the serial port drivers), sends it the (blake) golden_ob which gives a nice quad-blue flash, then just seems to hang. Seems we won't be mining on a pool today Perhaps kr105 could comment on why an older version of cgminer (such as my modified 3.1.1) cannot be used with the pool? EDIT. No need, its pretty obvious really, I haven't modified the stratum local work function for blakecoin, so there is no way its going to work. Perhaps I'll just diff the code and see what needs to be done. Later, enough for today.
|
|
|
|
boymok
Full Member
Offline
Activity: 132
Merit: 100
BitCoin
|
|
December 13, 2013, 12:08:52 PM |
|
Ok, the pool is in open-beta now! https://www.blakecoinpool.org/You must download cgminer from the Getting Started page on the pool, the other miners posted on this topic will not work properly! Please PM me any bug/issue/glitch/suggestion, I will gladly help you Again, i found a block, but pool doesnt show it. cgminer version 3.7.2 - Started: [2013-12-13 12:43:48] -------------------------------------------------------------------------------- (5s):2.007G (avg):2.016Gh/s | A:582 R:0 HW:0 WU:54.2/m ST: 6 SS: 0 NB: 7 LW: 1270 GF: 0 RF: 0 Connected to stratum.blakecoinpool.org diff 2 with stratum as user user Block: a152c2cd... Diff:2.09K Started: [13:05:25] Best share: 2.86K-------------------------------------------------------------------------------- [P]ool management [G]PU management ettings [D]isplay options [Q]uit GPU 0: 71.0C 3399RPM | 2.008G/2.021Gh/s | A:586 R:0 HW:0 WU: 54.5/m I:11 --------------------------------------------------------------------------------
|
|
|
|
kr105
|
|
December 13, 2013, 07:27:43 PM |
|
Ok, the pool is in open-beta now! https://www.blakecoinpool.org/You must download cgminer from the Getting Started page on the pool, the other miners posted on this topic will not work properly! Please PM me any bug/issue/glitch/suggestion, I will gladly help you Again, i found a block, but pool doesnt show it. cgminer version 3.7.2 - Started: [2013-12-13 12:43:48] -------------------------------------------------------------------------------- (5s):2.007G (avg):2.016Gh/s | A:582 R:0 HW:0 WU:54.2/m ST: 6 SS: 0 NB: 7 LW: 1270 GF: 0 RF: 0 Connected to stratum.blakecoinpool.org diff 2 with stratum as user user Block: a152c2cd... Diff:2.09K Started: [13:05:25] Best share: 2.86K-------------------------------------------------------------------------------- [P]ool management [G]PU management ettings [D]isplay options [Q]uit GPU 0: 71.0C 3399RPM | 2.008G/2.021Gh/s | A:586 R:0 HW:0 WU: 54.5/m I:11 --------------------------------------------------------------------------------
I migrated the pool from server, and some config broke in the process so I started it from scratch and it is working now Sorry about that.
|
|
|
|
kr105
|
|
December 13, 2013, 07:29:39 PM |
|
I am also using this setup. After reading the requirement of a special cgminer version, I did not even try to use the pool.
I'm going to try compiling this version and see if it will run on a cainsmore CM1 via driver-icarus. Unforunately ztex support was removed from cgminer 3.7 so its going to be a bit tricky to add it back in (my C skills are a bit lacking). EDIT Not having much success here. I got it to compile on windows (after a bit of a fight as it still wanted OPENCL which I don't have installed), but while the cainsmore usb device is detected OK, it then fails to get the iProduct string. I had even less success on raspi as autoconf just barfed on AC_PROG_LIBTOOL, seems I just needed to install libtool, so let's see how much further I can get on this ... well, it detects the CM1 usb device (so I think the windows problem was just due to the serial port drivers), sends it the (blake) golden_ob which gives a nice quad-blue flash, then just seems to hang. Seems we won't be mining on a pool today Perhaps kr105 could comment on why an older version of cgminer (such as my modified 3.1.1) cannot be used with the pool? EDIT. No need, its pretty obvious really, I haven't modified the stratum local work function for blakecoin, so there is no way its going to work. Perhaps I'll just diff the code and see what needs to be done. Later, enough for today. I will explain the changes later today, as a hint, there is a bug on the transaction hashing in the Blakecoin client that needs a workaround. More details to come soon!
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
December 13, 2013, 07:49:57 PM Last edit: December 13, 2013, 08:03:32 PM by BlueDragon747 |
|
Ok, the pool is in open-beta now! https://www.blakecoinpool.org/You must download cgminer from the Getting Started page on the pool, the other miners posted on this topic will not work properly! Please PM me any bug/issue/glitch/suggestion, I will gladly help you Again, i found a block, but pool doesnt show it. cgminer version 3.7.2 - Started: [2013-12-13 12:43:48] -------------------------------------------------------------------------------- (5s):2.007G (avg):2.016Gh/s | A:582 R:0 HW:0 WU:54.2/m ST: 6 SS: 0 NB: 7 LW: 1270 GF: 0 RF: 0 Connected to stratum.blakecoinpool.org diff 2 with stratum as user user Block: a152c2cd... Diff:2.09K Started: [13:05:25] Best share: 2.86K-------------------------------------------------------------------------------- [P]ool management [G]PU management ettings [D]isplay options [Q]uit GPU 0: 71.0C 3399RPM | 2.008G/2.021Gh/s | A:586 R:0 HW:0 WU: 54.5/m I:11 --------------------------------------------------------------------------------
I migrated the pool from server, and some config broke in the process so I started it from scratch and it is working now Sorry about that. Yay finding blocks Edit: would be perfect if you can help kramble get a version that works well with fpga and also works on the pool?
|
Info: Github - Blakecoin.org - BCT Blakecoin thread - Twitter - BCS - BlakeZone Trade Blakecoin: Xeggex.com Merged Mining Pools: EU3 - NY2/AT1 - LA1Donation Addresses: BLC: Bd3jJftFbwxWSKNSNz35vkDd57kG6jHAjt PHO: BZXPMc8eF9YZcJStskkP2bVia38fv9VmuT BBTC: 2h8c4NbzXJXk6QQ89r7YYMGhe13gQUC2ajD ELT: e7cm6cAgpfhvk3Myh2Jkmi1nqaHtDHnxXb UMO: uQH9H17t7kz3eVQ3vKDzMsWCK4hn5nh2gC LIT: 8p8Z4h5fkZ8SCoyEtihKcjzZLA7gFjTdmL BTC: 1Q6kgcNqhKh8u67m6Gj73T2LMgGseETwR6
|
|
|
kramble
|
|
December 13, 2013, 08:04:37 PM |
|
I will explain the changes later today, as a hint, there is a bug on the transaction hashing in the Blakecoin client that needs a workaround. More details to come soon!
Many thanks. I noticed that you changed gen_hash() from sha256d to a single sha256. The other changes were just the blake256 hash function and some tweaks to the difficulty target as far as I can tell. In getting the FPGA drivers to run, I just had to tweak the makefile.am so blake was compiled in regardless of OPENCL and also re-enable the usbutils code by commenting out the "if (!opt_scrypt && !opt_blake256)" tests. Unfortunately its not quite working yet but I'll have another look over the weekend and hopefully get it hashing. Then I'll just need to put the ztex driver back in
|
|
|
|
kr105
|
|
December 13, 2013, 08:56:27 PM |
|
I will explain the changes later today, as a hint, there is a bug on the transaction hashing in the Blakecoin client that needs a workaround. More details to come soon!
Many thanks. I noticed that you changed gen_hash() from sha256d to a single sha256. The other changes were just the blake256 hash function and some tweaks to the difficulty target as far as I can tell. Yes, it seems that BlueDragon forgot to change the algorithm or something like that here: https://github.com/BlueDragon747/Blakecoin/blob/bf4339873ef0c50c98581905ae9f510bc1707384/src/hash.h#L51As you can see he put the code of the blake hash function above, but it is not implemented anywhere on the file. My bet is that he intended to replace it but forgot to do so, and as he already had modified the code the result ended being a single sha256 hash instead of a double one like on the original code. This is why everyone was getting issues with the merkle root, because the coinbase transaction hash was a different hash.
|
|
|
|
mogrith
Legendary
Offline
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
|
|
December 13, 2013, 08:56:42 PM |
|
LOOKING FORWARD TO IT.
|
|
|
|
kr105
|
|
December 13, 2013, 08:59:30 PM |
|
would be perfect if you can help kramble get a version that works well with fpga and also works on the pool?
Yes, Kramble just PM me if you need any help with cgminer ... Or maybe i should port the version 3.1.1 instead of the current one? I wasn't aware that cgminer dropped support for other hardware before, I selected this version because it was the last one to support GPU mining.
|
|
|
|
kr105
|
|
December 13, 2013, 09:08:16 PM |
|
Good news guys, the pool fee has been lowered from 7% to 3% !
|
|
|
|
kramble
|
|
December 13, 2013, 09:09:25 PM |
|
would be perfect if you can help kramble get a version that works well with fpga and also works on the pool?
Yes, Kramble just PM me if you need any help with cgminer ... Or maybe i should port the version 3.1.1 instead of the current one? I wasn't aware that cgminer dropped support for other hardware before, I selected this version because it was the last one to support GPU mining. Thanks, I'll have a closer look at the code changes later this weekend and see if I can get the stratum code working in 3.1.1 I only chose this version as I wanted it to work on the raspberry pi and I'd seen a lot of comments recommending this version over later ones. I don't know whether anyone will want to run both FPGA and GPU mining simultaneously from the same cgminer, so maybe its best if we just keep the FPGA and GPU versions separate? Anyway I'll sign off now for tonight.
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
December 13, 2013, 10:08:49 PM |
|
Good news guys, the pool fee has been lowered from 7% to 3% !
getting H-not-zero errors on the pool atm
|
Info: Github - Blakecoin.org - BCT Blakecoin thread - Twitter - BCS - BlakeZone Trade Blakecoin: Xeggex.com Merged Mining Pools: EU3 - NY2/AT1 - LA1Donation Addresses: BLC: Bd3jJftFbwxWSKNSNz35vkDd57kG6jHAjt PHO: BZXPMc8eF9YZcJStskkP2bVia38fv9VmuT BBTC: 2h8c4NbzXJXk6QQ89r7YYMGhe13gQUC2ajD ELT: e7cm6cAgpfhvk3Myh2Jkmi1nqaHtDHnxXb UMO: uQH9H17t7kz3eVQ3vKDzMsWCK4hn5nh2gC LIT: 8p8Z4h5fkZ8SCoyEtihKcjzZLA7gFjTdmL BTC: 1Q6kgcNqhKh8u67m6Gj73T2LMgGseETwR6
|
|
|
kr105
|
|
December 13, 2013, 10:16:56 PM |
|
Good news guys, the pool fee has been lowered from 7% to 3% !
getting H-not-zero errors on the pool atm I got them too, I'm not sure if it is a bug on cgminer or the pool, I'm looking at this now.
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
December 13, 2013, 10:22:18 PM |
|
Good news guys, the pool fee has been lowered from 7% to 3% !
getting H-not-zero errors on the pool atm I got them too, I'm not sure if it is a bug on cgminer or the pool, I'm looking at this now. ok working again
|
Info: Github - Blakecoin.org - BCT Blakecoin thread - Twitter - BCS - BlakeZone Trade Blakecoin: Xeggex.com Merged Mining Pools: EU3 - NY2/AT1 - LA1Donation Addresses: BLC: Bd3jJftFbwxWSKNSNz35vkDd57kG6jHAjt PHO: BZXPMc8eF9YZcJStskkP2bVia38fv9VmuT BBTC: 2h8c4NbzXJXk6QQ89r7YYMGhe13gQUC2ajD ELT: e7cm6cAgpfhvk3Myh2Jkmi1nqaHtDHnxXb UMO: uQH9H17t7kz3eVQ3vKDzMsWCK4hn5nh2gC LIT: 8p8Z4h5fkZ8SCoyEtihKcjzZLA7gFjTdmL BTC: 1Q6kgcNqhKh8u67m6Gj73T2LMgGseETwR6
|
|
|
kr105
|
|
December 13, 2013, 10:23:40 PM |
|
Good news guys, the pool fee has been lowered from 7% to 3% !
getting H-not-zero errors on the pool atm I got them too, I'm not sure if it is a bug on cgminer or the pool, I'm looking at this now. ok working again It seems to trigger with a certain target threshold btw, as I have not done anything yet
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
December 13, 2013, 10:32:13 PM |
|
Good news guys, the pool fee has been lowered from 7% to 3% !
getting H-not-zero errors on the pool atm I got them too, I'm not sure if it is a bug on cgminer or the pool, I'm looking at this now. ok working again It seems to trigger with a certain target threshold btw, as I have not done anything yet well I best keep testing
|
Info: Github - Blakecoin.org - BCT Blakecoin thread - Twitter - BCS - BlakeZone Trade Blakecoin: Xeggex.com Merged Mining Pools: EU3 - NY2/AT1 - LA1Donation Addresses: BLC: Bd3jJftFbwxWSKNSNz35vkDd57kG6jHAjt PHO: BZXPMc8eF9YZcJStskkP2bVia38fv9VmuT BBTC: 2h8c4NbzXJXk6QQ89r7YYMGhe13gQUC2ajD ELT: e7cm6cAgpfhvk3Myh2Jkmi1nqaHtDHnxXb UMO: uQH9H17t7kz3eVQ3vKDzMsWCK4hn5nh2gC LIT: 8p8Z4h5fkZ8SCoyEtihKcjzZLA7gFjTdmL BTC: 1Q6kgcNqhKh8u67m6Gj73T2LMgGseETwR6
|
|
|
mogrith
Legendary
Offline
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
|
|
December 13, 2013, 11:08:55 PM |
|
Is the system still working? All of my blocks mined last night are shown as "Generated but not accepted"... Any hints?
Try with my version of cgminer, even on solo. I'm using kramble's blakefpga version. Worked perfectly until yesterday... Strange... I have this issue often. Diff changes seem to knock wallet off network and all blocks mined become orphaned and block count fails to rise. I have to close and relaunch wallet. No prob in miner but in wallet.
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
December 14, 2013, 12:00:25 AM Last edit: December 14, 2013, 01:06:31 AM by BlueDragon747 |
|
Is the system still working? All of my blocks mined last night are shown as "Generated but not accepted"... Any hints?
Try with my version of cgminer, even on solo. I'm using kramble's blakefpga version. Worked perfectly until yesterday... Strange... I have this issue often. Diff changes seem to knock wallet off network and all blocks mined become orphaned and block count fails to rise. I have to close and relaunch wallet. No prob in miner but in wallet. cgminer has been known to crash the wallet and I notice that when you connect to the pool with diff 2, cgminer does the difficult @ 2.000397 maybe this has issues? if someone can find this bug in the wallet then I can patch it, atm the only way i have seen this bug is to overload the wallet with cgminer rigs and it starts to lose connections and eventually locks up and needs to reset cgminer 3.1.1 with kramble's fpga mod (ztex/cm1) is better but does occasionally lock the wallet I did not get this problem with reaper when solo mining nor did I need to reset my wallet when using reaper
|
Info: Github - Blakecoin.org - BCT Blakecoin thread - Twitter - BCS - BlakeZone Trade Blakecoin: Xeggex.com Merged Mining Pools: EU3 - NY2/AT1 - LA1Donation Addresses: BLC: Bd3jJftFbwxWSKNSNz35vkDd57kG6jHAjt PHO: BZXPMc8eF9YZcJStskkP2bVia38fv9VmuT BBTC: 2h8c4NbzXJXk6QQ89r7YYMGhe13gQUC2ajD ELT: e7cm6cAgpfhvk3Myh2Jkmi1nqaHtDHnxXb UMO: uQH9H17t7kz3eVQ3vKDzMsWCK4hn5nh2gC LIT: 8p8Z4h5fkZ8SCoyEtihKcjzZLA7gFjTdmL BTC: 1Q6kgcNqhKh8u67m6Gj73T2LMgGseETwR6
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
December 14, 2013, 03:38:29 AM Last edit: December 14, 2013, 04:19:18 AM by BlueDragon747 |
|
Bitcoin 0.8.5 and 0.8.6 https://github.com/bitcoin/bitcoin/blob/0.8.6/src/main.cpp#L934still uses +20 for coinbase maturity so with Bitcoin its 100 +20 buffer and with Blakecoin its 120 +20 buffer from what Gavin has said with regards to Bitcoin is that the network is 100 and this is the minimum maturity and the +20 (has been a few different values) this is for an extra buffer to avoid stales and issues with sending newly matured coins ? it can be reduced even removed from the wallet as long as the minimum of the network maturity is used which is 120 for Blakecoin, only reason it has been left as +20 is there was no good reason to change it
|
Info: Github - Blakecoin.org - BCT Blakecoin thread - Twitter - BCS - BlakeZone Trade Blakecoin: Xeggex.com Merged Mining Pools: EU3 - NY2/AT1 - LA1Donation Addresses: BLC: Bd3jJftFbwxWSKNSNz35vkDd57kG6jHAjt PHO: BZXPMc8eF9YZcJStskkP2bVia38fv9VmuT BBTC: 2h8c4NbzXJXk6QQ89r7YYMGhe13gQUC2ajD ELT: e7cm6cAgpfhvk3Myh2Jkmi1nqaHtDHnxXb UMO: uQH9H17t7kz3eVQ3vKDzMsWCK4hn5nh2gC LIT: 8p8Z4h5fkZ8SCoyEtihKcjzZLA7gFjTdmL BTC: 1Q6kgcNqhKh8u67m6Gj73T2LMgGseETwR6
|
|
|
|