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 ... 248 249 250 251 252 253 254 [255] 256 257 258 259 260 261 262 263
3811
I just did a new :

21:30:47

exec order sell 5000 rbbp 1.35

If someone wants to jump on and enter an opposing buy order?


3812
Code: [Select]
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli getwalletinfo
{
  "walletversion": 61000,
  "balance": 663838.95482574,
  "retirement_account_balance": 1004565,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 36,
  "keypoololdest": 1507584559,
  "keypoolsize": 1001,
  "keys_left": 1001,
  "paytxfee": 0.00000000
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli exec retirementbalance
{
  "Command": "retirementbalance",
  "balance": 1004565
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./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| 9.2000  1000      9200.00   9200.00     ",
  "1": "1.2400  2100      2604.00   3104.00      |RBBP| 5.0000  5         25.00     9225.00     ",
  "2": "2.2700  1100      2497.00   5601.00      |RBBP| 3.0000  10000     30000.00  39225.00    ",
  "3": "2.2900  1100      2519.00   8120.00      |RBBP| 2.2900  1100      2519.00   41744.00    ",
  "4": "3.0000  10000     30000.00  38120.00     |RBBP| 2.2700  1100      2497.00   44241.00    ",
  "5": "5.0000  5         25.00     38145.00     |RBBP| 2.0000  1100      2200.00   46441.00    ",
  "6": "5.0000  5         25.00     38170.00     |RBBP| 1.0000  1         1.00      46442.00    ",
  "7": "                                         |RBBP| 0.5000  1000      500.00    46942.00    ",
  "8": "                                         |RBBP| 0.5000  5000      2500.00   49442.00    ",
  "9": "                                         |RBBP| 0.5000  1000      500.00    49942.00    ",
  "10": "                                         |RBBP| 0.0100  8000      80.00     50022.00    ",
  "11": "                                         |RBBP|                                         "
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli exec order buy 2100 rbbp 1.24
{
  "Command": "order",
  "Action": "BUY",
  "Symbol": "RBBP",
  "Qty": 2100,
  "Price": 1.24,
  "Rec Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "Placing Order": "0000000000000000000000000000000077707dd750c97dd7d21e316fe8b6e497"
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./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| 9.2000  1000      9200.00   9200.00     ",
  "1": "1.2400  2100      2604.00   3104.00      |RBBP| 5.0000  5         25.00     9225.00     ",
  "2": "2.2700  1100      2497.00   5601.00      |RBBP| 3.0000  10000     30000.00  39225.00    ",
  "3": "2.2900  1100      2519.00   8120.00      |RBBP| 2.2900  1100      2519.00   41744.00    ",
  "4": "3.0000  10000     30000.00  38120.00     |RBBP| 2.2700  1100      2497.00   44241.00    ",
  "5": "5.0000  5         25.00     38145.00     |RBBP| 2.0000  1100      2200.00   46441.00    ",
  "6": "5.0000  5         25.00     38170.00     |RBBP| 1.2400  2100      2604.00   49045.00    ",
  "7": "                                         |RBBP| 1.0000  1         1.00      49046.00    ",
  "8": "                                         |RBBP| 0.5000  1000      500.00    49546.00    ",
  "9": "                                         |RBBP| 0.5000  5000      2500.00   52046.00    ",
  "10": "                                         |RBBP| 0.5000  1000      500.00    52546.00    ",
  "11": "                                         |RBBP| 0.0100  8000      80.00     52626.00    ",
  "12": "                                         |RBBP|                                         "
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli exec listdebug
{
  "Command": "listdebug",
  "1510796794": "PREPARING ESCROW FOR 25.00 RBBP FOR SANCTUARY yadZnJ3hD3FRC8CiLZEVNqejvQFgNtu5ci OLD ESCTXID ",
  "1510796795": "PREPARING ESCROW FOR 30000.00 RBBP FOR SANCTUARY yadZnJ3hD3FRC8CiLZEVNqejvQFgNtu5ci OLD ESCTXID ",
  "1510796798": "PREPARING ESCROW FOR 2497.00 RBBP FOR SANCTUARY yadZnJ3hD3FRC8CiLZEVNqejvQFgNtu5ci OLD ESCTXID ",
  "1510796799": "PREPARING ESCROW FOR 25.00 RBBP FOR SANCTUARY yadZnJ3hD3FRC8CiLZEVNqejvQFgNtu5ci OLD ESCTXID ",
  "1510796864": "PREPARING ESCROW FOR 2604.00 RBBP FOR SANCTUARY yadZnJ3hD3FRC8CiLZEVNqejvQFgNtu5ci OLD ESCTXID "
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli exec tradehistory
{
  "11/15/2017 7:46:35 PM": "BOT 10000 RBBP @ 3.0000 TOTAL 30000.00BBP ORDER 00000000000000000000000000000000fb1dd17f8688dcfed496632d5f035bd8.",
  "11/15/2017 7:46:42 PM": "BOT 1100 RBBP @ 2.2700 TOTAL 2497.00BBP ORDER 00000000000000000000000000000000925b9cb1dbd9d6ce3a42f06eaf823ba6.",
  "11/15/2017 7:46:43 PM": "BOT 1100 RBBP @ 2.2900 TOTAL 2519.00BBP ORDER 0000000000000000000000000000000041346b76d79494179efbc8cfa2b1903d."
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli exec retirementbalance
{
  "Command": "retirementbalance",
  "balance": 1034515
}
ubuntu@ip-172-31-34-47:~/biblepay/src$ ./biblepay-cli getwalletinfo
{
  "walletversion": 61000,
  "balance": 629715.55447854,
  "retirement_account_balance": 1039531,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 45,
  "keypoololdest": 1507584559,
  "keypoolsize": 1001,
  "keys_left": 995,
  "paytxfee": 0.00000000
}

Ok placed buy order!
./biblepay-cli exec order buy 2100 rbbp 1.24

Im seeing stuff in listdebug and tradehistory now!

Before buy order I had:
tBBP "balance": 663838.95482574,
tRBBP "balance": 1004565

After buy order I had:
tBBP "balance": 629715.55447854,
tRBBP "balance": 1034515

tBBP Difference:  -34123.4003472
tRBBP Difference: 29950

Hmmm, numbers seem weird, but Im not sure if multiple orders got executed
Looks like I had 1 miner thread running at the time too

Edit: Im now updated to 1.0.5.9b

Sweet well you should be able to do exec tradehistory, and see if that reconciles?


3813

Ahh, ok I see what happened, I crashed the sanctuary due to a buffer overflow.  Ok, luckily this might allow us to test a little more now, but I have to go in about 15 mins.  I restarted my sanctuary and now I can see the orders again.


So now try your orderbook, and lets try another trade :)

I just did this one, can you buy:
exec order sell 2100 rbbp 1.24


3814
Hmm, let me do some more testing, its not behaving quite right.   :P

3815
Its possible I may have a 5 min timeout on the escrow, so lets move to a new test if you are there, a time sensitive test
I just sold 1100 for 2.29, please try to buy quick
exec order sell 1100 rbbp 2.29

then, a couple mins later, do an exec orderbook once per minute, see if that kicks it through

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


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


3818
./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.


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


3820
~/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?



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



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


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






3824
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

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


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