Bible Pay

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rob Andrews

Pages: 1 ... 249 250 251 252 253 254 255 [256] 257 258 259 260 261 262 263 264
3826
So I opened a 2nd instance of Putty and connected to AWS Ubuntu server and ran ./biblepayd -daemon

in the 1st instance, I then ran ./biblepay-cli exec orderbook 5 times

Code: [Select]
./biblepay-cli exec orderbook
{
  "0": "[S]Price Quantity  Amount   Total       (RBBP)  Price  Quantity Amount     Total   [B]",
  "0": "0.5000  1000      500.00    500.00       |RBBP| 5.0000  5         25.00     25.00       ",
  "1": "5.0000  5         25.00     525.00       |RBBP| 3.0000  10000     30000.00  30025.00    ",
  "2": "5.0000  5         25.00     550.00       |RBBP| 0.5000  1000      500.00    30525.00    ",
  "3": "                                         |RBBP| 0.5000  5000      2500.00   33025.00    ",
  "4": "                                         |RBBP| 0.5000  1000      500.00    33525.00    ",
  "5": "                                         |RBBP| 0.0100  8000      80.00     33605.00    ",
  "6": "                                         |RBBP|                                         "
}

Oh cool, well lets see if anything different is happening, I just placed a sell:
exec order sell 1100 rbbp 2.27

You want to try a buy for same amount?


3827
10-4 on QT, no problem.

Oh wait a minute, not sure if this is it, but, trading requires a background thread, in order to "ask" the other node if its OK to trade and send the escrow out.  Im thinking possibly since you are using biblepay-cli, maybe the thread isnt starting.  Could you try running biblepayd in another window and leave it running, then try the 'exec orderbook' a couple times from cli? 

In the mean time Ill start compiling windows so we can test win-win tomorrow.


So also, I just tested trading from an instance of biblepay-cli to myself and it actually worked, so I think the thread is working :)

Could you please check your log for "Trading Thread started"
and
Orig trade address %s  Orig Trade Amount %f

and see if any of that exists? 


3828
./biblepay-cli exec listdebug
{
  "Command": "listdebug"
}

For linux I sadly only have command line at the moment

10-4 on QT, no problem.

Oh wait a minute, not sure if this is it, but, trading requires a background thread, in order to "ask" the other node if its OK to trade and send the escrow out.  Im thinking possibly since you are using biblepay-cli, maybe the thread isnt starting.  Could you try running biblepayd in another window and leave it running, then try the 'exec orderbook' a couple times from cli? 

In the mean time Ill start compiling windows so we can test win-win tomorrow.


3829
On a side note, Togo, do you have access to the -qt version?  IE can you run the compiled biblepay-qt?  Im wondering if buying rbbp from the QT version changes any behavior.


3830
~/biblepay/src$ ./biblepay-cli exec retirementbalance
{
  "Command": "retirementbalance",
  "balance": 1001342
}

Thanks!

===========

I created some sell orders earlier but I dont think they executed:
./biblepay-cli exec order sell 5 rbbp 5
I ran same command twice on accident as well

I just created a buy order:

./biblepay-cli exec order buy 10000 rbbp 3
{
  "Command": "order",
  "Action": "BUY",
  "Symbol": "RBBP",
  "Qty": 10000,
  "Price": 3,
  "Rec Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "Placing Order": "00000000000000000000000000000000fb1dd17f8688dcfed496632d5f035bd8"
}

Cool, just got back to the machine.  It looks like we are getting about as far as we got yesterday.
I see your order in the orderbook, I placed my order, and see both orders in the orderbook (I did the sell 10000), I see my escrow went out of my machine, but your escrow didnt leave.

Try to do a

15:45:12

exec listdebug


15:45:12

{
  "Command": "listdebug",
  "1510782211": "PREPARING ESCROW FOR 30000.00 RBBP FOR SANCTUARY yadZnJ3hD3FRC8CiLZEVNqejvQFgNtu5ci OLD ESCTXID "
}


exec listdebug, and see if anything is there?



3831
Assuming this is command to get default address?
./biblepay-cli getaccountaddress ""

Address:  yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc

Edit: I just tested sending myself 300k tBBP coins and the address is correct :)

ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli getwalletinfo
{
  "walletversion": 61000,
  "balance": 0.00000000,
  "retirement_account_balance": 0,
  "unconfirmed_balance": 300000.00000000,
  "immature_balance": 124166.83733995,
  "txcount": 17,
  "keypoololdest": 1507584559,
  "keypoolsize": 1001,
  "keys_left": 998,
  "paytxfee": 0.00000000
}

Is there an unconfirmed retirement balance?,
I assume I will get some tRBBP once the immature tBBP coins I have mature?

But yes please send me some! :)

Yes, good address.  Ok I just sent you 100,000 rbbp.  I believe you have to wait for 5 confirms before you see it:


15:25:06

exec sendto401k 100000 yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc


15:25:08

{
  "Command": "sendto401k",
  "Destination Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "DefRecAddr": "yhXZrX7KCG9W7mSQt2mkkMP4VhePbDeGzU",
  "OutboundColor": "401",
  "XML": "<color>401</color><transactiontype>OCO</transactiontype><rules><expectedamount>10000000000000.0000</expectedamount><expectedrecipient>yhXZrX7KCG9W7mSQt2mkkMP4VhePbDeGzU</expectedrecipient><expectedcolor></expectedcolor></rules>",
  "txid": "561329bfbb61989793f78cd9f043d6660474e79e272ee3151386f4fc443d05b8"
}


Note, please dont use the exec sendto401k command yet, as there is a bug in it, will be fixed in the next version though (Im running the renegade).

Let me know if your balance increases then we can try trading again?



3832
oh Also another note:
 I still only have 500k tBBP in address/escrow for masternode/sanctuary,
 I believe you raised it to 1.5 million tBBP?  is that requirement in code yet?

Edit:
https://github.com/biblepay/biblepay/blob/master/src/main.cpp#L80
Ok cool, looks like its still 500k :)

Yeah, still 500k in testnet.  Will confirm the Prod amount on Thanksgiving.

Hmm, let me try to send you some RBBP.


3833
this is need on the end?   >/dev/null 2>&1?

yeah cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1
Ive been saying for 2 pages now to run the command found in your crontab WITHOUT THE /dev/null suffix!  Thats why I left it off in my example.

No wonder you think our guides suck.

So again, what i want you to do is change your crontab to:
cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1

Then I want you to exit crontab and cd to ~/.biblepaycore/watchman

Then I want you to execute the command:
cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py


Which is what is in the crontab minus the suffix.

Then I want you to paste the outcome (which should be blank if all is working)

And I want you to tell us if your biblepayd is already running or not.






3834
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

3835
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?


3836
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.



3837
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?


3838
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.


3839
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.



3840
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


Pages: 1 ... 249 250 251 252 253 254 255 [256] 257 258 259 260 261 262 263 264