Bitcoin Forum
May 05, 2024, 07:00:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 ... 111 »
  Print  
Author Topic: [ANN] [SHA256]+[CPU] MediterraneanCoin (MED) - REUSE your ERUPTER!!  (Read 227778 times)
eestimees
Hero Member
*****
Offline Offline

Activity: 651
Merit: 500



View Profile
January 07, 2014, 11:44:52 AM
 #201

any plans for OSX binaries ?


eestimees
1714935654
Hero Member
*
Offline Offline

Posts: 1714935654

View Profile Personal Message (Offline)

Ignore
1714935654
Reply with quote  #2

1714935654
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714935654
Hero Member
*
Offline Offline

Posts: 1714935654

View Profile Personal Message (Offline)

Ignore
1714935654
Reply with quote  #2

1714935654
Report to moderator
1714935654
Hero Member
*
Offline Offline

Posts: 1714935654

View Profile Personal Message (Offline)

Ignore
1714935654
Reply with quote  #2

1714935654
Report to moderator
1714935654
Hero Member
*
Offline Offline

Posts: 1714935654

View Profile Personal Message (Offline)

Ignore
1714935654
Reply with quote  #2

1714935654
Report to moderator
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 11:45:42 AM
 #202

You should have this kind of output from mcproxy (right window):

http://imgur.com/8rO77Ek

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 8090

Well, 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.

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
int3ractivodular
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

TECHNOLOGY, BABY!


View Profile
January 07, 2014, 11:47:37 AM
 #203

You should have this kind of output from mcproxy (right window):

http://imgur.com/8rO77Ek

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 Offline

Activity: 280
Merit: 250

TECHNOLOGY, BABY!


View Profile
January 07, 2014, 11:49:40 AM
 #204

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  Huh
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 11:55:31 AM
 #205

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  Huh

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


MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
int3ractivodular
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

TECHNOLOGY, BABY!


View Profile
January 07, 2014, 11:59:26 AM
 #206

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  Huh

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:

Code:
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)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 12:02:05 PM
 #207

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

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
int3ractivodular
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

TECHNOLOGY, BABY!


View Profile
January 07, 2014, 12:03:26 PM
 #208

Aha! Got it working properly, just forgot to copy the extra lib folder with the mcproxy.jar

Derp  Tongue
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 12:05:54 PM
 #209

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  Huh

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:

Code:
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"?
 

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 12:06:34 PM
 #210

Aha! Got it working properly, just forgot to copy the extra lib folder with the mcproxy.jar

Derp  Tongue

ok!

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
int3ractivodular
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

TECHNOLOGY, BABY!


View Profile
January 07, 2014, 12:09:22 PM
 #211

Aha! Got it working properly, just forgot to copy the extra lib folder with the mcproxy.jar

Derp  Tongue

ok!

Thanks for the help Smiley

Hopefully I'll have some better luck mining now haha.
eestimees
Hero Member
*****
Offline Offline

Activity: 651
Merit: 500



View Profile
January 07, 2014, 02:36:58 PM
 #212

whats with that:

Code:
 
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)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 02:58:59 PM
 #213

whats with that:

Code:
 
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.


MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
mtbitcoin
Legendary
*
Offline Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 07, 2014, 03:05:56 PM
 #214

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 ?

EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 03:09:47 PM
 #215

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?

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
francong
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile WWW
January 07, 2014, 03:17:21 PM
 #216

How the random amount of coin is calculated, by hash, other things, or purely rand(100)+1 ?
loonsert
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 07, 2014, 03:19:45 PM
 #217

Who sells MediterraneanCoin? Offers in PM
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 07, 2014, 03:29:25 PM
 #218

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


MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
subSTRATA
Legendary
*
Offline Offline

Activity: 1288
Merit: 1043


:^)


View Profile
January 07, 2014, 03:44:12 PM
 #219

You should have this kind of output from mcproxy (right window):

http://imgur.com/8rO77Ek

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 8090

Well, 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:

Code:
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar mcproxy.jar

Or if your Java is installed to Program Files folder:

Code:
"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 Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 07, 2014, 04:02:20 PM
 #220

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!

EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
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 ... 111 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!