Weekly Dev Update #48

THORChain Weekly Dev Update for Week 16–22 June 2020; Internal Audit, Testnet 3.5, Unbond Memo, Bundled Witness Transactions.

THORChain
THORChain
4 min readJun 24, 2020

--

Summary

Internal Audit

The team spent the week going over every line of code in the main THORNode repo as they move towards a Gold Master release for Chaosnet. There is not anticipated to be any final business logic feature changes to THORChain as they move to stabilise the code base.

Testnet 3.5

The team re-deployed a new testnet during the week which fixed some issues found in the previous week. A new testnet involves a new THORNode binary, updated Midgard and a refreshed frontend client. Users will notice subtle changes to make the client stable.

Unbond Memo

New logic has been added to allow a node operator in the pending queue to leave the system, or reduce the amount of bond they have. This will facilitate a Node Operator to take profits from their rewards whilst they are in standby, or take some of their bond and stake it to pursue better yield.

Bundled Witness Transactions

Logic has been added for the Bifrost to bundle multiple witness transactions together, reducing the amount of bandwidth on the system.

THORNode

Bugfixes from testnets, as well as some quality and feature inclusions from testing.

Internal Audit

Midgard

Bugfixes and feature requests as required for the clients.

TSS

The team have pushed initial work to build out a GG20 TSS Proof-of-Concept that could improve reliability, scalability and solve for node-account blame, as well as encrypting key generation output.

Clients

BEPSwap Client

Numerous UI/UX tweaks based on community feedback

ASGARDEX Client

Work continues on the flagship ASGARDEX product, now with keystore support using the new ASGARDEX-Crypto library.

THORNode Infra

The team have prepared an initial set of charts to deploy the following for a THORNode:

THORNode services:

  • thor-daemon: THORNode daemon
  • thor-api: THORNode API
  • bepswap: BEPSwap UI frontend
  • bifrost: Bifrost service
  • midgard: Midgard service

External services:

  • binance-daemon: Binance fullnode daemon
  • bitcoin-daemon: Bitcoin fullnode daemon
  • ethereum-daemon: Ethereum fullnode daemon

Tools

  • elastic: ELK stack, deperecated. Use elastic-operator chart
  • elastic-operator: ELK stack using operator for logs management
  • prometheus: Prometheus stack for metrics

https://gitlab.com/thorchain/devops/helm-charts

Grafana Dashboard

Community Work

The community are building out:

Node bot gets better UX

In addition, the team are also talking with a mobile wallet provider and hace commissioned a team to build a blockchain explorer.

Audits

The team have received the final of the Kudelski audit, with no major issues found.

Kudelski reported:

• 1 security issue of medium severity [PATCHED]
• 2 security issues of low severity [PATCHED, NOT-RELEVANT]
• 1 observation related to general code safety [NOTED]

THORCHAIN-TSS-AUDIT-24JUNE2020.pdf

Gauntlet are preparing their final THORChain report.

Next Milestones

The testnet 4 is being prepared and will be made public soon. Chaosnet is expected once testnet has been fully-validated in several environments.

Community

To keep up to date, please monitor community channels, particularly Telegram and Twitter:

--

--

THORChain
THORChain

Published in THORChain

A decentralised liquidity network for native assets. Swap, Earn, Borrow

THORChain
THORChain

Written by THORChain

The official team for THORChain — the decentralized liquidity network.