Ciao prova con questa conf, puntando l'S3 all'ip dello stratum sulla porta 4000 con user "user" e password "password" che poi sono anche i parametri per connettersi all'interfaccia web.
Ciao W_M
{
"logDirectory" : "",
"logLevel" : "INFO",
"disableLogAppend": false,
"stratumListenPort" : 4000,
"stratumListenAddress" : "0.0.0.0",
"disableStratum": false,
"getworkListenPort" : 4001,
"getworkListenAddress" : "0.0.0.0",
"disableGetwork": false,
"apiListenPort" : 8888,
"apiListenAddress" : "0.0.0.0",
"disableApi": false,
"poolConnectionRetryDelay" : 5,
"poolReconnectStabilityPeriod" : 5,
"poolNoNotifyTimeout" : 240,
"rejectReconnectOnDifferentHost" : false,
"poolHashrateSamplingPeriod" : 600,
"userHashrateSamplingPeriod" : 600,
"connectionHashrateSamplingPeriod" : 600,
"isScrypt" : true,
"databaseDirectory": "",
"hashrateDatabaseSamplingPeriod": 60,
"hashrateDatabaseHistoryDepth": 7,
"noMidstate": false,
"apiLogLevel": "INFO",
"validateSha256GetworkShares": true,
"apiUser": "user",
"apiPassword": "password",
// The apiEnableSsl should be set to true or left commented if an apiUser is specified.
// If the apiEnableSsl option is not set, ssl is enabled when apiUser$
"apiEnableSsl": true,
"pools" : [ {
"name" : "Pool_Zero",
"host" : "stratum.f2pool.com:3333",
"user" : "paolo1965.boio",
"password" : "password",
"workerNameSeparator" : "%",
"useWorkerPassword" : true,
"enableExtranonceSubscribe" : true,
"isEnabled": true
} ]
}
Provato ma in avvio ricevo questo:
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.exc.UnrecognizedPropertyException: Unrecognized field "validateSha256GetworkShares" (class strat.mining.stratum.proxy.configuration.model.Configuration), not marked as ignora
ble (34 known properties: "userHashrateSamplingPeriod", "stratumListenPort", "validateGetworkShares", "apiUser", "poolSwitchingStrategy", "getworkListenAddress", "logDirectory", "rejectReconnectOnDifferent
Host", "weightedRoundRobinRoundDuration", "apiEnableSsl", "stratumListenAddress", "poolHashrateSamplingPeriod", "disableApi", "connectionHashrateSamplingPeriod", "workerNumberLimit", "apiPassword", "pools"
, "logRealShareDifficulty", "apiLogLevel", "poolNoNotifyTimeout", "disableGetwork", "logLevel", "apiListenPort", "isScrypt", "noMidstate", "getworkListenPort", "poolReconnectStabilityPeriod", "hashrateData
baseSamplingPeriod", "databaseDirectory", "apiListenAddress", "disableStratum", "poolConnectionRetryDelay", "disableLogAppend", "hashrateDatabaseHistoryDepth"])
at [Source: test.conf; line: 27, column: 38] (through reference chain: strat.mining.stratum.proxy.configuration.model.Configuration["validateSha256GetworkShares"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1315)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1293)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
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: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 . . .