Will help restart elections on expired blocks that are unconfirmed
yarn install // or npm install
Copy the config file and add the address to a Nano Work Server and an RPC address (it can be an NanoRPCProxy or a node)
cp config.sample.js config.js
To rebroadcast a specific block with a higher PoW
node update-tx.js -h [block hash]
To find the root unconfirmed tx and rebroadcast with a higher PoW.
Note: it can be a tx on a different account if the root unconfirmed on the specified account is a receive that doesn't have the send confirmed.
node update-root-tx.js -a [nano_address]