Release 2.05.0.5.1: critical security fix and miner improvements

5 views
Skip to first unread message

Jude Nelson

unread,
Oct 25, 2022, 11:27:23 AM10/25/22
to announce
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

We have released Stacks version 2.05.0.5.1, available here: https://github.com/blockstack/stacks-blockchain/releases/tag/2.05.0.5.1.

This release improves mining performance and fixes a DoS bug.  Everyone is encouraged to upgrade as soon as possible.

Changelog:

## [2.05.0.5.1] - 2022-10-25

### Changed

- - The new minimum Rust version is 1.61
- - The act of walking the mempool will now cache address nonces in RAM and to a
  temporary mempool table used for the purpose, instead of unconditionally
querying them from the chainstate MARF.  This builds upon improvements to mempool
goodput over 2.05.0.4.0 (#3337).
- - The node and miner implementation has been refactored to remove write-lock
  contention that can arise when the node's chains-coordinator thread attempts to store and
process newly-discovered (or newly-mined) blocks, and when the node's relayer
thread attempts to mine a new block.  In addition, the miner logic has been
moved to a separate thread in order to avoid starving the relayer thread (which
must handle block and transaction propagation, as well as block-processing).
The refactored miner thread will be preemptively terminated and restarted
by the arrival of new Stacks blocks or burnchain blocks, which further
prevents the miner from holding open write-locks in the underlying
chainstate databases when there is new chain data to discover (which would
invalidate the miner's work anyway).  (#3335).

### Fixed

- - Fixed `pow` documentation in Clarity (#3338).
- - Backported unit tests that were omitted in the 2.05.0.3.0 release (#3348).

Git commit hash: a0393e47452ae45eea645d792717d41035320961
SHA512SUMS:
77c3bf4ab0b52dda4fa0380eab11dd4cfd129842c9793caaa80a52d79af314fbcd9ea033200677965c6cabc355160e0c3bf1e5beed029e0a46c2e96374c4863e  linux-arm64.zip
34acdf6e5cc63f0d7bf6e2250d774b6c840a85110cc9555491ee4efb93c391bc3645a928d4e22c3b3fc2af6903792a98b23baa05504554a91701fbfdaa2fb3dc  linux-armv7.zip
57c9ed07d7d4181e21567e881c08fd3388f9877e388f9204e32a318143b08355b25b55e09d0706cc3134e89992a4ddae1588a210c1a27af10d2efb134b0270c8  linux-musl-x64.zip
641dfee2d9f985a2a6315af9fa76a3ec4dcca706ae0e8343416b5d9ab711f089c79f3ea012fb03f04ef1b6b0fadfe2391a57deadeae646272c42bf48150e3adb  linux-x64.zip
ee3d7972b98ecd4cd2a2fe9c9a4b45546d523e06e154fb2f4fdcb5d9fbc25460f1d06fdccab197d907dc309003e669a0869f2a58c03a5631a7872c0032fdf20c  macos-arm64.zip
abf940b5838d4b2b7d165ab7a46f929de28b8d028fc82dff20876df93eab52df804911e43389dc25188ee99c7e4cc5c828dce9f5042cc29a889d11dbb159706a  macos-x64.zip
a141313ad119930c9c679e5b74661459042af7aadabb6e695b9f9a64f8b2b5352e83dd921de63d04a870af03ce90f774abbe19c76449929d475c9d5d2b11b06d  stacks-blockchain-2.05.0.5.1.tar.gz
dc21e92a6b75f859cf8b6cb291d253893fa932256ccce52b7d7a99c0e6c372fec036c508d1d8d537168be88bd2d0900ee4ec2f3a7db7637203885297b74966c8  stacks-blockchain-2.05.0.5.1.zip
6ab4ecca904c2a8e5885cc302d235f1147a52195e0baf92ec39f556cf8654314fa73e7f3b5d5c89f545747a817002f8fad264a891545df90f4b88a6019ff2ecc  windows-x64.zip

Best,
Jude Nelson
Research Scientist, Stacks Foundation

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE+sxHzEvL+E3rJvk7PXTWiNCCJ4QFAmNYASwUHGp1ZGVAYmxv
Y2tzdGFjay5jb20ACgkQPXTWiNCCJ4QfkxAAsXEkmrSv/vQJFCMEMvefPfIS/ddO
OwEGvvf6BgNWmKiOg/QtvcK72dTUfwgCu7B55Kv7yAKKBKFqZeDAKhziPfxuoJ+E
zXgx4IkUW4uZ15WpHybSaTZfdmU4gZMwkfe3/AxZz1o3QJSXhupYqYIdoU4buJUu
qOYynaErT+YnBMW0JJ+EWkyUNSvQTVYuJYJutK8PyRWuvuRkLBQ86nHpIndShFjk
FfW3+2UVDcxaqVSbgAFB/SfsiZJtIs+gqaEcE/vmuV5+nV6C6A8GfTHcYImekguw
qFcKUAgh83fX227C7ZCaAmtEuAhMxuIA3pohwiISF/7RX98VCJYEqu2yJlmCtHZL
y/zZ+aj4J2T8gveluyuHA333AedSgnJWO5vJEeT9hqqTTOk+rw7fr4wxIT+JawsV
RNSS7A7FkXk1EwEhe5mihDu4r9cylJm5wy6q9ImsNr/ATzBEbEanwUk1VZG0S+wL
mtEtVSnQ7EqaAJqWfCrhPrs12WhDVu0e53fzmzrg5UT+Qj3hhwtPSqM6uuwyrpVC
IQNlm/l6tdHq/bNEvZFkKYZe4aGDTYgVblXEp6PuOTYGgYGKnaBg/d/93ZlerlmY
91tWu4w7aKtv6dhM7fQ3FyPZrrXNF03CilOmNrqTMjzKqVBxTQIVXOdb5DNNg820
aJah1mMxK45NXhw=
=AvV5
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages