* Initial poolFee commit
This is defined by the following in the pool_config
```
"poolFee": 0.2,
"_comment_poolFee": "This is only used for API purpose to display pool fee percentage",
```
* Added poolFee function
This function looks at the user defined `poolFee` in their pool_config and if it doesn't exist it will calculate it based on `rewardRecipients`
* Fix to show %
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Added poolFee
* Spacing fix
* Changing gears -- instead of providing additional configuration, we're
just going to expose the rewardRecipients. This allows the consuming
client to filter community donation addresses, etc. as needed.
In addition, I've replaced all tabs in libs/stats.js with spaces.
* Update zero founders reward
* Removed maxfoundersrward
Will need to add option to start founders reward at certain block height.
* Possible Treasurey Model
May be best to use treasurey model from ZEN.
* Fixed typo
* Founders Reward Update
May add option to start founders reward at certain block height.
* Removed comma
* Update coin configs
Added zero config files.
coins/zer.json
coins/testnet/zer.json
pool_configs/examples/zer.json
pool_configs/examples/zer.testnet.json
removed blank line 13 for coins/zel.json
renamed MPOS mysql db for btcpt from btcp to btcp_testnet
* Fixed alignment
The ZEC daemon expects the foundersRewardAddressChangeInterval to be an integer when calculating the founders address to send rewards to. This change ensures pools switch to the next block at the correct height.
The XSG daemon expects the foundersRewardAddressChangeInterval to be an integer when calculating the founders address to send rewards to. This change ensures pools switch to the next block at the correct height.
Links to insight explorers need to be `/block/`, not `/blocks`. The
`/blocks/` url lists all blocks while the `/block/` url has the block
hash appended to it, rendering just that block. <-- this is the one we
want.
This commit updates the ZEN configuration to support supernodes.
In addition, to get everything working properly, I had to update all the
packages. This is actually something I was planning on doing anyway
since it seems there are some vulnerabilities with some of these older
packages.
This commit has a sister commit: https://github.com/z-nomp/node-stratum-pool/pull/2
Please note that since this requires an update to node-stratum-pool that you need to `npm upgrade`. Verify that the latest has been pulled down by checking `node_modules/stratum-pool/lib/transactions.js` has `Super Nodes` in it.
* added zel.json
* added votecoin
* added vot.json pool_config
* zel didn't push to this branch under pool_configs.
* Corrected port and spacing
Spacing should be corrected. let me know if its still off. Looks good in notepad++.
Added correct RPC port for zel.json.
* spacing fix
* snowgems coin perams
test on my pool and was able to accept blocks
* snowgem pool config
* peerMagic
* Formatting. Moved parameters
* Formatting. Moved parameters
* Formatting. Added invalidAddress
* Added invalidAddress. Small tweaks
* Formatting. Added invalidAddress. Small tweaks
* Fixed format.
peerMagic seems to be the typical 24e92764 per the developers comment on this issue https://github.com/z-classic/z-nomp/issues/198#issuecomment-329305796
* Formatting
* Moved pool_configs to examples directory
* Deleted vot.json, xsg.json, zel.json from pool_configs
* Update vot.json
* Update zel.json
* Update xsg.json
* Update vot.json
* Update xsg.json
* Update zec.json
* Update zel.json
* Update zen.testnet.json
* Update zec.testnet.json
* Update xsg.json
* A few more adjustments
Instead of having a huge if/else block in several places, this commit enables configuring the explorer urls in the coin's config file. This allows configuration to remain together and is extracted from the code.
* user-defined explorer
Removed if statements to define explorer link from pool_configs
* Update payments.html
* Added libboost-all-dev for npm update errors
This is something that has bugged me for quite some time, the configs
have just been thrown together without any conventions. This commit
renames all the config files to their symbol and moves testnet configs
into a testnet directory. I've also synced over some configs that are
available in some files but not in others.