Skip to content

Releases: stacks-network/stacks-core

Release 2.05.0.3.0

31 Aug 19:13
3e8a917
Compare
Choose a tag to compare

Upgrade instructions can be found here: https://gist.github.com/wileyj/379e6a4d11983e15449918732d75065a

Changelog:

[2.05.0.3.0] - 2022-8-31

Added

  • Added prometheus output for "transactions in last block" (#3138).
  • Added envrionement variable STACKS_LOG_FORMAT_TIME to set the time format
    stacks-node uses for logging. (#3219)
    Example: STACKS_LOG_FORMAT_TIME="%Y-%m-%d %H:%M:%S" cargo stacks-node
  • Added mock-miner sample config (#3225)

Changed

  • Updates to the logging of transaction events (#3139).
  • Moved puppet-chain to ./contrib/tools directory and disabled compiling by default (#3200)

Fixed

  • Make it so that a new peer private key in the config file will propagate to
    the peer database (#3165).
  • Fixed default miner behavior regarding block assembly
    attempts. Previously, the miner would only attempt to assemble a
    larger block after their first attempt (by Bitcoin RBF) if new
    microblock or block data arrived. This changes the miner to always
    attempt a second block assembly (#3184).
  • Fixed a bug in the node whereby the node would encounter a deadlock when
    processing attachment requests before the P2P thread had started (#3236).
  • Fixed a bug in the P2P state machine whereby it would not absorb all transient errors
    from sockets, but instead propagate them to the outer caller. This would lead
    to a node crash in nodes connected to event observers, which expect the P2P
    state machine to only report fatal errors (#3228)
  • Spawn the p2p thread before processing number of sortitions. Fixes issue (#3216) where sync from genesis paused (#3236)
  • Drop well-formed "problematic" transactions that result in miner performance degradation (#3212)
  • Ignore blocks that include problematic transactions

Release 2.05.0.3.0-rc0

18 Aug 18:32
119815d
Compare
Choose a tag to compare
Pre-release
Merge pull request #3255 from stacks-network/feat/2.05.0.3.0-changelog

Update CHANGELOG for 2.05.0.3.0

Release fix-3216-startup-lock

01 Aug 19:17
Compare
Choose a tag to compare
Pre-release
fix: adress startup lock (#3126) by only waiting for coordinator to g…

Release 2.05.0.2.2

12 Jun 21:09
Compare
Choose a tag to compare
New release for 2.05.0.2.2

Release 2.05.0.2.2-rc1

12 Jun 15:26
Compare
Choose a tag to compare
Pre-release
replace unwrap with error

Release 2.05.0.2.1

03 Jun 15:25
38aa968
Compare
Choose a tag to compare

Fixed

  • Fixed a security bug in the SPV client whereby the chain work was not being
    considered at all when determining the canonical Bitcoin fork. The SPV client
    now only accepts a new Bitcoin fork if it has a higher chain work than any other
    previously-seen chain (#3152).

Release 2.05.0.2.1-rc1

01 Jun 16:28
Compare
Choose a tag to compare
Pre-release

[2.05.0.2.1]

Fixed

  • Fixed a security bug in the SPV client whereby the chain work was not being
    considered at all when determining the canonical Bitcoin fork. The SPV client
    now only accepts a new Bitcoin fork if it has a higher chain work than any other
    previously-seen chain (#3152).

Release 2.05.0.2.0

03 May 16:11
4641001
Compare
Choose a tag to compare

IMPORTANT! READ THIS FIRST

Please read the following WARNINGs in their entirety before upgrading.

WARNING: Please be aware that using this node on chainstate prior to this release will cause
the node to spend up to 30 minutes migrating the data to a new schema.
Depending on the storage medium, this may take even longer.

WARNING: This migration process cannot be interrupted. If it is, the chainstate
will be irrecovarably corrupted and require a sync from genesis.

WARNING: You will need at least 2x the disk space for the migration to work.
This is because a copy of the chainstate will be made in the same directory in
order to apply the new schema.

It is highly recommended that you back up your chainstate before running
this version of the software on it.

Changed

  • The MARF implementation will now defer calculating the root hash of a new trie
    until the moment the trie is committed to disk. This avoids gratuitous hash
    calculations, and yields a performance improvement of anywhere between 10x and
    200x (#3041).
  • The MARF implementation will now store tries to an external file for instances
    where the tries are expected to exceed the SQLite page size (namely, the
    Clarity database). This improves read performance by a factor of 10x to 14x
    (#3059).
  • The MARF implementation may now cache trie nodes in RAM if directed to do so
    by an environment variable (#3042).
  • Sortition processing performance has been improved by about an order of
    magnitude, by avoiding a slew of expensive database reads (#3045).
  • Updated chains coordinator so that before a Stacks block or a burn block is processed,
    an event is sent through the event dispatcher. This fixes #3015.
  • Expose a node's public key and public key hash160 (i.e. what appears in
    /v2/neighbors) via the /v2/info API endpoint (#3046)
  • Reduced the default subsequent block attempt timeout from 180 seconds to 30
    seconds, based on benchmarking the new MARF performance data during a period
    of network congestion (#3098)
  • The blockstack-core binary has been renamed to stacks-inspect.
    This binary provides CLI tools for chain and mempool inspection.

Release 2.05.0.2.0-rc3

29 Apr 19:34
258a3bd
Compare
Choose a tag to compare
Pre-release
Merge pull request #3120 from stacks-network/fix/mocknet-events

Fix mocknet events in RC

Release 2.05.0.2.0-rc2

25 Apr 16:44
118187d
Compare
Choose a tag to compare
Pre-release

[2.05.0.2.0]

WARNING: Please be aware that using this node on chainstate prior to this release will cause
the node to spend up to 30 minutes migrating the data to a new schema.

Changed

  • The MARF implementation will now defer calculating the root hash of a new trie
    until the moment the trie is committed to disk. This avoids gratuitous hash
    calculations, and yields a performance improvement of anywhere between 10x and
    200x (#3041).
  • The MARF implementation will now store tries to an external file for instances
    where the tries are expected to exceed the SQLite page size (namely, the
    Clarity database). This improves read performance by a factor of 10x to 14x
    (#3059).
  • The MARF implementation may now cache trie nodes in RAM if directed to do so
    by an environment variable (#3042).
  • Sortition processing performance has been improved by about an order of
    magnitude, by avoiding a slew of expensive database reads (#3045). WARNING:
    applying this change to an existing chainstate directory will take a few
    minutes when the node starts up.
  • Updated chains coordinator so that before a Stacks block or a burn block is processed,
    an event is sent through the event dispatcher. This fixes #3015.
  • Expose a node's public key and public key hash160 (i.e. what appears in
    /v2/neighbors) via the /v2/info API endpoint (#3046)
  • Reduced the default subsequent block attempt timeout from 180 seconds to 30
    seconds, based on benchmarking the new MARF performance data during a period
    of network congestion (#3098)