I'm still new with this NOMP, but lemme share what I know (if it's wrong, please correct me)
I'll answer in Green
1. I have setup for two coin daemons blocknotify.
So far I do not see any possible usefulness of doing that. In fact it just bothers me to see lines on my screen telling me that it has NOT found a block:
sh: 1: /bin/blocknotify 127.0.0.1:17117 einsteinium 649fcbdba95bbeaf8f8693616893723e79687bfafbef7009d21899fcb1fd2c62: not found
sh: 1: /bin/blocknotify 127.0.0.1:17117 42 d6abec322a7d8cbe6c1f5c3b90fae7eb101843612c3f4b96595e2bbd0fa0134b: not found
sh: 1: /bin/blocknotify 127.0.0.1:17117 einsteinium bcada6ad3a4b35dc13e81af021b34833b792b4e8d44a54c1bfe2c61b5d38be6c: not found
sh: 1: /bin/blocknotify 127.0.0.1:17117 42 0a948ea648760a00ef4f1ececeb61d3dcd117b918bb5674c23321b7c9f2c7405: not found
Is there a way to direct this to a blocknotify.log file instead. If I want to know it, I would look up there.
2. A pool config file starts with:
{
"enabled": true,
"coin": "litecoin.json",
"address": "LeJZH5ZpD2F9o3FLEj7WpBodkW5x3wAZ6U",
"rewardRecipients": {
"f720e6b8d6dd0572bd33781bcb64220eac57cb44": 0.9,
"22851477d63a085dbc2398c8430af1c09e7343f6": 0.1
},
The "address" I got with:
litecoind getaccountaddress ""
LeJZH5ZpD2F9o3FLEj7WpBodkW5x3wAZ6U
Do I need to know the private key? If so, how to get?
The Private Keys will be extracted from the connected Daemon, that's why it's crucial to use an Address from the Daemon
Is it OK to use a key instead of a litecoin address for the rewardRecipients?
rewardRecipients can be empty (but there will be notifications of it) you can set it to as many recipient address you want, usually for pool fees and co-owner (with the number represent the percent of shares from rewards)
3. How can I retrieve the PUBLIC address of a miner, who is mining with a key?
The idea is to get a page up showing for a miner all his balances in all currencies.
4. backup daemon
I copy ~/.litecoin/litecoin.conf into ~/.litecoin/backup/litecoin.conf
litecoin.conf looks like:
server=1
gen=0
rpcport=9332
rpcallowip=127.0.0.1
rpcuser=lite_user
rpcpassword=xxxxxx
What do I need to change for the file backup/litecoin.conf ?
Is it correct to start then the litecoin daemon with:
litecoind -daemon -datadir=/backup
"at least one backup daemon" - how would I setup a second backup daemon???
In pool_configs/litecoin.json I would add in the "daemons" the second daemon:
"daemons": [
{
"host": "127.0.0.1",
"port": 9332,
"user": "lite_user",
"password": "xxxxxx"
},
{
"host": "127.0.0.1",
"port": 29332,
"user": "lite_user2",
"password": "xxxxxx2"
}
],
(depending on what I have to set in the backup/litecoin.conf)
What I did was, separate the daemon into 2 machine, same pool address (just import the Private Keys) and now we have 2 different machine running the coin daemon (no point having a "backup" in same machine) so 2 different IP address, but the coin.conf stays the same.
5. forever
Do I need forever or forever-monitor or both?
How to setup / use it?
6. IP tables
I am lost what I need to do at a Linux system, to make it automatically.
I understand that it allows me to enable/disable ports to the server.
Some of the ports are coming from a webserver, NOMP web site, NODE irc site, some from the mining ports, ...
What is a good idea to open/close? (I know better close all what you do not need, ...)
7. Website changes
How can I add the information of Profit Result line:
2014-08-22 12:14:21 [Profit] [RESULT] Best coin for scrypt is fastcoin on Cryptsy with 0.00055581 BTC/day per Mh/s
There is also an error not showing the port for auto-switching.
Does anybody have an idea how to fix it, or how to circumvent it hard coded?
... please jump in where you can add/clarify.