Giter Club home page Giter Club logo

yaamp's People

Contributors

blood2 avatar globalzon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yaamp's Issues

Two ports for one coin

Does anyone know how to run some ports on a single coin?
I need first port with start difficult of 0.1, and second port with start difficult of 10 or 15.

Stratum authentication failed

1 miner thread started, using 'x16r' algorithm.
[2018-03-13 12:15:49] Stratum authentication failed
[2018-03-13 12:15:49] ...retry after 30 seconds
run x16r.conf:RMfTGPeqV62oKaBiYniBVay38sipA6iC7P, x16r, bad mining address RMfTGPeqV62oKaBiYniBVay38sipA6iC7P
pelease help me

intallation error

after the installation of mysql, php7 and memcached and after the import of the
database i tried to run the php script in order to sinc the database

this is the errorr

PHP Fatal error: Class 'CConsoleCommand' not found in /var/yiimp/web/framework/cli/commands/MigrateCommand.php on line 29

Two stratum for one algo

Does anyone know how to run stratum servers on a single algorithm but with different configs? For example, how to run neoscrypt stratum daemon for 2 different coins?
Maybe there is a special key?

./run.sh neo -f /var/stratum/config/inn.cfg
./run.sh neo -f /var/stratum/config/desire.cfg

Client speed

Hi,

Please let me know why you multiplier with 42 in this line:
"client->speed += client->difficulty_actual / g_current_algo->diff_multiplier * 42; "

Thank you very much

Cant enter to admin panel

I've added pass for admin panel by htpasswd and set in nginx config option for access. Now I have 404 after login. I've tried to remove this access option from nginx config but loaded an empty page. Whats wrong?

Permission

I am getting this error when tried to access the admin the log folder has the permission
in the runtime folder give me this error

REQUEST_URI=/site/frottedessus
2016/08/05 14:28:33 [error] [php] error_log(/var/log/yaamp/debug.log): failed to open stream: Permission denied (/var/web/yaamp/core/common/libUtil.php:122)
Stack trace:
#0 /var/web/framework-1.0.8/web/actions/CInlineAction.php(32): SiteController->actionfrottedessus()
#1 /var/web/framework-1.0.8/web/CController.php(300): CInlineAction->run()
#2 /var/web/framework-1.0.8/web/CController.php(278): SiteController->runAction()
#3 /var/web/framework-1.0.8/web/CController.php(257): SiteController->runActionWithFilters()
#4 /var/web/framework-1.0.8/web/CWebApplication.php(335): SiteController->run()
#5 /var/web/framework-1.0.8/web/CWebApplication.php(123): CWebApplication->runController()
#6 /var/web/framework-1.0.8/base/CApplication.php(134): CWebApplication->processRequest()
#7 /var/web/index.php(16): CWebApplication->run()

REQUEST_URI=/site/frottedessus

Them the debug.log

[2016-08-05 14:25:09] starting apache
[2016-08-05 14:25:12] starting apache
[2016-08-05 14:25:34] starting apache
[2016-08-05 14:25:57] starting apache
[2016-08-05 14:26:11] starting apache
[2016-08-05 14:26:20] starting apache
[2016-08-05 14:26:42] starting apache
[2016-08-05 14:27:05] starting apache
[2016-08-05 14:27:14] starting apache
[2016-08-05 14:27:28] starting apache
[2016-08-05 14:27:50] starting apache
[2016-08-05 14:28:13] starting apache
[2016-08-05 14:28:17] starting apache
[2016-08-05 14:28:35] starting apache
[2016-08-05 14:28:58] starting apache
[2016-08-05 14:29:19] starting apache
[2016-08-05 14:29:29] CronjobController::actionRun 3

I follow all the steps when I tried to run the run.sh I get this error too

./run.sh: line 8: ./stratum: No such file or directory

More Money for Miners

