Skip to content

Latest commit

 

History

History
434 lines (260 loc) · 34.8 KB

202204.md

File metadata and controls

434 lines (260 loc) · 34.8 KB

Decred Journal – April 2022

abstract art

Image: Objective Constructs by @saender

DJ is back! This issue covers April news, with a few exceptions.

Recent highlights:

  • The four consensus changes DCP0007-DCP0010 were all approved by stakeholder voting with almost unanimous support (~99.7%) in April, and all have activated on May 8 so any nodes running old versions will have been forked off the network.
  • In March, the majority of the funds held in the old treasury address, over 610,000 DCR, was transferred into the new treasury which requires stakeholder approval of spends.
  • Version 1.7.2 of the Decred node and wallet software was released on May 11, it fixes some bugs and adds the treasury spend voting feature for Decrediton users.
  • So far in 2022 there have been four Politeia proposals published, all approved with 96%+ support - funding has been extended for Politeia and DCRDEX development, along with video production and the @StakeShuffle_ Twitter bot.

Contents:

Development

The work reported below has the "merged to master" status unless noted otherwise. It means that the work is completed, reviewed, and integrated into the source code that advanced users can build and run, but is not yet available in release binaries for regular users.

dcrd

dcrd is a full node implementation that powers Decred's peer-to-peer network around the world.

More progress made towards the primitives module:

  • Implemented a subsidy cache with functions to calculate subsidies for Proof of Work, votes, and the treasury. Also includes a full suite of tests and benchmarks.

Decrediton

Decrediton is a full-featured desktop wallet app with integrated voting, StakeShuffle mixing, Lightning Network, DEX trading, and more. It runs with or without a full blockchain (SPV mode).

Decredition v1.7.2 has been released on May 11 with over two months of improvements and fixes (including everything reported below). Users are urged to upgrade. Check the release notes here. As always, verify the downloads before installing.

DCRDEX integration:

  • SPV mode is no longer experimental for the DCRDEX. Users can access the DEX tab while running Decredition in SPV mode.
  • DEX login will be skipped once the DEX is initially launched. This should make loading up the DEX faster and improve flow.
  • DCRDEX module updated to v0.4.3 with some new features and important bug fixes. More in the DEX section.

VSP oversight enhancements:

  • Enhanced Vote details page to show a warning if consensus vote choices cast by the VSP differ from those set in the user's wallet. The page will also show the VSP that managed the ticket, and the transaction that has spent (voted with) it.
  • Added block voting info to the Vote page (last block validity, voting version, vote bits).
  • An alert is now in place in the Governance tab when using any un-upgraded VSP. A VSP that runs older software may not be able to use all vote preferences when voting users' tickets.

Other changes:

  • A Treasury Spending Tab has been introduced. This is where users will vote on treasury spends.
  • Added redesigned Tutorial views under the Settings tab covering many aspects of Decred.
  • The Staking tab now features an infographic for first-time ticket buyers, reminding users the basics of Decred's time-locked ticket-based voting system.
  • Performance improvements in the transaction's history tab. Notably, rows are now loaded gradually using infinite scrolling, which will reduce bottlenecks and sluggishness. Added highlighting of the last clicked row to keep track of user's position in the list.
  • Per-account encryption is now automatic for restored wallets.
  • More automated UI testing coverage.
  • ~5 bug fixes.

Voting on Treasury Spending is now in Decrediton!

RTFM without leaving Decrediton!

Politeia

Politeia is Decred's proposal system. It is used to request funding from the Decred treasury.

Backend, merged:

  • Fixed two bugs in migration code (did not affect normal operation of Politeia).

Backend, in progress:

  • Importing legacy proposals into the new Politeia database. A new tool to convert legacy data into the new format is complete. Up next is the import tool for loading converted data into the production Politeia database.

