March 15, 2023

By swvheerden

This week in Tari

Version changes

We have introduced a few changes to how we version code releases to make it easier to identify which codebases are running on which Tari network.

  • Versions with a suffix of rc are running on nextnet,
  • Versions with a suffix of pre are running on testnet (this is still currently Esmeralda).

We covered the reasoning in a recent developer update, and subsequent to that, we wrote a detailed guide on the versioning.

Testnet chain reset

With all of the breaking changes that where done recently it was decided to reset the Esmeralda testnet chain back to 0 again.

Balanced Merkle Trees

For the Dan layer, we have changed over from using Merkle Mountain Ranges to just using Balanced Merkle Trees as this should provide much better performance in terms of speed and size, see the PR #5189 for more details and actual numbers.

Wallet encryption

There have been multiple updates and changes to how the wallet handles its own encryption. Most of these have been breaking changes and require the wallet to run recovery. But in the end, we are trying to ensure that using the wallet the data is properly and securely encrypted.

DAN improvements

On the Digital Assets Network layer, more PRs relating to confidential assets have been merged, and we are getting closer to MVP for confidential assets. We have also merged a few PRs to start with claiming funds one the DAN. This will allow users to claim Tari burned on the main layer as funds to be used in the DAN layer.

And finally, here is the complete list of features and fixes we’ve made from version 0.46.0 to 0.49.0-pre.1

0.49.0-pre.1 (2023-03-15)

⚠ BREAKING CHANGES

  • wallet: ensure burn shared keys and hashes match dan layer (#5245)
  • add claim public key to OutputFeatures (#5239)
  • reset esmeralda (#5247)

Features

Bug Fixes

  • added transaction revalidation to the wallet startup sequence #5227 (#5246) (7b4e2d2)
  • immediately fail to compile on 32-bit systems (#5237) (76aeed7)
  • wallet: correct change checks in transaction builder (#5235) (768a0cf)
  • wallet: ensure burn shared keys and hashes match dan layer (#5245) (024ce64)
  • windows path format in log4rs files (#5234) (acfecfb)

0.49.0-pre.0 (2023-03-10)

⚠ BREAKING CHANGES

  • wallet: use ECDH shard secret for burn mask with claim pubkey (#5238)

Features

  • add necessary trait bounds to balanced merkle tree (#5232) (3b971a3)
  • update tari-crypto to v0.16.8 (#5236) (c9d355b)
  • wallet: use ECDH shard secret for burn mask with claim pubkey (#5238) (78838bf)

0.48.0-pre.1 (2023-03-08)

Bug Fixes

  • comms: dial if connection is not connected (#5223) (0a060b6)
  • export error types for balance merkle tree (#5229) (9db0501)
  • fix compile error using decimal-rs 0.1.42 (#5228) (6edbb1c)

0.48.0-pre.0 (2023-03-07)

⚠ BREAKING CHANGES

  • peer_db: more accurate peer stats per address (#5142)
  • use consensus hashing API for validator node MMR (#5207)
  • consensus: add balanced binary merkle tree (#5189)

Features

Bug Fixes

0.47.0-pre.0 (2023-02-27)

Features

Bug Fixes

0.46.0 (2023-02-21)

⚠ BREAKING CHANGES

  • add key commitment to database main key AEAD (#5188)

Features

  • add key commitment to database main key AEAD (#5188) (95bc795)
  • add more burn details to burn command (#5169) (e417e57)
  • print out warning if wallet grpc connections fails (#5195) (4e1cb38)

Bug Fixes

  • add missing consensus constants to get_constants grpc (#5183) (9900d5d)