Skip to content

NTP Sync and Community Fund Accumulation

Compare
Choose a tag to compare
@aguycalled aguycalled released this 05 Jun 23:42
· 1723 commits to master since this release
3c03fed

Introduces two new Soft Forks:

Community Fund - Accumulation of coins, signalled by version bit 7:

  • Reduction of the staking rewards to 4%.
  • Inclusion of an additional output in the Coinstake transaction contributing 0.25NAV to the Community Fund
  • Consensus validation of the previous rule.
  • Uses a separate DB on disk to store data about the Community Fund, increasing performance.

NTP Sync - Signaled by version bit number 8 of staked blocks:

  • Requires mandatory clock sync against an NTP server for every node on launch.
  • New consensus rule where no blocks in the past can exist, and maximal drift in the future for a block is 60 seconds.
  • Peers whose clock drifts more than 30 seconds are disconnected.
  • Clock change attempts are automatically readjusted.
  • New log category "ntp".
  • New multi-argument -ntpserver= to allow the user to manually specify servers.
  • New argument -ntpminmeasures= to allow the user to specify the req. min. of measures.
  • New argument -ntptimeout= to allow the user to specify how many seconds should we wait for the response of an ntp server.
  • New argument -maxtimeoffset= to set the max tolerated clock drift for peers.

An additional network "devnet" is added.

  • Default p2p port: 18886
  • Default rpc port: 44446
  • Default datadir: OS_DATADIR/devnet
  • Enabled through argument -devnet=1

Core Wallet GUI Fixes:

  • Fixes wrong pixel density on HiDPI screens.
  • Menu option to export private key of an address and master private key.
  • Accepts URI to sign messages.
  • Shows and categorizes correctly contributions to the Community Fund and payments received from it.
  • Does not show Orphan Stakes on the Transaction List.
  • Removes Community Fund voting popup.

Other Fixes/Notes

  • Ignores Coinstake Output when calculating the Witness Merkle Root, fixing a bug related to Segregated Witness transactions.
  • Bans nodes with obsolete versions.
  • Removes some recurring log messages.
  • Updates the package version of some dependencies, solving compatibilities issues with some operating systems.
  • Bundles some dependency libraries with the binaries.
  • Updates the seed nodes.
  • Fixes some of the test units.
  • navcoin-tx tool has been updated to use NavCoin's own transaction structure

SHA256 Hashes

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

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

2253f44f1f52d413109f7be3f819c8e80d7c74d01d53ea61382caf66a610cf76

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

2b210da38dd1771e92f79d80758448bf345606099d4fdbe3409bec1c8790c779

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

aa0b09b02193491f2c07425491b6f25ab4290f58bb43dd1c00bb5d8f37a1e867

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

166d64c4e61a2ff0900ce89bdf7e8b58b2ca97577af737c4b0b69f917d51208c

navcoin-4.2.0-osx64.tar.gz

874bd1b3a0c64049b8643105497f3465d5f9ec3b4ff5a9c95f8525371254deb8

navcoin-4.2.0-osx.dmg

6dc9e55af2045501e0fd9cb30054fd1ecbb8b86672bec46f4cebcecddf7a424c

navcoin-4.2.0-win32-setup.exe

9ab42efa904f488214d9bc0b0ff232a29d68ad611c3764d7d3c72ea64d0f32f2

navcoin-4.2.0-win32.zip

fdb4705148438c88dfb27102f7d2a6a48bd324b7ebe61f11c772f561e3fbea44

navcoin-4.2.0-win64-setup.exe

04b3b4eb4dd97bb03875b1f95d2c8e39e9a3e64718b8279da061b3269905a459

navcoin-4.2.0-win64.zip

109894562e703c2245cfbcaa2f2ae5bf194ef6ee0f4ebd07945bb582cd468e7e

navcoin-4.2.0.tar.gz

9a86b670232d34e68746ffcde8c504eb9e2c882bf0df0aaee905915163100481