User-facing UI changes:

  • Added a new component for editing, rendering and diffing Markdown, to replace the deprecated react-mde package. This should enhance editing UX and improve line diffing.
  • Added infinite scrolling to Proposals list.
  • Revamped loading placeholders for proposals.
  • Reimplemented Proposal details page using the latest components.
  • Utilized new Markdown rendering and error handling in the comments plugin.

Developer UI changes:

  • Implemented the new layout system on the home page. Layout primitives like Column and Row are now reused from the pi-ui library.
  • Added common modal component.
  • Added a flag to configure plugins when generating Politeia-like apps with the newapp CLI tool.
  • New features and fixes in the shared pi-ui library (default theming, button tooltips, layout primitivs, etc.).

cspp

cspp is a server for coordinating coin mixes using the CoinShuffle++ protocol. It is non-custodial, i.e. does not hold any funds.

R&D to replace single-server CoinShuffle++ with a peer-to-peer model has been announced:

we will begin simulating this (p2p cspp vs single server) soon.

the expectation is that dealing with registration and timeouts will be messier, but it should be possible. afaict, the main threat model is partitioning attacks, whether external or internal. [@behindtext, 2022-03-24]

DCRDEX

DCRDEX is a non-custodial exchange for trustless trading, powered by atomic swaps.

DCRDEX development is on fire. SPV mode is now completed for use in Decredition. Dogecoin has been added. Zcash and Ethereum are making steady progress on testnet. Tor hidden service support is ready. The registration UI, which was a bit confusing for some, has been clarified.

Asset support:

Other changes:

  • Tor hidden service support added. This introduces special handling for DEX hosts with .onion names.
  • The DEX Registration UI has been updated to account for v3 .onion addresses. The UI also clarifies the registration fee process.
  • Privacy enhancements to protect against memory scraping attacks targeting user passwords and seeds.
  • Better contract expiry edge case handling on the server and on the client.
  • Various bug fixes, optimizations, and other improvements.

v0.5 is shaping up with a lot of big changes. Loads already merged, but under review presently are swap acceleration with CPFP transactions, mixed DCR account support, support for LTC's MWEB release, Zcash, Electrum wallet support (SPV for many assets with existing/external wallets), and of course ETH on mainnet which we have been holding back from prime time. [@chappjc, 2022-05-13]

Much wallets!

Decred Wallet (Android)

  • DCR logo removed from QR codes.
  • Added an info icon explaining how transaction byte size is determined and how it affects fees.
  • User is notified if available disk space is low.
  • Icon added to hide and show wallet balance on Overview page.
  • Transaction sending page has been reworked to provide users with more context of a successful transaction.
  • Database type information has been added to the wallet settings page.
  • Prevent users from restoring duplicate wallets from the same seed, and also from importing duplicate watch-only wallets using the same xpub.
  • Seed input restore page is now more protected against screenshots. Also, app window preview is no longer shown in task switcher.
  • Updated French translation.
  • ~4 bug fixes, and other tweaks and optimizations.

Keep your DCR balance to yourself!

Decred Wallet (iOS)

GoDCR

GoDCR is a lightweight desktop wallet app with integrated staking, privacy, and Politeia browsing.

GoDCR v1.7.0 has been released on May 11! This is the first Mainnet release after almost 8 months of development and polishing since the v0.9.0 Testnet release. Get the downloads and release notes and verify that it was really signed by [email protected] (key ends with A3C9EB3218CCC3E8).

Merged in April:

  • Visualize available/locked balance on the Staking page.
  • Added a checkbox to move funds when setting up mixing.
  • Prevent restoring duplicate wallets from same seed or same xpub.
  • Proposal details displayed in a modal instead of tooltip.
  • Prevent usage of the default account in StakeShuffle.
  • Fixed possible address reuse on Receive page. Also, accessing Send and Receive pages will be blocked until sync is complete.
  • ~14 bug fixes, ~10 UX tweaks, code refactoring.
  • The base dcrlibwallet updated to bring new features and fixes to Android, iOS and GoDCR wallets.

