eestimees
|
|
January 07, 2014, 11:44:52 AM |
|
any plans for OSX binaries ?
|
— eestimees
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 11:45:42 AM |
|
I have literally nothing. I click the .jar and the mouse spins like it is loading, javaw appears in the process explorer, but no gui or anything pops up. And when I try to run it from command prompt it tells me the file cannot be accessed. Now I'm curious as to how it's possible that I mined a block apparently without mcproxy which should be required, correct? Copy the .jar file to a directory with java.exe (usually in c:\program files) and try to run from command line from that path. If your miner uses 8080 port then mcproxy should use a different one. I use this configuration: miner: bfgminer.exe -o localhost: 8090 -u adam -p pass --http-port 8080 -Q 0 mcproxy: java -jar mcproxy.jar -l 8090Well, that got it to at least attempt to launch. But now it spits out a million errors. mcproxy.jar needs also its libraries (located in lib directory). So if you copy/move mcproxy.jar you will need to copy/move lib directory as well.
|
|
|
|
int3ractivodular
Sr. Member
Offline
Activity: 280
Merit: 250
TECHNOLOGY, BABY!
|
|
January 07, 2014, 11:47:37 AM |
|
I have literally nothing. I click the .jar and the mouse spins like it is loading, javaw appears in the process explorer, but no gui or anything pops up. And when I try to run it from command prompt it tells me the file cannot be accessed. Now I'm curious as to how it's possible that I mined a block apparently without mcproxy which should be required, correct? regarding the output from mcproxy.jar, if you double click on it, windows will use javaw for executing the program without a console, so you will not see any text/log output, but that's only needed if you need to debug something. in order to launch with java (not javaw), open an msdos (cmd), cd to the directory where mcproxy.jar and the lib directory is, and from there launch: "java -jar mcproxy.jar", and then you will see the output from mcproxy. Technical explanation of mcproxy: Mcproxy implements a necessary part of the new proof of work algorithm, we choose not to put the full algorithm in the miner for simpliticity (so it is easier to support more miners). In the future, we might put all the code inside one or more miners, it will depend on the success of the coin. In terms of performance, the Java JIT VM is pretty good, even compared to native code. So, you mined a block because mcproxy is working correctly (in the background, without seeing its output). Thanks, that's kinda what I figured was going on. Seeing as I was able to mine a block I assumed it had to be just working in the background or something.
|
|
|
|
int3ractivodular
Sr. Member
Offline
Activity: 280
Merit: 250
TECHNOLOGY, BABY!
|
|
January 07, 2014, 11:49:40 AM |
|
So although it is working correctly, I cannot get it to show output no matter whether I run it from command line or not. It's got all the correct lib directories etc too. Idfk, I guess if it ain't broke don't fix it, but it's really odd that this is even possible
|
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 11:55:31 AM |
|
So although it is working correctly, I cannot get it to show output no matter whether I run it from command line or not. It's got all the correct lib directories etc too. Idfk, I guess if it ain't broke don't fix it, but it's really odd that this is even possible yes you can see the output, try this way: (suppose that mcproxy.jar and its lib subdirectory are located in c:\med\) 1 - open an msdos prompt 2 - type this commands: c: cd \med\ 3 - try this command: java -version does it work or you get an error? if you get an error (looking at your screenshot), type: "c:\program files\java\jre7\bin\java" -jar mcproxy.jar else, more simply: java -jar mcproxy.jar
|
|
|
|
int3ractivodular
Sr. Member
Offline
Activity: 280
Merit: 250
TECHNOLOGY, BABY!
|
|
January 07, 2014, 11:59:26 AM |
|
So although it is working correctly, I cannot get it to show output no matter whether I run it from command line or not. It's got all the correct lib directories etc too. Idfk, I guess if it ain't broke don't fix it, but it's really odd that this is even possible yes you can see the output, try this way: (suppose that mcproxy.jar and its lib subdirectory are located in c:\med\) 1 - open an msdos prompt 2 - type this commands: c: cd \med\ 3 - try this command: java -version does it work or you get an error? if you get an error (looking at your screenshot), type: "c:\program files\java\jre7\bin\java" -jar mcproxy.jar else, more simply: java -jar mcproxy.jar I've tried this. I've opened command prompt, and done the java -jar mcproxy.jar and it always gives me the errors above, or tells me the file can't be accessed. It doesn't make any sense... java -version gets me this: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\win7>java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
C:\Users\win7>
|
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 12:02:05 PM |
|
any plans for OSX binaries ?
technically it is quite possible, we will try a build in the next days. if any users are interested in OSX binaries, please +1 here
|
|
|
|
int3ractivodular
Sr. Member
Offline
Activity: 280
Merit: 250
TECHNOLOGY, BABY!
|
|
January 07, 2014, 12:03:26 PM |
|
Aha! Got it working properly, just forgot to copy the extra lib folder with the mcproxy.jar Derp
|
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 12:05:54 PM |
|
So although it is working correctly, I cannot get it to show output no matter whether I run it from command line or not. It's got all the correct lib directories etc too. Idfk, I guess if it ain't broke don't fix it, but it's really odd that this is even possible yes you can see the output, try this way: (suppose that mcproxy.jar and its lib subdirectory are located in c:\med\) 1 - open an msdos prompt 2 - type this commands: c: cd \med\ 3 - try this command: java -version does it work or you get an error? if you get an error (looking at your screenshot), type: "c:\program files\java\jre7\bin\java" -jar mcproxy.jar else, more simply: java -jar mcproxy.jar I've tried this. I've opened command prompt, and done the java -jar mcproxy.jar and it always gives me the errors above, or tells me the file can't be accessed. It doesn't make any sense... java -version gets me this: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\win7>java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
C:\Users\win7> if in the error messages you see "java.lang.NoClassDefFoundError", that means that the libraries for mcproxy are missing. can you show a "dir" listing of the directory where mcproxy.jar is located? you should see in the same directory also a "lib" subdirectory. can you show also a "dir" listing of "lib"?
|
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 12:06:34 PM |
|
Aha! Got it working properly, just forgot to copy the extra lib folder with the mcproxy.jar Derp ok!
|
|
|
|
int3ractivodular
Sr. Member
Offline
Activity: 280
Merit: 250
TECHNOLOGY, BABY!
|
|
January 07, 2014, 12:09:22 PM |
|
Aha! Got it working properly, just forgot to copy the extra lib folder with the mcproxy.jar Derp ok! Thanks for the help Hopefully I'll have some better luck mining now haha.
|
|
|
|
eestimees
|
|
January 07, 2014, 02:36:58 PM |
|
whats with that: cgminer version 3.9.0 - Started: [2014-01-07 16:30:49] ------------------------------------------------------------------------------- (5s):200.0M (avg):289.2Mh/s | A:0 R:0 HW:0 WU:3.2/m ST: 4 SS: 0 NB: 0 LW: 0 GF: 0 RF: 0 Connected to localhost diff 1.37K without LP as user mediterraneancoinrpc Block: ... Diff: Started: Best share: 10 ------------------------------------------------------------------------------- [P]ool management [S]ettings [D]isplay options [Q]uit AMU 1: | 335.4M/332.9Mh/s | A:0 R:0 HW:0 WU: 2.7/m -------------------------------------------------------------------------------
[2014-01-07 16:34:47] (5s):286.7M (avg):283.1Mh/s | A:0 R:0 HW:0 WU:3.5/m [2014-01-07 16:34:53] (5s):168.8M (avg):276.1Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:34:59] (5s):388.9M (avg):286.4Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:35:05] (5s):228.9M (avg):279.7Mh/s | A:0 R:0 HW:0 WU:3.3/m [2014-01-07 16:35:08] Share above target [2014-01-07 16:35:11] (5s):477.4M (avg):292.4Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:35:17] (5s):281.0M (avg):285.8Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:35:23] (5s):456.1M (avg):295.0Mh/s | A:0 R:0 HW:0 WU:3.3/m [2014-01-07 16:35:29] (5s):268.4M (avg):288.7Mh/s | A:0 R:0 HW:0 WU:3.2/m [2014-01-07 16:35:35] (5s):448.8M (avg):297.5Mh/s | A:0 R:0 HW:0 WU:3.1/m [2014-01-07 16:35:37] Share above target [2014-01-07 16:35:41] (5s):339.9M (avg):295.2Mh/s | A:0 R:0 HW:0 WU:3.3/m [2014-01-07 16:35:47] (5s):200.0M (avg):289.2Mh/s | A:0 R:0 HW:0 WU:3.2/m
does not seem to be hashing.. when running awhile, only HW count increments...
|
— eestimees
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 02:58:59 PM |
|
whats with that: cgminer version 3.9.0 - Started: [2014-01-07 16:30:49] ------------------------------------------------------------------------------- (5s):200.0M (avg):289.2Mh/s | A:0 R:0 HW:0 WU:3.2/m ST: 4 SS: 0 NB: 0 LW: 0 GF: 0 RF: 0 Connected to localhost diff 1.37K without LP as user mediterraneancoinrpc Block: ... Diff: Started: Best share: 10 ------------------------------------------------------------------------------- [P]ool management [S]ettings [D]isplay options [Q]uit AMU 1: | 335.4M/332.9Mh/s | A:0 R:0 HW:0 WU: 2.7/m -------------------------------------------------------------------------------
[2014-01-07 16:34:47] (5s):286.7M (avg):283.1Mh/s | A:0 R:0 HW:0 WU:3.5/m [2014-01-07 16:34:53] (5s):168.8M (avg):276.1Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:34:59] (5s):388.9M (avg):286.4Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:35:05] (5s):228.9M (avg):279.7Mh/s | A:0 R:0 HW:0 WU:3.3/m [2014-01-07 16:35:08] Share above target [2014-01-07 16:35:11] (5s):477.4M (avg):292.4Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:35:17] (5s):281.0M (avg):285.8Mh/s | A:0 R:0 HW:0 WU:3.4/m [2014-01-07 16:35:23] (5s):456.1M (avg):295.0Mh/s | A:0 R:0 HW:0 WU:3.3/m [2014-01-07 16:35:29] (5s):268.4M (avg):288.7Mh/s | A:0 R:0 HW:0 WU:3.2/m [2014-01-07 16:35:35] (5s):448.8M (avg):297.5Mh/s | A:0 R:0 HW:0 WU:3.1/m [2014-01-07 16:35:37] Share above target [2014-01-07 16:35:41] (5s):339.9M (avg):295.2Mh/s | A:0 R:0 HW:0 WU:3.3/m [2014-01-07 16:35:47] (5s):200.0M (avg):289.2Mh/s | A:0 R:0 HW:0 WU:3.2/m
does not seem to be hashing.. when running awhile, only HW count increments... from cgminer manual: Also many issues and FAQs are covered in the forum thread dedicated to this program, http://forum.bitcoin.org/index.php?topic=28402.0
The output line shows the following: (5s):1713.6 (avg):1707.8 Mh/s | A:729 R:8 HW:0 WU:22.53/m
Each column is as follows: 5s: A 5 second exponentially decaying average hash rate avg: An all time average hash rate A: The total difficulty of Accepted shares R: The total difficulty of Rejected shares HW: The number of HardWare errors WU: The Work Utility defined as the number of diff1 shares work / minute (accepted or rejected).from your log: it looks like your device has WU > 0, and also the hash rate looks good, it seems that the device is working and hashing.
|
|
|
|
mtbitcoin
Legendary
Offline
Activity: 876
Merit: 1000
Etherscan.io
|
|
January 07, 2014, 03:05:56 PM |
|
Will the mining work with GPUs instead of Asics?
yes, you should use the modified bfgminer. Thank you. Do you know if there are any compiled binaries for the modified bfgminer ?
|
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 03:09:47 PM |
|
Will the mining work with GPUs instead of Asics?
yes, you should use the modified bfgminer. Thank you. Do you know if there are any compiled binaries for the modified bfgminer ? not at the moment; but we can prepare them. for what platform do you need them?
|
|
|
|
francong
Newbie
Offline
Activity: 50
Merit: 0
|
|
January 07, 2014, 03:17:21 PM |
|
How the random amount of coin is calculated, by hash, other things, or purely rand(100)+1 ?
|
|
|
|
loonsert
Newbie
Offline
Activity: 26
Merit: 0
|
|
January 07, 2014, 03:19:45 PM |
|
Who sells MediterraneanCoin? Offers in PM
|
|
|
|
smallplatf (OP)
|
|
January 07, 2014, 03:29:25 PM |
|
How the random amount of coin is calculated, by hash, other things, or purely rand(100)+1 ?
the amount depends on block height and the output of a Mersenne Twister random number generator which is seeded by the hash of the previous block in the blockchain. see also https://github.com/mrtexaznl/mediterraneancoin/blob/master-0.8/src/main.cpp at line 1146 see also http://www.mediterraneancoin.org/ in the "Features" section for more detail on how subsidy is scheduled: Special reward system: random block rewards depending on block number: block number reward 1-100k random 1-100 MediterraneanCoins reward 100k - 200k 1-200 MediterraneanCoins reward 200k - 300k 1-150 MediterraneanCoins reward 300k - 400k 1-100 MediterraneanCoins reward 400k - 500k 1-70 MediterraneanCoins reward 500k - 600k 1-40 MediterraneanCoins reward > 600k 20 MediterraneanCoins reward (flat) after that, subsidy halves in 1036k blocks (~1 year)
200 million total coins
|
|
|
|
subSTRATA
Legendary
Offline
Activity: 1288
Merit: 1043
:^)
|
|
January 07, 2014, 03:44:12 PM |
|
I have literally nothing. I click the .jar and the mouse spins like it is loading, javaw appears in the process explorer, but no gui or anything pops up. And when I try to run it from command prompt it tells me the file cannot be accessed. Now I'm curious as to how it's possible that I mined a block apparently without mcproxy which should be required, correct? Copy the .jar file to a directory with java.exe (usually in c:\program files) and try to run from command line from that path. If your miner uses 8080 port then mcproxy should use a different one. I use this configuration: miner: bfgminer.exe -o localhost: 8090 -u adam -p pass --http-port 8080 -Q 0 mcproxy: java -jar mcproxy.jar -l 8090Well, that got it to at least attempt to launch. But now it spits out a million errors. mcproxy.jar needs also its libraries (located in lib directory). So if you copy/move mcproxy.jar you will need to copy/move lib directory as well. Easier method to solve the issue is to just edit runmcproxy.bat (right-click > Edit) that comes with installation. Since Win7 is not so smart to find location of Java, one needs to point to it over mentioned .bat file, like this: "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar mcproxy.jar Or if your Java is installed to Program Files folder: "C:\Program Files\Java\jre7\bin\java.exe" -jar mcproxy.jar
|
theres nothing here. message me if you want to put something here.
|
|
|
mtbitcoin
Legendary
Offline
Activity: 876
Merit: 1000
Etherscan.io
|
|
January 07, 2014, 04:02:20 PM |
|
Will the mining work with GPUs instead of Asics?
yes, you should use the modified bfgminer. Thank you. Do you know if there are any compiled binaries for the modified bfgminer ? not at the moment; but we can prepare them. for what platform do you need them? Windows please. Thank you!
|
|
|
|
|