Bitcoin Forum
June 25, 2024, 10:01:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][ZEN] ZENCASH: Permanent, Distributed, and Fully Anonymous cryptocurrency on: May 31, 2017, 12:52:47 AM
Hey folks,

there is a bug (or rather several) in the current implementation of ZEN which prevents "normal" blocks to be mined.

ZEN has implemented a special TX inside a block (BIP9) which wasn't active on testnet nor it's active on "getblocktemplate" so I wasn't aware of that and couldn't implement it in time. The next problem is that the daemon is actually accepting those false TX'es from my pool but isn't relaying the blocks to the network - so the pool thinks all is okay, but other nodes aren't accepting the blocks.

I'll try to get the special TX design implemented, however, those flaws should be fixed as well as the design is currently broken. It was implement to prevent replay-attacks (like in ethereum) as far as I was informed.

All blocks mined by the pool are invalid and therefore lost due to this issue currently.


Thank you for keeping us informed
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: Optiminer/Zcash v1.6.1 (GPU, Windows+Linux, AMD) on: February 05, 2017, 08:11:46 PM
what is the correct bat file
for watchdog enabled option?

because some card stop working after some hours? Roll Eyes Roll Eyes Roll Eyes Roll Eyes
same problem. also asking for help.

I'm currently not using windows, but you could try creating a BAT file (watchdog.bat) with the following:
shutdown -r -f -c "GPU card freeze"

Then configure your start.bat to look something like:
optiminer -s %POOL% -u %USER% -p %PASSWORD% -m 8080 --watchdog-timeout 30 --watchdog-cmd "watchdog.bat"

I found these links for reference on shutting down a mswindows computer:
https://technet.microsoft.com/en-us/library/bb491003.aspx

Let me know if this works.
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: Optiminer/Zcash v1.6.1 (GPU, Windows+Linux, AMD) on: February 05, 2017, 07:34:38 PM
what is the correct bat file
for watchdog enabled option?

because some card stop working after some hours? Roll Eyes Roll Eyes Roll Eyes Roll Eyes

I use Linux.

The watchdog-cmd.sh (that comes in the compressed file along with the binaries) is the shell script that has to be run when a card stops responding. You need to edit it and enable the method that works best for you. My watchdog-cmd.sh looks like this:

#!/bin/bash

## Hard reset: (Requires 'Magic SysRq key (CONFIG_MAGIC_SYSRQ)' enabled in kernel.)

echo "--------------" >> /opt/optiminer/optiminer-zcash.log
echo 1 > /proc/sys/kernel/sysrq
echo u > /proc/sysrq-trigger
sleep 1
echo b > /proc/sysrq-trigger



The mine.sh has the watchdog-cmd.sh already configured.

In my case, the watchdog-cmd.sh never gets fired, so I wrote another script to monitor the log file and wait for something like has not produced any solution in it, when the text is found, the script will call the watchdog-cmd.sh. This solution has been working for me quite fine.



Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!