Skip to content

Latest commit

 

History

History
81 lines (68 loc) · 8.03 KB

release-notes-5.x.md

File metadata and controls

81 lines (68 loc) · 8.03 KB

v5.x Release notes

v5.0

How to Upgrade

When upgrading to this version from hsd v4.x you must pass --wallet-migrate=2 when you run it for the first time (MAJOR #769).

Notable Changes

Node changes

  • HTTP API endpoint / (hsd-cli getinfo) now includes "public" networking settings (#696).

  • RPCs getnameinfo getnameresource verifymessagewithname and getnamebyhash now accept an additional boolean parameter safe which will resolve the name from the Urkel tree at the last "safe height" (committed tree root with > 12 confirmations). SPV nodes can use this option and retrieve Urkel proofs from the p2p network to respond to these calls. (#647)

  • New RPC methods:

    • decoderesource like decodescript accepts hex string as input and returns JSON formatted DNS records resource. (#719)

Wallet changes

  • HTTP Changes:

    • Wallet and account create methods now accept lookahead values up to 2^32 - 1 (MAJOR #769).
  • New RPC methods:

    • createbatch and sendbatch create batch transactions with any number of outputs with any combination of covenants. (#686)
  • Updates related to nonces and blinds (MAJOR #767)

    • Multisig wallets will compute nonces based on the LOWEST public key in the group. This makes multiparty bidding and revealing more deteministic. Older versions would always use the wallet's OWN public key. To preserve compatability with older software:
      • RPC method importnonce now returns an array of blinds instead of a single blind.
      • HTTP endpoint /wallet/:id/nonce/:name's response replaces 2 string fields (nonce, blind) with arrays of the same type (nonces, blinds)

Changelog

  • [7d00f353] - #769 - SEMVER-MAJOR wallet: increase lookahead configuration to 2 ** 32. (@nodech - Nodari Chkuaselidze)
  • [b456147e] - #767 - SEMVER-MAJOR wallet: derive all keys in generateNonce for multisig (@rithvikvibhu - Rithvik Vibhu)
  • [bc4a6796] - #768 - SEMVER-MINOR mempool: reject TXs that exceed consensus covenant block limits (@pinheadmz - Matthew Zipkin)
  • [455bf60f] - #785 - SEMVER-MINOR net: update seeds and checkpoint for 5.x (@pinheadmz - Matthew Zipkin)
  • [a747dc8d] - #686 - SEMVER-MINOR wallet: create batch transactions with any combination of covenants (@pinheadmz - Matthew Zipkin)
  • [3fd74e0d] - #696 - SEMVER-MINOR node-http: Clarify ports / public ports in node HTTP getinfo (@pinheadmz - Matthew Zipkin)
  • [49bf5f49] - #647 - SEMVER-MINOR rpc/pool: use urkel proofs for namestate in spv mode (@pinheadmz - Matthew Zipkin)
  • [5a23a5b5] - #719 - SEMVER-MINOR node-rpc: decoderesource (@pinheadmz - Matthew Zipkin)
  • [6f112121] - #764 - wallet: Follow-up improvements to sendbatch API, renew all (@pinheadmz - Matthew Zipkin)
  • [6314c1aa] - #788 - mempool: Mempool reorg covenants (@pinheadmz - Matthew Zipkin)
  • [bf614e0d] - #706 - pool/wallet/spvnode: test imported names are added to filter and sent (@pinheadmz - Matthew Zipkin)
  • [b19d0017] - #790 - pkg: Update package dependencies. (@nodech - Nodari Chkuaselidze)
  • [99f43d21] - #739 - docs: Update release process. (@nodech - Nodari Chkuaselidze)
  • [185b459a] - #789 - docs: Backport v4 release docs (@nodech - Nodari Chkuaselidze)
  • [862cba0d] - #771 - test: Chain reset/reorg tests for tree/txn state (@nodech - Nodari Chkuaselidze)
  • [309df94a] - #787 - pkg: Update minimum required Node.js version to 14 - (@handshake-enthusiast)
  • [234a5974] - #784 - wallet: use correct fee in rpc gettransaction (@rithvikvibhu - Rithvik Vibhu)
  • [eb5e6a82] - #778 - wallet: Remove Coinselector.MAX_FEE (@pinheadmz - Matthew Zipkin)
  • [e07ba542] - #781 - wallet: Ignore unknown bids during reveal (@pinheadmz - Matthew Zipkin)
  • [1326351c] - #779 - hostlist: only return MANUAL addrs in getLocal() for all networks (@pinheadmz - Matthew Zipkin)
  • [9cf8cb83] - #776 - docker/docs: Fix npm warning (@NetOpWibby)
  • [395878a0] - #775 - docs: fix doc (@Falci - Fernando Falci)
  • [fb5501c5] - #765 - chore(BIP39): added Portuguese wordlist (@Falci - Fernando Falci)

v5.1

Changelog

  • [6b47c3a0] - #805 - SEMVER-MINOR network: update last checkpoint (@nodech - Nodari Chkuaselidze)
  • [15f74ccf] - #824 - SEMVER-MINOR rpc: Added totalSigs to JSON response for scriptToJSON (@Nathanwoodburn - Nathan Woodburn)
  • [81bddcd2] - #825 - wallet: fix makeBatch to generate addresses early (@rithvikvibhu - Rithvik Vibhu)
  • [ed27e7f6] - #826 - mempool: more invalidation tests. (@nodech - Nodari Chkuaselidze)