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 - togoshigekata

Pages: 1 ... 22 23 24 25 26 27 28 [29] 30 31 32
421
I received the Bible in the mail Tuesday morning and got it out today, Thank you Rob!

./biblepay-cli exec orderstatus
{
  "Command": "orderstatus",
  "0718083296": {
    "Product ID": "0718083296",
    "Price": 12230,
    "Added": "",
    "Title": "The NKJV, Holy Bible, Larger Print, Paperback",
    "Status1": "PLACED",
    "Status2": "FILLING ORDER",
    "Status3": "USPS XXXXX",
    "Details": ""
  }
}

422
Code: [Select]
./biblepay-cli exec orderstatus
{
  "Command": "orderstatus",
  "0718083296": {
    "Product ID": "0718083296",
    "Price": 12230,
    "Added": "",
    "Title": "The NKJV, Holy Bible, Larger Print, Paperback",
    "Status1": "PLACED",
    "Status2": "FILLING ORDER",
    "Status3": "USPS XXXXXXX",
    "Details": ""
  }
}

I see the tracking number! (replaced it with Xs)
USPS tracking service is currently down haha, so cant check online yet, but awesome!

423
Code: [Select]
./biblepay-cli getwalletinfo
{
  "balance": 629975.95447854,
}

./biblepay-cli exec listproducts
{
    "Price": 12230,
}

./biblepay-cli exec buyproduct 0718083296
{
  "Command": "buyproduct",
  "OrderID": "ef91049ee3f2560c4abc15261fdc09640af20d98e20dcc2187b5f3e6eadb0b4e",
  "TXID": "ef91049ee3f2560c4abc15261fdc09640af20d98e20dcc2187b5f3e6eadb0b4e",
  "Status": "SUCCESS"
}

[email protected]:~/biblepay/src$ ./biblepay-cli getwalletinfo
{
  "balance": 617745.95441494,
}

./biblepay-cli exec orderstatus
{
  "Command": "orderstatus",
  "0718083296": {
    "Product ID": "0718083296",
    "Price": 12230,
    "Added": "",
    "Title": "The NKJV, Holy Bible, Larger Print, Paperback",
    "Status1": "PLACED",
    "Status2": "",
    "Status3": "",
    "Details": ""
  }
}

Success!

Looks like for key delivery_address2 it did not like the # I had in the value
For example I had delivery_address=Apt #12345
Removing the Hashtag worked!
Thanks Rob! :)
(Im off to bed for now!)


424
Awesome! Ok I tried again:

Code: [Select]
./biblepay-cli exec buyproduct 0718083296
error code: -1
error message:
Address Valiation Failed (US Addresses Only)

Hmm I put my address into UPS address validation and it looks good,
only difference is they add the the dash and 4 extra zip code digits at the end
EDIT: Tried dash and extra 4 zip digits, same error hmmm

425
Tested ecommerce again!

Facepalm... I had one config key misspelled... hahaha

I have a new error now:

Code: [Select]
./biblepay-cli exec buyproduct 0718083296
error code: -1
error message:
BAD USERID

I believe these are the relevant lines in the code, I couldnt find USERID though:

https://github.com/biblepay/biblepay/blob/9f4868bd447b2346bd1ddd5f04207cec27127a9c/src/rpcblockchain.cpp#L2036

https://github.com/biblepay/biblepay/blob/9f4868bd447b2346bd1ddd5f04207cec27127a9c/src/rpcblockchain.cpp#L1292

426
after re-syncing got the status "NEW_START_REQUIRED"

I think you just need to run the masternode start-alias command from the controller wallet:

Code: [Select]
masternode start-alias SANCTUARY_ALIAS
replace SANCTUARY_ALIAS with the label/alias you named your masternode address

427
I tested v1.0.6.2 in testnet on my Ryzen,
at 26 threads I got 12.3-13k HPS, it fluctuated alot in that range
Does this seem correct? >.>

428
./biblepay-cli exec buyproduct 0718083296
error code: -1
error message:
Delivery name, address, city, state, zip, and phone must be populated.  Please modify your biblepay.conf file to have: delivery_name, delivery_address, delivery_address2 [OPTIONAL], delivery_city, delivery_state, delivery_zip, and delivery_phone populated.

I have the main biblepay.conf file inside ~/.biblepayconf edited with these values added hmmmm

429
For the ecommerce config,

is it okay to have spaces in the config values?
Do I need to put double quotes around values with spaces?

