Highlights for June:
- The Ethereum smart contract used in DCRDEX passed its first audit with great results.
- Politeia was busy with 3 proposals approved, 1 rejected and 3 new proposals submitted.
- First treasury spend transaction approved under the corrected spend policy (DCP-7).
- DCR listed on 2 exchanges, Guardarian and BitPanda.
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 is a full node implementation that powers Decred's peer-to-peer network around the world.
- Optimized cumulative work calculation using the new zero-allocation 256-bit integers package. The result is ~100 MiB less heap usage on average, and ~5% faster initial blockchain sync time.
- Support clean shutdown on more Unix variants and on Windows (triggered by events like user logging off, closing terminal window, or system shutdown).
- Inverted order in which transactions are added to the mempool during a reorg to correct the calculation of transaction chain statistics under special circumstances. This change helps ensure miners maximize fees for large transaction chains across reorgs. There have been no problems with the old code so far because blocks aren't full and reorgs are rare.
- Removed the spend journal pruning code that became unneeded with the removal of the address index.
- Explicitly reject standalone
treasurybasetransactions. As of the activation of DCP-6 every block is required to have a
treasurybasetransaction that pays the required subsidy to the Treasury. "Standalone" are unconfirmed transactions that are not part of a block.
treasurybasesdo not make sense as standalone transactions because they are only valid when part of the block generation process. They have already been rejected implicitly and this change only makes it more explicit as a form of defensive coding in case future changes violate those implicit assumptions.
- Removed the policy that allowed low-fee/free transactions to get relayed and mined. It served its purpose in the past at the cost of some downsides. Now it is unneeded and users can bump the priority of "stuck" transactions using additional transactions (aka Child Pays For Parent - CPFP). Related
--limitfreerelayCLI flags were deprecated.
- ~5 smaller improvement PRs.
dcrwallet is a wallet server used by command-line and graphical wallet apps.
- Do not require deprecated V1 compact filters support when querying HTTPS seeder for nodes.
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).
- Added revoked ticket hash to the Revocation transaction page.
- Fixed a possible never-ending loading button on the Treasury Spending tab.
- Fixed scrolling not working when UI animations were disabled.
- Extended automated tests to verify the recent fixes.
Politeia is Decred's proposal system. It is used to request funding from the Decred treasury.
- Updated and improved signal-handling logic in politeiavoter by supporting SIGTERM. On Windows, this will shutdown politeiavoter cleanly if the user logs off or if the system is shutting down.
- Improved identity logging in the dbutil tool.
- Improved error handling in the MySQL key-value store implementation.
- ~2 smaller improvement PRs.
- Support dropdown header customization.
- Fixed the submission of empty comments.
- Smaller optimizations and improvements.
GUI migration to the new plugin architecture:
- Implemented generic listeners that can subscribe and react to actions and state changes in any plugins.
- Visual enhancements for proposals: handle censored/abandoned proposals, handle empty lists, make logo clickable.
- Implemented New Proposal page.
- Implemented default behavior for plugins to improve experience for developers of new plugins and Politeia-like apps.
- Implemented showing of proposal attachments.
- Improved UX and handing of proposal version diffing.
- Fixed navigating to external links.
- Fixed a link to Comments on proposals list.
- Fixed GUI theme not saving on page refresh.
vspd is server software for running a Voting Service Provider. A VSP votes on behalf of its users 24/7 and cannot steal funds.
- More refactoring to remove global vars to make the code more reusable.
dcrlnd is Decred's Lightning Network node software. LN enables instant and low-cost transactions.
- Added a new Initial Chain Sync RPC service that allows to track the progress of the initial chain sync process and is useful for clients that connect to a dcrlnd instance that is still in the early startup stage to provide better feedback to the user.
- Fixed the expected location of the
peers.jsonfile when running an embedded dcrwallet install in SPV mode.
- 4 commits with smaller improvements.
DCRDEX is a non-custodial, privacy-respecting exchange for trustless trading, powered by atomic swaps.
- Added support for mixed DCR accounts.
- Made cancel button change to spinner and report any errors in the form.
- Fixed order age display when server system clock is behind client's.
- Allow users to switch between different host names of the same DEX server.
- Added a Send action that doesn't subtract the fee from the amount, unlike the Withdraw action.
- Added SPV support for native (built-in) DCR wallets.
- Added support for Descriptor Wallets which became default in Bitcoin Core v23.
Asset support progress:
- Added results of the first ETH smart contract audit performed by InterFi Network (mirrored in their repo). The audit concluded that Solidity code has "low risk severity" and "Decred DEX's centralization risk correlated to the active owner is NULL".
- Updated to latest Solidity compiler.
- Added support for Zcash (decoding blocks and transactions, signing inputs, tests).
- Upgraded to Litecoin v0.21.2. Custom decoding of block and transaction data was added to support Litecoin's new Extension Blocks and the MimbleWimble sidechain.
- Generalized load testing to support all markets.
Internal, developer, and other changes:
- Fixed funds unlocking math for smaller lot sizes.
- Redesigned connection management to be more robust and have a nicer API.
- Print better version and compatibility info in dexcctl output.
- Added utility for running different combinations of client harness tests on simnet.
- Added metering where processing of new blocks will not be triggered more frequently than every 10 seconds. e.g. in Ethereum occasionally several blocks are generated in a single second.
- Reduced lock contention and fixed a memory leak in swap code.
- ~7 smaller fixes and improvements.
- ~9 bug fixes.
GoDCR is a lightweight desktop GUI wallet with integrated staking, privacy, Politeia voting, consensus voting, and more.
- Allow to restore wallets from a hex private key. It also shows the private key hex code on the wallet backup page.
- When Privacy has been turned on, the auto ticket buyer will only allow to select a mixed account to fund ticket purchases. It also resets the config saved earlier to prevent accidental use of unmixed funds.
- Added fee asset selector to the DEX registration flow.
Optimization for mobile devices:
- ~11 fixes and changes to enhance usability for mobile device layouts.
- ~11 more layout fixes for mobile screens.
UI design updates:
- Started update to the 'V2' design. This adds the main app navigation and implements a wallet selection page.
- Updated wallet onboarding views to support multiple assets. When fully implemented, users could choose to create a Decred or Bitcoin wallet, and this will complement the DEX trading integration.
- New V2 layout and styling for the More tab.
- Updated the Security Tools page to V2 design.
- New string variables have been localized to facilitate translations to other languages.
- Bumped the gioui version.
- Refactored page and modal navigation to remove duplication and separate concerns.
- Added unit tests for the
apppackage. Added running tests to GitHub workflow.
- Fixed being unable to access watch-only wallet settings menu.
- Fixed a crash when deleting a watch-only wallet.
- Fixed a crash when opening the Governance page.
- Fixed unintended command prompt window appearing on Windows.
- Fixed buttons not working on the Governance tab. Fixed app crash due to division by zero.
- Fixed key event handling for the updated gioui package.
Image: Improved mobile layout in GoDCR.
dcrdata is an explorer for Decred blockchain and off-chain data like Politeia proposals, markets, and more.
- Use Clipboard API on the UI.
- Removed experimental CockroachDB support.
- Fixed incorrect vote status display.
- Started the dev cycle for the dcrdata app v6.2 which will target Decred/dcrd v1.8. Bumped
dcrdatamodule to v8 and made first breaking changes and refactoring.
TinyDecred is a Python toolkit for integrating Decred. It includes an experimental light GUI wallet based on PyQt5.
@buck54321 has shared an update on the second version of TinyDecred he's been working since early 2021:
- There are working Bitcoin and Decred SPV wallets that can be imported and used in Python (or any other language with a C FFI).
- A large portion of TinyWallet 2 is written in Go, combining the dcrwallet, btcwallet, and dcrlnd stuff behind a single C-shared interface.
- Since a bunch of wallet code moved to Go, using dcrwallet directly, it is now possible (with some minor modifications to dcrlnd) to use TinyWallet 2 on Lightning.
- TinyWallet 2 is designed to be available through any platform that supports web apps. This includes all major desktop and mobile platforms and browser extensions.
- To demonstrate the tech, TinyWallet has prototyped in-wallet private chat via Lightning, and a website that your wallet can interact with to guide the user into opening a Lightning channel and even finding others to add to their address book.
- TinyWallet 2 will have a DEX integration to trade DCR/BTC directly in the wallet.
- Added 1.7 consensus votes to Consensus Vote Archive. Also added versions and release dates of Decred software that implemented those consensus changes.
- Updates for the DCP-10: New numbers and graphs for the Issuance page, updated block reward values on the docs home page.
- Fixes for dark mode only images.
- Issuance page graphs changed to SVG since they scale better and are easier to modify if needed in the future.
- Updated CoinShuffle++ server name to mix.decred.org. Note that it also uses a new certificate.
Image: Updated DCR issuance projection.
dcrweb is the source code for the decred.org website.
- Added disclaimer to Exchanges page letting users know that only DCRDEX is self-custodial and will not request additional information.
- Removed Contributors page after multiple discussions reaching the general consensus that it had reflected reality poorly.
- Updated Hugo, nginx, and Lottie webplayer.
- Removed the outdated 1.6 Release page.
- Added GoDCR to the Wallets page.
- @degeri posted his last update for the Bug Bounty program. One vulnerability report has been disclosed - Android and iOS wallets were lacking screenshot protections and this has been fixed. Congrats to @trapp3rhat for joining the Hall of Fame!
Community stats as of Jul 1 (compared to Jun 1):
- Twitter followers: 54,380 (-94)
- Reddit subscribers: 12,636 (+5)
- Matrix #general users: 689 (+12)
- Discord users: 2,326 (+21)
- Telegram users: 2,810 (-48)
- YouTube subscribers: 4,630 (+0), views: 210K (+1K)
In June the new treasury received 9,134 DCR worth $256K at June's average rate of $28.06. 2,426 DCR was spent to pay contractors, worth $68K at June's rate, or $100K at May's billing rate of $41.46.
With the activation of DCP-0007 it was once again possible to pay contractors from the new treasury using the proper stakeholder-approved method. This transaction hit the required voting threshold (with 4,822 Yes votes and 0 No votes) on June 27th, meaning the vote ended in 10 days versus the full possible 12 days due to being guaranteed to pass regardless of the remaining votes, and so the turnout among the ~14,400 tickets that had a chance to vote was ~33% (above the quorum of 20%). There were 23 outputs, suggesting roughly this number of contractors/intermediaries were paid in the month, amounts ranging from 2.87 DCR to 767 DCR. Check the May 2021 issue for a recap on how the new treasury works.
Three new proposals were submitted in June:
The Decred Brazil proposal requests a budget of $22,000 for social media content production and events in Brazil, it is being led by @victorguedes.
The GoDCR proposal requests $250,000, edited down from $300,000 initially, to continue development of GoDCR for one year. GoDCR was funded initially by the treasury but a second request for $200,000 funding was rejected in Oct 2021 by stakeholders with 49% Yes votes and 73% turnout.
Voting was held for four proposals, three of which were approved and one failed to reach the quorum requirement:
The proposal to fund Decred Journal and Politeia Digest was approved with 99% Yes votes and turnout of 56%.
The proposal to fund Decred content and asset translations was approved with 99% Yes votes and turnout of 56%.
The proposal to fund continuation of the Bug Bounty program was approved with 99% Yes votes and turnout of 56%.
The proposal to fund university events in Uganda was rejected with 47% Yes votes and turnout of 6%.
Hashrate: June's hashrate opened at ~117 Ph/s and closed ~85 Ph/s, bottoming at 68 Ph/s and peaking at 132 Ph/s throughout the month.
Image: Hashrate has somewhat stabilized around 100 Ph/s.
Distribution of hashrate reported by the pools on Jul 1: Poolin 51%, ViaBTC 20%, F2Pool, 17%, AntPool 7%, BTC.com 4%, LuxorTech 1.2%, CoinMine 0.5%.
Distribution of 1,000 blocks actually mined by Jul 1: Poolin 50%, ViaBTC 20%, BTC.com 5%, LuxorTech 1.3%, CoinMine 0.3%, unknown 24.1%.
Image: Staking participation crawling up.
VSP: On Jul 1, ~7,150 (+250) live tickets were managed by listed vspd servers. Collectively the 16 VSPs managed 17.3% of the ticket pool (+0.5%).
Top 3 gainers are stakey.com (+408, +19%), ultravsp.uk (+295, +101%), and stakeminer.com (+127, +23%).
Nodes: Throughout June there were around 180 reachable nodes according to PD Analytics.
Node versions captured by Decred Mapper on Jul 1 (118 total, dcrd only): v1.7.1 - 41%, v1.7.2 - 26%, v1.7.0 - 12%, v1.7.0 dev builds - 8%, v1.8.0 dev builds - 3.4%, v1.6 series - 6.8%, v1.5 series - 0.9%, v1.4 series - 2.5%.
Decred's Lightning Network has seen 44 nodes (-1), 72 channels (-6) with a total capacity of 36.7 DCR (-4.8), as of Jul 1 (compared to Jun 1).
Guardarian has announced that buying and selling DCR for fiat is possible on their platform. Supported fiat currencies are EUR, USD, and GBP, and they can be sent over payment processors like MasterCard, Visa, SWIFT, SEPA, and Faster Payments. Fiat payouts go directly to the user's bank account, while purchased coins go directly to the user's wallet. There is a minimum amount to buy (EUR 30) and the service fee (EUR 2.49) is added to exchanges. Guardarian is licensed in Estonia.
BisonPool revealed that it will be a custodial staking service allowing users to stake with less than a full ticket (recently around 220 DCR). The reveal came after teasing on Twitter demonstrating a ticket purchased from 3 parts around 80 DCR each. The announcement received some criticism in the Matrix #media room for the service's custodial nature. BisonPool came to respond and explain their vision and strategy.
JobsOnBlocks is a new job board for offering/requesting jobs to get paid in crypto. Site beta was launched in June and as of writing it supports 5 coins and has 3 jobs posted. The founder has dropped the announcement in our #trading chat, saying that DCR is supported since launch:
you can post a job and choose dcr as a payment coin, added it just for the bison crew 😉 [@Toussaint]
@jz posted a script for spinning up a Decred full node on popular systemd-based Linux distros with a simple
curl -L node.dcr.pw | bash command. It is a good practice to not blindly run code from the Internet and read it before executing (the script is just 40 lines).
VSP users may find these two tables useful for deciding which provider to use: one summarizing how legacy VSPs have been shutdown, and another showing how the VSP operators have been upgrading their servers (sooner is better).
Luxor's Decred mining pool shutdown was rumored on Reddit after one user received an email asking to withdraw all funds by Jun 10. Screenshot of the email had a notable factual error "DCR is going to PoS". While Decred has reduced PoW miners' block reward share from 60% to 10%, there is no intent or even a discussion to switch to pure PoS. As of Jul 9, there has been no official commentary from @LuxorTechTeam and their API still report the hashrate of 1.5 Ph/s (1.5% of network's total 95 Ph/s) and 107 miners.
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 #ecosystem chat to follow Decred ecosystem updates.
Monde PR's achievements:
- Pitched Decred to 5 PR opportunities.
- Responded to 1 request for commentary.
- Secured 1 media interview.
Secured the following news articles:
- A video interview with Invezz and @jy-p talking about Decred's governance model, the hybrid PoW/PoS model, project treasury, privacy, future outlook and how we compare to Bitcoin.
- Invezz posted the story in 10 other languages including Dutch and Swedish.
- The story was also syndicated to three publications including Bitcoin Insider and Crypto News BTC.
- @jy-p appeared on the CoinJournal podcast talking about a range of topics including sovereign money, true decentralization, DEXs and privacy.
- CoinJournal posted the interview on its Norway and Finland sites.
- The interview was also syndicated to Bitcoin Insider.
- @arij signed a partnership with Moroccan JCI, which is the first branch of the global Junior Chamber International NGO in Africa and the Arab world. The partnership includes providing training to members of this organization and other companies, concerning blockchain and Decred tech.
- On October 6-7 Decred will be participating in Crypto Forum in Sao Paulo, Brazil.
- Decred interview: Co-founder Jake Yocom-Piatt discusses alternate stores-of-value to Bitcoin by Dan Ashmore for Invezz
- Changing the rules - Decred and the State of the Market with Dave Collins - Lead Developer by @Exitus and @phoenixgreen
- DCRDATA growth and adoption charts by @phoenixgreen - also as a blog post
- GoDCR: A new lightweight SPV wallet for Decred - Quick Overview by @Exitus
- DCRDATA - Comparing on-chain data by @phoenixgreen - also as a blog post
- Interview w/ Jake Yocom-Piatt: Sovereignty, privacy, Decred so far with Joe K.B. and Dan Ashmore for CoinJournal - also on Spotify
Art and fun:
- u/ersfbddfgwe created a music track as part of the Open Beats idea, which has a goal to provide community-made music that can be freely used for any Decred-related content
- Decred Journal April 2022 was translated to Arabic (@arij) and Chinese (@Dominic). The May 2022 issue was also translated to Chinese (@Dominic). Thank you all!
Selected Reddit posts:
- Should we re-brand Decred DEX? by @buck54321. @bee has collected the 12 name ideas posted so far in one table. "QuackDEX" has a chance.
- The Weekly Contributions initiative had its Week 1, Week 2 and Week 3 with a few old-timers trying to bootstrap it with their submissions. Anything from running a full node to making a cool tweet thread or a meme counts, so don't hesitate to participate!
Selected Twitter discussions:
- @jy-p commented on central banks painting themselves into a corner with FRS having to choose between allowing inflation or causing a recession, which presents a huge opportunity for crypto, although it's not expected to be a smooth ride.
- Vitalik Buterin stealth-pushed "the 2013-15 era designs where you have interwoven PoW and PoS blocks" in response to Dan Robinson's poll on changing Bitcoin, but refrained from mentioning any specific project implementing those designs, hopefully to build up anticipation and discussion among the audience.
In June DCR was trading between USD 20.00-41.19 / BTC 0.00102-0.00141. The average daily rate was $28.06.
If we turn on both indicators we can find that there is strong confluence between the two. If you pair the 2-year MA Multiplier's buy zones along with price action within the bottom most Mayer Multiple band you'll find that you could've just stocked up hard in those areas and then waited out the bear market. Will this be the same? Only time will tell. Also, don't be irresponsible with your money.
Image: Combined 2Y MA Multiplier and Mayer Multiplier may signal buy zones. Or not. Trade wisely.
Image: DCRDEX monthly traded volume in DCR.
The crypto markets saw a significant decline in June, and although this paralleled non-crypto market sell-offs more broadly the crypto space saw its own particular issues around the insolvency of centralized entities and fears of contagious bad debt which could wipe out influential players in the crypto markets. One of the major threads to this unwinding concerned Three Arrows Capital (3AC), a hedge fund which was heavily exposed to the collapse of LUNA and then began struggling to meet margin calls as the prices for crypto assets tanked - partially instigated by the selling of Terra Foundation's BTC reserve to try and support the collapsing price of TerraUSD. The opacity of dealings between these centralized entities was highlighted by the behavior of 3AC's founders, formerly very active social media users who reportedly ghosted everyone their fund owed money to for an extended period. Over the course of June it has been slowly revealed that many large industry players had placed money with 3AC (which in turn placed significant sums in Anchor protocol for 20% yield on TerraUSD) and now won't expect to see much of this back. It is striking that such significant events for the crypto markets were mostly known about for some time through the on-chain investigations of interested parties sharing their findings on Twitter - and that the on-chain entities these parties were transacting with held up relatively well through market turbulence, behaving as expected and forecast by observers.
On-chain investigations have also revealed things that market participants would have rather kept confidential, like the price at which their leveraged positions would be liquidated. It was seemingly forced selling of assets to meet margin calls on DeFi platforms which alerted the observers to 3AC's issues. For the Solana chain lending service Solend, one particular whale's liquidation price and the scale of their position (>95% of the pool's deposits) was concerning enough that a vote was held to determine whether Solend Labs should be granted "emergency powers" to take control over this whale's funds and liquidate their position OTC in a way which would not cause chaos for Solend users generally.
Some DAO on DAO conflict occurred in the "play to earn" space, with Merit Circle previously voting to "refund" the investment of Yield Guild Games (YGG) in their tokens - at a price much lower than the current market price. This raised many questions about whether a DAO's members could unilaterally vote to change the terms of a deal the DAO had entered into - complicated significantly by the confidentiality of the contract between the firms/DAOs. It seems that some members of the "DAOs" have hashed out a deal to bring this to a conclusion without a potentially complex and expensive legal intervention.
For some months now concern has been growing in the Ethereum community about the level of ETH 2.0 staking which Lido Finance is responsible for (30% in April) - and the level of control over this mechanism which holders of the LDO token can exercise. In June a new governance proposal was introduced for LDO which would give stETH holders veto powers over some aspects of decision-making about the protocol.
To use Lido one deposits ETH and receives stETH, which will be redeemable for ETH on the new chain some months after "the merge" occurs - so the staked ETH is illiquid, but one can sell the stETH. Loss of parity between ETH and stETH was a particular stressor for Celsius, which was reliant on parity between ETH/stETH for its products to work as intended. Celsius was one of the firms that has been implicated in the contagious bad debt situation, owing significant sums to depositors and freezing withdrawals due to inability to meet demand.
The European Union has moved closer to finalizing its regulatory treatment of many aspects of crypto transactions. Many aspects of the regulation have been known for some time, but last minute negotiation was needed to determine thresholds for when a transfer between a CASP's (Crypto Asset Service Providers) wallet and an "unhosted" wallet would need to verify the recipient's identity. For transfers between CASPs they must verify each others' control of addresses. When a customer requests withdrawal to an unhosted address they must state the identity, and when it is to their own wallet they must verify control of the address when the value of the transfer exceeds 1,000 Euros. Peer to peer transactions have no reporting requirements. Long established aspects of the regulation will see significant barriers to the issuance of stablecoins, including "algorithmic" stablecoins.
The founder of Maker DAO (MKR), Rune, returned to the governance forum this month, bringing with him some radical plans to shake up Maker's governance in the form of an "Endgame Plan". Rune had been absent from the scene since the Foundation was dissolved, and he has returned just as the people who were filling the voids he left in Maker's governance in various ways were bringing their own proposals for how things should work to the Maker stakeholders. Three proposals which had been under discussion for some time met resistance in their formal votes as participation rates for MKR voting set a new all time high, with a maximum of 33% voting in the LOVE-001 proposal - a proposal which would have introduced an "oversight Core Unit", and was defeated with 60% No votes. The three big proposals to change how Maker DAO functions were all defeated, with significant late stage redelegation of votes and the reappearance of another co-founder who had fallen out with the project long ago but retained a large voting stake and came back to vote No on everything, dropping an expletive-filled tirade against the community's decision to turn off the buy-back and burn mechanism.
That's all for June. Share your updates for the next issue in our #journal chat room.
This is issue 48 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: davecgh, buck54321
- funding: Decred stakeholders