A way for miners to receive vastly more money for their mining efforts is that in combination with issue #37 in the issues for this repository, I would additionally suggest a setting in the newly created "users wallet" settings section which would allow each miner to specify that their matured coins be held for sale until the stoichastic RSI for that coin be at or above a specified threshold, say 50 as an example. This variable could be dimensioned as userStoichasticRSI. Currently, when users are mining on an algorithm for a yaamp/yiimp pool, say neoscrypt algo for example, converting all neoscrypt pool mined coins to BTC, the neoscrypt coins that are mined by the pool are matured and then spot sold on the markets at regular intervals (my uneducated but hopefully correct understanding). I propose that this spot selling of the coins would now have an optional check that would be performed before listing the coins for sale that would first ensure that the matured coins have a currentstochasticRSI value >= userStoichasticRSI, where userStoichasticRSI is an integer, userStoichasticRSI=0 by default with min=0 and max=100. This default value of 0 would ensure that nothing was different then what was done today, but for miners who are willing to wait for increased profits, they might input 65 for userStoichasticRSI as an example, and their coins would only be spot sold on the market if the currentstochasticRSI was >=65. The check for spot selling would occur at the same frequency as it currently does now imo. If a user wanted to clear their cache of unsold mature coins all that would be needed is for the user to change the userStoichasticRSI variable to 0 (zero). On the next spot selling cycle, their reserved mature coins would be spot sold on the market.
Finally, if implementation of this idea is thought to be too complex (but I am confident that the brilliant community can tackle this), in the secondary I would propose userStoichasticRSI groups, say 0, 25, 50, 75, 100 on a per user basis, and if that is still too complex I propose in the tertiary that the pool administrator or operator be allowed to change this setting on a global basis for the entire pool and advertise this setting to pool members. Again, a value of 0 changes nothing from the way it is today.
As always, comments, questions, or feedback are always welcome and encouraged.

Let's help miners make more money and not sell into weakness.......

stoichasticrsi

New algo

I would like to ask for help adding equihash to yiimp and the new algo progpow

Manual

Good afternoon.
I could not find instructions on how to set up auto-exchange and output to BTC.
What do I need to configure?

Segmentation fault x11 algo

Hi Sir,
we had segmentation fault error before update pool with one coin, we update stratum and blocknotify
code few days ago and now still get this error... only sometimes, not everything
Server has more than 30 GB free RAM, good free ssd space and low cpu usage

This is the log of stratum
./run.sh: line 9: 3979 Segmentation fault ./stratum /var/stratum/config/$1 14:28:55: 2018-06-16 starting stratum for x11 on pooladdress:3503 14:28:55: connecting to coind COIN ./run.sh: line 9: 6191 Segmentation fault ./stratum /var/stratum/config/$1 14:29:25: 2018-06-16 starting stratum for x11 on pooladdress:3503 14:29:25: connecting to coind COIN ./run.sh: line 9: 6257 Segmentation fault ./stratum /var/stratum/config/$1 14:29:56: 2018-06-16 starting stratum for x11 on pooladdress:3503 14:29:56: connecting to coind COIN

thank you!
Have a good time Sir.

Suppport for the new bitcoin / litecoin release

ERROR error -32601: getinfo this call was removed in version 6.16.0. use the appropriate fields from: - getblockchaininfo: blocks, difficulty, chain - getnetworkinfo: version, protocolversion, timeoffset, connections, proxy, relayfee, warnings - getwalletinfo: balance, keypoololdest, keypoolsize, paytxfee, unlocked_until, walletversion lipcoin-cli has the option -getinfo to collect and format these in the old format.

Not login admin panel from OS CentOS!

I use the CentOS operating system. I have successfully installed and run the command without error. But when I visited the admin panel with https://yoursite.com/site/adminRights it gave me an error. My web host is using Nginx.
Error:
Internal Server Error error_log(/var/log/debug.log): failed to open stream: Permission denied

Can you help me fix this?

Thank you!

Segmentation fault x11 algo

Hi Sir,
we had segmentation fault error few days ago then update stratum code never got this error until now... We add new coin on our pool and now still get this error... only sometimes, not everything
Server has more than 30 GB free RAM, good free ssd space and low cpu usage

This is the log of stratum
./run.sh: line 9: 3979 Segmentation fault ./stratum /var/stratum/config/$1 14:28:55: 2018-06-16 starting stratum for x11 on pooladdress:3503 14:28:55: connecting to coind COIN ./run.sh: line 9: 6191 Segmentation fault ./stratum /var/stratum/config/$1 14:29:25: 2018-06-16 starting stratum for x11 on pooladdress:3503 14:29:25: connecting to coind COIN ./run.sh: line 9: 6257 Segmentation fault ./stratum /var/stratum/config/$1 14:29:56: 2018-06-16 starting stratum for x11 on pooladdress:3503 14:29:56: connecting to coind COIN

