github Chia-Network/chia-blockchain 1.5.0

latest releases: 2.4.4, 2.4.4-rc3, 2.4.4-rc2...
2 years ago

For those who have been collecting or trading CAT tokens, it’s time to upgrade to CAT2s. For more details on why we are upgrading the CAT standard, see our blog post here. If you have questions about this release and how it affects you, please start with our FAQ here.

CAT2 related updates:

  • Support for new CAT2 tokens fixing vulnerability, dropped support for CAT1 tokens
  • New wallet database is created and synced after upgrading to 1.5. This will help ensure a static copy of the previous database is available for reviewing previous transactions or offer history. Depending on the number of transactions in your wallet, please remember that the initial wallet sync may take a bit longer than normal.
  • Info tooltip next to tokens to help users understand why they won’t see their CAT1 tokens anymore
  • Link in tooltip that takes the user to cat1 balance website that also passes through the active wallet pub key
  • Link in tooltip to the blog post
  • Added display of current derivation index height
  • Allow user to manually update the derivation index to help ensure all coins are found and totaled up
    CAT1 offers will now show as an invalid offer. A link is provided to docs page that explains all the different reasons why an offer could be invalid including due to the offer including a CAT1.

Other related updates:

  • Updated NFT content to say “Editions” instead of “Series” in the user interface as well as in the command line
  • Updated CLI flags to deprecate flags for “series” and replace them with flags for “editions”
  • Show DIDs when viewing an offer for NFT to help users more easily identify and check offers for scam projects
  • Show “Chia Network” explicitly for the Chia DID that minted the Chia Friends collection
  • NFT with DID wallets are automatically created now when a new DID (aka “Profile”) is created
  • Fixed issue when viewing an offer for an NFT to show the NFT value plus the royalties as the total amount deducted when the offer is accepted
  • Updated DID wallet to use the new coin selection algorithm based on the knapsack protocol
  • Fixed some edge case handling with the new coin selection algorithm that made it difficult to create change for yourself

Added

  • Added derivation index information to the Wallet UI to show the current derivation index height
  • Added section in Settings to allow the user to manually update the derivation index height in order to ensure the wallet finds all the coins
  • Added a tooltip for users to understand why their CAT balance has changed as new CAT2 tokens get re-issued
  • There is now a blockchain_wallet_v2_r1_*.sqlite DB that will be created, which will sync from 0 to look for CAT2 tokens. This preserves a copy of your previous wallet DB so that you are able to look up previous transactions by using an older wallet client
  • Extended min_coin to RPC calls, and CLI for coin selection
  • Show DID in the offer preview for NFTs
  • Added wallet RPCs (get_derivation_index, update_derivation_index) to enable the GUI, and CLI to report what the current derivation index is for scanning wallet addresses, and also allows a user to move that index forward to broaden the set of addresses to scan for coins

Changed

  • Changed the DID Wallet to use the new coin selection algorithm that the Standard Wallet, and the CAT Wallet already use
  • Changed returning the result of send_transaction to happen after the transaction has been added to the queue, rather than it just being added to the mempool.
  • Increased the priority of wallet transactions vs full node broadcasted transactions, so we don't have to wait in line as a wallet user
  • Deprecated the -st, --series-total and -sn, --series-number RPC and CLI NFT minting options in favor of -ec, --edition-count and -en, --edition-number to align with NFT industry terms
  • When creating a DID profile, a DID-linked NFT wallet is automatically created
  • Update chia wallet take_offer to show NFT royalties that will be paid out when an offer is taken
  • Added a parameter to indicate how many additional puzzle hashes create_more_puzzle_hashes should create

Fixed

  • Fixed [CVE-2022-36447] where in tokens previously minted on the Chia blockchain using the CAT1 standard can be inflated in arbitrary amounts by any holder of the token. Total amount of the token can be increased as high as the malicious actor pleases. This is true for every CAT1 on the Chia blockchain, regardless of issuance rules. This attack is auditable on-chain, so maliciously altered coins can potentially be "marked" by off-chain observers as malicious.
  • Fixed issue that prevented websockets from being attempted if an earlier websocket failed
  • Fixed issue where test_smallest_coin_over_amount did not work properly when all coins were smaller than the amount
  • Fixed a performance issue with knapsack that caused it to keep searching for more coins than could actually be selected. Performance with 200k coins:
    • Old: 60 seconds
    • New: 0.78 seconds
  • Fixed offer compression backwards compatibility
  • Fixed royalty percentage check for NFT0 NFTs, and made the check for an offer containing an NFT more generalized
  • Fixed timing with asyncio context switching that could prevent networking layer from responding to ping

Don't miss a new chia-blockchain release

NewReleases is sending notifications on new releases.