DEV Community

Cover image for Dash Platform Development Update - 2022 October 4
Dash Core Group Devs
Dash Core Group Devs

Posted on

Dash Platform Development Update - 2022 October 4

Hey there, fellow Dashers!
We continue providing updates on Dash Platform development.
Here's the freshest one.

TenderDash

Goals: Same block execution

Task

  • Stabilization of same-block execution in progress

What’s Next

  • Stabilization of same-block execution
  • Investigate deadlocks in consensus

GroveDB

Goals: Fee continuation and Sum Trees
Tasks
Features

  • Sum Trees in progress
  • Merk Sum Trees done
  • GroveDB Interface done
  • Sum Tree propagation in progress
  • Removal on Root Tree storage in progress

Trees explanation
Problem: We have a root tree storage that is incompatible with our fee model.

Image description

Cost of the Parent Tree:

  • Key
  • Value (32 bytes)
  • Value Hash (32 bytes)

Cost of the Top Node of Sub Tree:

  • Key
  • Value
  • Value Hash
  • Root Storage Cost
  • Key
  • Path Hash

Solution: Use Parent Trees to store the root key of underlying Merks.

Cost Savings:

  • Key - Key (Cancels out)
  • Path Hash (32 Bytes)
  • Parent Root Hash (32 Bytes)

Cost of the Parent Tree:

  • Key
  • Sub Root Key
  • Value Hash becomes Subtree Root Hash (32 bytes)

Cost of the Top Node of Sub Tree:

  • Key
  • Value
  • Value Hash Root Storage Cost Key Path Hash

What’s Next

  • Continuation of removal of root tree storage
  • Verifying all cost tests
  • Worst case costs after changes

SDK

Goals: Rework chain synchronization process (SPV)

Tasks

  • Unit tests 75%
  • Integration tests 20%

What’s Next

  • QA for refined transactions sync process
  • Testing with platform on testnet

Protocol

Goals: v0.23 alpha release

Tasks
Alpha release of Dash Platform v0.23.0
Testnet upgrade to new architecture and OS will take about 2-3 days
Dashmate and SDK will be released as well

  • Add withdrawal to withdrawal queues in RS Drive in progress
  • Implement helper container which will renew certificate automatically in progress
  • Multi transaction support in Drive in progress
  • Fixed 4 bugs done

What’s Next

  • Continue on fee system
  • Continue work on withdrawals
  • Continue work on BLS Rust Bindings
  • Continue work on HTTPS for DAPI
  • Same Block Execution integration
  • Release Platform v0.23

Rust Port Update

Tasks

  • Bring all changes from v23 into the Rust DPP port in progress
  • Make previous JS DPP tests work with Rust DPP binding in progress
  • Integrate Rust DPP into SDK, Drive, DAPI and test suite in progress

More detailed progress report

  • Porting v23 changes: Previously we’ve finished 16/21, current state is 18/21
  • Right now we’re finalizing the API between Rust DPP and JS parts of the project: How do we handle data types that are exclusive to JS, like Buffers

Top comments (0)