Bitcoin Forum
May 27, 2024, 10:33:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 [8] 9 »
141  Alternate cryptocurrencies / Altcoin Discussion / Re: [XNC] XenCoin Giveaway! on: June 20, 2013, 01:48:17 PM
XxCAD3sbkxLD8NMqx1gLaPNib819HHdfJ5
142  Alternate cryptocurrencies / Altcoin Discussion / Re: [ARG] Argentum {INITIAL DISTRIBUTION} Giveaway 25 ARG to First 1000 on: June 19, 2013, 08:25:52 AM
AJXb1zACyDo6pqjp696UuTo6FFmU9kAwyL
143  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] Yet another GPU miner release! [YAC] on: June 18, 2013, 07:55:09 PM
Where is yacminer.c being generated then? i tried the --with-scrypt arg to configure in case that might cause configure to create that file but there is still no such file.

There is no yacminer.c; check cgminer.c

echo "  CCLD  " yacminer;gcc  -g -O2 -lpthread  -o yacminer cgminer-cgminer.o cgminer-util.o cgminer-sha2.o cgminer-api.o cgminer-logging.o cgminer-driver-opencl.o cgminer-ocl.o cgminer-findnonce.o cgminer-adl.o           -lcurl   -ljansson -lpthread -lm lib/libgnu.a ccan/libccan.a -lncurses -lpthread
144  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] Yet another GPU miner release! [YAC] on: June 18, 2013, 05:34:08 PM
it does not compile, one of the main source code files is missing:

I can compile it.
Code:
wget http://sourceforge.net/projects/hnindev/files/yaminer-beta-src-2.zip
unzip yaminer-beta-src-2.zip
cd yaminer-beta-src/
chmod +x configure
./configure --enable-scrypt && make

cat ADL_SDK/readme.txt
145  Alternate cryptocurrencies / Altcoin Discussion / Re: YACoin - cpuminer released. Very soon pools will be availaible for this coin on: June 18, 2013, 08:58:38 AM
cpuminer by pooler was improved to support stratum protocol. Unfortunately, there is no support for scrypt-jane in cpuminer 2.3.1...

https://bitcointalk.org/index.php?topic=55038.0
146  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.2 on: June 17, 2013, 08:34:09 PM
I was thinking of adding all of the pools to default cgminer config and disable them at startup. Bring em up when necessary (enable/increase priority). This should circumvent any add/remove glitches.

I already tried this before but there is a trouble with startum (again!! ;-) pools. When I disable stratum pool, cgminer ignores that pool is disabled at feeds data from disabled stratum and it can be something you don't want because stratum for LTC has different information than stratum for FTC; I use --failover-only switch.
147  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.2 on: June 17, 2013, 07:42:13 PM
I cannot add p2pool through API:
Code:
echo "addpool|http://p2pool.org:9327,Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH,x" | nc localhost 4028
STATUS=S,When=1371456527,Code=55,Msg=Added pool 'http://p2pool.org:9327',Description=cgminer 3.2.2|

I don't understand why but newline is a troublemaker for stratum configurations. This command works, pool is added and it is alive (-n was added to echo):
Code:
echo -n "addpool|http://p2pool.org:9327,Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH,x" | nc localhost 4028
STATUS=S,When=1371456527,Code=55,Msg=Added pool 'http://p2pool.org:9327',Description=cgminer 3.2.2|

JSON syntax works too:
Code:
echo '{"command":"addpool", "parameter":"http://p2pool.org:9327,Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH,x"}' | nc localhost 4028
{"STATUS":[{"STATUS":"S","When":1371504122,"Code":55,"Msg":"Added pool 'http://p2pool.org:9327'","Description":"cgminer 3.2.2"}],"id":1}

I think I miss an API command, to FREEZE cgminer; something like that is needed to remove active pools and to load new configuration. With current API, I can do it but I have to use tricks to remove active pools and the result is not perfect. There is always one pool that is active and active pool cannot be removed even  it is disabled. And when pool 0 is removed, it is replaced with the last pool, so order is changed, etc. Well, it is tricky to replace pools through API...

BTW, I play with API because drivers for 7790 at Linux are so bad that I cannot restart cgminer; to change cgminer configuration, I have to reboot PC. HD7790 is stable it runs ok but when I quit cgminer, I cannot start it again until I reboot PC; and there is other bug that autologin to X doesn't work when you have more than one 7790, so manual login is required.
148  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.2 on: June 17, 2013, 07:29:12 PM
One of files in GIT repository is source api-example.c

