Decred Journal - December 2020

By Richard Red | decredjournal | 12 Jan 2021


Image: Restructuring III by @saender

Happy New Year everyone!

December highlights:

  • After another month of polishing, v1.6 is looking very shiny indeed. Stand by for Release Candidate 5.
  • On chain metrics went wild in December, including a big jump for the ticket price to 191 DCR.
  • Social media metrics are also taking off, with @decredproject breaking through a key resistance level.
  • DCR was delisted from Upbit, causing the price to spike, and margin trading was added to several other exchanges.

Development

Unless otherwise noted, the work reported here has the “merged to master” status. 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

Merged in master and backported to v1.6 release:

  • corrected fee calculations to fix some transactions being considered lower priority in some reorg scenarios
  • whitelisted DCP-5 violations. Due to a bug that has since been fixed, 5 blocks were accepted with an old block version 6 when the majority of the network had already upgraded to version 7. The blocks were otherwise valid and are now whitelisted to allow fully syncing the chain without checkpoints.

Merged in master:

  • moved context checks from sanity/positional functions to proper locations to restore the intended restrictions that were in place before the decentralized treasury work. These will be necessary to decouple block processing order from download order.
  • changed main chain block cache semantics to be less dependent on the order the block data is seen
  • extracted block manager into its own netsync package to improve its testability and more cleanly split syncing with the network from consensus validation
  • several other changes towards multi-peer block downloading
  • added mining test harness that will make it easier to add test coverage and help to optimize block template generation code
  • changed RPC server authentication to use HMAC-SHA256 with random key unique to each startup to harden against certain classes of memory dumping attacks
  • more rpcserver test coverage
  • multiple places updated to follow error handling best practices
  • smaller code and test updates across the board

A total of 51 PRs and 92 commits from 6 contributors were merged, adding 10K and deleting 8K lines of code.

In other news, there have been commits on Dec 30 and Jan 1 but thankfully none on Dec 31!

dcrwallet

  • random coin selection for paying VSP fees (this also enables to retry and complete some VSP ticket purchases that were always failing before)
  • fixed unpublished outputs being used for funding other transactions (occurred with VSP fees that stay in unpublished state until the ticket is submitted with the VSP)
  • code refactoring

In progress:

  • ability to import voting accounts derived from a different seed (to support Trezor staking)

Decrediton

  • added button to mix all funds
  • added 1.6 release notes and animated images
  • updated translations (Arabic, Chinese, German, Japanese, Italian, Polish, Spanish)
  • ~23 fixes and UI tweaks

There will very likely be an RC5 soon fixing a few remaining issues.

Politeia

  • removed CSRF on public routes to prevent the possibility to link trickled votes by the CSRF token. The privacy impact was minimal: linking CSRF tokens to trickled votes would require writing additional code, since it is not done automatically by the CSRF library used.
  • end-to-end UI tests for proposal editing
  • removed annoying Logout modal and moved the rarely used “Logout permanently” function to Account tab
  • new politeiavoter command to verify votes
  • UX improvements for CMS invoice handling and review
  • Politeia and CMS bug fixes

tlog integration update from @lukebp:

The ability to retrieve the full timestamp (inclusion proof) for any piece of user submitted data has been added. Frontend work for this is still ongoing. The backend tlog branch is now feature complete and we’ll be starting the code review process.

vspd

  • reject reused or old timestamps
  • more test coverage for database code
  • smaller fixes and preparations for v1.0 release

dcrpool

  • single miner endpoint
  • save client info in the database and make it available on any dcrpool instance
  • support for NiceHash pool validator (allows it to connect to dcrpool and query basic stats)

dcrdex

  • new max order button that populates quantity fields with the maximum amount possible based on market, market side and wallet balance
  • public market data API endpoints via HTTP and WebSockets
  • show account ID for each DEX server
  • favor confirmed outputs for funding BTC orders
  • resume swapper from the database (better than the previous approach and less code)
  • allow apps to listen on IPv6 addresses
  • improve colors to differentiate between buy and sell orders
  • many bug fixes and dependency upgrades

A total of 28 PRs from 7 contributors were merged, adding 8K and deleting 5K lines of code.

Patch release v0.1.4 is getting close.

dcrandroid

  • notification when cfilters are fetched
  • bug fixes

Merged in dcrlibwallet shared library:

  • vspd support
  • method to query information about connected SPV peers
  • dependency upgrades and bug fixes

