Bible Pay

Read 64768 times

  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #195 on: November 15, 2017, 06:36:17 am »
TOGOSHIKEGATE
your tutorial is weird

Quote
1. Generate private key on Sanctuary Masternode Linux machine

./biblepay-cli -testnet masternode genkey

(Store this as your MASTERNODE_PRIVATE_KEY)

2. Controller Wallet - Show Proof of Coins
getaccountaddress MASTERNODE_NAME #creates MASTERNODE_ADDRESS
sendtoaddress MASTERNODE_ADDRESS 500000 "" ""

3. Wait for 15 confirmations
(Note: Testnet chain mines blocks every 1 minute,
turn on miner if no one else is mining so confirmations can go through: setgenerate true 1)


masternode-address is what?where? when we made masternode wallet? we will be sending 500k from wincontroller wallet to masternodelinux wallet? or how? this is mishmash for all users

15 confirmations? i see 6
« Last Edit: November 15, 2017, 07:01:57 am by klondike »


  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #196 on: November 15, 2017, 07:00:21 am »
Klondike,
- You only have to send the 500,000 BBP once From somewhere, To the Controller wallet escrow address (using the sendtoaddress command), Once per COLD sanctuary.  Once the funds are sent they are LOCKED.  (see masternode outputs)
- If you want to perform a dry run of emptying out the funds, follow the paragraph we posted about COIN CONTROL.
- If you need more Testnet funds paste your address here and then you can start more
- You cannot accidentally spend the 500,000 locked escrow unless you accidentally went in coin control and unlocked the funds
- The main part of the guide (up to the FAQ beginning) covers everything you need to do to start a new sanctuary, you dont need to follow whats in the FAQ unless you are having troubles



  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #197 on: November 15, 2017, 07:04:41 am »
admin why are you writing still in puzzles?

togoshigekata got in tutorial this

Quote
2. Controller Wallet - Show Proof of Coins
getaccountaddress MASTERNODE_NAME #creates MASTERNODE_ADDRESS
sendtoaddress MASTERNODE_ADDRESS 500000 "" ""

how can to do this command in controller windowswallet when i dont know masternode_adress???

ADMIN and your tutorial http://wiki.biblepay.org/Create_Masternode is bad:

Quote
4) Now on the SANCTUARY WALLET, open biblepay.conf from (Linux: ~/.biblepaycore).

Add:

rpcuser=long random username
rpcpassword=longer random password
rpcallowip=127.0.0.1
rpcport=40009
listen=1
server=1
daemon=1
logtimestamps=1
externalip=SANCTUARY_PUBLIC_IP:40001 (if this doesn't work, try just IP without :40001 and restart)
maxconnections=256
masternode=1
masternodeprivkey=SANCTUARY_PRIVATE_KEY
Make sure to replace rpcuser and rpcpassword with your own.

5) Close and restart this sanctuary node.

how you tested this?  you cant add new info to config and then stop wallet, doesnt working: you have to stop wallet on linux and then add to config new infos and then run

 ::)
« Last Edit: November 15, 2017, 07:14:15 am by klondike »


  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #198 on: November 15, 2017, 08:04:06 am »
my steps is this ... show/tell/write me,where i doing mistakes: may be this helps all users.....

1.setup VPS by togo tutorial= easy user-friendly step-by-step = working good
2.run windows wallet and setup testnet=1 in config + syncing chain = working good
3.when is VPS done, run ./biblepayd -testnet -daemon and wait for syncing blocks = working good
4.in VPS ./biblepay-cli -testnet -daemon setgenerate true 0 i dont want mining with VPS = working good
5.in VPS ./biblepay-cli -testnet masternode genkey i got SANCTUARY_PRIVATE_KEY  = working good
6.in controller-windows wallet do in debug win this command getaccountaddress TEST  = working good
7.sent from other wallet to my controller wallet TEST address 500 000 tBBP  = working good
8.in controller-windows wallet in debug win using this command masternode outputs i get TRANSACTIONHASH+ INDEX (1 or 0)
9.in controller-windows wallet open masternode.config and add this line TEST SPACE [VPSIP:40001] SPACE [SANCTUARY_PRIVATE_KEY] SPACE [TRANSACTIONHASH] SPACE [INDEX]  = working good
10.in controller-windows wallet open wallet configuration file and add this
Quote
testnet=1
genproclimit=0
rpcuser=aaaa123
rpcpassword=bbbb123
rpcallowip=127.0.0.1
rpcport=9998
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256

