Skip to content

Commit

Permalink
Windows build and config
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed May 22, 2018
1 parent 66bc0ba commit 32b0e9e
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 0 deletions.
13 changes: 13 additions & 0 deletions windows/build-win.sh
@@ -0,0 +1,13 @@
#!/bin/sh

set -eu
rm -f snowblossom-windows.zip
cd ..
bazel build :SnowBlossomMiner_deploy.jar :SnowBlossomNode_deploy.jar :SnowBlossomClient_deploy.jar

rsync -avP bazel-bin/*_deploy.jar windows/snowblossom/

cd windows
zip -r -9 snowblossom-windows.zip snowblossom


6 changes: 6 additions & 0 deletions windows/snowblossom/client.bat
@@ -0,0 +1,6 @@

java -jar SnowBlossomClient_deploy.jar client.conf monitor
pause



5 changes: 5 additions & 0 deletions windows/snowblossom/client.conf
@@ -0,0 +1,5 @@
network=mainnet
node_host=localhost

wallet_path=wallet

4 changes: 4 additions & 0 deletions windows/snowblossom/miner.bat
@@ -0,0 +1,4 @@

java -jar SnowBlossomMiner_deploy.jar miner.conf
pause

11 changes: 11 additions & 0 deletions windows/snowblossom/miner.conf
@@ -0,0 +1,11 @@
network=mainnet
node_host=localhost
snow_path=snow

mine_to_wallet=wallet

threads=4

auto_snow=true


6 changes: 6 additions & 0 deletions windows/snowblossom/node.bat
@@ -0,0 +1,6 @@

java -jar SnowBlossomNode_deploy.jar node.conf
pause



16 changes: 16 additions & 0 deletions windows/snowblossom/node.conf
@@ -0,0 +1,16 @@
db_type=rocksdb

db_path=snowdb



service_port=2338


network=mainnet


peer_count=8



33 changes: 33 additions & 0 deletions windows/snowblossom/readme.txt
@@ -0,0 +1,33 @@
## Download Self-contained Zip file

[snow-win-mainnet-launch.zip](https://snowblossom.org/releases/snow-win-mainnet-launch.zip)

Extract that file.

## Download snowfield torrent files - only needed for mining

You can let the miner binary build these automatically, but it does take some time so you may prefer to download them.
https://snowblossom.org/snowfields/index.html

To start with, you'll probably want snowblossom.0 and snowblossom.1. More will be required as the network increases hashing power.

Put the resulting files in the "snow" directory created by extracting the zip file above.

## Start Node

* Run node.bat
* That will start up a terminal window, leave that running.

## Start Client

* Run client.bat
* That will generate some addresses and display your balance. You can leave that running or close it.

## Start Miner

* Run miner.bat
* This will use your local node for information to mine. When it is working properly it will display a hash rate
that looks like:
** INFO: Mining rate: 46110.5/sec
* When it finds a block, the client display should soon update with the block value.

7 changes: 7 additions & 0 deletions windows/snowblossom/snow/readme.txt
@@ -0,0 +1,7 @@
If you have them downloaded, the snowblossom.0 ... snowblossom.10 directories should be put here.

If not, they will be generated as needed.

snowblossom.0 and snowblossom.1 are probably a good start and all that will be needed for a while.


0 comments on commit 32b0e9e

Please sign in to comment.