Note that features added to dcrlibwallet become available for consumption by dcrandroid, dcrios and godcr, assuming these apps add necessary UI.

dcrios

  • automated UI tests for some scenarios using XCUI

godcr

API for overlaying widgets is required to fully implement the intended designs for godcr. This was brought to the attention of the Gio team on their Slack and is being treated as a priority.

tinydecred

In progress:

  • script to recover funds from old Copay web wallets (one was previously at wallet.decred.org). The script has already helped to recover someone’s mainnet funds.

dcrros

  • offline mode support to fully fulfill the specs for the Construction API, where certain operations are only performed in offline instances

decred.org

  • removed inactive contributors
  • dependency upgrades

Other:

  • researchers from Electric Capital have mapped most repositories in the Decred ecosystem and built a tool to visualize their activity

People

Welcome to new first time contributors with code merged to master: @piotrdelikat (decrediton)!

Community stats as of Jan 2:

  • Twitter followers: 41,320 (+423)
  • Reddit subscribers: 10,051 (+69)
  • Matrix #general users: 287 (+34)
  • Discord users: 1,723 (+222)
  • Telegram users: 2,338 (-1)
  • YouTube subscribers: 4,300 (+50), views: 165K (+3K)
  • LinkedIn followers: 944 (+12)
  • GitHub dcrd stars: 570 (+3), forks: 247 (+1)

A few highlights from the stats we track:

Thanks to Decred ambassadors on all platforms for raising awareness about the project!

Governance

In December the Treasury received 12,099 DCR and spent 7,466 DCR. Using December’s daily average DCR/USD rate of $31.07, this is $376K received and $232K spent. At October’s average daily rate of $18.19, the USD figure billed for past work is $136K. As of Jan 5, Treasury balance is 641,260 DCR (30.2 million USD at $47.16).

Two proposals were submitted and voted on in December:

  • The third proposal from the Decred ES team requested $14,800 to fund six months work, scaled down from an initial ask of $42,000, with items relating to Talent Land Blockchain Challenge and Codigo Decred being cut. This proposal was rejected with 54.5% Yes votes, having failed to meet the 60% threshold — turnout was 37%.
  • The Decred Hackathons and LATAM Initial Chapter proposal submitted after the hackathons element of the LATAM marketing proposal was cut, the people behind it are members of the ES team. The proposal requested a max budget of $17,000 to create materials for hackathons and run two hackathons, with $3,500 of the budget reserved for prizes. The proposal was rejected with 50.2% yes votes and turnout of 36%.

December is the last billable month for USLatam and Brazil marketing proposals. Contractors working for them will need to submit renewal proposals to stay funded.

@JoeGruff has published three short progress and expense updates for his address scanner proposal.

While December was a quiet month for proposals, there are already two new ones in January, for renewed funding of DCRDEX and Decred in Depth (under new management).

Politeia Digest took a break in December but will be back soon.

Network

Hashrate: December’s hashrate opened at ~292 Ph/s and closed ~340 Ph/s, bottoming at 240 Ph/s and peaking at 452 Ph/s throughout the month. Pool hashrate distribution as of Jan 1: UUPool 42%, Poolin 35%, easy2mine 12%, F2Pool 3.9%, Antpool 2.7%, Huobipool 2.6%, BTC.com 1.3%, Luxor 1.2%, CoinMine 0.02%.

Staking: 30-day average ticket price was 163.9 DCR (+5.2). The price varied between 150.6–190.99 DCR. Locked amount was 6.42–6.68 million DCR, which corresponded to 52.01–54.20% of the available supply participating in PoS.

Another month, another high broken. Ticket price peaked at 190.9 DCR and stake participation at 54.2%.

Nodes: Throughout December there was an average of 87 public listening nodes and 200 total nodes per dcr.farm. Average version distribution for December: 27% dcrd v1.5.2, 21% dcrd v1.6 dev and RC builds, 16% dcrd v1.5.1, 5% dcrd v1.7 dev builds, 5% dcrd v1.5.0, 3% dcrd v1.5 dev and RC builds, 0.7% dcrd v1.4, 10% dcrwallet v1.5.1, 1.3% dcrwallet v1.6 dev and RC builds, 1% dcrwallet v1.5, 0.7% dcrwallet v1.4, 9% others.

@Checkmate reports via Our Network newsletter that a number of on-chain metrics are hitting all time highs.

