Adding an algorithm to YIIMP

Below is a partial list steps to add a new algorithm to YIIMP. It is a partial list because each algorithm may require a new implementation steps which in can’t be foreseen.

  • Add new *.c source references to the stratum/algos/makefile. example: yespower.c yespower-opt.c sha256-P.c \
  • Find the references and add them to the algos directory
    • There will probably be at least one: yespowerlitb.c and yespowerlitb.h possibly: yespowerlitb-opt.c (or something like that) yespowerlitb-platform.c
    • Could be other files too??
  • Add some references to the stratum/stratum.cpp file like {“yespower”, yespower_hash, 0x10000, 0, 0 }, {“yespowerR16”, yespowerR16_hash, 0x10000, 0, 0 },
  • Add reference to stratum/stratum.h #include “algos/yespower.h”
  • Add your new algo to the yaamp.php file. There are up to three (3) places you may need to edit.
  • Review the algos table in the YIIMPFRONTEND database (this is your MariaDB/mysql server). Likely you will need to add an entry into this table using Phpmyadmin. Without it other parts if YIIMP won’t function and the algorithm won’t show on the home page.

You will all need to follow the steps to add the new coin to YIIMP for your configuration to be complete.