working good

11.in VPS close/stop wallet and add this

Quote
rpcuser=aaaa123
rpcpassword=bbbb123
rpcallowip=127.0.0.1
rpcport=40009
listen=1
server=1
daemon=1
logtimestamps=1
externalip=VPS_IP:40001 (if this doesn't work, try just IP without :40001 and restart)
maxconnections=256
masternode=1
masternodeprivkey=SANCTUARY_PRIVATE_KEY

working good

12. in controller-windows wallet in debug win run this command masternode start-alias TEST .... = working good
13.compiling watchman this commands in VPS

Quote
sudo apt update
sudo apt install git python-virtualenv virtualenv
cd ~/.biblepaycore
git clone https://github.com/biblepay/watchman.git
cd watchman
virtualenv venv
venv/bin/pip install -r requirements.txt
  done

14. in nano.watchman.config  deleteing # in testnet and add # in mainnet  done
15. then run watchman this command venv/bin/python bin/watchman.py when you run it,you see nothing
16.run this command in VPS crontab -e and add this line at the end

Quote
* * * * * cd .biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1

im still PRE-ENABLED OR NEW_START_REQUIREDE in CONTROLLER-WINDOWS WALLET  :-\





« Last Edit: November 15, 2017, 08:17:02 am by klondike »


  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #199 on: November 15, 2017, 08:45:42 am »
Klondike for the 3rd time your watchman isnt running properly.

Run the command you have in your crontab without the devnull suffix on the end, and see what the error is.

Your "guide" is too fragile for everyones use.
Thats why we have a wiki guide, its going to cover the general populus.

If another error is discovered let us know and we will add to the wiki.

Make a video for everyone maybe you can help other people out if you are King of IT?

I think we have already passed other masternode guides in accuracy, as obviosuly no one is citing other coins guides as being better, right?

Didnt I mention other guides dont even show where to execute the command from, controller or sanctuary? LOL you would not even be able to get it running to begin with without our wiki guide.




  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #200 on: November 15, 2017, 08:49:17 am »
Hmm I dont believe my testnet wallet is locked, not seeing a locked symbol in bottom right either?

Heres a paste of my testnet3/debug.log:   https://pastebin.com/YLDU9uSa

Looks like my log is 6 hours ahead of BiblePay RPC


10:28:45
exec retirementbalance
{
  "Command": "retireme\
  "balance": 30880.20853400,
  "privatese\

Hmm my tBBP balance has been changing >.>

(Ill try to keep helping testing, Ill keep periodically checking the thread, Im at work atm hehehe, Dont tell my boss :P)

Togo, I just pushed out 1059 if you want to upgrade and continue debugging retirement accounts now.

This new version should fix the bug of the diminishing balance, and also I added a new command called "exec listdebug" that will show what your wallet is doing when it tries to send the escrow for the retirement trade to another node, maybe that will reveal why our trade didnt execute.



  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #201 on: November 15, 2017, 09:20:03 am »
Quote
Klondike for the 3rd time your watchman isnt running properly.
Run the command you have in your crontab without the devnull suffix on the end, and see what the error is.

when i run watchman what i have to see?  example: watchman running? or?






togo had same errors in watchman...is this fixing? im stuck on red command

Quote
=== Watchman Database Poking

sudo apt-get install sqlite3
sqlite3 Watchman
sqlite>
select * from votes;
.table <enter>

== OUTPUT:
1|2|2|1|2017-11-13 16:20:01.419328|2017-11-13 16:20:01.419338|2017-11-13 16:20:01.419344|f2ff8b0970c959e1ea750234593ff358f9ea7ce8e162a6c6ab50c6b31035330c

governance_objects  proposals           signals             votes
outcomes            settings            superblocks         watchdogs

CTRL + D to exit sqlite
« Last Edit: November 15, 2017, 09:28:30 am by klondike »


  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #202 on: November 15, 2017, 10:40:06 am »
when i run watchman what i have to see?  example: watchman running? or?



togo had same errors in watchman...is this fixing? im stuck on red command


I dont see a problem with your config off the bat.  But for the 4th time, what happens when you *type what is in your crobtab -e into the command line verbatim*?

Next, what is your IP?  I want to look at your masternode status.

Next, what happens when you type select * from votes in Togos guide?



  • togoshigekata
  • Sr. Member

    • 431


    • 25
    • September 01, 2017, 10:21:10 am
    • USA
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #203 on: November 15, 2017, 11:42:10 am »
Togo, I just pushed out 1059 if you want to upgrade and continue debugging retirement accounts now.

Awesome!, I downloaded latest Windows 32 exe from biblepay.org but looks like its version 1.0.5.6

Updating my Linux Masternode right now, I can test from there for now

Edit, updated to 1.0.5.9 on Linux, sadly my account doesnt have any RBBP or BBP, so Im going to let it mine for a bit



« Last Edit: November 15, 2017, 12:13:08 pm by togoshigekata »


  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #204 on: November 15, 2017, 12:05:43 pm »

I dont see a problem with your config off the bat.  But for the 4th time, what happens when you *type what is in your crobtab -e into the command line verbatim*?

Next, what is your IP?  I want to look at your masternode status.

Next, what happens when you type select * from votes in Togos guide?
my IP ending 106 ...

and im wrote STUCK: dont understand what are you meaning
Quote
"what happens when you *type what is in your crobtab -e into the command line verbatim*?"
this ic command in putty  * from votes

 :-X :-X :-X

togo or admin : have you teamviewer? you can via remote check where have i problem. Its sad that only you,togo,tiras we are only the testers masternodes ...
« Last Edit: November 15, 2017, 01:19:15 pm by klondike »


  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #205 on: November 15, 2017, 12:54:48 pm »
my IP ending 106 ...

and im wrote STUCK: dont understand what are you meaning
 :-X :-X :-X

togo or admin : have you teamviewer? you can via remote check where have i problem. Its sad that only you,togo,tiras we are only the testers masternodes ...
Oh OK 106, new_start_required OK, yeah something is stll wrong then.  When you typed venv/bin/python bin/watchman.py earlier, and saw no error message it led me to believe you were working fine.

So what I would really like you to do next is open your crontab -e, and copy the command, the whole command including the cd && part, to the command line and type it in, and see if there is an error. 

Next, ensure if you are running venv/bin/python bin/watchman.py as root, that biblepayd is running as root also. On the same box.  As your watchman account must match your biblepayd account.

Another words, you cant run biblepayd as "ubuntu" or "debian" and watchman as "root".  Both must be root if one is root.  Or both must be ubuntu if one is ubuntu.




  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #206 on: November 15, 2017, 12:57:27 pm »
Awesome!, I downloaded latest Windows 32 exe from biblepay.org but looks like its version 1.0.5.6

Updating my Linux Masternode right now, I can test from there for now

Edit, updated to 1.0.5.9 on Linux, sadly my account doesnt have any RBBP or BBP, so Im going to let it mine for a bit

Thats sweet, I think I have a command that lets me send you retirement coins now (this can only be done via biblepayers who want to transfer retirement coins to retirementcoins btw of course), what is your receiving address, lets test that too?



  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #207 on: November 15, 2017, 01:26:12 pm »
im still as root all commands
after nightshift ill try to do command from crontab to command line
6:20 morning EU TIME ill be here: your -8hour,dont know what USA TIME ZONE are you.. im +1hours EU

added line in crontab line is this  * * * * * cd .biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1

what command from this i have to use like run command? this cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py  ?

where i see if watchman running? Verify the output is empty?

thanks

« Last Edit: November 15, 2017, 01:37:39 pm by klondike »


  • Rob Andrews
  • Administrator

    • 2032


    • 27
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #208 on: November 15, 2017, 01:34:00 pm »
im still as root all commands
after nightshift ill try to do command from crontab to command line
6:20 morning EU TIME ill be here: your -8hour,dont know what USA TIME ZONE are you.. im +1hours EU

added line in crontab line is this  * * * * * cd .biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1

what command from this i have to use like run command? this cd  .biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1 ?

where i see if watchman running?

thanks

Try to cd to ~/.biblepaycore/watchman, then run this command as root:

Code: [Select]
cd .biblepaycore/watchman && ./venv/bin/python bin/watchman.py

This is what you pasted from your crontab.

Which looks incorrect.

It should be:
cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py



Rob


  • klondike
  • Full Member

    • 189


    • -10
    • October 10, 2017, 09:00:24 am
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #209 on: November 15, 2017, 01:40:56 pm »
this is need on the end?   >/dev/null 2>&1?

yeah cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1