In progress:

GoDCR balance overview. Don't just look at it, press the button!

Other

  • Updates for Go 1.18 in many repos.
  • The Decred Bug Bounty program has been updated. A total of 228 submissions have been processed so far, with 21 of them being eligible for a payout. Details of three vulnerabilities can now be made public. Congrats to @Al1ex and @aditi_singghh who have been listed in the Hall of Fame! Thanks to community member @degeri for running the bug bounty program.

People

Welcome to new first-time contributors with code merged to master: @Juneezee (dcrdex) and @yaroyazeed (dcrandroid)!

The Decred News Updates have a new face. @Dajana_DCR is now helping @Exitus as a news host, changing things up! Her debut video received over 1,000 views and 101 likes.

Community stats as of May 2 (compared against statistics from December Journal):

  • Twitter followers: 54,862 (+3,946, +987/mo)
  • Reddit subscribers: 12,621 (+133, +33/mo)
  • Matrix #general users: 662 (+63, +16/mo)
  • Discord users: 2,293 (+118, +30/mo)
  • Telegram users: 2,828 (-332, -83/mo)
  • YouTube subscribers: 4,639 (-1), views: 207K (+7K, +1.8K/mo) *

* corrected from "214K (+14K, +3.4K/mo)" on 2022-05-21

Governance

In April the new treasury received 9,481 DCR worth $575K at April's average rate of $60.62. 1,152 DCR was spent from the legacy treasury address to pay contractors, worth $70K at April's rate, or $66K at March's billing rate of $57.22.

In Feb-Mar, around 617K DCR was transferred from the legacy treasury address to the new treasury account that requires stakeholder approval to spend from.

As of May 10, combined balance of legacy and new treasury is 788,247 DCR (32.7 million USD at $41.52). Around 46K DCR remains in the legacy treasury, or ~6% of the total.

Since the last issue of Decred Journal (December 2021), there have been four proposals published on Politeia, all approved.

The proposal for continued development of Politeia with $138,600 was approved in March with 97% support and turnout of 55%. This sees Politeia development funded until July 2022.

A proposal by @Exitus to fund video content production with $32,000, covering the remainder of 2022, was approved in March with 98% support and turnout of 55%.

A proposal to continue with phase 2 of @StakeShuffle_ the Twitter bot with $1,684 was approved with 96% support and turnout of 55%.

The proposal to continue phase 3 of DCRDEX development with $370,000 was approved in January with 97% support and 57% ticket turnout.

All of the consensus changes deployed as part of the v1.7 release were approved by voters with very similar voting outcomes: 99.9% approval of the 60% of tickets that voted (as opposed to abstaining, which ~40% did), there were just 61 votes against the subsidy split change (vs 23,664 Yes votes). Considering the opposition to this subsidy split proposal which was voiced in some quarters, the outcome suggests that the complaining parties either didn't have (m)any tickets or chose not to vote No with them for some reason.

The changes activated on May 8, so along with the new subsidy split (DCP-10) there are fixed treasury spend policy (DCP-7), explicit version upgrades (DCP-8), and automatic ticket revocations (DCP-9).

Network

Hashrate: April's hashrate opened at ~261 Ph/s and closed ~331 Ph/s, bottoming at 212 Ph/s and peaking at 370 Ph/s throughout the month.

Distribution of hashrate reported by the pools on May 10: Poolin 52%, ViaBTC 24%, F2Pool 8%, AntPool 6%, Luxor 5%, BTC.com 3%, CoinMine and OKx less than 1%.

Distribution of 1,000 blocks actually mined before May 10: Poolin 51%, ViaBTC 16%, DsV1GF7 9%, Luxor 4%, BTC.com 4%, F2Pool 3.6%, CoinmMine 0.4%, DsX51bV 0.1%, unknown 12%.

Staking: Ticket price varied between 195-228 DCR, with 30-day average at 214.2 DCR.