@PermabullNino reports a ~500K DCR increase in ticket pool balance over the 28-day period.

Mainnet Lightning Network is slowly growing. Throughout 2020 there was an average of 15 nodes, 30 channels and 6 DCR capacity. As of Jan 8 there are 24 nodes, 42 channels and a total capacity of 8.7 DCR according to @jholdstock’s LN map.

Integrations

Ultravsp (formerly Ultrapool) and Ubiq VSPs have both launched mainnet instances of the new vspd voting software. Their dcrstakepool servers will continue running at legacy.ultravsp.uk and dcr.ubiqsmart.com, respectively.

Note that Ultravsp had to migrate from ultrapool.eu to a UK domain ultravsp.uk due to the Brexit domain mess, and there will be no automatic redirection due to prohibitive complexity of setting it up. VSP users who bought tickets recently have been notified via email.

Bittrex added an instant exchange feature that allows users to quickly buy assets with a debit card or exchange’s fiat balance. DCR was reported to work.

Binance has enabled margin trading for DCR/BTC and DCR/USDT, and announced a 1-week “zero-interest promotion for borrowing DCR”. (discussion) :supervillain:

MXC Exchange added 5x leverage margin trading DCR/USDT pair in addition to regular DCR/USDT pair they listed in 2019.

Turkish exchange Bitexen announced the listing of DCR among 11 other assets.

Malta-based instant exchange aggregator Swapzone has DCR support since May or earlier but in December it got on our radar and was added to decred.org exchanges page.

Korean Upbit has delisted DCR, apparently in disagreement with Decred’s mission to protect individual privacy. :supervillain:

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

Decred in Spanish team published the final 6th report for their 2nd proposal. Voting has ended for their 3rd proposal with significant 54.5% and 50.2% Yes votes but did not reach the required threshold of 60%. The team is collecting feedback on Reddit and planning what to do next.

@michae2xl published the final report that covers December activities for the Brazil marketing proposal.

Monde PR’s achievements for December:

  • created and pitched two story ideas to finance and crypto publications

News coverage secured by Monde PR:

Events

Attended:

  • Dec 3 — Hablemos Decred 24 — Internet. @elian and @pablito discussed how private cryptocurrencies are.
  • Dec 5 — World Blockchain Conference — Wuhan, China. There was no formal Decred event but @Dominic met with old friends at Cobo Wallet, F2Pool and others, to introduce them to the upcoming v1.6 and new consensus rules.
  • Dec 10 — Hablemos Decred 25 — Internet. Decred in Spanish team gathered to review 1 year working in the DAO, the good, the bad, the challenges, and what’s coming for 2021.
  • Dec 11 — Cripto Latin Fest Online 2020 — Internet. Co-organized by Paxful Latam. Decred was a VIP sponsor. @elian presented common talking points for Decred and the upcoming Hidden Hydra, which got 1.6K views on Facebook and ~800 on YouTube. In another panel he talked about how to prevent crypto scams.
  • Dec 16 — UAM Xochimilco — Mexico City, Mexico. @adcade talked about Decred’s organization and Politeia at Aula Multimedia lab of the UAM Xochimilco university.
  • Dec 18 — New Year at CR! — Internet. Crypto Resources Academy organized a year-end event and invited partners like Decred, Bitso, Prime XBT DAI, Binance, and others. During the governance panel @elian presented how Decred governance works, the role of Politeia and the decentralization of the Treasury.
  • Dec 24 — Decred AMA — Internet. This AMA for OKEx in Spanish community took place on their Telegram with ~500 users. Over 30 questions were asked about Decred’s governance, privacy, future developments, history and the DEX. There was also a DCR giveaway ($20 from OKEx and $30 from Decred in Spanish). Over 30 new members joined @DecredES channel.
  • Dec 30 — Decred in Spanish New Year Giveaway — Internet. To participate, people needed to join @DecredES Telegram and tell what they like about Decred. Out of 28 comments, 9 best were selected based on the knowledge and understanding of the project and received 3 DCR in total.

The information above is available in greater detail in our events tracker that is being built to learn what works and improve reporting of marketing efforts. Thanks to everyone submitting and reviewing events.

Media

