When I enter command line by op: yacoin-qt -gen -genproclimit=1
I get the following error: Method not found (code -32601)
Try this: yacoin-qt -gen=1 -genproclimit=1
|
|
|
I see two ice creams, one is for 35z6, other for 2z5. What ice cream is cheaper? Is it crystal clear?? Could I put prices in this format to my favorite spredsheet??
|
|
|
I post a patch, that address an issue that wrong pool and user is displayed for miner that is offline: $ git diff -p diff --git a/index.php b/index.php index 4ca2063..b4a031f 100644 --- a/index.php +++ b/index.php @@ -149,6 +149,7 @@ for ($i=0; $i<$nr_rigs; $i++) for ($i=0; $i<$nr_rigs; $i++) { $pool_priority = 999; + $pool_active = ''; foreach ($r[$i]['pools'] as $pool) { if (($pool['Status'] == 'Alive') && ($pool['Priority'] < $pool_priority))
|
|
|
Hm, I went for a reinstall for my server and it seems like there is some old data populating back.
I have used rm -f primecoin-hp/src and rm --recursive primecoin-hp/src
However, when I reinstall and use these commands,
/primecoin-hp/src# primecoind stop error: incorrect rpcuser or rpcpassword (authorization failed)
Any ideas how to fix the rpcuser problem? I checked sudo nano ~/.primecoin/primecoin.conf and it looks all fine.
Try this sequence: mkdir ~/.primecoin cat <<+++ > ~/.primecoin/primecoin.conf rpcuser=USER rpcpassword=PASSWORD gen=1 +++ chmod 600 ~/.primecoin/primecoin.conf
git clone https://bitbucket.org/mikaelh/primecoin-hp.git
cd primecoin-hp/src git pull make -f makefile.unix clean make -f makefile.unix USE_UPNP=- strip primecoind sudo cp -f primecoind /usr/local/bin/.
primecoind --daemon --server watch 'primecoind listtransactions && primecoind getmininginfo'
|
|
|
I experiment with cpuminer 2.3.2 at different ARM computers and these are hashrates I measured:
============================================= Toshiba AC100 subnotebook running Lubuntu 12.10, Nvidia Tegra2 chip, 2x 1000 MHz ARMv7 Processor rev 0 (v7l)
./configure CFLAGS="-O3 -pipe" && make # LTC hashrate: 1.38 khash/s (2x 0.69) # BTC hashrate: 820 khash/s (2x 410)
============================================= HDMI stick MK802 II running debian 7.0 armhf, 1x 1000 MHz ARMv7 Processor rev 2 (v7l) with NEON support (Allwinner A10)
./configure CFLAGS="-O3 -pipe" && make # LTC hashrate: 0.73 khash/s # BTC hashrate: 566 khash/s
./configure CFLAGS="-O3 -pipe -mfpu=neon" && make # LTC hashrate: 0.86 khash/s # BTC hashrate: 600 khash/s
============================================= BeagleBone Black running debian 7.0 armhf, 1x 1000 MHz ARMv7 Processor rev 0 (v7l) with NEON support, CPU is "double issue" (it can execute two instructions in parallel)
./configure CFLAGS="-O3 -pipe" && make # LTC hashrate: 0.71 khash/s # BTC hashrate: 555 khash/s
./configure CFLAGS="-O3 -pipe -mfpu=neon" && make # LTC hashrate: 0.84 khash/s # BTC hashrate: 589 khash/s
============================================= Raspberry PI running debian 7.0 armhf, 1x 900 MHz (CPU overclocked from 700 to 900 MHz) ARMv6-compatible processor rev 7 (v6l)
./configure CFLAGS="-O3 -pipe" && make # LTC hashrate: 0.43 khash/s # BTC hashrate: 258 khash/s
|
|
|
Sorry if it's already mentioned, but does anyone know what it looks like on debug.log when a block is found? I have multiple machines using the same wallet, so I don't really know which ones are finding the blocks.
$ grep ^generated debug.log generated 12.38
|
|
|
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/opt/crypto_coins/primecoin/src -I/opt/crypto_coins/primecoin/src/obj -DUSE_IPV6=1 -I/opt/crypto_coins/primecoin/src/leveldb/include -I/opt/crypto_coins/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp init.cpp: In function ‘void DetectShutdownThread(boost::thread_group*)’: init.cpp:130:8: error: ‘fGenerate’ was not declared in this scope
This is strange error. Delete your directory with source files and try again: git clone https://bitbucket.org/mikaelh/primecoin-hp.git
|
|
|
My ATOM CPU D525 running at 1.8GHz found a block; primespersec is about 450. This is lottery and my CPU had a lucky day... ;-)
|
|
|
Added 1 addresses from 54.216.76.137: 113 tried, 10380 new received block a980f148bc1da2a874725cc06d83ac70b15f5d4ec1ba2dc4f1c2740782e12ddd Committing 1 changed transactions to coin database... SetBestChain: new best=a980f148bc1da2a874725cc06d83ac70b15f5d4ec1ba2dc4f1c2740782e12ddd height=54362 difficulty=8.9326816 log2Work=21.373855 log2ChainWork=34.463719 tx=66999 date=2013-07-16 20:03:57 progress=0.001280 ProcessBlock: ACCEPTED
What does this mean in the debug.log?
Accepted what?
It means, that someone in the network solved a block and your client verified and accepted the solution, your local block chain was extended with received block and you can start to work on new block; debug.log should be full of messages like this. You can find more details about received block: $ ./primecoind getblock a980f148bc1da2a874725cc06d83ac70b15f5d4ec1ba2dc4f1c2740782e12ddd { "hash" : "a980f148bc1da2a874725cc06d83ac70b15f5d4ec1ba2dc4f1c2740782e12ddd", "confirmations" : 682, "size" : 199, "height" : 54362, "version" : 2, "merkleroot" : "a95eb08d96e999155c8503e9911be60c30fe92b73b769b0cec3a6842555a1e81", "tx" : [ "a95eb08d96e999155c8503e9911be60c30fe92b73b769b0cec3a6842555a1e81" ], "time" : 1374005037, "nonce" : 1175, "bits" : "08eec439", "difficulty" : 8.93268162, "transition" : 8.96690136, "primechain" : "TWN08.f21ea1", "primeorigin" : "37529335260294959670521627361912412134595233408453530955672585394628966480969339574601582708260", "previousblockhash" : "547df48e3b098bb25549b52d8afa12a60796dbc7e79847d5e9e0550375c67fa5", "nextblockhash" : "523cbb766d816e20e82edc48ac78b5505c266ce125512ea445a09e57841fc7c6" }
|
|
|
I try mining solo this coin. I found 5blocks, but in wallet 0 coin.
How do you know that you found 5 blocks, what is your evidence? Your config is OK...
|
|
|
It doesn't address your errors but I noticed that you use for Fastcoin symbol FSC; it should be FST from my point of view. https://bitcointalk.org/index.php?topic=218852.0SYMBOL='FST', Block period is 12s, isn't it? BLOCK_PERIOD=12, Your subsidy is not correct, it is not critical... SUBSIDY_FUNC=lambda height: 32*100000000 >> (height)//2592000, And this is not correct and could be troublemaker: IDENTIFIER=''.decode('hex'), PREFIX=''.decode('hex'),
|
|
|
cant download from github, says there was a problem with the file origin
Works fine at my PC: $ git clone https://github.com/pooler/cpuminer.git Cloning into 'cpuminer'... remote: Counting objects: 1183, done. remote: Compressing objects: 100% (690/690), done. remote: Total 1183 (delta 678), reused 972 (delta 489) Receiving objects: 100% (1183/1183), 670.15 KiB | 496 KiB/s, done. Resolving deltas: 100% (678/678), done.
|
|
|
There appears to be a network fork at block#14214 just now. Please run this command
getblockhash 14215 and report your current block number
$ ./primecoind getblockhash 14215; ./primecoind getblockcount 15428bf4b0867cf6b75a85375f6a2266e54a1c9f244befeee72ec0545300ae0f 15031
|
|
|
I noticed that YAC client, yacoind is very slow for several days. It was fast in the past, when I entered command, like getinfo, I received result immediately. Slowdown started several days ago and it is seriously slow now, about 8 seconds but it can be more than a minute": $ time ./yacoind getmininginfo { "blocks" : 128313, "currentblocksize" : 6267, "currentblocktx" : 19, "difficulty" : 0.54277787, "errors" : "", "generate" : true, "genproclimit" : 2, "hashespersec" : 0, "networkhashps" : 15229222, "pooledtx" : 19, "testnet" : false, "Nfactor" : 11, "N" : 4096, "powreward" : 27.68000000 }
real 0m7.504s user 0m0.004s sys 0m0.000s
$ time ./yacoind getdifficulty { "proof-of-work" : 0.54191164, "proof-of-stake" : 0.24999714, "search-interval" : 55 }
real 0m1.787s user 0m0.004s sys 0m0.000s
$ time ./yacoind checkwallet { "wallet check passed" : true }
real 1m5.380s user 0m0.004s sys 0m0.000s
Do you observe similar slowdown? My explanation is that: - I have too many small transactions in my wallet (pool mining) - increase of N has serious impact to client performance - something else My PC has a SSD disk, 8GB RAM, CPU is older Intel x4 (Q9400)... System is busy but it was busy in the past too and other coins on this system respond fast, only YAC has some problem... Do you see similar slowdown?? UPDATE: I installed fresh YAC client on new PC and let it download blockchain. Wallet was fresh new, empty. yacoind responses were fast. After this test I replaced empty wallet with my 'production" wallet and yacoind is slow again. My wallet is troublemaker!! Is this good news?? Could I do something about it? My wallet size is about 4.5MB a and this is a statistic of transactions: $ ./yacoind listtransactions '' 999999 | grep category | sort | uniq -c 844 "category" : "generate", 22 "category" : "receive",
|
|
|
Is there a way to "copy" coins from one YAC wallet to other wallet? I would like to do it. There is "how-to" for primecoind that uses listtransactions, dumpprivkey and importkey: https://bitcointalk.org/index.php?topic=251850.msg2692552#msg2692552I would like to do something like that with YAC but there is no address in "listtransactions" output. Generated blocks have no address... $ yacoind listtransactions [ { "account" : "", "category" : "generate", "amount" : 29.88000000, "confirmations" : 89420, "generated" : true, "blockhash" : "000000010db6af2e786d637e8aea2edbe72e575fa13614a86ae3f5878301d1eb", "blockindex" : 0, "blocktime" : 1368123343, "txid" : "6ddce3d274526312d84464767a3518b0fa1f5e3ae3bf81e80d5483402a6b7deb", "time" : 1368123343, "timereceived" : 1368123346 }, { "account" : "", "category" : "generate", "amount" : 30.08000000, "confirmations" : 774, "generated" : true, "blockhash" : "a3d3f6cc31c7dee025560f4faabb8a1cf1c5476f83944cfd692cfbdee3f95535", "blockindex" : 1, "blocktime" : 1373307675, "txid" : "e8c8851d3a650d846dabf614471a8e2e235ecd5599526e5efa7126b07c7cedb9", "time" : 1373307675, "timereceived" : 1373307675 } ]
BTW, when you see this output, how many coins do you expect that will be reported by "getbalance"? $ yacoind getbalance 30.08000000
29.88000000 + 30.08000000 != 30.08000000 Is this a bug?? $ yacoind getinfo { "version" : "v0.4.0.0-g32a928e-beta", "protocolversion" : 60005, "walletversion" : 60000, "balance" : 30.08000000, "newmint" : 0.00000000, "stake" : 0.00000000, "blocks" : 127626, "moneysupply" : 4257280.83954200, "connections" : 8, "proxy" : "", "ip" : "109.80.94.251", "difficulty" : 0.65183012, "testnet" : false, "keypoololdest" : 1368072081, "keypoolsize" : 103, "paytxfee" : 0.00000000, "errors" : "WARNING: Checkpoint is too old. Wait for block chain to download, or notify developers." }
|
|
|
Is there any way to send RPC commands from the command-line to primecoin-qt?
I have configured rpcuser/rpcpassword but it does not seem to respond to primecoind commands.
edit: Found it, added server=1 to primecoin.conf
Check primecoind, it is CLI version of the wallet. Try this:
|
|
|
Okay, can we get instruction on how to extract coin from our DigitalOcean droplet. It has been so long since I have had to do console/coding like this . Sure. I do it this way: - ssh into remote instance
- ./primecoind listtransactions –> copy the address mentioned in the output at "address"
- ./primecoind dumpprivkey {{paste copied address here}} –> copy the private key returned
- on your local computer holding the "master wallet" -> ./primecoind importprivkey {{paste copied private key here}}
- now address holding the minted coins appears in your local wallet
No need to send coins over the blockchain this way, immature coins can be imported immediately. Following command sequence (pipe separated) will prepare import commands. Run commands at slave node, import.sh file will be created. Run import.sh at master node to update your master wallet. ./primecoind listtransactions '*' 999999 | awk '/"address"/{print "./primecoind dumpprivkey " substr($3,2,34);}' | sh | awk '/^P/{print "./primecoind importprivkey ", $1;}' | sort | uniq | tee import.sh
|
|
|
Could be Fastcoin added? http://fast.minepool.net/api.php?api_key=05c98a42a259abfca69e1d83af73e92559d90a9aa9f99f5b6441xxxxxxxxxxxx
{"username":"USER","confirmed_rewards":"0.19323248","round_estimate":"0","total_hashrate":"149","payout_history":"12.70275454","round_shares":"0","workers":{"USER.1":{"alive":"1","hashrate":"149","last_share_timestamp":"1373392124"}}}
Thank you!
|
|
|
|