Bitcoin Forum
April 19, 2024, 10:16:01 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 [375] 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 ... 844 »
  Print  
Author Topic: BiblePay | 10% to Orphan-Charity | RANDOMX MINING | Sanctuaries (Masternodes)  (Read 243125 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (345 posts by 1+ user deleted.)
thesnat21
Jr. Member
*
Offline Offline

Activity: 490
Merit: 4


View Profile WWW
May 18, 2018, 11:05:40 PM
 #7481

Hey Lich! Smiley

Thank you for the heads up on the explorer, seems like BiblePay crashes randomly every few weeks,
(Anyone know how I can automate it to restart Biblepay if BiblePay crashes and to delete the explorer/tmp/index.pid file as well?)
Explorer is updated now

I've been thinking on this for a project I have going on..

I'm going to write a shell script (when I can get to it) that checks the status of the daemon and will restart it if/when it fails.  I'll post it here when i'm done.
1713521761
Hero Member
*
Offline Offline

Posts: 1713521761

View Profile Personal Message (Offline)

Ignore
1713521761
Reply with quote  #2

1713521761
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
noxpost
Jr. Member
*
Offline Offline

Activity: 235
Merit: 3


View Profile
May 18, 2018, 11:38:25 PM
 #7482

Hey Lich! Smiley

Thank you for the heads up on the explorer, seems like BiblePay crashes randomly every few weeks,
(Anyone know how I can automate it to restart Biblepay if BiblePay crashes and to delete the explorer/tmp/index.pid file as well?)
Explorer is updated now

I've been thinking on this for a project I have going on..

I'm going to write a shell script (when I can get to it) that checks the status of the daemon and will restart it if/when it fails.  I'll post it here when i'm done.


I have one for the index.pid file I'd be happy to share as well. I am happy with it, and it would be easy to extend to the daemon too
Fishnandy
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
May 19, 2018, 12:15:46 AM
 #7483

while we are talking about dex's, komodo's platform "barterdex" would be great to add bbp to. They support atomic swaps. link to thier site https://komodoplatform.com/decentralized-exchange/
togoshigekata
Full Member
***
Offline Offline

Activity: 1260
Merit: 115



View Profile
May 19, 2018, 12:30:40 AM
 #7484

while we are talking about dex's, komodo's platform "barterdex" would be great to add bbp to. They support atomic swaps. link to thier site https://komodoplatform.com/decentralized-exchange/

0x03#8822 in the BiblePay Discord was testing swap with BiblePay for Komodo/BarterDEX,
I think he needed dev help, not sure where it got left off

03/29/2018
"gooday, who'd be a staff person to talk to? i am a BarterDEX contributor and would like to integrate biblepay into it
the listing price is 0
however i would need a small nbumber of coins to perform a test swap, should i succeed with my preliminary tests
i think maybe my twitter profile makes the request look less scammy: https://twitter.com/0x03_kmd" -0x03

04/04/2018
"got a mail reply from rob, will execute his instructions later on" -0x03

sunk818
Full Member
***
Offline Offline

Activity: 1176
Merit: 111



View Profile WWW
May 19, 2018, 12:41:36 AM
 #7485

I have questions about heat mining on pool.biblepay.org and purepool.org

I'm using Linux command line Ubuntu 16.0.4 using biblepayd package

I'm trying to determine if wallet.dat from staking computer is required.
If it is, can we heat mine without unlocking wallet?

I seem to be submitting shares okay to pool.biblepay.org even with a locked wallet. I'm guessing my worker is tied to the account with cpid. I'm gonna try hot mining with a blank wallet.dat and see if I can do that.

Just want a more secure way to heat mine without all these wallet.dat on multiple computers. I heard a Russian got his bbp hacked this way

seasonw
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



View Profile
May 19, 2018, 06:28:27 AM
 #7486

Thanks for the explanation. And since you mentioned coinsmarket, then what if crypto-bridge stopped service like coinsmarket did, will we get back the coins that we deposited to crypto-bridge wallet from the smart-contracts?

When you use a decentralized exchange, as I have always understood you are the one in control of the private keys.

It solves the question in my head if we have access to private key of all coin addresses in the decentralized exchange.

I have used crypto-bridge and escodex for some days, but I do not find a way to retrieve the private keys, anyone can enlighten me?

If we really have control of coins that we put on decentralized exchange for trading, then I hope biblepay to list on one of the decentralized exchange too  Smiley
ZhuldyzKaladinova
Sr. Member
****
Offline Offline

Activity: 289
Merit: 251


View Profile
May 19, 2018, 06:37:17 AM
 #7487

How many active community members does BibePlay have? The thread seems to be on the top of the Announcements on Bitcointalk a lot of times in any given day. Makes you want to learn more about the project. Frankly I think the ANN here is a little too cluttered, @bible_pay you should try and tune it a bit. Good job on this coin I will make sure to check it out under the hood
slovakia
Full Member
***
Offline Offline

Activity: 770
Merit: 100



View Profile
May 19, 2018, 06:58:08 AM
 #7488

ZhuldyzKaladinova 500+ miners and active users  over 1000+ my tip

Lichtsucher
Jr. Member
*
Offline Offline

Activity: 219
Merit: 3


View Profile
May 19, 2018, 06:58:49 AM
 #7489

Hey Lich! Smiley

Thank you for the heads up on the explorer, seems like BiblePay crashes randomly every few weeks,
(Anyone know how I can automate it to restart Biblepay if BiblePay crashes and to delete the explorer/tmp/index.pid file as well?)
Explorer is updated now

I keep my biblepay processes running with systemd, works good so far, but they normally do not crash here Smiley

About the index.pid, this should work in cron:
/usr/bin/find [PATH]/tmp/index.pid -mmin +120 -delete

It would delete the index.pid if it is older then 2 hours. Replace "[PATH]" with your explorer directory.


There have been multiple repeat questions about mining that have popped up a few times the past 2 months,
but Id have to dig back through the Discord, this thread and the biblepay forum thread, I plan to do that hopefully soon, I will report back!

Thx a lot, a small list would really help.

By the way, I plan to replace all images in the guide to match the new design as fell.

vahtis brought up some good things and also Yes WCG is official,
another thing we should do is explain RAC more and how it increases over time:
https://steemit.com/gridcoin/@hotbit/rac-and-grc-rewards-for-dummies-calculate-you-maximum-rac-in-5-seconds

I will add both Smiley

so its kind of short term vs long term thinking mindset

You are absolutely right. Hope more people will understand this.

Is the biblepay-central website open source?

Yes, you can find it on https://github.com/Lichtsucher/biblepaycentral
I just added a Licence file.
The guide itself is not part of the source code, as I used an embedded CMS to edit it. But I might change it, as the CMS doesn't work that great for this layout.

By the way, you can see my systemd Biblepay service file there, too:
https://github.com/Lichtsucher/biblepaycentral/blob/master/deploy/biblepayd-main.service

Purepool Biblepay Pool (https://www.purepool.org)
Mining How-To (https://www.biblepay-central.org/en/mining-how-to/)
znffal
Full Member
***
Offline Offline

Activity: 364
Merit: 102


View Profile
May 19, 2018, 08:17:39 AM
 #7490

Tweet from Qiex

Check out @qiexinfo’s Tweet: https://twitter.com/qiexinfo/status/997114509570420737?s=09

Open at 00:00 UTC on the 20th of May
slovakia
Full Member
***
Offline Offline

Activity: 770
Merit: 100



View Profile
May 19, 2018, 09:17:50 AM
 #7491

vivuta108 https://coinmarketcap.com/currencies/biblepay/   Wink

click on

Website
Website 2
Announcement
Explorer
Source Code
SOCIAL

you find everything on this webs

Dimarzio123
Newbie
*
Offline Offline

Activity: 75
Merit: 0


View Profile
May 19, 2018, 10:43:50 AM
 #7492

Hey Lich! Smiley

Thank you for the heads up on the explorer, seems like BiblePay crashes randomly every few weeks,
(Anyone know how I can automate it to restart Biblepay if BiblePay crashes and to delete the explorer/tmp/index.pid file as well?)
Explorer is updated now

I've been thinking on this for a project I have going on..

I'm going to write a shell script (when I can get to it) that checks the status of the daemon and will restart it if/when it fails.  I'll post it here when i'm done.


Or just script a task it to re-start it every 24H.......
Lichtsucher
Jr. Member
*
Offline Offline

Activity: 219
Merit: 3


View Profile
May 19, 2018, 10:59:48 AM
 #7493

Or just script a task it to re-start it every 24H.......

From my experience, such an approach often creates more problems than it solves. Doing something that doesn't needs to be done create more possibilities for failures.
More so when there are stable and proven solutions, like systemd, to keep a daemon monitored and running.

Purepool Biblepay Pool (https://www.purepool.org)
Mining How-To (https://www.biblepay-central.org/en/mining-how-to/)
Lichtsucher
Jr. Member
*
Offline Offline

Activity: 219
Merit: 3


View Profile
May 19, 2018, 11:12:47 AM
 #7494

Hi everyone,

for a couple of days I'm trying to build a Ubuntu 18.04 Package via Launchpad, but it fails every time.
My local builds work, but Launchpad can't create a package.

I looked into the build log, but can't identify the reason why it fails:
https://launchpadlibrarian.net/370942292/buildlog_ubuntu-bionic-amd64.biblepay_20180519122901-bionic1_BUILDING.txt.gz

Indeed, I see the warnings and the failed message at the bottom, but why does it happen? Smiley

Purepool Biblepay Pool (https://www.purepool.org)
Mining How-To (https://www.biblepay-central.org/en/mining-how-to/)
thesnat21
Jr. Member
*
Offline Offline

Activity: 490
Merit: 4


View Profile WWW
May 19, 2018, 11:55:11 AM
 #7495

Hi everyone,

for a couple of days I'm trying to build a Ubuntu 18.04 Package via Launchpad, but it fails every time.
My local builds work, but Launchpad can't create a package.

I looked into the build log, but can't identify the reason why it fails:
https://launchpadlibrarian.net/370942292/buildlog_ubuntu-bionic-amd64.biblepay_20180519122901-bionic1_BUILDING.txt.gz

Indeed, I see the warnings and the failed message at the bottom, but why does it happen? Smiley

This is related to using newer than openssl 1.0.2
Code:
wallet/crypter.cpp: In function ‘bool BibleEncrypt(std::vector<unsigned char>, std::vector<unsigned char>&)’:
wallet/crypter.cpp:196:17: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
  EVP_CIPHER_CTX ctx;
                 ^~~
wallet/crypter.cpp: In function ‘bool BibleDecrypt(const std::vector<unsigned char>&, std::vector<unsigned char>&)’:
wallet/crypter.cpp:214:20: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
     EVP_CIPHER_CTX ctx;

Newer ubuntu versions jump to 1.1 I believe, the types are declared for 1.0.2 only.   I adjusted the code on my instance to compile but Rob warned its foolish ...  I have not done any long-term testing on it however.

If it hasn't been deleted, I posted the edits required for it to compile on the newer ubuntu a while back.
Lichtsucher
Jr. Member
*
Offline Offline

Activity: 219
Merit: 3


View Profile
May 19, 2018, 12:34:19 PM
 #7496

This is related to using newer than openssl 1.0.2
Code:
wallet/crypter.cpp: In function ‘bool BibleEncrypt(std::vector<unsigned char>, std::vector<unsigned char>&)’:
wallet/crypter.cpp:196:17: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
  EVP_CIPHER_CTX ctx;
                 ^~~
wallet/crypter.cpp: In function ‘bool BibleDecrypt(const std::vector<unsigned char>&, std::vector<unsigned char>&)’:
wallet/crypter.cpp:214:20: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
     EVP_CIPHER_CTX ctx;

Newer ubuntu versions jump to 1.1 I believe, the types are declared for 1.0.2 only.   I adjusted the code on my instance to compile but Rob warned its foolish ...  I have not done any long-term testing on it however.

If it hasn't been deleted, I posted the edits required for it to compile on the newer ubuntu a while back.


The problem with OpenSSL sounds reasonable. I also just realized that my test build that worked didn't used ubuntu 18.04 but ubuntu 16.04. I'm running a new build right now, to test if it will fail again.

@all users:
Is there anybody who is using BiblePay with Ubuntu 18.04 right now? If so, have you downgraded openssl? Or solved it any other way?

Purepool Biblepay Pool (https://www.purepool.org)
Mining How-To (https://www.biblepay-central.org/en/mining-how-to/)
thesnat21
Jr. Member
*
Offline Offline

Activity: 490
Merit: 4


View Profile WWW
May 19, 2018, 01:46:49 PM
 #7497


The problem with OpenSSL sounds reasonable. I also just realized that my test build that worked didn't used ubuntu 18.04 but ubuntu 16.04. I'm running a new build right now, to test if it will fail again.

@all users:
Is there anybody who is using BiblePay with Ubuntu 18.04 right now? If so, have you downgraded openssl? Or solved it any other way?


basically in the src/wallet/crypter.cpp
2 functions, BibleEncrypt and BibleDecrypt

comment:   EVP_CIPHER_CTX ctx;
uncomment:  EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();

change the lines in the function remove the & from &ctx


I don't belive anything in here has changed the last few commits, but compare just in case.

open file: src/wallet/crypter.cpp
change
Code:
bool BibleEncrypt(std::vector<unsigned char> vchPlaintext, std::vector<unsigned char> &vchCiphertext)
{
if (!fKeySetBiblePay) LoadBibleKey("biblepay","eb5a781ea9da2ef36");
    int nLen = vchPlaintext.size();
    int nCLen = nLen + AES_BLOCK_SIZE, nFLen = 0;
    vchCiphertext = std::vector<unsigned char> (nCLen);
EVP_CIPHER_CTX ctx;
    // EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
    bool fOk = true;
    EVP_CIPHER_CTX_init(&ctx);
if (fOk) fOk = EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, chKeyBiblePay, chIVBiblePay);
    if (fOk) fOk = EVP_EncryptUpdate(&ctx, &vchCiphertext[0], &nCLen, &vchPlaintext[0], nLen);
    if (fOk) fOk = EVP_EncryptFinal_ex(&ctx, (&vchCiphertext[0])+nCLen, &nFLen);
    EVP_CIPHER_CTX_cleanup(&ctx);
    if (!fOk) return false;
    vchCiphertext.resize(nCLen + nFLen);
    return true;
}

bool BibleDecrypt(const std::vector<unsigned char>& vchCiphertext,std::vector<unsigned char>& vchPlaintext)
{
LoadBibleKey("biblepay","eb5a781ea9da2ef36");
int nLen = vchCiphertext.size();
    int nPLen = nLen, nFLen = 0;
    EVP_CIPHER_CTX ctx;
    // EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
    bool fOk = true;
    EVP_CIPHER_CTX_init(&ctx);
    if (fOk) fOk = EVP_DecryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, chKeyBiblePay, chIVBiblePay);
    if (fOk) fOk = EVP_DecryptUpdate(&ctx, &vchPlaintext[0], &nPLen, &vchCiphertext[0], nLen);
    if (fOk) fOk = EVP_DecryptFinal_ex(&ctx, (&vchPlaintext[0])+nPLen, &nFLen);
    EVP_CIPHER_CTX_cleanup(&ctx);
    if (!fOk) return false;
    vchPlaintext.resize(nPLen + nFLen);
    return true;
}

to:
Code:
bool BibleEncrypt(std::vector<unsigned char> vchPlaintext, std::vector<unsigned char> &vchCiphertext)
{
        if (!fKeySetBiblePay) LoadBibleKey("biblepay","eb5a781ea9da2ef36");
    int nLen = vchPlaintext.size();
    int nCLen = nLen + AES_BLOCK_SIZE, nFLen = 0;
    vchCiphertext = std::vector<unsigned char> (nCLen);
//      EVP_CIPHER_CTX ctx;
     EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
    bool fOk = true;
    EVP_CIPHER_CTX_init(ctx);
    if (fOk) fOk = EVP_EncryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, chKeyBiblePay, chIVBiblePay);
    if (fOk) fOk = EVP_EncryptUpdate(ctx, &vchCiphertext[0], &nCLen, &vchPlaintext[0], nLen);
    if (fOk) fOk = EVP_EncryptFinal_ex(ctx, (&vchCiphertext[0])+nCLen, &nFLen);
    EVP_CIPHER_CTX_cleanup(ctx);
    if (!fOk) return false;
    vchCiphertext.resize(nCLen + nFLen);
    return true;
}

bool BibleDecrypt(const std::vector<unsigned char>& vchCiphertext,std::vector<unsigned char>& vchPlaintext)
{
        LoadBibleKey("biblepay","eb5a781ea9da2ef36");
        int nLen = vchCiphertext.size();
    int nPLen = nLen, nFLen = 0;
    //EVP_CIPHER_CTX ctx;
  EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
    bool fOk = true;
    EVP_CIPHER_CTX_init(ctx);
    if (fOk) fOk = EVP_DecryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, chKeyBiblePay, chIVBiblePay);
    if (fOk) fOk = EVP_DecryptUpdate(ctx, &vchPlaintext[0], &nPLen, &vchCiphertext[0], nLen);
    if (fOk) fOk = EVP_DecryptFinal_ex(ctx, (&vchPlaintext[0])+nPLen, &nFLen);
    EVP_CIPHER_CTX_cleanup(ctx);
    if (!fOk) return false;
    vchPlaintext.resize(nPLen + nFLen);
    return true;
}


thesnat21
Jr. Member
*
Offline Offline

Activity: 490
Merit: 4


View Profile WWW
May 19, 2018, 02:13:42 PM
 #7498

Licht:

While I have your attention, can you increase your apache header size...  I'm still getting occasional 400 errors when submitting shares.

Code:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Size of a request header field exceeds server limit.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.purepool.org Port 80</address>
</body></html>
stevenzak
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
May 19, 2018, 02:23:44 PM
Last edit: May 19, 2018, 02:34:37 PM by stevenzak
 #7499

Hey guys, questions How to setup config on multiple computers correctly?

On Main computer same wallet and CPID

addnode=node.biblepay.org
gen=1
genproclimit=-1
pool=https://pool.purepool.org
workerid=BMBib2q6Rj6uerDu3ME7nThR6M1xid2PTu

On second computer same wallet and CPID

addnode=node.biblepay.org
gen=1
genproclimit=-1
utxooverride=-1
pool=https://pool.purepool.org
workerid=BAxTJUyynP5i2paTSe3JWa2XEw9nmc9SBg
vs having the same worker id on both computers

Or is it better to solo mine (purepool has been down for me)
addnode=node.biblepay.org
gen=1
genprolimit=-1

second computer
addnode=node.biblepay.org
gen=1
genprolimit=-1
utxooverride=-1


can I use these settings for pool.biblepay?
addnode=node.biblepay.org
gen=1
genproclimit=-1
pool=https://pool.biblepay.org
workerid=biblepayfirstcomputer

addnode=node.biblepay.org
gen=1
genproclimit=-1
utxooverride=-1
pool=https://pool.biblepay.org
workerid=biblepaysecondcomputer



How to clear error codes?

Just to be clear, I have Boinc installed on each computer same user, pass, and cpid on chain.
Biblepay installed on each computer same wallet.dat
Both Boinc and biblepay running

Error code: on pool.purepool.org
Invalid_CPID Default 4
Illegal_CPID Default 16



Error code: on pool.biblepay.org
CPID_SIGNATURE_INVALID
CPID_HAS_NO_MAGNITUDE


I am getting the CPID, Magnitude, Task Weight, UTXO Weight with values.
Also getmininginfo and exec getboincinfo on console shows up good.



Note: I believe these questions can also help out other people.
Would be extremely helpful if someone can help me.
Lichtsucher
Jr. Member
*
Offline Offline

Activity: 219
Merit: 3


View Profile
May 19, 2018, 02:29:06 PM
Last edit: May 19, 2018, 02:49:42 PM by Lichtsucher
 #7500

Licht:
While I have your attention, can you increase your apache header size...  I'm still getting occasional 400 errors when submitting shares.

Funny timing, I just increased it 10 minutes ago. Is your example new or older then 10 minutes? Smiley

Purepool Biblepay Pool (https://www.purepool.org)
Mining How-To (https://www.biblepay-central.org/en/mining-how-to/)
Pages: « 1 ... 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 [375] 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 ... 844 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!