@mm completed his 7-part series on blockchain governance:

  • part 1 introduces cryptocurrencies, money printing and Bitcoin
  • part 2 covers the technology behind cryptocurrencies, Proof-of-Work security, incentives and inflation
  • part 3 explains basic architecture types (permissionless/permissioned, public/private), Bitcoin governance, privacy and fungibility, and applications of blockchain beyond digital money (esp. e-voting)
  • part 4 introduces Decred Project fundamentals (security, consensus, funding, skin in the game) and compares it to pure PoW and PoS approaches
  • part 5 assesses blockchain security and governance of Bitcoin vs Decred using @mm’s InvalidationGame attack simulator, considering external and internal attacks. Among other details, it provides separate estimates for capex and opex required for attacking Bitcoin and Decred.
  • part 6 tests a number of hypotheses against real data (topics include correlation of on-chain metrics with price, voter turnout, OLS model, and more)
  • part 7 concludes the series by summarizing simulation results, findings on security, and what Decred can offer to the world

Decred Project not only aims to provide an alternative to financial systems that depend on a trusted third party and to people that depend on the good will of giant financial institutions but also to show how e-voting may happen in a secure and transparent fashion.

Code in Python/R/SQL used in the research is available on GitHub.

Selected articles:

  • Decred price analysis — Active addresses hit all-time highs as trend metrics flip bullish by Josh Olszewicz (bravenewcoin.com) — comes with a video version

Videos:

  • Decred bi-weekly news update — Privacy page revamped, lots of dev updates, 1.6 inbound, and more! by @Exitus (youtube)
  • New yearly high for Decred by Decred Society (youtube)
  • Decred is ideal for savers by Decred Society (youtube)
  • Decred crypto analysis — King DCR AWAKENS! Every action has an equal and opposite reaction! by DubDigital (youtube)
  • Jake Yocom-Piatt talks Decred and blockchain at Geek Insider (youtube)
  • How can blockchain can be used in elections? with Jake Yocom-Piatt and Jill Malandrino of NASDAQ TradeTalks (youtube)
  • Staked Podcast: Episode 0.0.5 (youtube) — update on the state of the podcast and an announcement regarding Eduardo and Decred
  • Interview with @BTC_Uncle by Staked Podcast (youtube, short clip on why Decred)
  • Interview with Ammar Naseer (@Ammarooni) by Staked Podcast (youtube)
  • 2020 onchain close out session BTC + DCR by @Checkmate (youtube)
  • Decred Deep Dive: Hidden hydra release is incoming! by @Checkmate (youtubediscussion)

Audio:

  • Rough Consensus 14: Rehashing bull market happenings. @Checkmate and @PermabullNino share their thoughts on Bitcoin ATHs, ETH 2.0, DCR 1.6, and more. (libsyn)
  • Rough Consensus 15: The next paradigm. Mav from Ready Set Crypto hops on the pod to talk big picture crypto. (libsyn)

Art/fun:

Translations:

  • Arabic translation of “Decred: Where did it all begin?” published at satoshiat.com crypto-focused website.
  • The general “Utility of cryptoassets” and more technical “Security hardening for digital wallets” and “Verifying digital signatures: Decred” from stakey.club translated to Spanish by @francov_ (see Spanish translations repo and their Medium)
  • Decred Journal November 2020 was translated to Arabic (@arij, @abdulrahman4), Chinese (@Dominic), and Spanish (@francov_). Thank you all for spreading Decred news!
  • all known translations are tracked in this index that has 305 items as of writing

Other non-English content:

  • “The Decred cryptocurrency increased by 50% and surpassed DeFi coins” (es.cointelegraph.com)
  • @arij recorded a greatly improved Decred introduction in Arabic (youtube)

Community Discussions

Selected Reddit posts:

  • adding ERC-20 on DCRDEX
  • Is churning (sending to self) useful with CoinShuffle++? (hint: CSPP is a non-trivial incentive to stake DCR)
  • trade-offs of Decred privacy features
  • the benefits of the upcoming changes to the VSP system from a perspective of a VSP operator

Selected Twitter discussions:

  • @Ammarooni reminds that December 15 marked the 5th anniversary of Decred’s first announcement on bitcointalk forum
  • short history how Decred coded on regardless of the oracles, by @Dustorf

Markets

In December DCR was trading between USD 24.01–41.59 / BTC 0.0012–0.0020. The average daily rate was $31.07.

With the massive Bitcoin runup, Decred has also been raising in USD without losing much ground in BTC value.

DCR was trading unusually high up to $350 on Upbit until it was delisted there.

