github iron-fish/ironfish v1.7.0

latest releases: v2.6.0, v2.5.0, v2.4.1...
14 months ago

RPC Breaking Changes

  • #4084 chain/getBlock RPC returns 404 if header is missing instead of 400. chain/getBlock RPC returns 404 if block for header is missing instead of 400

  • #4117 chain/getAsset RPC returns 404 if assets is missing for id instead of 400

  • #4105 chain/broadcastTransaction RPC now attempts to add a transaction to the mempool as well as broadcast it

  • #4120 wallet/sendTransaction RPC no longer fails if the node is not connected to any peers

SDK Breaking Changes

  • #4102 removes WorkerPool.verify and Transaction.verify. Use WorkerPool.verifyTransactions (Typescript) or verify_transaction / batch_verify_transactions (Rust) instead.

  • #4125 Changes Node constructor to take a AssetsVerifier object instead of a VerifiedAssetsCache

  • #4112 Removes onTransactionCreated callback from Wallet class. Removes reference to memPool from Wallet class

  • #4094 Makes Verifier.verifyMints, Verifier.verifyBurns and Verifier.verifyInternalNullifiers static functions. Makes Verifier.verifyCreatedTransaction function static and take consensus as a parameter

  • #4088 PeerNetwork no longer adds a transaction to a wallet automatically but instead wallet listens to PeerNetwork.onTransactionGossipReceived

  • #4081 node property is removed from RpcMemoryClient and RpcMemoryClient now takes a Router object in the constructor instead of a Node

  • #4071 Router class is separated into Router and Routes

  • #4070 All RPC route handlers now take an optional Node class

  • #4099 Removes the onBroadastTransaction property from the Wallet class

  • #4097 wallet.connectBlock and wallet.disconnectBlock method signatures changed to accept a WalletBlockHeader (hash, previousBlockHash, sequence, timestamp) and a list of WalletBlockTransaction (transaction, initialNoteIndex). The Wallet.chainProcessor property changed from an instance of ChainProcessor to RemoteChainProcessor

  • #4126 Wallet constructor no longer takes a Blockchain instance, no longer has a chain property

  • #4128 wallet.post returns Promise<{ transaction, accepted, broadcasted }> instead of Promise<Transaction>

Other changes

  • #4132 Fixed a bug with checking the result of transaction proof verification

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

Don't miss a new ironfish release

NewReleases is sending notifications on new releases.