Pages:
Author

Topic: [ANN] Credits(CRDS): CPU-only mining | Argon2d PoW - Masternodes - page 56. (Read 482497 times)

full member
Activity: 312
Merit: 102
I'm having trouble compiling Credits from Github (https://github.com/CRDS/Credits).  It seems that there is a missing file: 'credits-config.h':

Code:
...
Making all in src
make[1]: Entering directory '/home/osboxes/altcoins/credits/Credits/src'
make[2]: Entering directory '/home/osboxes/altcoins/credits/Credits/src'
  CXX      crypto/libcreditsconsensus_la-hmac_sha512.lo
  CXX      crypto/libcreditsconsensus_la-ripemd160.lo
In file included from crypto/ripemd160.cpp:7:0:
./crypto/common.h:9:28: fatal error: credits-config.h: No such file or directory
compilation terminated.
Makefile:7693: recipe for target 'crypto/libcreditsconsensus_la-ripemd160.lo' failed
make[2]: *** [crypto/libcreditsconsensus_la-ripemd160.lo] Error 1
make[2]: Leaving directory '/home/osboxes/altcoins/credits/Credits/src'
Makefile:8957: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/osboxes/altcoins/credits/Credits/src'
Makefile:655: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

You're best off posting in the #support channel on Discord for support.
full member
Activity: 345
Merit: 100
I'm having trouble compiling Credits from Github (https://github.com/CRDS/Credits).  It seems that there is a missing file: 'credits-config.h':

Code:
...
Making all in src
make[1]: Entering directory '/home/osboxes/altcoins/credits/Credits/src'
make[2]: Entering directory '/home/osboxes/altcoins/credits/Credits/src'
  CXX      crypto/libcreditsconsensus_la-hmac_sha512.lo
  CXX      crypto/libcreditsconsensus_la-ripemd160.lo
In file included from crypto/ripemd160.cpp:7:0:
./crypto/common.h:9:28: fatal error: credits-config.h: No such file or directory
compilation terminated.
Makefile:7693: recipe for target 'crypto/libcreditsconsensus_la-ripemd160.lo' failed
make[2]: *** [crypto/libcreditsconsensus_la-ripemd160.lo] Error 1
make[2]: Leaving directory '/home/osboxes/altcoins/credits/Credits/src'
Makefile:8957: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/osboxes/altcoins/credits/Credits/src'
Makefile:655: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
hero member
Activity: 644
Merit: 501


Credits masternode hosting has been added to node-vps.com

That's great news! We'll announce it on discord. Thanks
legendary
Activity: 1358
Merit: 1002


Credits masternode hosting has been added to node-vps.com
jr. member
Activity: 34
Merit: 2
well, for last 12 hours I can't restart masternode even with daemon running..
is there trick of some sort? tried to restart local wallet numerous times, still the same - "failed to start" from "new start required" state

but yeah, the only thing I was originally looking for is simply starting daemon after VPS restart

upd: updated wallets and MN's to 1.1.1, still the same issue.. Wondering if it's me doing something wrong, or network still rebuilding after recent shakedowns?
newbie
Activity: 18
Merit: 0
Great idea on autorestarts, but can someone post how to do that on MN's with Ubuntu 16.04? Maybe it woulld be a worthwhile to include that step into MN setup guide as well.

From what I gather, autostart file needs to be created\edited?

The systemd unit file I posted above is for autostarting creditsd on Linux versions that use systemd.
I Think ubuntu 16.04 use systemd? Yes I have created that file manually.

I don't have any MN for Credits yet so I am not sure if restarting creditsd on remote machine is enough.
Masternodes can also be restarted remotely I think from the local wallet?
Somebody else with more experience of Credits MN maybe can assist you?


Masternodes needs to have creditsd running. Local wallet gives only some final command; you cannot restart the Masternode from the local wallet if the daemon is stopped.
member
Activity: 276
Merit: 13
Great idea on autorestarts, but can someone post how to do that on MN's with Ubuntu 16.04? Maybe it woulld be a worthwhile to include that step into MN setup guide as well.

From what I gather, autostart file needs to be created\edited?

The systemd unit file I posted above is for autostarting creditsd on Linux versions that use systemd.
I Think ubuntu 16.04 use systemd? Yes I have created that file manually.

I don't have any MN for Credits yet so I am not sure if restarting creditsd on remote machine is enough.
Masternodes can also be restarted remotely I think from the local wallet?
Somebody else with more experience of Credits MN maybe can assist you?
newbie
Activity: 18
Merit: 0
Great idea on autorestarts, but can someone post how to do that on MN's with Ubuntu 16.04? Maybe it woulld be a worthwhile to include that step into MN setup guide as well.

From what I gather, autostart file needs to be created\edited?

I'll second that
And yes, I think you have to manually create & edit the autorestart file. But it's totally worthy..
newbie
Activity: 18
Merit: 0
What's the problem with the block browser?
Can't connect?

I think it's down, still happens sometimes.
newbie
Activity: 83
Merit: 0
What's the problem with the block browser?
Can't connect?
jr. member
Activity: 34
Merit: 2
Great idea on autorestarts, but can someone post how to do that on MN's with Ubuntu 16.04? Maybe it woulld be a worthwhile to include that step into MN setup guide as well.

