Skip to content

NavCoin Core v4.5.0 - Static Rewards, Cold Staking and CFund Voting GUI

Compare
Choose a tag to compare
@matt-auckland matt-auckland released this 13 Dec 02:34
· 899 commits to master since this release
5a15433

NavCoin v4.5.0 Release Notes

Cold Staking Protocol Upgrade

<Pull Request 249>
<Commit b1c776c>

This Protocol Upgrade will implement the NPIP_0002 which will introduce a new opcode (OP_COINSTAKE) for the NavCoin scripting language and a new standard transaction type using the new opcode.

The wallet will vote this Protocol Upgrade with YES by default.

  • Adds support for Cold Staking Addresses.
  • Signaled by version bit 3.
  • Adds new rpc command getcoldstakingaddress.
  • Wizard to create Cold Staking Addresses in the Receiving tab of the wallet.
  • Updates several RPC commands to provide results relating to Cold Staking.
  • Adds new RPC tests to test Cold Staking Address creation and use.
  • Added a 'Cold Staking' balance display to the wallet GUI.

Manual testing with a modified wallet client

We also performed a number of tests against the cold staking code using a modified wallet client in an attempt to exploit potential weakness in the code. None of these attempts managed to find an exploit.
Details can be found under release-notes-4.5.0-additional-testing-notes/modified-coldstaking-client-notes-4.5.0.md.

Reject this Protocol Upgrade

To not vote for this Protocol Upgrade, add the following line to your navcoin.conf file:
rejectversionbit=3

Community Fund Voting GUI

  • A GUI interface that can be used to vote for community fund proposals and payment requests.
  • A new notification that will appear when a new community fund proposal or payment request is found on the blockchain.
  • Also added a new warning to the wallet screen to inform users when their wallet is syncing that their balance may not be displaying accurately.

Static Rewards Protocol Upgrade

<Pull Request 328>
<Commit 9601f85>

This Protocol Upgrade will change the NavCoin Staking block reward to a fixed amount of 2 NAV per block. You can read more about this upgrade at its NPIP page, NPIP_0004.

The wallet will vote this Protocol Upgrade with YES by default.

  • Signaled by version bit 15.
  • Adds RPC tests for Static Rewards.

Reject this Protocol Upgrade

To reject this Protocol Upgrade, add the following line to your navcoin.conf file:
rejectversionbit=15.

Dynamic Community Fund Quorum Protocol Upgrade

<Pull Request 328>
<Commit 9601f85>

This Protocol Upgrade would introduce a reduction of the required quorum for the Community Fund in the second half of the votings from 50% to 40%.

The wallet will vote this Protocol Upgrade with NO by default.

  • Signaled by version bit 17.

Accept this Protocol Upgrade

To accept this Protocol Upgrade, add the following line to your navcoin.conf file:
acceptversionbit=17.

Reject specific version bits by default

<Pull Request 336>
<Commit eb6a1a2>

By default the wallet votes yes for the Protocol Upgrades included in the wallet. This change adds a list of version bits which will be voted no by default, while also adding an option to manually vote yes for those bits.

To manually vote yes for a version bit add the following to your navcoin.conf file:
acceptversionbit=17

Block header spam protection

<Pull Request 335>
<Commit 210a22d>

The wallet will now rate-limit the amount of block headers received from a single peer before banning them for misbehaving. This is an anti-spam measure and is customizable via the config file or via launch arguments.

The new launch arguments are:

-headerspamfilter=<0 or 1> - 1 will turn the filter on (it is on by default), and 0 will turn it off.

-headerspamfiltermaxsize=<number> - The number you wish to set as the new max size.

-headerspamfiltermaxavg=<number> - The number you wish to set as the new max average.

Community Fund RPC commands

<Pull Request 334>
<Commit cc8e213>

  • Shows help for proposalvotelist and paymentrequestvotelist.
  • Shows proposals and payment requests in pending state without vote.
  • Categorises cfund rpc commands under own category.
  • Updates RPC tests for these commands.

Other modifications in the NavCoin client, docs and codebase

SHA256 Hashes

To check the validity of the hashes, visit the navcoin-sigs repository

navcoin-4.5.0-aarch64-linux-gnu.tar.gz

f95dcfccf69184a85573d0fe05a81aefa741fb13e9f08c7cb5ce46a8a6f0b5b5

navcoin-4.5.0-arm-linux-gnueabihf.tar.gz

546d8b49e68c95a7f222604f5fde28dcf7248269844b9c38a9ff0484ffd56e72

navcoin-4.5.0.tar.gz

30cd99b2c448962971616001ea0db31b2aa90910b9e49f5587f1e22ee1b6fb95

navcoin-4.5.0-osx.dmg

064dc35294106024d8a7bddb75d537e0e31ce5b42d9bd0b4601e89192a142da6

navcoin-4.5.0-osx64.tar.gz

c1d8e47409643bf02ba0e55cf3059e33fd78c06087083a2d64a5e6835bd6ddaf

navcoin-4.5.0-x86_64-linux-gnu.tar.gz

16c3350d2a59dac33a5945983329c6c9b5bda449cc62c1efd9fca45f42def649

navcoin-4.5.0-i686-pc-linux-gnu.tar.gz

c07b6322e37ff6fa78bb26b0c5e5953d0d7f3fd2a78a2e6a299827f64d3edda6

navcoin-4.5.0-win32-setup.exe

01af8aa60505544edb1e3d4bdf0da469330f9e5212529e8aaa69859c51cb6cd7*

navcoin-4.5.0-win32.zip

f0f063fb4fc03190a72b4e2bc85c0af0fed393e0c04cd2da5548e4e1d881b61c

navcoin-4.5.0-win64-setup.exe

d744ef1787025650c1a2387ca31427ebfe1a69993fa079ae2c2fe5fe1e3a5567*

navcoin-4.5.0-win64.zip

f13dd7c0f84bc0809a0cf53dcf95614ead6a6ee42e200fe48deff44bef85a269

*The hashes of Windows .exe builds are currently nondeterministic. Users who are concerned with the checksums of .exe builds should compile their own builds to verify this.