Witness, Developer, Founder of SteemAuto and Steemfollower, Crypto Analyser and Chemical & Software Eng. - Please Vote for 'mahdiyari' Witness.
STEEM
https://steemauto.com
I decided to write this up after the recent announcement by TypeScript: A 10x faster TypeScriptI always had a love/hate relationship with TypeScript for the most part. I hated it because you need to compile the code and do other things beside coding to make it work with Node.js etc. I loved it because it is a superior "language" when comparing with JS as it offers way more convenience and standards.
A notice to people using the new HafSQL node : There is a minor breaking change incoming. The following functions don't exist anymore:They are moved under a different schema To not break any existing apps I did setup a secondary node for you to transition your apps:
There are multiple ways of running a hived node. In this post we use docker compose for an easier setup. By default everything will be contained in one directory for easier management.Recently @gtg also published a good post. You might want to check that out. It is a good post specially for the exchanges: Hive Node Setup for the Smart, the Dumb, and the Lazy.
HafSQL went through a big update. This is a release candidate and not a final release as HAF 1.27.6 is not released yet. This version of HafSQL is compatible with HAF 1.27.6-rc9.There are a lot of breaking changes. In terms of API usage, the REST APIs are replacing the JSON RPC methods. Database tables and views have been also changed.
I did announce how my public HAF/HafSQL node was down in the last post and how it is going to be back up in 2 days.Well, I was wrong. As it turns out the main server is broken somehow. I don't know what is wrong but it is way under performing. HafSQL should have taken 24 hours to finish syncing but after 4 days it is still around 20% done on this server.
DowntimeThe public HAF/HafSQL node that I'm operating, , will be down for 2 days. More info on the node is here.This morning the HAF node on the main server died. This wouldn't be a big deal as I do also have a backup server. But unfortunately I took down the backup server couple of days ago to deploy a new code with updated HAF. So now both servers are down.