The locked amount was 8.58-8.89 million DCR, meaning that 61.4%-63.0% of the circulating supply participated in Proof of Stake.

63.03% of the supply staked represents a new all time high!

We're just staking. A bit more again. Nothing to see here!

VSP: On May 10, ~6,780 live tickets were managed by 15 listed vspd servers, or 16.6% of the ticket pool. This is a small bump by ~230 tickets or +0.4% of the ticket pool, compared to our last snapshot on Jan 2.

Legacy (dcrstakepool) tickets can no longer be voted since May 8 when the chain forked to the new rules. On May 10, the 7 listed and 1 unlisted legacy VSPs collectively reported 125 tickets but this figure is outdated. 5 of these VSPs have stopped voting between May 2021 and Feb 2022. The 3 remaining VSPs to operate till the very end had 27 live tickets on May 8. coinmine.pl, decredbrasil.com, and stakey.net showed to be the most hardcore.

Nodes: Throughout April there were around 175 reachable nodes according to PD Analytics.

Node versions as of May 10 snapshot (187 total, dcrd only): v1.7.1 - 49%, v1.7.0 - 17%, v1.7.0 dev builds - 9%, v1.6.2 - 5%, v1.8.0 dev builds - 4%, v1.6.0 - 2%, v1.7.2 - 2%, v1.5.2 - 2%, other - 7%.

The share of mixed coins varied between 57.9%-59.3%. Daily mixed amount varied between 290-450K DCR.

Decred's Lightning Network has seen 45 nodes, 78 channels with a total capacity of 41.5 DCR as of May 10 - a nice bump since January's 36 nodes, 66 channels, and 25.5 DCR capacity.

Ecosystem

A new VSP titled big.decred.energy run by @DCR_uncle is in the process of being added to the official VSP list.

Warning: the authors of the Decred Journal have no idea about the trustworthiness of any of the services above. Please do your own research before trusting your personal information or assets to any entity.

Outreach

Monde PR's achievements:

  • Pitched Decred to 8 PR ops in finance and crypto publications.
  • Responded to 1 request for comments.

Secured the following news articles:

  • @jy-p was featured in an ARTE-TV documentary titled "Are Cryptocurrencies Better Money?". The documentary was broadcast on ARTE TV in French and German and also appeared online. Here is the version with English subtitles (password Db9p6ki).
  • @jy-p was interviewed by Coin Rivet talking about Decred's progress since 2018 and the subsidy split change. The article was syndicated to Yahoo! Finance.
  • A piece in Cryptopolitan featuring commentary from @jy-p on Bitcoin.
  • An article in Finder featuring commentary from @jz on Litecoin.

Events

Attended:

  • @Exitus attended a cryptocurrency meetup at the Hashhouse in Medellin, Colombia. There he informed attendees about Decred and its unique features.
  • Insaf Nori (@arij) was invited to talk about Blockchain Technology and Decred Technology at the half-day training organized for the members of AEFDS Deroua, Morocco.

Media

@Applesaucesome has written a cloud-based Decred full-node tutorial using Digital Ocean.

Why run a full node you might ask?

Full nodes are the backbone of Decred. By validating and broadcasting transactions without relying on third parties they help keep the network decentralized. Each full node added to the network adds to its security and robustness.

There are also Raspberry Pi tutorials available.

Meet decredsociety.com - a new website dedicated to Decred related ideas, news, and other aspects by @phoenixgreen. @Applesaucesome will also be posting technicals and other information related to Decred's markets.

Selected articles:

Videos:

A new monthly LiveStream initiative has been started by @phoenixgreen and @Exitus called "Decred and the State of the Market". Any eager community members are welcome to join!

TikTok videos:

Art and fun:

Please post yours memes in the #DCR Memes channel on Discord or Matrix!

Non-English content:

  • The Decred Brazil Twitter account has been actively posting about new Decred updates, animations, and more.

