Decentralized Finance (Defi) is set to bring about a financial revolution globally. Contact Dappbrew!

DeFiChain (DFI) - USDT
DeFiChain (DFI) Trending Posts
New liquidity mining pools with decentralized assets (including tokenized stocks) have been setup and rdy for high % rewards in coming Monday. DFI liquidity squeeze has been driving the price up nearing another ATH in just a week. You can use the DFI light wallet or Cake DeFi. Those interested in Cake Defi can use https://cakedefi.com/?ref=425900 in a scratch my back will scratch yours situation ^_- I did my DYOR some time ago, now its time to do yours!
Lately the defichain network has been suffering from splits, which can be expensive for masternode owners (cost me thousands of dollars). Here's a script that notifies you immediately when your node is off the main chain, if it's out of sync by more than a couple blocks, or if you have received rewards. I'm using it now to avoid this from happening again. Hope others find it useful.
https://github.com/huwiler/defichain-masternode-scripts/blob/master/checkserver.sh
EDIT: It now finds the split for you (using binary search against remote node) and automatically moves your node back onto the main chain if you configure it to do so.
EDIT: Latest versions of master node (https://github.com/defich/ain/releases) automatically detect and move your node back to main chain for you, so this script is mainly used to detect other problems now.