- Notifications
You must be signed in to change notification settings - Fork30
Releases: pegnet/pegnet
v2.0.3 Release
a476b4b
Compare
- Removed the randomization algorithm from SPR.
- Bug fixes from v2.0.2
What does this mean for you?
- If you are a staker, Update immediately, as you are not currently earning any staking rewards.
- If you are a solo miner using the reference miner. Update immediately, as you are not currently earning any mining rewards.
Assets5
v2.0.2 Release
e59c2d3
Compare
- Staking Price Record randomization
- Add version 7 SPR
- Update Polling module
- OracleDataSoure default order
- Bug fixes from v2.0.1
What does this mean for you?
- If you are a solo miner using the reference miner. Update immediately, as you are not currently earning any rewards.
- If you are running the prosper pool software as the pool operator, you need to update
Assets5
v2.0.1 Release
100de49
Compare
- Add Staking Signature
- Update v5 Mining Grading modules
- Add v6 Stake Grading modules
- Bug fixes from 2.0
What does this mean for you?
- If you are a solo miner using the reference miner. Update immediately, as you are not currently earning any rewards.
- If you are running the prosper pool software as the pool operator, you need to update (update coming soon for prosper)
- If you are a miner on the orax or prosper-pool, you do not need to take any action.
Assets5
v2.0 + V5 OPR Release
f2d40e4
Compare
Hardfork is at block height 258796 estimated to be Aug 19th, 2020, 14:00 UTC. All updates must happen prior to this block height.
Staking 2 “PEG Staking”- SPR based staking payout (PIP-13)
Top100 PEG holders get rewarded for reporting oracles prices (random 25 pAsset addresses selected pro-rata based) on their pAsset balances for rewards and to pull oracle price rewards from each block.
The reward is 4,500 PEG per block.
Remove price spikes and use trimmed mean (PIP-15)
Detect and block conversions when there is a large move from API price reporting.
Detect divergence between SPR and OPR to determine assets prices (PIP-14)
Staking sets the upper and lower bounds of a price range, but oprs set the price specifically.
If the winning opr not in the staking range, the network pauses. That way neither stakers nor miners alone can change the price, both would have to work together.
Both miners and stakers get the price data from the same sources.
Removal of the 1% price band from the grading algorithm
OPR & SPR grading algorithm has been updated by removing the 1% price band.
Also used Trimmed Mean instead of mathematical average in the algorithm.
Update reward block to 9,000 PEG for miners
Originally, mining reward was 5000 PEG, but it is 9000 PEG per block in 2.0
Turn off 5,000 PEG per block conversions from pAssets to PEG
In Pegnet 2.0, any conversion from pAssets to PEG is disabled.
V5 OPR Update
V5 oprs come with 20 additional currencies:
Add Currency AEDAdd Currency ARSAdd Currency TWDAdd Currency RWFAdd Currency KESAdd Currency UGXAdd Currency TZSAdd Currency BIFAdd Currency ETBAdd Currency NGNAdd CryptoCurrency HBARAdd CryptoCurrency NEOAdd CryptoCurrency CROAdd CryptoCurrency ETCAdd CryptoCurrency ONTAdd CryptoCurrency DOGEAdd CryptoCurrency VETAdd CryptoCurrency HTAdd CryptoCurrency ALGOAdd CryptoCurrency DGB
Assets5
v2.0.0-beta-1
86ca598
Compare
Preview version for PegNet 2.0
Assets4
V4 OPR Release
3fc45a9
Compare
V4 OPR Update
Hardfork is at block height231620 estimated to be Feb 12, 2020, 18:00 UTC. All updatesmust happen prior to this block height.
V4 oprs come with additional currencies:
* Add Currency AUD
* Add Currency NZD
* Add Currency SEK
* Add Currency NOK
* Add Currency RUB
* Add Currency ZAR
* Add Currency TRY
* Add CryptoCurrency EOS
* Add CryptoCurrency LINK
* Add CryptoCurrency ATOM
* Add CryptoCurrency BAT
* Add CryptoCurrency XTZ
Also Supports ECDSA keys for the erc20 Ethereum bridge.
What does this mean for you?
- If you are a solo miner using the reference miner. Update immediately, as you are not currently earning any rewards.
- If you are running the prosper pool software as the pool operator, you need to update (update coming soon for prosper)
- If you are a miner on the orax or prosper-pool, you donot need to take any action.
Changelog
- Additional currencies
- Polling sources updates to include new currencies
Assets8
Grading Implementation Fix
1918515
Compare
Pegnet had a fork at height225337
. This was caused by a slight implementation difference ofpegnetd andpegnet.Pegnetd
is the offical implementation of the protocol, as that is the binary run by the exchanges and users of the system. For this reason, we are applying a patch topegnet
to resolve this slight difference.
If you are running the reference miner, you will need to update immediately. Currently all reference miners are running on the wrong fork.
What does this mean for you?
- If you are a solo miner using the reference miner. Update immediately, as you are not currently earning any rewards.
- If you are running the prosper pool software as the pool operator, you donot need to take any action. The prosper pool does not have the bug.
- If you are a miner on the orax or prosper-pool, you donot need to take any action.
I would like to thank@luap on discord for assistance dealing with the fork and creation of the patch. Luap is the creator of the orax pool and the nice UI that helped easily identify the fork.
ChangeLog:
- Do not sort before passing through the remove duplicates filter to match pegnetd.
Assets8
Free Floating PEG + 5K Limit
328fdba
Compare
This update brings in 2 huge updates to Pegnet, and it affects pegnet usersand miners. All users ofpegnetd
and all miners will have to update their software. For miners mining as part of a pool, only the pool operators will need to update.
The 2 major changes: Activate at block height222270
, estimated to be Dec 9, 2019, 17:00 UTC. YouMUST update by this block height.
- Floating PEG Price (MINER UPDATE)
- 5K Conversion Limit (PEGNETD UPDATE)
Floating PEG Price
The PEG Price has been calculated by the equationTotal Market Cap / Total PEG Supply
, but this is now changing. That equation was used to bootstrap the network before PEG was listed on an exchange. Now that PEG is listed, the PEG price will come from the same sources as all other assets; the external market.
!!! As a miner, this means you have to update your miner software to recognize this change, as this will fork the pegnet chain. All miners will additionally have to add a polling source for the price of PEG. 3 Options are currently available:
These can be enabled in the config by adding these lines:https://github.com/pegnet/pegnet/blob/7365ebab4df8b3922a2f0dffd73014c5c0e98267/config/defaultconfig.ini#L148-L150. Remember to set a priority >= 0, and double-check your datasource configuration withpegnet datasources
. You can consult this wiki page for more information on configuring your datasourceshttps://github.com/pegnet/pegnet/wiki/Configuring-Your-DataSources. This can be done before the activation height, the miners will automatically switch to include the PEG price at block height 222270. So update asap!
5K Conversion Limit
After the activation height, only 5K PEG per block can be created from conversions. If more than 5K PEG is requested to be converted in a block by 1 or more users, those users will instead receive a portion of the 5K PEG + a refund of their leftover amount. If you want to know why is this being implemented, please refer to this medium posthere.
If you want to know how it is being implemented,
- Source Code for Proportional Payout
- Formulas for Proportional Payout
- The tl;dr (ok you have to read a little)
- If you want to play around with the design, a simple google sheet was made during testing. Feel free to make a copy of ithere
Other changes
Pegnetd Changelog:
- Richlist in thecli +api
- Refund output in PEG conversions. Until now, all conversions were whole. Now that partial conversions exist, since there is a limit of 5K PEG, an additional output exists; the refund. To accommodate this, all PEG conversions that have a refund will have an output in the transfer's
outputs
field that indicates the amount of the original asset returned. If you process the transactionoutputs
field regardless if it is a conversion or transfer, you will not have to update your code that handles txs. An example of this new api output can be found in the PR commentshere. - Performance boost in
get txs
call - Free floating PEG activation
- 5K Conversion Limit activation
Pegnet Changelog:
- Modularized Grading, OPRs, Conversions, and more for external libraries (pegnetd uses this)
- Free floating PEG activation for the miner. Datasources were added for this update, and youmust update your config.
- Some small miner enhancements
Assets8
NetMiner Independence Fix
72c5e8b
Compare
NetMiner Independence Patch
There was a bug in thenetminer
that was making thenetminer
use thenetcoordinator
's coinbase address in it's oprs. This means the netminer was not using the factoid address specified in his config.
This was fixed. The coordinator is not a pool, and eachnetminer
is an independent miner who can receive their own rewards. If you were planning on having multiple payout addresses, or more than 1 party on anetminer
, you should update yournetminer
to this branch.
Note This update is only needed if you are using thenetminer
with a different coinbase address than the coordinator. And only thenetminer
needs to be updated.
Behavior Changes:
- The
netminer
will use the coinbase address located in it's own config file.
Changelog:
- Bug fix with
netminer
setting the correct coinbase of it's opr submissions
Assets8
OPR Targeting Patch
c1ae9f8
Compare
Targeting Patch
Mainly addressing this issue:#310. This change corrects a bug that enabled miners to set very low difficulties, breaking the targeting code. The result is burning more EC than necessary.
Following this patch,RecordsPerBlock
shouldnever be to set to over 50. Anything more than 50 is a complete waste in all scenarios, and this might be enforced in a future release. If you are more concerned about the costs, a cap of 25 is the most any miner would want to submit if there a majority of honest miners. So settingRecordsPerBlock
to max 25 is also reasonable.
Note: If you are using thenetcoordinator
, only thenetcoordinator
needs to be updated. Not thenetminers
Behavior Changes:
- In the performance command, your total submissions might have changed. The miner when quick syncing from disk no longer keeps anything past the last graded opr. Meaning the miner cannot find submissions beyond that. In the future, we will not longer count submissions past 50 in the miner. Another daemon/tool will need to be used to get more statistics. With the growing rate of the chain, keeping all this in the miner is becoming more expensive than the miner should support.
Changelog:
- Targeting now correctly bases it's calculation of the 50th honest opr by difficulty
- Arm64 builds will now be created
- More details in the logs, such as ip addresses of the clients on connect/disconnect
- Some small bug fixes to some cli command used by developers
pegnet decode entry
was using the wrong extid for the version number- Two commands were using the
-o
flag, that collision was fixed