Pages:
Author

Topic: aiuto per configurare stratum proxy su windows - page 2. (Read 3914 times)

sr. member
Activity: 392
Merit: 250




Magari così :

Code:
  "stratumListenPort" : 3333,
  "stratumListenAddress" : "0.0.0.0",
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]


ricevo questo
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Failed to start the proxy:
com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class strat.mining.stratum.proxy.configuration.model.Configuration] from String value ('stratumListenPor
t'); no single-String constructor/factory method
 at [Source: test.conf; line: 1, column: 3]
        at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
        at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:843)
        at com.fasterxml.jackson.databind.deser.ValueInstantiator._createFromStringFallbac ks(ValueInstantiator.java:277)
        at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromString(StdValueInstantiator.java:284)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1141)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:153)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:144)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2470)
        at strat.mining.stratum.proxy.configuration.ConfigurationManager.useConfigurationF ile(ConfigurationManager.java:181)
        at strat.mining.stratum.proxy.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:159)
        at strat.mining.stratum.proxy.Launcher.main(Launcher.java:117)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \stratum-proxy.log (Accesso negato)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.(Unknown Source)
        at java.io.FileOutputStream.(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
        at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
        at org.apache.log4j.LogManager.(LogManager.java:127)
        at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:285)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:305)
        at strat.mining.stratum.proxy.database.DatabaseManager.(DatabaseManager.java:37)
        at strat.mining.stratum.proxy.Launcher$1.run(Launcher.java:156)
User requested shutdown... Gracefuly kill all connections...
Shutdown !

C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>pause
Premere un tasto per continuare . . .



hero member
Activity: 658
Merit: 502
dovrei aggiungere sotto consiglio di @fansat "--stratum-listen-port 12345"

fansat ?  Roll Eyes



{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "stratumListenPort" : 3333,
    "user" : "paolo1965.boio"
    } ]
}


Magari così :

Code:
  "stratumListenPort" : 3333,
  "stratumListenAddress" : "0.0.0.0",
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]




FaSan
sr. member
Activity: 392
Merit: 250
sr. member
Activity: 392
Merit: 250
Aloora riassumiamo e ripartiamo da quì

collegamento a f2pool con file di avvio.bat così:
Quote
java -jar stratum-proxy.jar -f test.conf

usando un file di cong così:
Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio"
    } ]
}

lanciato ricevo questo:
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Paolo\AppData\Local\Temp
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level not set. API logging disabled.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0
FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=stratum.f2pool.com:3333, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=x, readySince
=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 14:00:19,137 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:3333.
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8332]
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer] Started.
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8888]
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer-1] Started.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool stratum.f2pool.com:3333 started
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is STABLE.
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is UP.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 2048.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.

di defaul dovrei collegare il mine (antminer S3) alla porta 8332 inserendo nello spazio del miner dove mettrei "stratum.f2pool.com:3333"   l'ip del proxy:8332 ossia 192.168.1.130:8332 mettendo sulla sezione user e password qualsiasi cosa
io ho messo X come user e X come password

ricevo questo:
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Paolo\AppData\Local\Temp
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level not set. API logging disabled.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0
FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=stratum.f2pool.com:3333, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=x, readySince
=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 14:00:19,137 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:3333.
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8332]
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer] Started.
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8888]
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer-1] Started.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool stratum.f2pool.com:3333 started
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is STABLE.
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is UP.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 2048.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.
2015-03-07 14:02:20,725 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 1024.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:02:48,150 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:02:57,261 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.
2015-03-07 14:04:01,440 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.
2015-03-07 14:05:59,505 INFO     [Grizzly-worker(3)]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection Getwork-/192.168.1.53 subscribed. 1 connections active on pool stratum.f2pool.com
:3333.
2015-03-07 14:05:59,513 ERROR    [Grizzly-worker(3)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id": 0, "method": "getblocktemplate", "params
": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.json.GetworkRequest["params"])
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:567)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:551)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
        at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2576)
        at strat.mining.stratum.proxy.worker.GetworkRequestHandler.service(GetworkRequestHandler.java:99)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
        at strat.mining.stratum.proxy.json.GetworkRequest.setParams(GetworkRequest.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)
        ... 10 more
2015-03-07 14:06:05,480 ERROR    [Grizzly-worker(6)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id": 0, "method": "getblocktemplate", "params
": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.json.GetworkRequest["params"])
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:567)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:551)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
        at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2576)
        at strat.mining.stratum.proxy.worker.GetworkRequestHandler.service(GetworkRequestHandler.java:99)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
        at strat.mining.stratum.proxy.json.GetworkRequest.setParams(GetworkRequest.java:61)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)
        ... 10 more
hero member
Activity: 658
Merit: 502
Ma dall,'antminer s3 come faccio a fargli fare richiesta getwork ?
Possibile che abbia letto che invece che fare richiesta sulla porta 8332 la faccio sulla 3333 cambi qualcosa ?


Mi sembra tu debba aggiungere "--stratum-listen-port 12345" nel comando di start del proxy, dove chiaramente 12345 è la porta che vuoi in ascolto




FaSan
sr. member
Activity: 392
Merit: 250
Ma dall,'antminer s3 come faccio a fargli fare richiesta getwork ?
Possibile che abbia letto che invece che fare richiesta sulla porta 8332 la faccio sulla 3333 cambi qualcosa ?
hero member
Activity: 658
Merit: 502
HELP HELP HELP HELP Cry Cry Cry Cry Cry Cry

Da quello che si legge qui :

