Bitcoin Forum
July 03, 2024, 09:52:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ... 247 »
241  Bitcoin / Pools / Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB on: October 17, 2015, 11:44:48 PM
You're all making it worse. Repent and say some prayers to St. Eligius.
242  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 17, 2015, 07:58:31 PM
Maybe not so important since it's just a matter of displayed device name.

I believe you are looking for confirmation from debug output. I took a debug log after I upgraded my BFGMiner from 5.2.0 to the broken version of 5.3.0 on the 5th of September. I think it confirms that the device name of my Antminer U3's were recognised as CBM device. Below are some of the lines on that debug log. I can send you the whole log (only about 1 minute worth of messages though) if you are interested on that.
Code:
.
.
 [2015-09-05 20:32:08] CBM 0d nonce = 0xd26d8507 = 0x49b61420 hashes (0.034306s; 0.027740ns/hash)
 [2015-09-05 20:32:08] CBM 0a: Popping work from get queue to get work
 [2015-09-05 20:32:08] CBM 1c nonce = 0x508863f4 = 0x42218fd4 hashes (0.031638s; 0.028515ns/hash)
 [2015-09-05 20:32:08] CBM 1a: Popping work from get queue to get work
 [2015-09-05 20:32:08] CBM 0a: Got work 3252 from get queue to get work for thread 0
 [2015-09-05 20:32:08] CBM 1a: Got work 3256 from get queue to get work for thread 4
 [2015-09-05 20:32:08] Selecting pool 0 for work
 [2015-09-05 20:32:08] Generated stratum header 000000031f1b418f32e1029d0ba699fb6c6d69fa2b4505f910a6ac6a00000000000000001316c7f355e434897ef09f8d8721ec6ac457b46185081a8c5b9521989568c0b955eb351e18134dc100000000
 [2015-09-05 20:32:08] Work job_id 1441477890 107367 nonce2 0000039d
 [2015-09-05 20:32:08] Generated stratum work
 [2015-09-05 20:32:08] Pushing work 3292 from pool 0 to hash queue
 [2015-09-05 20:32:08] Selecting pool 0 for work
 [2015-09-05 20:32:08] Generated stratum header 000000031f1b418f32e1029d0ba699fb6c6d69fa2b4505f910a6ac6a00000000000000004d2c4d682acf97793bc560e527dd3f2cb2eead8cb51c3b79b23c7b5b1dd3718055eb351e18134dc100000000
 [2015-09-05 20:32:08] Work job_id 1441477890 107367 nonce2 0000039e
 [2015-09-05 20:32:08] Generated stratum work
 [2015-09-05 20:32:08] Pushing work 3294 from pool 0 to hash queue
 [2015-09-05 20:32:08] CBM 0: No data in 0.075 seconds
 [2015-09-05 20:32:08] CBM 1: No data in 0.075 seconds
 [2015-09-05 20:32:08] CBM 0 no nonce = 0xffffffff hashes (0.078335s)
 [2015-09-05 20:32:08] CBM 0a: Popping work from get queue to get work
 [2015-09-05 20:32:08] CBM 0a: Got work 3260 from get queue to get work for thread 0
 [2015-09-05 20:32:08] Selecting pool 0 for work
 [2015-09-05 20:32:08] Generated stratum header 000000031f1b418f32e1029d0ba699fb6c6d69fa2b4505f910a6ac6a0000000000000000335850b265322e3909d4501e6c911f47c655ca5b115b19bc9b542a5b9266912755eb351e18134dc100000000
 [2015-09-05 20:32:08] Work job_id 1441477890 107367 nonce2 0000039f
 [2015-09-05 20:32:08] Generated stratum work
 [2015-09-05 20:32:08] Pushing work 3297 from pool 0 to hash queue
 [2015-09-05 20:32:08] CBM 1 no nonce = 0xffffffff hashes (0.077746s)
 [2015-09-05 20:32:08] CBM 1a: Popping work from get queue to get work
 [2015-09-05 20:32:08] Selecting pool 0 for work
 [2015-09-05 20:32:08] Generated stratum header 000000031f1b418f32e1029d0ba699fb6c6d69fa2b4505f910a6ac6a0000000000000000ed92f07d4de37dc46ceaeb3ebe8f5206ffdcd29f446484f36d6323b0e0a9b12f55eb351e18134dc100000000
 [2015-09-05 20:32:08] CBM 1a: Got work 3264 from get queue to get work for thread 4
 [2015-09-05 20:32:08] Work job_id 1441477890 107367 nonce2 000003a0
 [2015-09-05 20:32:08] Generated stratum work
 [2015-09-05 20:32:08] Pushing work 3300 from pool 0 to hash queue
 [2015-09-05 20:32:08] PROOF OF WORK RESULT: true (yay!!!)
 [2015-09-05 20:32:08]  Proof: 0000000057e1afcb8faa3fcd24aca544e542a1bf3eda5347d80d989d18de1cfa