During the 48 days of DCRDEX operation it has traded ~600K DCR, which is 30% of Binance volume over the same period. Unlike any centralized exchange though, this volume is much more reliable and harder to cheat.

@bochinchero published his first on-chain analysis piece on Decred, proposing new valuation metrics:

Staked Realised Value is a metric that is analogous to the Realised Value but applied exclusively to coins circulating within the ticket pool, essentially treating every ticket as a UTXO. [it] provides a more accurate valuation of the capital locked into the security and governance of the network. During past sharp sell-offs it has acted as a psychological bottom — the point of maximum pain, where the buyers of last resort step in.

@Checkmate announced the launch of checkonchain.com with many, many (many) charts:

Now this is something I have been working on for a very long time. If you want serious edge in this market, pay attention to the beating heart of the chain. A full blown masterclass to learn how to properly apply each metric is coming in hot soon after.

Relevant External

The Cover Protocol, a DeFi insurance project which “allows DeFi users to be protected against smart contract risk”, was hacked and the attacker minted 40 quintillion COVER tokens, liquidating these for $4 million, but later returning the funds to the smart contract. The team are now looking at creating a new version of the COVER token with a snapshot to refund COVER holders, because otherwise those extra 40 quintillion tokens would mess up the tokenomics.

Nexus Mutual’s CEO was hacked for $8.3 million when an attacker tricked him into signing a transaction that sent all his NXM to the attacker’s wallet. The attacker laundered $2.7 million to BTC, and this sent the NXM price lower, they then sent a message on the Ethereum blockchain offering to return the rest (so NXM could avoid further pain) for a ransom of $2.8 million in ETH.

December’s top DeFi rug pull was Compounder finance, whose devs absconded with $10.8 million of investor funds after utilizing a hidden backdoor in the contracts.

December’s top flash loan attack victim was Warp Finance, with the exploit weighing in at $7.7 million, but $5.85 million is being returned to holders. This is arguably December’s top DeFi hack refund too, but COVER is a contender for that title because although the dollar amount being returned was smaller, it represented a ridiculous proportion of the COVER supply.

Gitcoin ended a strong 2020 with its 8th round of Ethereum funding seeing a matching pool of $450K, and also the first round of non-Ethereum funding for Zcash projects was completed, dispensing a $25K matching pool from Zcash Foundation but attracting just 156 donations totalling $2,137.

A bill was introduced in US Congress that would require stablecoin issuers to obtain bank charters, requiring approval from the Federal Reserve and various other bodies before circulating any coins.

The front line in crypto regulations then shifted to “self-hosted wallets” (i.e. any self-custodied crypto) and the degree of due diligence that exchanges are required to carry out on transactions involving these questionable entities.

Bittrex announced that it will be delisting privacy coins Monero, Zcash and Dash on Jan 15, without stating a specific reason. Around a month before that the same coins have been delisted by ShapeShift.

Bittrex also became the eleventh exchange to delist XRP, a week after US SEC charged Ripple Labs with raising $1.3 billion by selling the coin in unregistered securities sales. This reminds that raising funds is a long-term systemic risk that may backfire years after the ICO.

In an effort to shake off regulators, Facebook’s Libra rebranded to Diem and dropped the aspiration of being backed by a basket of currencies in favor of straight USD backing.

Ledger’s leak of customer data, originally reported in July, has now been dumped publicly. In the original announcement Ledger stated that more detailed information such as physical address had been accessed for 9.5K customers, but it seems now that this information was harvested for 272K customers.

Support DJ on the web!

We don’t know what you guys did but November DJ was an anomaly. 100+ Twitter likes up from average 60, 1K+ Medium claps vs regular ~300, hitting top 10 December posts tagged “DEX” on Medium, good views on Publish0x, and so on.

Thank you for pressing all these buttons! Please keep going to bring visibility for the best cryptocurrency project.

About This Issue

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

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

You can submit a story here to be considered for the next release. Feedback and contributions are always welcome.

Credits (alphabetical order):

  • writing and editing: bee, degeri, l1ndseymm, lukebp, richardred
  • reviews and feedback: davecgh, elian, JoeGruff, oshorefueled
  • title image: saender
  • funding: Decred Treasury

How do you rate this article?

9


Richard Red
Richard Red Verified Member

Techno-social (data) scientist. Likes peer production, public blockchains, decentralized credits, and DAOs.


decredjournal
decredjournal

The Decred Journal is a monthly update on the activities of the Decred project, ecosystem and community.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.