Discussions

Selected Reddit posts:

Selected Twitter discussions:

Markets

In April DCR was trading between USD $52.40-$86.20 / BTC 0.00129-0.00216. The average daily rate was $57.22.

DCR rallied by nearly 45% to over $86 in one day on April 18th, its highest level in four months. This pump was unfortunately short-lived.

DEX April-May volume, in DCR

DEX monthly volume, in DCR

Relevant External

The latest big news which seems to be affecting the crypto markets is related to the collapse of LUNA and de-pegging of its associated stablecoin (UST) - and there are claims this was driven by an actor who short sold the tokens to profit from this eventuality. The latest development at time of writing (May 12) is that the Terra blockchain has been halted to prevent governance attacks because the value of LUNA had fallen too low and the whole blockchain became vulnerable, validators will coordinate to restart the chain. This is the most significant failure of a "stablecoin" to maintain its value so far, as LUNA had reached a valuation of $41B which put it in the top 10 crypto market caps, but quickly lost 97.5% of this value as UST de-pegged and it emerged that founder Do Kwon had been behind several other failed stablecoins pseudonymously. This disaster is still unfolding but it seems set to result in major losses for people who invested in the Terra ecosystem and trusted its stablecoin concept - it is also already drawing increased regulatory attention on the stablecoin and DeFi space.

In April, the JUNO community voted to confiscate millions of dollars of tokens from the wallet of user who was accused of gaming the airdrop to receive 10% of all airdropped tokens. After an initial sentiment poll in March which favoured revoking the whale's tokens the holder came forward and claimed that the tokens belonged to his clients. However the vote to block access to all of the user's tokens was passed with 74% approval, he has said he is considering legal action if the tokens are not returned to the clients who own them.

The Ronin Bridge, associated with Axie Infinity play to earn game, was hacked for $600M in March, when an attacker gained access to the private keys of 4 validators run by Sky Mavis (game creators) and one by "Axie DAO", and this was enough for them to take control and steal the funds. It seems the attackers also tried to profit on their attack by shorting the RON and AXS tokens, but because nobody noticed the missing funds for a week the attacker's short position got liquidated before the news broke. In April the Lazarus Group in North Korea was revealed by Chainalysis to be the beneficiary of the hack.

Yuga Labs have been busy in 2022 - acquiring the rights to Cryptopunks NFTs and making these match BAYC terms of use and launching the APE token to serve as a currency for their ecosystem in March, then issuing deeds to land in the BAYC metaverse (Otherside) in April. The Otherside deeds launch was successful in raising $285M for Yuga Labs, but it was widely criticised for a poor launch mode and implementation which saw users spending $180M in ETH fees in a gas price auction on poorly optimised smart contracts.

Cryptocurrency has featured in a number of ways in the conflict between Russia and Ukraine, with Ukraine already having quite a developed crypto policy and stance before the Russian invasion. In the early days of the war the Ukrainian government called for and received crypto donations, and one month in had received over $100M in donations this way. However, by April the Ukrainian government's tone towards crypto had shifted and the prospect of capital outflows weakening the national currency led the government to ban the purchase of crypto with the local currency, and limit purchases with foreign currencies to $3,300/month.

The prospect that Russia might use crypto to evade financial sanctions received significant coverage but it seems that there is little sign of Russians state use of crypto, although the number of smaller retail level transactions has grown substantially since early 2022.

That's all for April. Share your updates for the next issue in our #journal chat room.

About

This is issue 46 of Decred Journal. Index of all issues, mirrors, and translations is available here.

Most information from third parties is relayed directly from the source after a minimal sanity check. The authors of the Decred Journal cannot verify all claims. Please beware of scams and do your own research.

Credits (alphabetical order):

  • writing and editing: bee, bochinchero, Exitus, l1ndseymm, richardred
  • reviews and feedback: chappjc, davecgh
  • title image: saender
  • funding: Decred stakeholders