There is an instruction to compile this program at the begging of source:
Code:
gcc api-example.c -I compat/jansson -o cgminer-api

Unfortunately, it is not working some CL/cl.h file is missing...

This is a patch to fix it:

Code:
$ git diff
diff --git a/api-example.c b/api-example.c
index 71b5b00..90cfe5b 100644
--- a/api-example.c
+++ b/api-example.c
@@ -23,7 +23,6 @@
 #include <sys/types.h>
 
 #include "compat.h"
-#include "miner.h"
 
 #if defined(unix)
        #include <errno.h>
@@ -284,7 +283,7 @@ int main(int argc, char *argv[])
                if (strcmp(argv[1], "-?") == 0
                ||  strcmp(argv[1], "-h") == 0
                ||  strcmp(argv[1], "--help") == 0) {
-                       fprintf(stderr, "usAge: %s [command [ip/host [port]]]\n", argv[0]);
+                       fprintf(stderr, "Usage: %s [command [ip/host [port]]]\n", argv[0]);
                        return 1;
                }
 

Once fixed and compiled, it can control cgminer, like this:
Code:
./cgminer-api 'addpool|http://p2pool.org:9327,Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH,x'

./cgminer-api 'pools|' locahost 4028

./cgminer-api -h
Usage: ./cgminer-api [command [ip/host [port]]]
149  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.2 on: June 17, 2013, 08:17:20 AM
I cannot add p2pool through API:
Code:
echo "addpool|http://p2pool.org:9327,Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH,x" | nc localhost 4028
STATUS=S,When=1371456527,Code=55,Msg=Added pool 'http://p2pool.org:9327',Description=cgminer 3.2.2|

I see this error in cgminer:
Code:
 [2013-06-17 10:08:48] Switching pool 1 http://p2pool.org:9327 to stratum+tcp://p2pool.org:9327
 [2013-06-17 10:08:50] Pool 1 difficulty changed to 210.767276
 [2013-06-17 10:08:50] Pool 1 difficulty changed to 205.967835
 [2013-06-17 10:08:51] pool 1 JSON stratum auth failed: {
   "data": null,
   "code": -32700,
   "message": "Parse error"
}

I can add this pool from command line or from cgminer GUI, so login information is correct. When the pool is added through API, it is marked as DEAD and I see authentication errors.

It looks like cgminer has similar problem as cpuminer 2.3
https://bitcointalk.org/index.php?topic=55038.msg2492605#msg2492605
150  Bitcoin / Mining software (miners) / Re: BFGMiner 3.1.0: modular ASIC/FPGA, GBT, Strtm, RPC, Lnx/OpnWrt/PPA/W64, BFLSC on: June 16, 2013, 09:48:14 PM
Could you check, why I cannot add stratum pool through API?
Code:
echo "addpool|stratum+tcp://pool.50btc.com:3333,1QATWksNFGeUJCWBrN4g6hGM178Lovm7Wh,x" | nc localhost 4028
STATUS=S,When=1371419261,Code=55,Msg=Added pool 'stratum+tcp://pool.50btc.com:3333',Description=bfgminer 3.1.0|

This stratum pool is added but it is DEAD. When I add pool from bfgminer GUI, it is OK, pool is ALIVE. When I add getwork pool from API, it is ALIVE.

Another example of pool that is DEAD when added through API:
Code:
echo "addpool|http://p2pool.org:9327,LiGm2jia59E962NcMsvM6NWUmUfB4pTwsb,x" | nc localhost 4028
STATUS=S,When=1371455622,Code=55,Msg=Added pool 'http://p2pool.org:9327',Description=bfgminer 3.1.0|

and I see this error in bfgminer:
Code:
 [2013-06-17 10:04:14] pool 1 JSON stratum auth failed: {
   "data": null,
   "code": -32700,
   "message": "Parse error"
}


UPDATE:
I found that when I add stratum pool with echo -n "addpool|URL,USER,PASS", it is ALIVE. It means, that trailing newline was troublemaker; I still don't understand, why trailing newline was problem for stratum but was working fine for getwork. And why it was problem for stratum, because password is not important in my examples and newline was added to password that was the last parameter in the line....

Correct code looks like this:
Code:
echo -n "addpool|stratum+tcp://pool.50btc.com:3333,1QATWksNFGeUJCWBrN4g6hGM178Lovm7Wh,x" | nc localhost 4028
151  Bitcoin / Mining software (miners) / Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.2 on: June 16, 2013, 08:43:06 PM
How can I add pool with API?