.
.
 [2015-09-05 20:32:43] Summary of per device statistics:

 [2015-09-05 20:32:43] CBM0        | 30s:28.72 avg:46.69 u:45.24 Gh/s | A:1 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM0a        | 30s: 7.18 avg:11.67 u:11.96 Gh/s | A:1 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM0b        | 30s: 7.18 avg:11.77 u:10.40 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM0c        | 30s: 7.18 avg:11.77 u:11.65 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM0d        | 30s: 7.18 avg:11.77 u:11.51 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM1        | 30s:29.06 avg:47.24 u:41.67 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM1a        | 30s: 7.26 avg:11.80 u:10.45 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM1b        | 30s: 7.26 avg:11.90 u:10.47 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM1c        | 30s: 7.27 avg:11.91 u:10.95 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] CBM1d        | 30s: 7.27 avg:11.91 u:10.05 Gh/s | A:0 R:0+0(none) HW:0/none
 [2015-09-05 20:32:43] 
Nah, I was looking for some hint as to what went wrong during detection. Smiley
243  Bitcoin / Pools / Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB on: October 17, 2015, 10:31:08 AM
yup...just now 1 block rewarded from thin air? all of the big contributors are around 93%? i'm mining for about 1 year and i'm around 93% myself...it is too much of a difference. and i should say that the overall luck in theory should be even better than 100%. big question marks for me  Huh ...i wish you all miners all the best, but i'm outa here  Cry
Goodbye, person who doesn't understand how mining works...  Roll Eyes
244  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 17, 2015, 10:26:37 AM
Can you run the broken version with -D -d? and paste the output?

Ooppsss... I have already cleaned up everything related to the previous HEAD version, including the compiled package. I need to figure out how to tell OpenWRT build package to roll back to previous commit.

Is this quite important Luke? For instance, do you suspect something might broke other parts? I prefer to move on with your latest commits, but if that would be important I will try to roll back and re-compile.
Maybe not so important since it's just a matter of displayed device name.
245  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 17, 2015, 10:05:37 AM
I saw that you have commited some changes on your github, especially commit 8488cf0 on the device name for compact device. I will try if that would fix the issue I am seeing.

I can confirm that your new commits fix the issue that I had as you can see on below link (I am not sure why I cannot insert image to this forum any more)


Strange, it shouldn't have...

Can you run the broken version with -D -d? and paste the output?
246  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 17, 2015, 12:42:29 AM
Hmm, maybe try changing the single-quotes to double-quotes.
247  Bitcoin / Hardware / Re: GekkoScience BM1384 Project Development Discussion on: October 16, 2015, 11:01:49 PM
I've been working on trying to calculate the reg_data for BM1382/4 on demand, and have an algorithm that seems to mostly work...
But there's 6 exceptional cases in Gekko's cgminer table that don't fit it:

For 181.25 MHz, Gekko is using 0e83, but this seems to actually be 187.5 MHz, while 181.25 MHz should be 0e03.

For 412.5 MHz, Gekko is using 1006, but this seems to actually be 206.25 MHz, while 412.5 MHz should be 1005.

In four cases, Gekko is using what appears to me to be an overly-precise divider out of the norm pattern:
  • For 143.75 MHz, Gekko is using 1687, but 0b03 seems like a better choice.
  • For 168.75 MHz, Gekko is using 1a87, but 0e03 seems like a better choice.
  • For 212.5 MHz, Gekko is using 1086, but 0802 seems like a better choice.
  • For 237.5 MHz, Gekko is using 1286, but 0902 seems like a better choice.

Can anyone shed some light on these differences?

For reference, here is the code I am using to calculate the register data:

In C...
Code:
bool bm1382_freq_to_reg_data(uint8_t * const out_reg_data, const float mhz)
{
if (mhz < 100)
return false;
float best_delta = FLT_MAX;
unsigned best_dc = 0;
unsigned try_list[4], *tlp = try_list;
if (mhz >= 200) {
if (mhz > 400) {
*(tlp++) = 0x0101;
*(tlp++) = 0x0205;
} else {
*(tlp++) = 0x0202;
}
*(tlp++) = 0x0406;
} else {
*(tlp++) = 0x0403;
}
*(tlp++) = 0x0807;
for (unsigned *tli = try_list; tli < tlp; ++tli) {
const float d = *tli >> 8;
const float df = 25. / d;
const float delta = fmodf(mhz, df);
if (delta < best_delta) {
best_delta = delta;
best_dc = *tli;
if (delta == 0) {
break;
}
}
}
if (!best_dc)
return false;
const float d = best_dc >> 8;
const float df = 25. / d;
const unsigned di = best_dc & 0xff;
const uint16_t reg_num = ((unsigned)((mhz / df) - 1) << 7) | di;
pk_u16be(out_reg_data, 0, reg_num);
return true;
}

In Python...
Code:
def freq2reg(f):
best_delta = 99999
best_d = 1
d_to_try = []
if f >= 200:
if f > 400:
d_to_try.append(1)
d_to_try.append(2)
d_to_try.append(4)
d_to_try.append(8)
for d in d_to_try:
df = 25. / d
delta = f % df
if delta < best_delta:
best_delta = delta
best_d = d
if delta == 0:
break
best_df = 25. / best_d
if best_d == 1:
di = 1
elif best_d == 2:
if f > 400:
di = 5
else:
di = 2
elif best_d == 4:
if f > 200:
di = 6
else:
di = 3
else:  # best_d == 8
di = 7
return (int((f / best_df) - 1) << 7) | di
248  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 16, 2015, 09:18:56 PM
Hmm, I did test that it works on my Compac pre-prod sample before posting it here :/

Does it work any better if you use RPC's pgaset?

bfgminer-rpc 'pgaset|cbm0,clock,x0783'

It probably has to to with the changes made between pre- and post-production sticks.

Is the command you suggested something I enter from the command line or batch file?  I am not familiar with RPC.  I'll see what I can find out about it in the mean time and try that way, if I can figure it out.
You'll need to run BFGMiner with --api-listen --api-allow W:127.0.0.1 and then you can use the bfgminer-rpc command from a prompt.
249  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 16, 2015, 08:21:51 PM
Using 5.3.0 to run a couple gekko compac sticks and no matter what value I input for --set compac:clock= the sticks hash as if they were set to 225 (x0882), so at about 11GH/s each.  Any idea why the sticks are not taking the frequency setting?
Found this bug. Will fix in 5.4.

Workaround: Use --set cbm:clock=x0783 instead.
I forgot to set the "compac" name on the driver... :|

Wonderful, thank you!  Now I have to dig up my usb tester and start dialing these sticks up.

edit - I have been unable to produce successful results with the revised cbm command, my sticks still hash at default frequency.   Cry
Hmm, I did test that it works on my Compac pre-prod sample before posting it here :/

Does it work any better if you use RPC's pgaset?

bfgminer-rpc 'pgaset|cbm0,clock,x0783'
250  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 16, 2015, 11:13:34 AM
Using 5.3.0 to run a couple gekko compac sticks and no matter what value I input for --set compac:clock= the sticks hash as if they were set to 225 (x0882), so at about 11GH/s each.  Any idea why the sticks are not taking the frequency setting?
Found this bug. Will fix in 5.4.

Workaround: Use --set cbm:clock=x0783 instead.
I forgot to set the "compac" name on the driver... :|
251  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 16, 2015, 05:55:35 AM
The name of the devices of my Antminer U3 have now changed to CBM where previously they were shown as AMU on version 5.2.0.
I can't see to reproduce this.
Mine always shows up as AMU...
What command line do you use?
252  Bitcoin / Pools / Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB on: October 13, 2015, 03:42:40 PM
i have noticed that most of the miners on eligius (me included) are around 93% payouts. i begin to not like this statistic..it has to mean that in a way or other this is a 7% fee pool Sad
No, because fees would be taken out after the risk/luck factor.
253  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 13, 2015, 06:12:44 AM
There basically is no "correct". Stratum never had any way to request a difficulty "officially".

Originally in BFGMiner, --request-diff only supported GBT pools (since only GBT had protocol support for it).

Back in 2013, I extended it to stratum with a new mining.suggest_target extension.
This used a full hex target String to avoid the problems encountered with a difficulty Number (inaccurate, etc).

Then over a year later (2014), cgminer decided to introduce their own --suggest-diff option that was incompatible.
A month later, they changed it, but still left it incompatible.
AFAIK their "justification" for this gratuitous incompatibility is based on some passing ideas slush had, but never added to Stratum himself.
254  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 12, 2015, 06:38:41 PM
I'm trying to request a starting diff by using --request-diff 48, but the command doesn't seem to work.

