Skip to content

v0.5.0 release

Compare
Choose a tag to compare
@azuchi azuchi released this 24 Dec 06:53
· 125 commits to master since this release

Tapyrus Core version 0.5.0 is now available containing some major improvements and bug fixes. Please refer to the release notes for details.

Tapyrus version 0.5.0 is now available for download at:

https://github.com/chaintope/tapyrus-core/releases/tag/v0.5.0

Please report bugs using the issue tracker at Github:

https://github.com/chaintope/tapyrus-core/issues

How to Upgrade

If you are running a node on older version(v0.3.0, v0.4.0, v0.4.1) testnet, shut it down. Wait until it has completelyshut down. Follow the instruction in Getting Started to start a new Tapyrus v0.5.0 node.

If you want to running a private tapyrus network, shut down all nodes. Follow the instruction in Getting Started to start a new Tapyrus v0.5.0 network. As v0.5.0 makes significant changes to consensus rules, when a running network is stopped all nodes should be upgraded before restarting the network again. Please note that tapyrus-signer network should also be upgraded to v0.5.0 following tapyrus signer network setup.

Downgrading warning

Tapyrus blockchain created by older versions(v0.3.0, v0.4.0 and v0.4.1) is not compatible with v0.5.0 and vice-versa. The testnet is reset with the release of v0.5.0.

Compatibility

Tapyrus v0.5.0 is supported on three platforms : Linux, MacOS and Windows(WSL)

Notable changes

Native Colored Coins scheme

With version v0.5.0 Tapyrus blockchain supports colored coins. Tapyrus consensus, script and wallet layers have been enhanced to support the ti. Apart from TPC, the default tapyrus coin, other tokens like NFTs, single issue tokens and reissuable tokens are now supported. Tokens may be issued, sent or received and burnt on Tapyrus blockchain. Complete specification of colored coins in Tapyrus can be found in here (日本語).

Script

  • OP_COLOR opcode has been added to identify and process token/colorid in a transaction script.

Colored coin wallet

Tapyrus core wallet now supports colored coins. Coin issue, transfer and burn can be performed using tapyrus core wallet. New RPCs have been added to support these operations.

  • getcolor
  • issuetoken
  • transfertoken
  • burntoken
  • reissuetoken

RPC overhaul

Tapyrus RPCs has been modified to remove old deprecated features and parameters. Account API support has been removed. Colored coin support has been added to other RPCs as follows. All the RPCs that get private key has been changed to accept WIF private key.

  • getnewaddress - addresstype parameter has been removed and color parameter has been added.
  • getrawchangeaddress - address type parameter has been removed and color parameter has been added.
  • addmultisigaddress - address type parameter has been removed.
  • getreceivedbyaddress - minconf parameter has been removed.
  • getreceivedbylabel - minconf parameter has been removed.
  • getbalance - account parameter has been removed and color parameter has been added.
  • sendmany - account and minconf parameters have been removed and color parameter has been added.
  • listreceivedbyaddress - minconf parameter has been removed.
  • listreceivedbylabel - minconf parameter has been removed.
  • listtransactions - dummy parameter has been removed.
  • listunspent - account has been removed from the result.
  • fundrawtransaction - iswitness flag has been removed.
  • generate - private key parameter has been changed to accept WIF private key.
  • generatetoaddress - private key parameter has been changed to accept WIF private key.

Removed RPCs

  • getaccountaddress
  • getaccount
  • getaddressesbyaccount
  • movecmd
  • sendfrom
  • addwitnessaddress
  • listaccounts