Browse Source

Update 'README.md'

Payment processing information and cron for z_shieldcoinbase
dev-fekt
fekt 2 years ago
parent
commit
0fd9a3f070
  1. 8
      README.md

8
README.md

@ -134,6 +134,14 @@ The pool fee is taken in the payment processor using this mode, and might not be
### Payment Processing
Please note that the default configs generated are for solo mining. If you wish to create a public pool please modify the configs like in this [example config](https://github.com/z-classic/z-nomp/blob/master/pool_configs/komodo_example.json)
Because Hush enforces z-z transactions, in order for payment processing to work, you must shield coinbase first. The simplest way to do this is to setup a cron like the following, which will run `z_shieldcoinbase` every 10 minutes.
```
*/10 * * * * cd /home/hush3/src && ./hush-cli z_shieldcoinbase "tAddress-used-in-pool-config" "zAddress-used-in-pool-config"
```
You can adjust this based on your pool's paymentInterval. Alternatively, one could modify `./libs/paymentProcess.js` to use `z_shieldcoinbase` before attempting to perform the `z_sendmany` within the `sendTToZ` function. This is older code from Komodo ecosystem where z-z transactions were not enforced.
There is now a config option you can add to your pool_configs/coin.json to toggle making an attempt at a payment upon pool startup.
```

Loading…
Cancel
Save