My entire batch files is:

Code:
bfgminer.exe -o stratum+tcp://solo.ckpool.org:3333 -u 1JiWuyX94wrCr7JhkAn7x5qNMCEef1KhqX.bmoscatosticks -p x -S rockminer:all --set rockminer:clock=280 --set compac:clock=x0d82 --request-diff 48 --api-listen --api-allow W:10.0.0/24
CKPool does not honour target requests.
255  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 08, 2015, 02:36:39 PM
Hi,

is it possible to use bfgminer as a stratum -> getwork proxy ?

I like to use rented hashpower to mine on my local wallet. Nicehash only supports stratum targets.

I tried different combinations and I know it can used as getwork -> stratum proxy and stratum -> stratum as well as getwork-> getwork.

Did I make a error in the configuration ?

bfgminer -o 127.0.0.1:8888 -u user -p pass --stratum-port=3333 don't work

regards


It is impossible to translate getwork to stratum like that, but it doesn't matter because Core doesn't even support getwork anymore.
You can do GBT to stratum with the --stratum-port 3333 option, but no = in arguments...
256  Bitcoin / Mining software (miners) / Re: BFGMiner 5.3.0: GBT+Stratum, RPC, Mac/Linux/Win64, GekkoScience Compac on: October 08, 2015, 06:09:15 AM
Note: -O3 is known to break some software, so please use -O2 if you want BFGMiner to be reliable.
257  Bitcoin / Development & Technical Discussion / Re: New transaction malleability attack wave? Another stresstest? on: October 05, 2015, 12:06:00 AM
I'm curious, why is `SCRIPT_VERIFY_LOW_S` not a standard verification flag?
You're conflating standards with the IsStandard filter.
The former is defined by common use, while the latter is miner/relay policy entirely up to the individual user to decide.
You can decide to filter with SCRIPT_VERFIY_LOW_S if you like, but maybe 5% of legit transactions will probably be filtered if you do so.
If everyone did, then those 5% would never confirm until someone malleated them.
258  Bitcoin / Development & Technical Discussion / Re: New transaction malleability attack wave? Another stresstest? on: October 04, 2015, 09:09:09 PM
Quote
OK. This is not "someone". It is me.
Right now the stress-test is paused. I reserve a right to resume it.
Ask me anything.
Apparently you used the low/high s attack (http://blog.coinkite.com/post/130318407326/ongoing-bitcoin-malleability-attack-low-s-high).

How is it possible that so many transactions were affected if v2 transaction are protected against this kind of attack?
Quote
The advantage for programs using v2 transactions is that they can generally be constructed to be non-malleable by third parties, so v2 transactions can more safely be used for applications like the initial bond part of establishing a micropayment channel.
http://bitcoin.stackexchange.com/questions/35904/how-much-of-bip-62-dealing-with-malleability-has-been-implemented

https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki
Quote
NOTICE: This document is a work in progress and is not complete, implemented, or otherwise suitable for deployment.
Why? Apparently rules 1-6 have been implemented, 7 only affects special outputs and 8,9 shouldn't be a problem (for third party malleability)
Rules 2-6 are also not implemented, and BIP 66 extended rule 1 to all transactions, regardless of their version.

But the main reason it isn't suitable right now is the "Block validity" section, which uses block version >=3 to trigger it.
We already are on block version 3 for BIP 66, so this needs to be updated for another version.

Furthermore, when we were initially planning to begin roll-out, Peter Todd (IIRC) brought forward some very real issues with the BIP that would have potentially been problematic, so there was a general feeling that BIP 62 had not been sufficiently reviewed/considered, and was therefore too risky.
259  Bitcoin / Development & Technical Discussion / Re: New transaction malleability attack wave? Another stresstest? on: October 04, 2015, 03:13:48 PM
I mean really , why Huh Undecided
Because I am able to do it.
With Great power comes great responsibility my child...... Wink
Eh, you realise this kind of thing doesn't need any power, right?

It's literally just a few lines of code in any old boring node...
260  Bitcoin / Pools / Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB on: October 04, 2015, 12:35:11 PM
I think you should merge mine all of the merged mined coins Namecoin, Ixcoin, Devcoin, I0coin and Unobtanium. Why not? it is free we are already mining.
See https://bitcointalk.org/?topic=23768.msg3815348#msg3815348
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ... 247 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!