For state should I use TX or Texas?
For phone do I need to add dashes or anything?

Thanks!

430
So, e-commerce is just about ready to test in testnet. 

So far you can list the products from amazon, buy a product, track your order and see your order status history.

I need to write a wiki though similar to retirement accounts in order for you to understand how to test it.

The code has changed, so that will require an upgrade.  Ill be checking it in in about 15 minutes.

Is anyone out there up for an e-commerce test?

Here is a little Primer on BiblePay E-Commerce:

http://wiki.biblepay.org/Ecommerce

Please see directions.

The new Ecommerce code requires 1.0.6.2.   Please upgrade in testnet.

Oh one other thing, on the e-commerce, if you will go ahead and set your actual real home delivery address in the client for the test, I am giving a free gift.  Im giving the actual bible seen in the wiki page to testnet testers.  This way we can test, receive a bible and also see the USPS tracking # in the client.  So if anyone wants to put in the info and go ahead and order it let me know the order guid and Ill see if the biblepay Mouse API worked or not.

Ill update my masternode to v1.0.6.2 right now

And update my biblepay.conf
delivery_name
delivery_address
delivery_address2
delivery_city
delivery_state
delivery_zip
delivery_phone

Ecommerce Commands:
exec listproducts
exec buyproduct 0718083291
exec orderstatus

===

I think Im the only enabled masternode at the moment? Do I need to reindex?

431
I have a Ryzen CPU mining BiblePay,

"AMD RYZEN 7 1700 8-Core 3.0 GHz (3.7 GHz Turbo) Socket AM4 65W YD1700BBAEBOX Desktop Processor"
https://www.newegg.com/Product/Product.aspx?Item=N82E16819113428&cm_re=ryzen_7-_-19-113-428-_-Product

It has Ubuntu 16.04 installed and an SSD drive
I overclocked it from 3.0GHz to 3.65GHz

it currently has been solo mining and is running v1.0.6.1 of BiblePay on mainnet
At 26 mining threads (100% CPU) I am getting a HPS of 280k

====

What is f8000?
Ill switch the pc to testnet and report back

432
How can I help test these retirement accounts?

http://wiki.biblepay.org/Retirement_Accounts

exec retirementbalance
exec tradehistory
exec orderbook
exec listorders
exec order [  Buy/Sell/Cancel ]   Qty  Symbol [Price]

Im free to test too :)

433
Ok on Linux machine I just realized I never removed the banlist.dat file from the ~/.biblepaycore/testnet3 folder, woops,
I only had 2 connections before, now I have 12! Not sure how much this affected the retirement coin testing  :-\

I assume in the future we will want banlist.dat file?
Is there a linux command to delete the contents inside the file?
I just used rm (remove) command, but I assume that means I cant ban anyone going forward now.

===

Rebuilding/Resyncing Chain:

GUI:  Tools >> Wallet Repair >> Rebuild index
Linux:  ./biblepayd -daemon -reindex

===

Windows GUI Wallet is now v1.0.5.9
Linux Wallet is now v1.0.6.1

434
Code: [Select]
[email protected]:~/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
}
[email protected]:~/biblepay/src$ ./biblepay-cli exec retirementbalance
{
  "Command": "retirementbalance",
  "balance": 1004565
}
[email protected]:~/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|                                         "
}
[email protected]:~/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"
}
[email protected]:~/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|                                         "
}
[email protected]:~/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 "
}
[email protected]:~/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."
}
[email protected]:~/biblepay/src$ ./biblepay-cli exec retirementbalance
{
  "Command": "retirementbalance",
  "balance": 1034515
}
[email protected]:~/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