I do it like this:
Code:
echo "addpool|stratum+tcp://pool.50btc.com:3333,15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ,x" | nc localhost 4028
STATUS=S,When=1371415120,Code=55,Msg=Added pool 'stratum+tcp://pool.50btc.com:3333',Description=cgminer 3.2.2|

I see new pool in the list, pool is ENABLED but status is DEAD. When I add pool from cgminer GUI, it is OK, pool is ENABLED and ALIVE. I cannot find a way to activate a pool that was added through API, it is DEAD and I cannot switch it to ALIVE...

Could you check that cgminer API is OK?

UPDATE:
Stratum is troublemaker, getwork is OK:
Code:
echo "addpool|http://pool.50btc.com:8332,15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ,x" | nc localhost 4028
STATUS=S,When=1371417076,Code=55,Msg=Added pool 'http://pool.50btc.com:8332',Description=cgminer 3.2.2|

When I activate debug, I see this (stratum):
Code:
 [2013-06-16 23:06:46] API: connection from 127.0.0.1 - Accepted
 [2013-06-16 23:06:46] API: recv command: (80) 'addpool|stratum+tcp://pool.50btc.com:3333,15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ,x
'
 [2013-06-16 23:06:46] Testing pool stratum+tcp://pool.50btc.com:3333
 [2013-06-16 23:06:46] API: send reply: (111) 'STATUS=S,W...'
 [2013-06-16 23:06:46] API: sent all of 111 first go
 [2013-06-16 23:06:46] [thread 1: 402653184 hashes, 329986.6 khash/sec]
 [2013-06-16 23:06:46] Failed to get sessionid in initiate_stratum

UPDATE:
I cannot add p2pool through API:
Code:
echo "addpool|http://p2pool.org:9327,Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH,x" | nc localhost 4028
STATUS=S,When=1371456527,Code=55,Msg=Added pool 'http://p2pool.org:9327',Description=cgminer 3.2.2|

Pool is added but is is DEAD and cgminer reports authentication errors:
Code:
 [2013-06-17 10:08:48] Switching pool 1 http://p2pool.org:9327 to stratum+tcp://p2pool.org:9327
 [2013-06-17 10:08:50] Pool 1 difficulty changed to 210.767276
 [2013-06-17 10:08:50] Pool 1 difficulty changed to 205.967835
 [2013-06-17 10:08:51] pool 1 JSON stratum auth failed: {
   "data": null,
   "code": -32700,
   "message": "Parse error"
}
152  Alternate cryptocurrencies / Mining (Altcoins) / Re: [LTC] An (even more) optimized version of cpuminer on: June 16, 2013, 06:48:05 PM
new version v2.3 can't connect to p2pool using stratum

If using cgminer, then it will connect to, like stratum+ tcp://p2pool.org, successfully
but cpuminer v2.3 can only connect to p2pool.org, and unable to stratum+ tcp://p2pool.org, why is this?

Thank you in advance.

I can replicate this.
Code:
minerd -a scrypt -t1 -o http://p2pool.org:9327 -O Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH:x --no-stratum
[2013-06-16 20:47:26] 1 miner threads started, using 'scrypt' algorithm.
[2013-06-16 20:47:27] Long-polling activated for http://p2pool.org:9327/long-polling
[2013-06-16 20:47:28] thread 0: 4096 hashes, 2.96 khash/s
[2013-06-16 20:47:29] LONGPOLL detected new block
[2013-06-16 20:47:29] thread 0: 3524 hashes, 3.81 khash/s

Code:
minerd -a scrypt -t1 -o http://p2pool.org:9327 -O Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH:x -D
[2013-06-16 20:54:01] 1 miner threads started, using 'scrypt' algorithm.
[2013-06-16 20:54:03] Starting Stratum on stratum+tcp://p2pool.org:9327
[2013-06-16 20:54:04] Failed to get Stratum session id
[2013-06-16 20:54:04] Stratum difficulty set to 308.794
[2013-06-16 20:54:04] Stratum authentication failed
[2013-06-16 20:54:04] ...retry after 30 seconds

minerd -V
cpuminer 2.3
libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
153  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] Yet another GPU miner release! [YAC] on: June 14, 2013, 11:06:25 AM
cgminer --device 0 --scrypt --worksize 256 --lookup-gap 2 -I 12 --thread-concurrency 32768 -o <URL> -u <username> -p <password>