thank you!
Have a good time Sir.

Block Explorer

hi guys ive got the enable explorer active but its not showing in the list is there a setting i need to edit

do i have to use the Sample config thats showin in the coin/deamon tab ?

thanks

CryptoNight

Could someone implement the CryptoNight algo for the stratum?

help About the version of PHP

I have encountered some errors that seem to be the result of the PHP version, which version of the PHP version is used

Please tell me the appropriate version of the PHP
thanks

payment manager bug

FR: Bonjour, j'ai constaté que sur diverses monnaies, ceux qui minent n'ont pas leur balance mais était redirigé vers l'adresse du portefeuille du pool et non de ceux qui effectuent leur minage pourtant en vérifiant et en ayant effectué divers essai il s'est avéré que les adresses des mineurs s'afficher bien sur le pool avec l'onglet travailleur et le total de leur balance.

Ma question quel est ce bug et comment le résoudre ?

ENG: Hello, I found that on various currencies, the miners do not have their balance but was redirected towards the address of the portfolio of the pool and not of those who carry out their mining nevertheless by checking and having carried out various test it s It turned out that the addresses of the minors appear on the pool with the worker tab and the total of their balance.

My question what is this bug and how to solve it?

capture

Unable to connect coin

Will ask how to link with the daemon wallet, how to set the coin's configuration file,
blocknotify = blocknotify yaamp.com:port coinid% s This does not seem to work

How to solve this problem

ERROR error -32601: getinfo this call was removed in version 6.16.0. use the appropriate fields from: - getblockchaininfo: blocks, difficulty, chain - getnetworkinfo: version, protocolversion, timeoffset, connections, proxy, relayfee, warnings - getwalletinfo: balance, keypoololdest, keypoolsize, paytxfee, unlocked_until, walletversion digibyte-cli has the option -getinfo to collect and format these in the old format.
image

install last version

2018/03/08 00:48:12 [error] 25565#25565: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare
SiteController::actionAdmin() in /var/web/yaamp/modules/site/SiteController.php on line 571" while reading response h
eader from upstream, client: server: pool.ipostav.com, request: "GET /site/common_results HTTP/2.0", ups
tream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "dom.com", referrer: "https://dom.com/
site/common
Can you fix this?

How can I change the right panel fee **?

  1. How can I change the right panel fee **?

  2. We started mining normally

However, the left panel is zero coin Earned & Balance.
I want to know what's wrong.

I would appreciate your hint.

123123
default

Permission denied

PHP Error[2]: error_log(/var/log/debug.log): failed to open stream: Permission denied
in file /var/web/yaamp/core/common/libUtil.php at line 122
#0 /var/web/yaamp/core/common/libUtil.php(122): error_log()
#1 /var/web/yaamp/core/backend/rawcoins.php(348): debuglog()
#2 /var/web/yaamp/modules/thread/CronjobController.php(119): updateRawcoins()
#3 /var/web/framework/web/actions/CInlineAction.php(49): CronjobController->actionRun()
#4 /var/web/framework/web/CController.php(308): CInlineAction->runWithParams()
#5 /var/web/framework/web/CController.php(286): CronjobController->runAction()
#6 /var/web/framework/web/CController.php(265): CronjobController->runActionWithFilters()
#7 /var/web/yaamp/components/CYiimpConsoleApp.php(125): CronjobController->run()
#8 /var/web/runconsole.php(18): CYiimpConsoleApp->runController()

Problem

The website shows just a white page and i get this error in terminal:

admin@infinity-tech:/web/infinity-tech.ro/public_html$ ./loop2.sh
Wed Jan 10 19:59:08 EST 2018
started in /home/admin/web/infinity-tech.ro/public_html
PHP Fatal error: Call to undefined function memcache_get() in /home/admin/web/infinity-tech.ro/public_html/yaamp/core/functions/memcache.php on line 15
^C
admin@infinity-tech:/web/infinity-tech.ro/public_html$

Application runtime not valid

hi, can you help me?
i get error to access web

Application runtime path "/var/web/yaamp/runtime" is not valid. Please make sure it is a directory writable by the Web server process.

How do I access the admin panel?

How do I access the admin panel?

domain.com/site/adminright URL Only white pages are visible.

I am having this problem for one week.

There is also a problem with deploying here.

I've tested and gotten an automated shell sh file from others.