From what I gather, autostart file needs to be created\edited?
full member
Activity: 312
Merit: 102
when 32bit windows will be available for mining? any announcement about this ? I cant mined with my 32 bit windows right now.
Argon2d only allows for 64bit CPUs so there will never be a 32-bit release for Credits, it's simply not possible.
newbie
Activity: 14
Merit: 0
Is anyone already working on a Portuguese translation?
If not, I'm interested ...
hero member
Activity: 644
Merit: 501
Hi! Is there a plan for the pool?
Where will the next exchange be?

A more stable new version is coming, that’s the focus now. Bigger exchanges require very large listing fees and we don’t have these now. Also there are bounties still on, for generating an (equally fast) stand alone miner and mining pool.
newbie
Activity: 83
Merit: 0
Hi! Is there a plan for the pool?
Where will the next exchange be?
full member
Activity: 244
Merit: 100
We've had an issue with wallets crashing over the past few days and it seems that the error handling in the code wasn't working as expected, hence the crash. We have 2 devs working with me on a fix now. They have compiled an update and we're in the process of testing their changes now. If the updated code resolved the issue we'll be releasing a new version shortly.

Thanks for the update Matt
It's great to hear that the team are hard at work finding a fix I'm sure it will be solved in no time
full member
Activity: 312
Merit: 102
We've had an issue with wallets crashing over the past few days and it seems that the error handling in the code wasn't working as expected, hence the crash. We have 2 devs working with me on a fix now. They have compiled an update and we're in the process of testing their changes now. If the updated code resolved the issue we'll be releasing a new version shortly.
member
Activity: 276
Merit: 13
From a user on discord:

btw. works also perfectly with the QT-Version.
I don't have an Bitcointalk account, so if someone want to add this to @ronnylov post. Feel free.

[Unit]
Description=Credits wallet QT

[Service]
Environment="DISPLAY=:0"
ExecStart=/usr/local/bin/credits-qt
User=USERNAME
Restart=always
RestartSec=30

[Install]
WantedBy=graphical.target
member
Activity: 276
Merit: 13
Hi!

I just wrote a systemd unit for my linux mining machines that automatically restart the cli wallet daemon 30 seconds after crash.
It also auto start the cli wallet after reboot if the service is enabled.

I am using Arch Linux so this one is placed in /etc/systemd/system/credits.service
Code:
[Unit]
Description=Credits wallet daemon

[Service]
Type=simple
ExecStart=/usr/local/bin/creditsd -conf=/home/username/.credits/credits.conf
User=username
Restart=always
RestartSec=30

[Install]
WantedBy=default.target

Replace username with the name of your user.

And here is my credits.conf for mining with 3 threads (my CPU have 4 cores but I leave one core for other tasks)
Code:
#Do not use special characters with username/password
rpcuser=your_rpcusername
rpcpassword=your_rpcpassword
rpcport=31050
port=31000
gen=1
genproclimit=3

Enable the service
Code:
sudo systemctl enable credits.service

Run the service
Code:
sudo systemctl start credits.service

Check status
Code:
[ronny@filserver ~]$ credits-cli getinfo
{
  "version": 1010000,
  "protocolversion": 70001,
  "walletversion": 60000,
  "balance": 621.00021480,
  "privatesend_balance": 0.00000000,
  "blocks": 284951,
  "timeoffset": 0,
  "connections": 16,
  "proxy": "",
  "difficulty": 0.04698341188396778,
  "testnet": false,
  "keypoololdest": 1510903654,
  "keypoolsize": 1999,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""
}
So there is 621 CRDS in this wallet at block 284951.

Check mining status
Code:
[ronny@filserver ~]$ credits-cli getmininginfo
{
  "blocks": 284951,
  "currentblocksize": 1157,
  "currentblocktx": 1,
  "difficulty": 0.04698341188396778,
  "errors": "",
  "genproclimit": 3,
  "networkhashps": 780895.126301053,
  "pooledtx": 1,
  "testnet": false,
  "chain": "main",
  "generate": true,
  "hashespersec": 10948
}
So it is mining with 10.9 kH/s and total network hashrate is 780.9 kH/s.

Edit: Fixed wrong filename on unit file to credits.service
jr. member
Activity: 80
Merit: 5
wondering why it gets stuck and what the heck.. only 8 MN's are enabled now (out of 186), bunch is expired (mine included), and the vast majority is in "new start required" state..

so... tried to restart (when got to "expired" state). Error.
Checked MN status on MN itself. "Can't connect to server".
Restarted VPS. Restarted Daemon. Synced blockchain. Starting MN.
"Not capable Masternode: Masternode not in Masternode list"

Next step is?...
(nvm, got answer on Discord, hopefully it will fix itself. Still MNs are in need of restart, all daemons are stopped on my MN's)

And also all wallet with solo minning crashed again =)

Maybe it would be usefull info or maybe not but not all crashed. One of mine keeped up minning, so it looks like this can be avoided somehow?
Pages:
Jump to: