trepex
|
|
November 13, 2013, 05:31:46 PM |
|
Do you have a static compiled version for a Raspberry Pi?
trepex
... I haven't actually built this exact version on raspi, but the previous driver-icarus version did build OK, though its a standard dynamic build, my expertise does not stretch to modifying the makefile for static linking. Its been a while since I originally set up the dependencies for this, so I'm not quite sure exactly what you will need, the build instructions in the original cgminer README are a bit lacking. I'll have a dig around and see if I can find any notes I may have made ... nope, lost in the mists of time, but google did find something http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/install-cgminer seems straightforward enough. I have it running (ok, not running) on my r-pi. But I only have two Ztex-1.15x. So the bitstream is not working. Do you have a bitstream for the single (non quad) Ztex-1.15x? I also have one Ztex-1.15b but this one never did work on the r-pi (is not detected by "lsusb").
|
|
|
|
|
|
|
|
|
No Gods or Kings. Only Bitcoin
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
kramble
|
|
November 13, 2013, 06:11:07 PM |
|
I have it running (ok, not running) on my r-pi. But I only have two Ztex-1.15x. So the bitstream is not working. Do you have a bitstream for the single (non quad) Ztex-1.15x?
I also have one Ztex-1.15b but this one never did work on the r-pi (is not detected by "lsusb").
Not right now, but I could build one. The ztex website says the Ztex-1.15x is compatible with the Ztex-1.15d bitstream, and there is a version of the bitcoin verilog source available for this so it shouldn't be too difficult (famous last words, I'm not at all convinced the source code actually matches the officially released bitcoin bitstreams, but the 1.15y source did work, after a fashion). I can't test it myself so it will be a blind port, but that hasn't stopped me before Give me a few days as I've just started on the Cainsmore CM1 port and I want to make some progress on that one first.
|
|
|
|
mogrith
Legendary
Offline
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
|
|
November 14, 2013, 02:40:09 AM |
|
I'm getting a lot of orphan blocks.
mined 7 blocks so far today 3 of which or no good. using 0.8.8.8 wallet and the Cgminer 3.3.1 modded for blake. anyone else?
|
|
|
|
mogrith
Legendary
Offline
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
|
|
November 14, 2013, 02:42:58 AM |
|
On a different subject, Kramble I got my CM1 today. So I'm getting drivers and stuff so I blindly fail around with stuff I have no idea how to use. (oddly my idea of fun )
|
|
|
|
trepex
|
|
November 14, 2013, 10:39:07 AM |
|
I'm getting a lot of orphan blocks.
mined 7 blocks so far today 3 of which or no good. using 0.8.8.8 wallet and the Cgminer 3.3.1 modded for blake. anyone else?
I activated my old GPU setup. A Win 8 installation with HD7870 + HD7850. Using cgminer I get 1,5GH/s with just the HD7870 and 2,5GH/s with both. No tuning done (besides memory clockrate to min and a little bit overclocking). No orphan blocks seen (but can't say for 100% that had been none).
|
|
|
|
trepex
|
|
November 14, 2013, 10:44:55 AM |
|
Idea for a client improvement:
Output the 'newmint' => 'xx' value with the "getinfo" RPC call. I saw that in other implementations and I did really like it!
|
|
|
|
trepex
|
|
November 14, 2013, 01:01:34 PM Last edit: November 14, 2013, 02:35:26 PM by trepex |
|
Maybe a stupid question, but why do those numbers differ?
cgminer reports: Network diff set to 324K getinfo (performed against the wallet): 'difficulty' => '1264.37669219', 1:256
In the past I did observe
cgminer: Network diff set to 546K getinfo: 'difficulty' => '2133.63558956', 1:256
So there seems to be a constant of 256 involved. network diff / getinfo diff = 256
|
|
|
|
kramble
|
|
November 14, 2013, 01:07:58 PM |
|
So there seems to be a constant of 256 involved. network diff / getinfo diff = 256
There was a change in the way difficulty is reported in one of the early patch releases. The original client/wallet used a difficulty base of 2^24 (compare bitcoin at 2^32 and litecoin at 2^16). This was changed to 2^32 by the patch release (just cosmetic really, but under the old system we'd be approaching a diff of 1 Million which just looked nasty IMHO). Possibly the cgminer version you have is reporting on the old difficulty scale. As long as your blocks are being accepted its not really a problem.
|
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
November 15, 2013, 01:44:46 PM Last edit: November 15, 2013, 02:24:25 PM by BlueDragon747 |
|
Maybe a stupid question, but why do those numbers differ?
cgminer reports: Network diff set to 324K getinfo (performed against the wallet): 'difficulty' => '1264.37669219', 1:256
In the past I did observe
cgminer: Network diff set to 546K getinfo: 'difficulty' => '2133.63558956', 1:256
So there seems to be a constant of 256 involved. network diff / getinfo diff = 256
Yeah it is a graphical issues with the cgminer port from melnikalex the difficulty in the display is shifted too many and thus is out by a multiple of 256 not sure about the newmint feature which wallet was this for and why is it useful? also worth looking at this exchange they added BLC but not sure about any trust issues as I have never traded on that platform as it is new? https://openex.pw/ I am going to hold all my coin for now as Blakecoin is based on long term rewards and not just short term gains, I do feel that many have under valued the price but time will tell not had much spare time this week as I have been working on the kickstarter for the first game to use Blakecoin as an exchangeable currency for game world credits and mine while you play MMO platform that me and another developer are working on, I did also look into using Blakecoin as the main currency for the game but it would require a major rewrite and has some security concerns but it is a possible stretch goal I was also trying to get some more help with the pool software, fixed the submit bug but found a few bigger bugs in the work generation that is resulting in invalid nonce being generated by the miners 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
|
|
|
feeleep
Legendary
Offline
Activity: 1197
Merit: 1000
|
|
November 15, 2013, 02:19:27 PM |
|
Maybe a stupid question, but why do those numbers differ?
cgminer reports: Network diff set to 324K getinfo (performed against the wallet): 'difficulty' => '1264.37669219', 1:256
In the past I did observe
cgminer: Network diff set to 546K getinfo: 'difficulty' => '2133.63558956', 1:256
So there seems to be a constant of 256 involved. network diff / getinfo diff = 256
Yeah it is a graphical issues with the cgminer port from melnikalex the difficulty in the display is shifted too many and thus is out by a multiple of 256 not sure about the newmint feature which wallet was this for and why is it useful? also worth looking at this exchange they added BLC but not sure about any trust issues as I have never traded on that platform? https://openex.pw/ I am going to hold all my coin for now as Blakecoin is based on long term rewards and not just short term gains, I do feel that many have under valued the price but time will tell not had much spare time this week as I have been working on the kickstarter for the first game to use Blakecoin as an exchangeable currency for game world credits and mine while you play MMO platform that me and another developer are working on, I did also look into using Blakecoin as the main currency for the game but it would require a major rewrite and has some security concerns but it is a possible stretch goal I was also trying to get some more help with the pool software, fixed the submit bug but found a few bigger bugs in the work generation that is resulting in invalid nonce being generated by the miners on the pool can you post your function for merkleroot calculation?
|
|
|
|
ahmed_bodi
|
|
November 15, 2013, 02:27:57 PM |
|
im finished on my pool code almost. it just needs db functions adding inside for auth and saving shares and im ready, ill give u guys the code when im done (doesnt support stratum im afraid)
|
Bitrated user: ahmedbodi.
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
November 15, 2013, 02:40:47 PM |
|
Maybe a stupid question, but why do those numbers differ?
cgminer reports: Network diff set to 324K getinfo (performed against the wallet): 'difficulty' => '1264.37669219', 1:256
In the past I did observe
cgminer: Network diff set to 546K getinfo: 'difficulty' => '2133.63558956', 1:256
So there seems to be a constant of 256 involved. network diff / getinfo diff = 256
Yeah it is a graphical issues with the cgminer port from melnikalex the difficulty in the display is shifted too many and thus is out by a multiple of 256 not sure about the newmint feature which wallet was this for and why is it useful? also worth looking at this exchange they added BLC but not sure about any trust issues as I have never traded on that platform? https://openex.pw/ I am going to hold all my coin for now as Blakecoin is based on long term rewards and not just short term gains, I do feel that many have under valued the price but time will tell not had much spare time this week as I have been working on the kickstarter for the first game to use Blakecoin as an exchangeable currency for game world credits and mine while you play MMO platform that me and another developer are working on, I did also look into using Blakecoin as the main currency for the game but it would require a major rewrite and has some security concerns but it is a possible stretch goal I was also trying to get some more help with the pool software, fixed the submit bug but found a few bigger bugs in the work generation that is resulting in invalid nonce being generated by the miners on the pool can you post your function for merkleroot calculation? I will put stratum-mining-blakecoin code on Github this weekend but it is highly experimental and not fully functional also it imports stratum which might also have bugs that have not been found yet! the merkleroot calculation is not done in one place in the stratum pool software but try this: class MerkleTree: def __init__(self, data, detailed=False): self.data = data self.recalculate(detailed) self._hash_steps = None def recalculate(self, detailed=False): L = self.data steps = [] if detailed: detail = [] PreL = [] StartL = 0 else: detail = None PreL = [None] StartL = 2 Ll = len(L) if detailed or Ll > 1: while True: if detailed: detail += L if Ll == 1: break steps.append(L[1]) if Ll % 2: L += [L[-1]] L = PreL + [doublesha(L[i] + L[i + 1]) for i in range(StartL, Ll, 2)] Ll = len(L) self._steps = steps self.detail = detail def hash_steps(self): if self._hash_steps == None: self._hash_steps = doublesha(''.join(self._steps)) return self._hash_steps def withFirst(self, f): steps = self._steps for s in steps: f = BLAKE(256).digest(f + s) return f def merkleRoot(self): return self.withFirst(self.data[0]) this should be Blake-256(SHA-256(SHA-256(merkleRoot))) as it is in the wallet code?
|
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
|
|
November 15, 2013, 02:41:36 PM |
|
im finished on my pool code almost. it just needs db functions adding inside for auth and saving shares and im ready, ill give u guys the code when im done (doesnt support stratum im afraid)
if you have it finding blocks then its better than my results so far
|
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
|
|
November 15, 2013, 03:21:46 PM |
|
https://openex.pw/ had Certificate errors, about us is empty, most last trades were for under 1 coin. Seems legit Post if you actually used the site
|
|
|
|
trepex
|
|
November 15, 2013, 03:55:27 PM |
|
https://openex.pw/ had Certificate errors, about us is empty, most last trades were for under 1 coin. Seems legit Post if you actually used the site No comment on this:
|
|
|
|
mogrith
Legendary
Offline
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
|
|
November 15, 2013, 04:42:50 PM |
|
https://openex.pw/ had Certificate errors, about us is empty, most last trades were for under 1 coin. Seems legit Post if you actually used the site No comment on this: Actually feel better about that. Site is in alpha with test data, certs not yet ready and so on. may make a test account and try it over the weekend
|
|
|
|
ahmed_bodi
|
|
November 16, 2013, 01:24:46 AM |
|
im finished on my pool code almost. it just needs db functions adding inside for auth and saving shares and im ready, ill give u guys the code when im done (doesnt support stratum im afraid)
if you have it finding blocks then its better than my results so far found 150 on testnet
|
Bitrated user: ahmedbodi.
|
|
|
mogrith
Legendary
Offline
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
|
|
November 16, 2013, 06:40:07 AM |
|
Well have CM1 up and running on SHA256. So I know it's working. bfgminer version 3.6.0 - Started: [2013-11-15 22:29:35] - [ 0 days 00:03:56] [M]anage devices [P]ool management [S]ettings [D]isplay options [H]elp [Q]uit Connected to btcminers.net diff 2 with stratum as user 1PjYqkPYD1qiLQY3jjQJX4kQ Block: ...28f79cf4 #269890 Diff:511M ( 3.66Ph/s) Started: [22:30:50] ST:2 F:0 NB:2 AS:1 BW:[ 22/ 22 B/s] E:9.99 I:38.68uBTC/hr BS:661 2 | 0.57/ 0.62/ 1.03Gh/s | A:26 R:0+0(none) HW:2/3.4% -------------------------------------------------------------------------------- ECM 0: | 260.0/297.3/489.6Mh/s | A:13 R:0+0(none) HW:0/none ECM 1: | 260.1/320.3/544.0Mh/s | A:13 R:0+0(none) HW:2/6.3% -------------------------------------------------------------------------------- [2013-11-15 22:31:34] Accepted 125bf3f5 ECM 0 Diff 13/2 So I'm ready for when ever kramble has something he wants tested (I think I can figure out SW1 and SW6 setting for a bitstream update. but take your time I'm in no rush at all.
|
|
|
|
BlueDragon747 (OP)
Legendary
Offline
Activity: 1509
Merit: 1030
Solutions Architect
|
|
November 16, 2013, 07:17:42 AM |
|
Well have CM1 up and running on SHA256. So I know it's working. bfgminer version 3.6.0 - Started: [2013-11-15 22:29:35] - [ 0 days 00:03:56] [M]anage devices [P]ool management [S]ettings [D]isplay options [H]elp [Q]uit Connected to btcminers.net diff 2 with stratum as user 1PjYqkPYD1qiLQY3jjQJX4kQ Block: ...28f79cf4 #269890 Diff:511M ( 3.66Ph/s) Started: [22:30:50] ST:2 F:0 NB:2 AS:1 BW:[ 22/ 22 B/s] E:9.99 I:38.68uBTC/hr BS:661 2 | 0.57/ 0.62/ 1.03Gh/s | A:26 R:0+0(none) HW:2/3.4% -------------------------------------------------------------------------------- ECM 0: | 260.0/297.3/489.6Mh/s | A:13 R:0+0(none) HW:0/none ECM 1: | 260.1/320.3/544.0Mh/s | A:13 R:0+0(none) HW:2/6.3% -------------------------------------------------------------------------------- [2013-11-15 22:31:34] Accepted 125bf3f5 ECM 0 Diff 13/2 So I'm ready for when ever kramble has something he wants tested (I think I can figure out SW1 and SW6 setting for a bitstream update. but take your time I'm in no rush at all. the board I sent kramble has the hashvoodoo project on the controller and the fpga's you might want to play with that https://github.com/pmumby/hashvoodoo-fpga-bitcoin-minerare you using the xilinx usb programmer and loading the bitstream via the jtag ports?
|
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
|
|
|
|