Please let me know.

My website is http://mattiere.com.

stratum deadlock

Hello,
I was playing with the tool and was approaching a segregated installation of db/stratum on one box and web portal on another. So far got to run the stratum for as ample coin but after a while it keeps restarting and gives a deadlock error. Is it normal if it doesn't receive and mining connection? Also when web portal on another machine how which files I need to configure to point to stratum correctly?

14:53:13: 2017-10-19 starting stratum for x13 on 127.0.0.1:3003
14:55:15: 2017-10-19 x13 dead lock, exiting...

Declaration of CUFHtml::errorSummary()

When I navigate to the pages to update/create coins etc.. I get this error:

Internal Server Error

Declaration of CUFHtml::errorSummary() should be compatible with CHtml::errorSummary($model, $header = NULL, $footer = NULL, $htmlOptions = Array)

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

Nothing shows up int he log that would provide me any more insight as to what might be wrong...

Any help would be great.

Thanks

attack on my btc wallet

hi. i am a small private pool owner.. i red on reddit about rvn coin theft and some yiimp pools where hit also. same is happening to me now but for btc. https://live.blockcypher.com/btc/address/31mQZBn6nj73YxGVjVNDSpM6BLCqRUzbpa/ this btc wallet is getting all extra bitcoins there are left in btc pool wallet. can you please help me? how do you manage to stop the attack? I tried updating all yiimp files creating new btc wallet on different server. it doesn't help at all. they are still taking all balance as soon as it's available.

Stratum Crash

08:38:55: invalid json: {"result":{"version":8196,"previousblockhash":"e20d8a13bf157a4e9e235732aca7f8e521e5e1c747cd7ccfab177edf79065c32","transactions":[{"data":"010000004f509a5a0105b3890372af35f15c501cc2841fda379e7e6ee7a9c115f02fc2ef4e4cfc68cf000000006b483045022010bb45d738bcb87bfe352c787e4a157f9e949fe7205bdc61e5fd56ae7d45212602210091b8dbd3f2d9f995e7c77a793949af699736a8b885f501f82c59f08c317121e0012102a40fa63d04fe37531c89b03f98ee1999a312a718a729db97068127c85401747effffffff02a0e05f4e2b0000001976a914d28544e470dc97bc9e4dbaae31a088ecac63fce588ac8d08e4870b0000001976a9144f8684778b464dddf8bfd7f7e905cbfe406f84ae88ac00000000","hash":"6e959fba038ecf0c094637bd3ac1960b941f0edad912fe890c7a244ee91b35e6","fee":1000000,"depends":[],"sigops":2},{"data":"010000006f509a5a06f1b5d7981e08f7b92f1997bc972a2e313bd0a5515b8506dcc6cbdf826fe75ade000000006c493046022100d7ac068db0e2009f0170660cb74076d85da9c7da8ebdcd6bff7cc208aa430ed5022100e20b4167fc12cf215b554f7e604824c195fe149a8d0338ac80f055814b80664a012103d621b5ab5341727183338e9c17ae3c47e9e55d0c64a06b7a63b136a00f58e2feffffffff587813548b29cc9eabd04b21a79278a041c677f833d08d888c187f682e216b754a0000006c493046022100d09d29758b0cc9f2a3ab7f6dedbe98ec7877e8541d454e9b223d7ef522f99e2c022100de2047ae32760be30fcfb758832b43206263efea8b592fd31771d12170e9aa470121036f5a7151f8e5f1a1c8ba3fac6ed12f519714967227343816e2bffb3f0c255bc6ffffffff2c738e6343aca86ee57305acabebaed4f638908210ab83ebb0227f95fd66e55f010000006b483045022044416e359a76e5023aa33f595503ba2f50b39966de9907a6a75a9c598a8f7f88022100efcb4be26c2d62cf33f5f8542fdc103d6db5cccd5268e0b2c43e7879b70f1f8401210223a03993f6760e882ec757192f11bcbfc2b5ca85766e4d0eae1fb9a1cf61f645fffffffffe48c0fc460fe16e69115b46803c71b26cd57b1badc5100c24f57e873295abcb010000006c493046022100e64804d11744fb424a781bfe5068ad06108ea8aafbad5fa093766103913cd352022100d3c8cf8fa9cb573305eb992844035bd7c9aa8e70595cbf24ff0b6026e524fdf8012102e208e13964ef7117e8f20aebcf3745d0c0cd29fbf6a177c5c748b6f1bb7f7a20ffffffff752d82deb0e58626529ee921a41b05065fbfdec94f1ef854226866db9ed4dafc360000006c493046022100ff8bd40999a8ea9b7a0af4238096efb628bbb87179331405aba38245becc8cd0022100865a69825aad21f6d03dc269632727ea84c4608d9e233076f7356b82e8ecabb701210359b5b89da8da273da65e70d847c16e853bbda609d15285c6a032cedcb19a41b0fffffffff1a6fc73ceb69406c54f3fc22cded3be8cc4532487cf035119152d358c5f978a690000006a4730440220129bc0c20d62d37a53823727870e4cf12a62d173ddd6c7282cc9688c55830688022043e9a94071b8562de87f80ce30e811daceefd82ae3c6d8ac076ac1c37c9ed965012103bd4ade68c178e5d621eb03ba92b91c9f9b7f423755975c30345f12c2a75f9298ffffffff0144d60a13000000001976a914b9e21744ddf7a8e4ad88029fa6230364eaa9308288ac00000000","hash":"933c2f0bcdec7ccdb4e8549e5c88ce77ba4f9a997d047e2954b4fc062a539e26","fee":200000,"depends":[],"sigops":1}],"coinbaseaux":{"flags":"062f503253482f"},"coinbasevalue":1561200000,"target":"0000000000000198670000000000000000000000000000000000000000000000","mintime":1520062609,"mutable":["time","transactions","prevblock"],"noncerange":"00000000ffffffff","sigoplimit":20000,"sizelimit":1000000,"curtime":1520062621,"bits":"1a019867","height":1923610},"error":null,"id":"1"}
HTTP/1.1 500 Internal Server Error
Date: Sat, 03 Mar 2018 07:38:55 +0000
Connection: close
Content-Length: 74
Content-Type: application/json
Server: VERGE-json-rpc/v4.0.1.0-2610206-funky-beta

