Ergo Mainnet 3.0.7 Release

This release is introducing new API methods and bugfixes, and also a new consensus rule for testnet only. Details are below.

The new /script API path is about providing access to scripting possibilities of the node and ErgoScript compiler.

  • /wallet/with_unconfirmed renamed into /wallet/withUnconfirmed
  • /wallet/p2s_address and /wallet/p2sh_address API methods are moved into /script/p2sAddress and /script/p2shAddress
  • new /script/addressToTree method to get serialized script for a box from address
  • Fix for #853 : “when trying to send transaction during the synchronization process, it is possible to achieve negative balance in wallet”
  • Fix for #875: improper UI description for “inputsRaw” parameter in transaction generation methods
  • Fix for #876: a filter for to prevent double spending of unconfirmed boxes introduced in 3.0.6 also filtered out user-provided boxes

Before mainnet launch difficulty got high in the testnet so now dev team can not generate blocks with our few GPUs. Thus we introduce the following breaking change in consensus for the testnet only.

  • weaker difficulty validation rule for testnet: if there’s not block for 5 minutes then difficulty for a new block is set to 1
1 Like