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 ... 26 27 28 29 30 31 32 [33] 34 35 36
481
Ok, so Im stepping through sanctuary (masternode) creation process, this time with Vultr as host
(I was originally using AWS, but the Vultr pricing is a bit cheaper $5/mo vs $8.30/mo for 1CPU 1GB RAM)
[This is also my first time testing the swap file solution to extend the 1GB RAM]

===

Reference: http://wiki.biblepay.org/Create_Sanctuary
Note: 1,500,001 needs to be updated to 1,550,001

===

1. Create Account
https://www.vultr.com/register/

2. Add Payment Information

3. Download & Install PuTTY (SSH Client):
http://www.putty.org/

4. OPTIONAL: Generate SSH Public/Private Keys
https://www.vultr.com/docs/how-do-i-generate-ssh-keys/

5. Deploy Instance
https://my.vultr.com/deploy/

Instance Type:  VC2
  1. Server Location: Random
  2. Server Type: Ubuntu 16.04 x64
  3. Server Size: 1 CPU, 1024MB RAM, $5/mo (*Assuming using SWAP file later for more RAM)
  6. SSH Key: Add and Select Public Key you added in Step #4
  7. Serverhostname: Add unique name

6. Use Putty to Connect to Vultr Server
Enter IP Address, Port 22, Connection type SSH
You can add your private key file: Connection >> SSH >> Auth >> Browse
You can name and save your connection info:
Session >> Saved Sessions >> Enter a Unique Name >> Save

7. Install BiblePay
https://www.reddit.com/r/BiblePay/comments/6ummuj/how_to_mine_biblepay_on_linux/

7a. Swap File
Before running last command "sudo make", set up the swap file:
https://digitizor.com/create-swap-file-ubuntu-linux/
http://forum.biblepay.org/index.php?topic=16.msg151#msg151

Code: [Select]
free #check if swap is 0
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
swapon /var/swap.img
free #check if swap is 1024

===

Comments:
- I failed to do the public/private key correctly I'm not sure what I did wrong, weird
- the swap file thing is interesting I've never done that before

===

8. Continue on with Create Sanctuary Wiki: http://wiki.biblepay.org/Create_Sanctuary
My previous masternode notes: http://forum.biblepay.org/index.php?topic=16.msg151#msg151
(waiting for BiblePay to compile so will continue tomorrow and report back any issues I run into)

482
Alex your work on the Explorer has been AWESOME! Love what youre doing, puts my explorer to shame :P

I did notice your BTC C-CEX price got stuck
I could never get the Markets tab to work consistently, mine only works like 1/10th the time (whats your secret?)

483
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": ""
  }
}

484
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!

485
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"
}

ubuntu@ip-172-31-34-47:~/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!)


486
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

487
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

488
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

489
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? >.>

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

491
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!

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

493
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

494
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 :)

495
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

Pages: 1 ... 26 27 28 29 30 31 32 [33] 34 35 36