Could I use modified cgminer to mine LTC? I think that --scrypt option is not good idea. Why not --scrypt-jane? Other option is to rename cgminer... Current configuration of modified cgminer is confusing.
154  Alternate cryptocurrencies / Altcoin Discussion / Re: TRC: 32-bit Linux client cannot synchronize with TerraCoin network on: June 10, 2013, 05:28:26 AM

Thank you for your help! I tried your suggested method, copying everything from Terracoin folder under Windows into Linux .terracoin folder. But, when I try to start terracoind (the daemon) on Linux, I get this error:

"Error: Error initializing wallet database environment /root/.terracoin!"

It seems there is a database incompatibility error... maybe the Windows binaries were compiled with a different database version than my Linux terracoind (compiled from sources, on a machine running ubuntu 10.04 32 bit). So... I am still stucked with an incomplete block database, unable to use the blocks chain from Windows.

Any help or suggestion to solve this problem would be greatly appreciated... Thanks again

I think that your Windows client and Linux client have different version of libdb. I guess that Window client have libdb4.8. I heard that there is a way to upgrade DB file from older to newer version  but I never tried that.

Well, do you really want to use Terracoins? There are so many other coins on the market those work better...
155  Alternate cryptocurrencies / Altcoin Discussion / Re: TRC: 32-bit Linux client cannot synchronize with TerraCoin network on: June 09, 2013, 02:10:14 PM
still stucked at block 137161...

does anyone knows if it's possible to transfer updated chain files from Windows to Linux?
if yes... what files should be copied?

It is possible...
You want to copy everything except wallet.dat and terracoin.conf. Please, create a backup first!
156  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN][SBC] StableCoin ¦¦ A new breed of cryptocurrency ¦¦ RELEASED on: June 09, 2013, 07:51:31 AM


RETHINKING CRYPTOCURRENCY FROM THE BOTTOM UP


Scrypt was chosen as an encryption algorithm. Other candidates were Blue Midnight Wish, SHA3, and Skein. After much analysis we came to the conclusion that such algorithms make for a nice selling point, but fall short of Scrypt in terms of securing a blockchain. Our aim is to create the best coin possible, not lure you in with gimmicks.


Yeah, I'm so sure that you chose scrypt as the best one over those other ones, as opposed to the fact you have no idea how to implement those others.

And there are no SW miners for new algorithms; Scrypt or SHA256d have huge advantage that these are already supported by mining infrastructure... When YACoin was launched several days ago, it was like an excursion to the bitcoin history; only solo mining was possible and as I know only modified cpuminer is available that is basic miner (no ncurses, no failover, etc).
157  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Noirbits Launched!!!!! on: June 08, 2013, 09:31:47 PM
$ ./noirbitsd --help 2>&1 | grep port
  -proxy=<ip:port>       Connect through socks proxy
  -tor=<ip:port>         Use proxy to reach tor hidden services (default: same as -proxy)
  -port=<port>           Listen for connections on <port> (default: 14014 or testnet: 44444)
  -bind=<addr>           Bind to given address. Use [host]:port notation for IPv6
  -rpcport=<port>        Listen for JSON-RPC connections on <port> (default: 14014)
  -loadblock=<file>      Imports blocks from external blk000?.dat file

The ports doesn't look good... Is it just a typo??
158  Alternate cryptocurrencies / Mining (Altcoins) / Re: Finding p2pool networks.py values for new altcoins on: June 08, 2013, 04:05:31 PM
does anyone wanna help me making a p2pool for hypercoin ?

https://109.201.133.65/index.php?topic=222956.msg2391757#msg2391757
159  Bitcoin / Project Development / Re: Need Help with P2Pool for HYC Hypercoin on: June 06, 2013, 05:02:32 PM
Need the networks.py edited for hypercoin. I will offer 1k HYC for the person that does it. Smiley

Is your bounty still valid? I think I can offer a small patch...
160  Alternate cryptocurrencies / Altcoin Discussion / Re: TRC: 32-bit Linux client cannot synchronize with TerraCoin network on: June 04, 2013, 05:49:32 AM
TRC cryptocoinexplorer is in trouble, the last listed block is 138975 but TRC network created block 139719...

http://www.cryptocoinexplorer.com:3750/block/0000000000013d4654ae1f5a15d2d6620d798a010d85124fa6836a4cb5c5f986
Pages: « 1 2 3 4 5 6 7 [8] 9 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!