github wavesplatform/Waves v1.5.0
Version 1.5.0 (Stagenet)

latest releases: v1.5.7, v1.5.6, v1.5.5...
pre-release11 months ago

Attention! This release is for stagenet only! Not for mainnet/testnet.

In this release

This release introduces the new Light Node operation mode which greatly reduces CPU usage during block processing, as well as lays the groundwork for the upcoming Waves 2.0 release. RocksDB is now used instead of LevelDB, and the storage structure has been updated to take advantage of RocksDB's improvements and optimizations.

Protocol Enhancements

  • A block generator distributes state snapshots to the blockchain network, along with the key block and microblocks. Snapshots contain changes of blockchain state, including balances, entries of account data storages, assigned scripts, token parameters, etc., resulting from transactions added to the block. See the docs for more information about the Waves 1.5 protocol.
  • If a generating node discovers a discrepancy between a received snapshot and a block, the node can challenge the block and receive a reward instead of the original generator.
  • Other nodes get the option to operate in the light mode, sequentially applying ready-made state snapshots without performing transaction validation, and thus significantly speed up block processing. The light mode is enabled and disabled with the waves.enable-light-mode setting (no by default).
  • Added to the block header:
    • state_hash field containing the root state hash for the block,
    • challenged_header message containing header fields of the block being challenged by the current block.
  • Added the attachment field to an order as part of an Exchange transaction.

Ride

  • Released version 8 of the Standard Library.
  • Added built-in functions:
    • replaceByIndex — replaces an element in the list by index.
    • calculateDelay — calculates the time delay before generating a block.
  • Added the attachment field to the Order structure.
  • Disabled the ability to assign scripts, which use Standard Library versions 1-3, to accounts and assets. Previously installed scripts continue to operate.

Node REST API

  • Added fields stateHash and challengedHeader to the response of endpoints returning a block or block header.

  • Added fields order1.attachment and order2.attachment to the response of endpoints returning transactions, as part of an Exchange transaction.

  • Added the value elided for the field applicationStatus for transactions of any type that have become invalid as a result of a block challenge.

  • Removed deprecated API routes
    • /debug/stateChanges/address/{address}/limit/{limit}
    • /debug/stateChanges/info/{id}
    • /debug/rollback-to/{id}
    • /assets/broadcast/*
    • /assets/[transfer,masstransfer,…]
    • /alias/broadcast/create
    • /alias/create
    • /leasing/lease
    • /leasing/cancel
    • /leasing/broadcast/*
    • /assets/{assetId}/distribution
    • POST /addresses/data
    • /blocks/signature
    • /utils/script/compile
    • /addresses/verify/{address}
    • /addresses/sign/{address}
    • /addresses/verifyText/{address}
    • /addresses/signText/{address}
    • /blocks/first

Activation

To activate the improvements listed above, vote for feature #22 Light Node.

Update Notes

Please re-import the blockhain from scratch when updating from 1.4.

SHA256 Checksums

710e0d69bda5bc7171cd10ed22200f367c3df060790e1d3486cf92bd5f932e8b  waves-grpc-server-stagenet_1.5.0_all.deb
1d9864fb55397f2bbfe855c75c045cb8413ac1a120c8b409c03fbd6f587e2e9c  waves-stagenet_1.5.0_all.deb
8bb32cd74a7202de0d8ca8139879afa8e54683575b26361b11fcda6dc10c9808  waves-all-1.5.0.jar
de1ee83c07db9365abd9c29dee46debac0d330a87de252458f0d1c86ef30e790  waves-grpc-server-1.5.0.tgz

Don't miss a new Waves release

NewReleases is sending notifications on new releases.