{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}
08:38:55: ERROR: recv1, 0, 0, {"method":"validateaddress","params":[""],"id":"6"},
blake2s, unable to verify XVG address for user coinid 561...
2018-03-03 08:38:55 [ipfilered] addressfiltered, blake2s, bad mining address addressfiltered
tail: /var/stratum/config/blake2s.log: file truncated
08:38:57: 2018-03-03 starting stratum for blake2s on :5766
08:38:57: connecting to coind info

Wallet Customization Enhancement

Enhancement request. Various pools have different payout thresholds and payout frequencies. I propose an enhancement where the user wallet should allow the user to specify the payout every X payout cycles and Y.YY payout threshold where both X and Y.YY are >=1 and X is an integer and Y is a float. Example, one pool I use checks for payout every 3 hours, and one of the coins I mine has a payout threshold of 5 coins. It would be nice if my wallet for that coin would allow me to specify X=8 meaning current payout cycle of 3 hours would be skipped 7 times and paid on the 8th cycle (i.e. one payout per day) and / or I might want to specify Y.YY = 20.0 so that I only get paid when the wallet balance is 20.0 times the current payment threshold of 5.0 coins which would equal 100 coins or more. This would significantly reduce the number of transactions. Obviously as mentioned, both X (an int) and Y.YY (a float) would be >=1, with minimum and default values of 1. Maybe max values of 100 for X and 1000 for Y.YY would be appropriate if we were to consider max values. Thank you in advance and comments are welcome

stratum 100% cpu

Hello, i have verge blake2s pool, but from time to time stratum starts to use 100% of cpu resources (miners' ping grows to 5-20seconds, we dont find blocks, hash goes /10)
Only restart of stratum helps (but not for long time). Is there a fix? thx

mining.configure

Any plans to add mining.configure msg for overt asicboost support to stratum?
Thank you

ubuntu package install for build stratum. Add to the wiki

I'm adding this here to speed up building process. I tok me 30 minutes to find all neede libraries.
sudo apt-get install libgnutils-dev libgnutils libldap-2.4-2 libldap-dev comerr-dev libk5crypto3 libk5crypto-dev libkrb5-3 libkrb5-dev libgnutls30 libgnutls-dev libnettle6 nettle-dev librtmp1 librtmp-dev
ln -s /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 /usr/lib/x86_64-linux-gnu/libk5crypto.so"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.