Code:
2015-03-05 08:10:22,026 ERROR    [Grizzly-worker(1)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id":
0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.
json.GetworkRequest["params"])

Il tuo miner ha fatto una richiesta "getblocktemplate" anzichè "getwork". Infatti Nicehash suggerisce questa soluzione nel caso in cui i tuoi minatori non supportino lo stratum direttamente. Ma, chiaramente, puoi anche usarlo per dividere un solo job in più miners.





Dovrebbe essere sufficiente disabilitare il supporto stratum dal bfgminer/cgminer forzandolo invece in modalità "getwork". Su bfgminer si può fare, su cgminer non saprei.


FaSan

sr. member
Activity: 392
Merit: 250
HELP HELP HELP HELP Cry Cry Cry Cry Cry Cry
sr. member
Activity: 392
Merit: 250
nessuno sà come configurarlo Cry
sr. member
Activity: 392
Merit: 250
Aggiornato ultimo software S3

file di conf

Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "arturo1965.4",
    "enableExtranonceSubscribe" : false
  }
  ]
}

risposta del proxy come sopra il miner non si collega bippa di continuo Undecided
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
L'antminer S3 mi da questa
    cgminer    3.12.0-1

Ok, probabilmente è outdated per il proxy java, prova anzitutto a disabilitare l'extranonce su quest'ultimo, e poi ad aggiornare il fw dell's3 se ce n'è uno più recente
sr. member
Activity: 392
Merit: 250
L'antminer S3 mi da questa
    cgminer    3.12.0-1
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
Che versione di cgminer/bfgminer usi?
sr. member
Activity: 392
Merit: 250
allora usando questo file di conf:
Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "arturo1965.4"
  }
  ]
}

avvio il miner su indirizzo del server sulla porta 8332 e ricevo questa risposta ( naturalmente il miner non lavora bippa di continuo )

Quote
C:\Users\Arturo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f stratum-proxy-f2pool.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Arturo\AppData\Local\Temp
2015-03-05 08:08:10,252 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-05 08:08:10,252 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level not set. API logging disabled.
2015-03-05 08:08:10,267 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users
\Arturo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-05 08:08:10,267 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-05 08:08:10,532 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-05 08:08:10,532 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=stratum.f2pool.com:3333, host=stratum.f2pool.com:3333, usernam
e=arturo1965.4, password=x, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-05 08:08:11,406 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:3333.
mar 05, 2015 8:08:11 AM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8332]
mar 05, 2015 8:08:11 AM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer] Started.
2015-03-05 08:08:12,248 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool stratum.f2pool.com:3333 started
2015-03-05 08:08:12,248 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is STABLE.
2015-03-05 08:08:12,248 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is UP.
2015-03-05 08:08:12,264 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool stratum.f2pool.
com:3333.
2015-03-05 08:08:12,264 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.co
m:3333.
mar 05, 2015 8:08:12 AM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8888]
mar 05, 2015 8:08:12 AM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer-1] Started.
2015-03-05 08:10:22,018 INFO     [Grizzly-worker(1)]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection Getwork-/192.168.1.53 subscribed. 1 conne
ctions active on pool stratum.f2pool.com:3333.
2015-03-05 08:10:22,026 ERROR    [Grizzly-worker(1)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id":
0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.
json.GetworkRequest["params"])
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:567)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:551)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
        at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2576)
        at strat.mining.stratum.proxy.worker.GetworkRequestHandler.service(GetworkRequestHandler.java:99)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
        at strat.mining.stratum.proxy.json.GetworkRequest.setParams(GetworkRequest.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)
        ... 10 more

 Cry Cry Cry
sr. member
Activity: 392
Merit: 250
lo slush proxy lo ho provato e funziona perfettamente come quello che ho istallato su un raspberry.

Solo che hanno diversità, ossia lo slush e quello che ho su raspy fanno passare user dei minatori e ho più minatori che lavorano sulla pool
mentre nicehash crea un unico user sulla pool

e come dicevo ha questa interfaccia di controllo.
sr. member
Activity: 392
Merit: 250
Se posso consigliarti, per semplicità usa lo slush proxy, altrimenti se sei obbligato ad usare quello java vedo di darti una mano ugualmente  Smiley

Ciao non è che sono obbligato è che mi piace l'interfaccia di controllo che ha questo java, ossia digitando ip del pc:8888 eace fuori l'interfaccia che ti da tutte le statistiche ed è anche per questo che volevo riuscire ad usare questo.

ma non riesco a fare una configurazione funzionante sul sito da una config già pronta m,a è per scrypt e anche omettendo ciò che dicono non funziona comunque.
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
Se posso consigliarti, per semplicità usa lo slush proxy, altrimenti se sei obbligato ad usare quello java vedo di darti una mano ugualmente  Smiley
sr. member
Activity: 392
Merit: 250
Come da oggetto volevo crearmi uno stratum proxy interno per riversare i miei miner e farli minare verso una pool

ho preso in considerazione lo stratum proxy di nicehash ho provato ad usare un config come dicono loro "semplice"

Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "arturo99.boio"
  } ]
}

avviando il proxy con un file bat di questo genere dove il file avvio.conf è il file sopra che ho scritto

Quote
java -jar stratum-proxy.jar -f avvio.conf

sembra che parte e si mette in ascolto sulla porta 8332 che è quella di default dello stratum proxy.

Collego il miner scrivendo così (miner è un s3)
ip del pc con lo stratum proxy avviato :8332
user x
password x

ma non succede nulla di nulla  Huh

aiuto

Pages:
Jump to: