496
TestNet Discussion Archive / Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« on: November 15, 2017, 07:50:05 PM »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
Edit2: Tradehistory shows I should have:
lost -35,016 BBP
and gained 12,200 RBBP