Post
Topic
Board Announcements (Altcoins)
Re: [ANN] HEAT: 3.0 crypto*multisig fiat*a2a hft*1000tps*DSA*PoS+PoP*e2ee chat*
by
someonesomeone
on 27/01/2017, 18:42:22 UTC
I get an error. Connection refused. Anyone have an idea why?

Too much noise in here ...

Can someone point me to windows forging instructions, please?

I'll try.  I'm a Linux guy and this is untested, so no promises.  This relies on HEAT server, so is probably unnecessarily complex.  (Hope they churn out a fancy light client like they did with FIMK -- is a heck of a lot easier for newbies).

The heatledger server should run on Windows (read the quick notes and download from here):
https://github.com/Heat-Ledger-Ltd/heatledger/releases

Unzip it.

See the readme here (notes for java installation):
https://github.com/Heat-Ledger-Ltd/heatledger/blob/master/README.md

Add a new heat.properties file in the conf/ folder (next to heat-default.properties).  Only one line for now:
Code:
heat.apiKeyDisabled=true

Run the heat server:
bin/heatledger.bat

.....

Okay, so now you should have a running HEAT server on your windows computer.  Now use the HTTP API to start forging.

Open the following URL in a private browser window (replace THIS%20IS%20THE%20PASSPHRASE with your account passphrase.  Spaces turn into %20):

http://localhost:7733/api/v1/mining/start/THIS%20IS%20THE%20PASSPHRASE

If you get a JSON response that includes "deadline" and "hitTime", it probably worked!  If you get a JSON response that says "error", it probably didn't.

If you don't use a private browser, this URL (which includes your passphrase) will be saved in history, so be careful.
.......

Anybody: Feel free to take this, test it, clean it up, and make more accessible.  
If you are on a Linux server without a graphical desktop, you can start mining like this:
Code:
wget http://localhost:7733/api/v1/mining/start/THIS%20IS%20THE%20PASSPHRASE
After you have started your forger, you can check if it is running using curl:
Code:
sudo apt-get install curl
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' 'http://localhost:7733/api/v1/mining/info'
If you are forging, it should return something like:
[{"deadline":63,"account":"xxxxxxxx","remaining":9,"hitTime":100201306}]