435
Code: [Select]
./biblepay-cli exec orderlist
{
  "Command": "orderlist",
  "#": 0,
  "#": 1,
  "Address": "8nhyyaPy79cbUvSaMRTdJtaX7wXUo1nFdW",
  "Hash": "0000000000000000000000000000000046e4601e60d451534891c6eeb990960b",
  "Symbol": "RBBP",
  "Action": "BUY",
  "Qty": 1100,
  "BBP_Price": 2,
  "#": 2,
  "Address": "8nhyyaPy79cbUvSaMRTdJtaX7wXUo1nFdW",
  "Hash": "0000000000000000000000000000000059b84b37ccdbdab2de88921ec0090b16",
  "Symbol": "RBBP",
  "Action": "SELL",
  "Qty": 1000,
  "BBP_Price": 7,
  "#": 3,
  "Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "Hash": "00000000000000000000000000000000eaf5580e5af715a422a3af748be2283a",
  "Symbol": "RBBP",
  "Action": "SELL",
  "Qty": 5,
  "BBP_Price": 5,
  "#": 4,
  "Address": "8nhyyaPy79cbUvSaMRTdJtaX7wXUo1nFdW",
  "Hash": "0000000000000000000000000000000044f81691000e57a1571f888714925a5d",
  "Symbol": "RBBP",
  "Action": "BUY",
  "Qty": 1000,
  "BBP_Price": 7,
  "#": 5,
  "Address": "yhXZrX7KCG9W7mSQt2mkkMP4VhePbDeGzU",
  "Hash": "00000000000000000000000000000000537acece1916dd50bdcfbbaf21ce795d",
  "Symbol": "RBBP",
  "Action": "SELL",
  "Qty": 5,
  "BBP_Price": 5,
  "#": 6,
  "Address": "yhXZrX7KCG9W7mSQt2mkkMP4VhePbDeGzU",
  "Hash": "00000000000000000000000000000000d9f7a3268fbaf0b915caca43d2d9af68",
  "Symbol": "RBBP",
  "Action": "SELL",
  "Qty": 10000,
  "BBP_Price": 3,
  "#": 7,
  "Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "Hash": "00000000000000000000000000000000925b9cb1dbd9d6ce3a42f06eaf823ba6",
  "Symbol": "RBBP",
  "Action": "BUY",
  "Qty": 1100,
  "BBP_Price": 2.27,
  "#": 8,
  "Address": "yhXZrX7KCG9W7mSQt2mkkMP4VhePbDeGzU",
  "Hash": "000000000000000000000000000000002d024b17482a2f57ca098db92755f7c6",
  "Symbol": "RBBP",
  "Action": "BUY",
  "Qty": 5,
  "BBP_Price": 5,
  "#": 9,
  "Address": "yhXZrX7KCG9W7mSQt2mkkMP4VhePbDeGzU",
  "Hash": "00000000000000000000000000000000d9f6cd1a06c7e7d84eb267e64fa083c9",
  "Symbol": "RBBP",
  "Action": "SELL",
  "Qty": 1100,
  "BBP_Price": 2,
  "#": 10,
  "Address": "8nhyyaPy79cbUvSaMRTdJtaX7wXUo1nFdW",
  "Hash": "00000000000000000000000000000000dd439fa2940d5bc39bc09ce5d468d7cc",
  "Symbol": "RBBP",
  "Action": "BUY",
  "Qty": 1000,
  "BBP_Price": 9.199999999999999,
  "#": 11,
  "Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "Hash": "00000000000000000000000000000000fb1dd17f8688dcfed496632d5f035bd8",
  "Symbol": "RBBP",
  "Action": "BUY",
  "Qty": 10000,
  "BBP_Price": 3
}
[email protected]:~/biblepay/src$ ./biblepay-cli exec orderbook
{
  "0": "[S]Price Quantity  Amount   Total       (RBBP)  Price  Quantity Amount     Total   [B]",
  "0": "2.0000  1100      2200.00   2200.00      |RBBP| 9.2000  1000      9200.00   9200.00     ",
  "1": "3.0000  10000     30000.00  32200.00     |RBBP| 7.0000  1000      7000.00   16200.00    ",
  "2": "5.0000  5         25.00     32225.00     |RBBP| 5.0000  5         25.00     16225.00    ",
  "3": "5.0000  5         25.00     32250.00     |RBBP| 3.0000  10000     30000.00  46225.00    ",
  "4": "7.0000  1000      7000.00   39250.00     |RBBP| 2.2700  1100      2497.00   48722.00    ",
  "5": "                                         |RBBP| 2.0000  1100      2200.00   50922.00    ",
  "6": "                                         |RBBP|                                         "
}
[email protected]:~/biblepay/src$ ./biblepay-cli exec order buy 1100 rbbp 2.29
{
  "Command": "order",
  "Action": "BUY",
  "Symbol": "RBBP",
  "Qty": 1100,
  "Price": 2.29,
  "Rec Address": "yjUmY8EmuSKf6EWJf4aajWovksV2TQbxWc",
  "Placing Order": "0000000000000000000000000000000041346b76d79494179efbc8cfa2b1903d"
}

ok executed buy order real quick
./biblepay-cli exec order buy 1100 rbbp 2.29

but, weird I dont see your order again, very strange

Pages: 1 ... 22 23 24 25 26 27 28 [29] 30 31 32