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.


Topics - checkrasier

Pages: [1]
1
General Discussion / Building Graphene on Windows
« on: February 14, 2016, 04:55:51 pm »
Just wanted to thank whomever put this windows build tutorial together.

https://neura-sx.gitbooks.io/graphene-book/content/book/builds/tutorial-windows-build.html

Finally able to successfully build witness node and cli wallet on Windows!

Does anyone know if there is similar tips and hacks for building the light-client on windows?



2
Stakeholder Proposals / Running pricefeed scprits on Windows
« on: October 23, 2015, 06:43:32 am »
If your setting up a witness node on Windows here are the steps I used to get xeroc pricefeed scripts publishing on Windows   

1. Download and Install Python 3.5.0 (32-bit) for Windows:
https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe

Do a Full install so pip gets included in the installation
Check - Add Python 3.5 to PATH

Optional: Change Pyhton's install directory to C:\Python 3.5

2. Install required python libs

Open Command Prompt and run:
pip install requests
pip install prettytable
pip install autobahn

NumPy is required but it has to be complied with Visual Stuido or mingw32.
If you have a complier configured with python:
pip install numpy

You can also download a precompiled verion here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
Download - numpy‑1.10.1+mkl‑cp35‑none‑win32.whl
Move to this file to C:\

pip install c:\numpy-1.10.1+mkl-cp35-none-win32.whl

3. Download and install python-graphenelib from xeroc GitHub.
https://github.com/xeroc/python-graphenelib
Select download ZIP
Extract zip file to C:\

Open command prompt:
cd C:\python-graphenelib-master
python setup.py install --user

4. Configure Pricefeeds:
In the C:\python-graphenelib-master\scripts\pricefeeds folder
Rename config-example.py to config.py

Edit config.py with IDLE and change:
host = "127.0.0.1"
port = 8092
delegate_name = "your_witness"
enable_yunbi = False
maximum_short_squeeze_ratio  = 1100

5. Run CLI wallet 
Open Command Prompt or create .bat file

cd C:\Program Files\BitShares 2\bin\
cli_wallet --rpc-http-endpoint="127.0.0.1:8092" -s ws://127.0.0.1:8090

unlock your wallet.  Wallet must be unlocked to publish price feeds.

6. Run the pricefeeds scripts
Open Command Prompt
python "C:\python-graphenelib-master\scripts\pricefeeds\pricefeeds.py"

If everything worked correctly you should get a Y/N confirmation to publish feeds

7. Using Windows Scheduler to run the pricefeed scripts every 60 mins
If you don't what to have repeat step 6 every 60 mins create a task in Windows Scheduler.

Create a pricefeeds.bat file containing:
echo Y|C:\Python3.5\python.exe "C:\python-graphenelib-master\scripts\pricefeeds\pricefeeds.py "

(The echo Y| confirms the price feed update.)

Open Task Scheduler:
Control Panel - System and Security - Administrative Tools - Task Scheduler

Select Create Task...

On the General Tab
Name: pricefeeds
Select "Run whether user is logged on or not"

On the Triggers Tab
Select New
Begin the task On a schedule - One Time - Set Start Date at Time for your pricefeed update
Check the Repeat task every: 1 hour for a duration of Indefinitely
Check Enabled

On the Actions Tab
Select New
Action: Start a program
Browse to the pricefeed.bat file you created
OK

Your witness should now be publishing updated pricefeeds every 60 minutes. 

Thank you to all everyone that help get this working!

3
General Discussion / Problem updating delegate to 0.4.22
« on: October 27, 2014, 04:33:21 pm »
I am running into a problem updating my delegate to version 0.4.22 on ubuntu
The build seemed to complete with no problems.

Below is the error I am getting from gdb during re-indexing.

Re-indexing database... Approximately 65.39% complete.
Program received signal SIGBUS, Bus error.
[Switching to Thread 0x7fffe6302700 (LWP 4962)]
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:37
37      ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.

Any ideas what I am doing wrong? 

Should I try to redownload the blockchain?

Thanks

4
Stakeholder Proposals / If you like poker vote for delegate checkraiser
« on: October 04, 2014, 01:51:16 am »
Hello bitshares community, greetings from the windy city! 

I have learned so much from this great community since I began mining PTS in late 2013 and consider myself lucky to be part of the February snapshot.  The level of innovation being deliver by this platform is truly inspiring and has motivated me to setup a dedicated delegate on AWS (Oregon Based).  Delegate checkraiser is ready to server as a delegate and I have set the payrate to 50% as a way to give back to this great community.

Delegate checkraiser is updating with each release and now needs your vote to get into the top 100 to begin publishing price feeds.

wallet_approve_delegate checkraiser

With the other 50% my goal is to promote BitUSD (and other FIAT pegged assets) for use in online poker gaming. I can’t wait until someone launches a poker DAC!

My background is mechanical engineering and I have worked on the sales side of the software industry since the turn of the century. 

Please don’t hesitate to post questions and I will respond ASAP.

Thank you in advance for your vote!



btsx:checkraiser/approve

5
General Discussion / Covered a short position but margin order still open?
« on: September 15, 2014, 07:09:57 pm »
I recently covered an short position in the bitusd market.  The bitusd was subtracted from my wallet and the network paid the yield in that transaction.  My problem is the btsx collateral was not returned and the margin order is showing as open.

Using the win32 gui updated to 0.4.15a and re scanned the blockchain but still showing the margin order.

Any ideas on how to resolve this?

 

Pages: [1]