Skip to content

v0.20.6

Latest

Choose a tag to compare

@wakiyamap wakiyamap released this 21 Nov 05:54
· 0 commits to master-0.20.4 since this release
v0.20.6
d59e346

Monacoin Core 0.20.6 is a minor release with security fixes backported from Bitcoin Core and other bug fixes. All users are strongly recommended to upgrade.

Security fixes

Notable changes

Headers pre-synchronization

A node no longer stores the block headers of a chain until the chain has shown enough work. During the initial headers sync, the headers are downloaded twice: the first pass only checks the proof of work and adds up the work, and nothing is stored. It is logged as Pre-synchronizing blockheaders, and getblockchaininfo shows "headers": 0 until it is done. The initial headers sync therefore takes longer than before.

Forks with less work than our chain that start more than 24 blocks (or 36 minutes) below our tip are no longer stored, and no longer shown by getchaintips. A chain with more work than ours is still always accepted.

Minimum chain work and assumevalid

nMinimumChainWork has been raised to the chain work at height 4165667, and assumevalid has been moved to the block at height 4100000, so that a new node can skip the signature checks up to that height.

Other changes

  • #138 Fix -reindex, which failed on the genesis block with bad-cb-height
  • #138 Use the right height for blocks loaded out of order from block files (-reindex, -loadblock)
  • #138 Don't reject blocks with an unknown parent as high-hash
  • #138 Undo files can now grow past 4 GiB
  • #138 Point security reports to GitHub private vulnerability reporting (SECURITY.md)
  • #138 Fix the proof of work of the blocks mined by the unit test fixtures

Upgrading

Shut down your node, wait until it has completely shut down, and replace the binaries. There is no database migration, and the data directory can still be used by 0.20.5.

Verifying the binaries

The binaries were built reproducibly with Gitian. Builder signatures are in monacoinproject/gitian.sigs.mona.

SHA256SUMS.asc is signed by WakiyamaP with this key, the same key that signs WakiyamaP's Gitian signatures:

3155 25E8 11D5 E586 F3CA  C032 9C74 0BEC 897C E499

To verify the download:

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 315525E811D5E586F3CAC0329C740BEC897CE499
gpg --verify SHA256SUMS.asc
sha256sum --ignore-missing -c SHA256SUMS.asc

gpg --verify should report a good signature from the key above. sha256sum should print OK for each file you downloaded.

The Windows and macOS binaries are not code-signed, so your OS may show a warning when you open them.

Full release notes: doc/release-notes-monacoin.md