Highlights for July:
- There are now 3 consensus changes in various stages of development, and the ticket revocations one is already attracting some press coverage.
- Solid progress on all of the usual repositories — dcrd took another 10% off the initial blockchain download time, and DCRDEX has added core ETH integration.
- It has been a big month for interviews, with Decred in Depth recording episodes with a number of well-known community members, and some other publications and podcasts featuring interviews with project developers.
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.
- updated the
UtxoBackendimplementation to use
leveldbdirectly rather than using the
databasepackage. This results in ~10% faster initial blockchain download and ~12% reduced memory usage.
- block index changed to use short keys, resulting in ~30 MiB memory savings
- added size limits for RPC requests to help further harden the server against potential abuse in non-standard configurations on poorly configured networks
- added a more strict origin check for WebSocket connections
- smaller fixes and cleanup
At this point we have 3 upcoming consensus changes at different stages of development:
- reverting to the originally-proposed treasury expenditure policy (to fix spending from the new treasury) has a draft DCP and a draft pull request
- explicit version upgrades has an approved proposal and some support code already merged (like the standard script handling we covered in June)
- automatic ticket revocations has an approved proposal
One less obvious benefit of automatic ticket revocation is that it simplifies ticket splitting implementation.
- added an RPC method that will allow Decrediton to discover active addresses more efficiently
- added an RPC method to revoke tickets in SPV mode (also for Decrediton)
- fixed concurrency issues when unlocking the wallet
- added seed confirmation window to the wallet creation flow
- improved UI design for LN wallet Connect page
- simplified responsive layout breakpoints (to ease integration with DCRDEX)
- disallow some problematic characters in wallet names
- fixed selecting tx filters on Transaction History page
- ~7 other fixes
- migrated to new Politeia API
- automated tests for Transaction page
- removed the use of winston logging library to reduce the project’s dependency tree (and supply chain attack surface)
- capture additional proposal metadata like USD funding limit, start date, estimated end date, and domain. This will allow us to improve and automate contractor invoice validation, and also to generate proposal stats on Politeia.
- added rate limiting for email notifications to prevent malicious behavior
- show who censored a record, why, and when
- improved UX of downloading proposal bundles
- forbid some Markdown elements in comments to prevent text size abuse
- show placeholders while loading proposal data
- show a warning about possible data loss when saving drafts
- ~11 frontend and ~1 backend bug fixes
Internal and developer:
- allow multiple values in plugin settings
- added test coverage for proposal validation
- automated UI tests for proposal list
- extended developer docs
- ~1 frontend and ~7 backend bug fixes
- ~1 frontend and ~2 backend bug fixes
- handle attempts to register with insufficient balance
- log swap refund transactions so that the user can salvage funds when access to the client is lost but the logs are still available
- added export of orders in CSV file
- group orders with same rate into one table row
- show the current price in browser window title
- show order errors on the form instead of the notification bell
- 4+ bug fixes
- only allow one preimage request on the client to protect against malicious server behavior
- lot size and rate step made market params instead of asset params
- updated npm dependencies
- migrated to dcrd’s
- 4+ bug fixes
- bare bones client-side ETH infrastructure (mainnet use disabled for now)
- store ETH balance in gwei units to fit 64-bit integers
- implemented ETH sync status and fee rate information (with a workaround, missing Geth feature requested)
A few fixes have been backported to an upcoming v0.2.1 release.
Work started to replace the registration fee with fidelity bonds where users lock funds to use DCRDEX (as a disincentive against bad behavior) but can redeem them after a certain time. This creates a time cost to use DCRDEX instead of a monetary cost.
@raedah commented on the question of when staking will be supported in the mobile apps:
Support for new style vspd staking has been built into dcrlibwallet for godcr and is currently in final testing. After godcr is released, it will be easy for the devs to import the same staking functionality into the mobile applications. There is not a strong incentive to prioritize building the mobile staking UI though until there is a functional hardware wallet that it can be paired with. (2021–07–19)
- updated Vietnamese translation
- implemented HTML renderer for displaying styled text
- implemented custom toggle widget
- hide staking balances and imported account when they have no funds
- added License page
- UI updates and massive code cleanup for: Proposal list and details, Wallet, Wallets, Send, StakeShuffle, and several Tickets pages
- pages and modals grouped into packages
- 6+ bug fixes
- fixed changing of vote status on Proposals page
- fixed agenda quorum threshold
- changed Block page to use “approved” and “disapproved” terms instead of “valid”/”invalid”
Internal and developer:
- optimized initial sync, vouts table, address cache, and search page performance
- optimized performance and improved startup
- switched from gob encoding to custom serialization of the ticket pool, making startup ~5 seconds faster
- fixed purging of vouts table
- added a test harness using simnet chain instead of a dcrdata snapshot
- added percentage of revoked tickets to the VSP list
- show both press releases and latest posts at decred.org home page
- added the press release about DCRDEX integration in Decrediton
@karamble released a new plugin for accepting DCR payments in WooCommerce shops. It can generate payment addresses using the wallet account’s XPUB (extended public key). This way each payment uses a new unique address while the shop’s web server has no access to the wallet.
- we have totally missed two young Rust repos implementing Decred APIs, although they received no new commits since Nov-Dec 2020
- Bug Bounty Program reported stats at the end of Phase 3 (June 30): a total of 193 submissions processed, with 18 being eligible for a payout. Maximum bounty amounts have been increased.
Check out new interviews with community members @fst_nml, Dominic Frisby, and Notsofast in the Media section.
Community stats as of Aug 1:
- Twitter followers: 47,586 (+667)
- Reddit subscribers: 11,449 (+127)
- Matrix #general users: 513 (+12)
- Discord users: 1,960 (+27)
- Telegram users: 2,833 (+100)
- YouTube subscribers: 4,600 (+30), views: 191K (+3K)
In July the new treasury received 11,338 DCR worth $1.44M at July’s average rate of $127.48. 770 DCR was spent to pay contractors, worth $98K at July’s rate, or $101K at June’s billing rate of $131.52. As of Aug 2, the combined balance of legacy and new treasury is 703,655 DCR (96.3 million USD at $136.80).
The legacy treasury received an unusual “donation” of ~90 DCR coming out of a mix transaction.
There were 4 new proposals published in July, and two are still under discussion at the time of writing.
- A proposal from @frizzers to make a copyleft documentary film that can be freely shared, based on his book “Daylight Robbery”, at a cost of $300K.
- A proposal to fund people to attend Crypto Expo Dubai in October 2021 has presented two options, costing $21,240 to fly 4 Decred representatives to Dubai for the conference, or $26,240 to also pay for a presentation slot at the event. @sz1 will choose one option based on community feedback.
- A proposal to fund a 3-part science fiction miniseries has been withdrawn by its owner.
- Proposals were approved for the Automatic Tickets Revocations Consensus Change (95% approval, 51% participation) and a Twitter charts bot (85% approval, 46% turnout).
Hashrate: July’s hashrate opened at ~71 Ph/s and closed ~316 Ph/s, bottoming at 70 Ph/s and peaking at 334 Ph/s throughout the month.
Distribution of hashrate reported by the pools on Aug 1: Poolin 58%, F2Pool 23%, AntPool 6%, BTC.com 4%, Easy2Mine 4%, Luxor 2.3%, HuobiPool 1%, ViaBTC 0.4%, CoinMine 0.09%, OKEx 0.08%, UUPool 0.06%. Distribution of 1,000 blocks actually mined before Aug 1 closely matched the reported hashrate.
Hashrate is recovering from June’s events in China and new mining pools are joining the network.
Ticket price had an unusual drop below 2020 lows but then quickly recovered with strong buy support.
VSP: On Aug 1, ~8,600 (+600) live tickets were managed by listed vspd servers and ~400 (-200) by listed legacy dcrstakepool servers. Collectively the 11 legacy and 14 new VSPs managed 22.9% (+2%) of the ticket pool. Unlisted but still active legacy VSPs managed 12 live tickets (-14).
The biggest ticket gainers in absolute terms were stakey.com (+474), 123.dcr.rocks (+126) and ubiqsmart.com (+51). The first two have fees below 0.5%.
Nodes: Throughout July there were around 211 reachable nodes according to dcrextdata.
Node versions as of Aug 1 snapshot (250 dcrd nodes): v1.6.2–57%, v1.6.0–16%, v1.6.1–13%, v1.7 dev builds — 7%, v1.6 dev builds — 3%, v1.5.2–2%, v1.5.1–1.6%.
Decred’s Lightning Network has seen 36 nodes (+2), 66 channels (+6) with a total capacity of 25.5 DCR (+3.7), as of Aug 1.
So far 8 legacy VSPs have been delisted (3 shutdowns, 1 status unknown, 4 still voting) and 9 are still listed. The status of migration to the new VSP system is summarized in this table. It is recommended that legacy VSP users upgrade to vspd to avoid the risk of missed tickets when dcrstakepool stops working (e.g. if a new consensus upgrade is activated).
The VSP list has been updated to show the percentage of revoked tickets, which is a helpful metric when choosing a VSP.
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.
Join our #services chat to follow Decred ecosystem updates.
Monde PR’s achievements for July:
- pitched 1 story to finance and crypto publications
- pitched Decred to 4 PR opportunities
- secured 2 media interviews
Secured the following news articles:
- @lukebp was interviewed by Geek Insider’s podcast, Geek Speak, covering all major aspects of Decred
- an article in The Street featuring commentary from @jy-p on how to buy crypto, syndicated from NerdWallet
- an article in MarketWatch featuring commentary from @jy-p on how to buy crypto, syndicated from NerdWallet. The article was also syndicated to 7 other publications including MSN.
- news about Decred passing a vote to make a consensus change to ticket revocations was covered by Bankless Times, Crowdfund Insider and Geek Insider. @lukebp was also interviewed by the Crypto and Cigars podcast to talk about Decred’s upgradability.
- Finder.com published the results of its cryptocurrency predictions survey, featuring quotes from @jz in an article about Bitcoin price prediction and an article about Doge price prediction. The news was picked up by The Block News, FinBold, CryptoKnowmics, Bitcoin News, a second article in Bitcoin News and The Hack Posts. The articles mention that Decred was part of a panel of 42 experts who completed the survey, including representatives from Thomson Reuters, UCL School of Management and the University of Western Australia.
- @raedah was interviewed for Authority Magazine’s The Future is Now series, talking about all things Decred and crypto, including privacy, governance, Decred being the first true crypto DAO and Decred’s use in Brazil’s election.
@StakeShuffle_ bot’s author is collecting feedback on what metrics to implement in the next development phase. The tweets with generated charts would provide up-to-date content that can be used in Twitter conversations.
- Jul 5 — Talent Land Digital — Internet. @pablito gave a 25 min keynote on “What is Decred” (34K views) and a 58 min workshop “Blockchain introduction using dcrdata API” (47K views). Decred is a Bronze sponsor of Talent Land.
- Jul 10 — YOUCATHON: Youth For Change & Action (100 % Digital) — Youssoufia, Morocco. Computer science school YouCode organized a hackathon between two campuses in Youssoufia and Safi, connected over a video conference. @arij was invited to talk about blockchain technology. In her ~80 min talk, she explained the tech and demonstrated a Decred wallet and Politeia. Questions concerned how this can be used to build applications and what opportunities exist to work in blockchain projects, so @arij explained her role in Decred and how to join.
- Since early 2021 Decred is a supporter of the education program about cryptocurrency and blockchain tech organized by the Business School of the Catholic University of Argentina and Bitcoin Argentina NGO.
- The coming rise and fall of central bank digital currencies by @ammarooni (bitcoinmagazine.com)
- What is Decred? Decentralized Autonomous Organization Politeia Decred crypto by MarketSquare (youtube)
- Blockchain security — Decred Fundamentals by @phoenixgreen (youtube)
- The cost of attack — Decred Fundamentals by @phoenixgreen (youtube)
- Hybrid security — Decred Fundamentals by @phoenixgreen (youtube)
- Decred Price Analysis — 1st July 2021 by @Brave New Coin (youtube)
- A ragin’ geek speak with… Decred blockchain developer, Luke Powell — 07/05/2021 by Meredith Loughran of GeekInsider (youtube, periscope)
- @fst_nml interview Decred in Depth (live): Decred and Thorchain integration by @elima_iii (youtube)
- Decred in Depth 39 — Dominic Frisby — Marketing + filmmaking + DAO by @elima_iii (youtube)
- Decred in Depth 40 — Notsofast Interview by @elima_iii (youtube)
- new Decred in Depth episodes have been uploaded to Libsynn
Art and fun:
- visualization of governance models by @OfficialCryptos
- Decred Journal June 2021 was translated to Arabic (@arij, @abdulrahman4), Chinese (@Dominic), and Spanish (@francov_). Spanish May issue is available too. A warm thank you to all translators for staying with us for so long!
If you have translations we don’t know about please share in our #translationschat.
Selected Reddit posts:
- ideas how to attract developers to join the Decred community
- multiple comments on buying ASICs and their profitability
Selected Twitter discussions:
- @lukebp’s thread on the automatic ticket revocations consensus change highlights that more work on mission-critical consensus code being done by developers outside of the original team is an important step in decentralizing the project. The second highlight is this change demonstrates Decred’s fundamental value proposition — the ability to improve base layer UX.
- @decredmemelord has summarized some of the project’s key achievements in the past year
In July DCR was trading between USD 91.70–158.46 / BTC 0.00338–0.00381. The average daily rate was $127.48.
Thorchain has been hit by two attacks this month. The first affected ETH liquidity providers, whose pools were drained of $5M, and they will be compensated from the Thorchain treasury. The second attack claimed $8M by tricking the network’s Bifrost protocol into receiving fake assets — it could apparently have been much worse if not for the hacker’s seeming whitehat tendencies. Things may be looking up for Thorchain however, as the last attacker left instructions for how they can improve security.
Uniswap has voted to fund a “DeFi Education Fund” with 1 million UNI (worth around $20 million), half of which they immediately traded for USDC. This proposal was originally billed as a “political defence fund”, to pay representatives who can fight DeFi’s corner with regulators. There are been some criticism of the role that UNI whales who are associated with the proposers played in approving this proposal.
The ShapeShift organization is closing its doors in an effort to “decentralize itself out of existence”. It is airdropping FOX tokens to its users and users of a number of DeFi protocols, and those tokens will be used to govern a DAO (which is also receiving a token allocation). The airdrop is complex as it covers a range of blockchains, but users will only have 100 days to claim their FOX tokens before these revert to the DAO.
That’s all we have for July. Share your updates for the next issue in our #journalchat room.
This is issue 40 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.
Credits (alphabetical order):
- writing and editing: bee, degeri, l1ndseymm, richardred
- reviews and feedback: davecgh, karamble, lukebp, raedah
- title image: saender
- funding: Decred stakeholders