Decred Journal — October 2021
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).
Highlights for October:
- Politeia celebrated its third year of operation and had another busy development month.
- The mobile wallets proposal from @raedah was funded for another year.
- The GoDCR proposal was rejected but a revised proposal is being prepared. Development continues to polish the wallet for a mainnet release.
- Changes merged in DCRDEX make it possible to pay registration fees in BTC and use a built-in SPV wallet without running a Bitcoin full node.
· Relevant External
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.
- updating of indexes (transaction, address, exists address) has been made asynchronous to speed up the critical path of block validation and connection code. It allows for faster vote propagation and helps pave the way for other optimizations, sync models, and ultimately nicer data corruption recovery mechanisms.
- simplified to use only one latest checkpoint, since intermediate checkpoints are no longer necessary with headers-first syncing
- improved consistency and clarity of
- fixed handling of automatic ticket revocations when their block is disconnected during a chain reorganization
- fixed a data race in peer address management
- libFuzzer support has been added to dcrd’s continuous fuzzing test suite
dcrwallet is a wallet server used by command-line and graphical wallet applications.
getcurrentnetmethods in SPV mode (to be used by DCRDEX)
walletinforesult to distinguish between syncing modes
- fixed sync loss in SPV mode
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).
- implemented new UI design on LN Overview tab. Wallet, Network, and Watchtowers tabs have been grouped under a newly introduced Advanced tab.
- new UI design for wallet modals with added password visibility toggle
- added the ability to use random VSP in Automatic Ticket Purchases (with a configurable maximum fee)
- automatically enable the new per-account encryption for new wallets
- improved usability of the VSP selector
- ~13 bug fixes
- updated DEX integration via libdexc to utilize upcoming 0.3 features (localized UI, restore from seed, and discovery of existing accounts)
- updated to Electron 15
- added a new GUI tool for translating strings and a guide for community translators
- automated tests for Accounts views
Politeia is Decred’s proposal system. It is used to request funding from the Decred treasury.
- added a standard way to show any status change. Admin that censored or abandoned the proposal is displayed along with the reason they gave for the status change.
- support multiple billing status changes. The default is to only allow a single billing status change (from Active to Completed or Closed), but it is a configurable setting. If an admin makes a mistake, the sysadmin can temporarily update the setting to allow for the mistake to be corrected. It is also possible to temporarily disable status changes.
- improved and standardized the identity error. The same error is now displayed anytime the user attempts to write data to Politeia without their active identity being loaded in the browser. The error message directs to the user details page to fix the issue.
- fixed multiple comment navigation UX issues: filtering preferences being lost, Go Back button not working properly, slow loading of individual threads, UI flickering
- ~5 other bug fixes
politeiavoter command-line tool:
- changed the method of trickling method (slow sending of votes). Previously it has sent votes in a sequence with random time intervals. This has proven to be brittle as one slow/failed send was delaying all other votes. The new method uses independent parallel voting processes that start at random times and do not affect each other, making trickling more robust.
- added an option to abort if vote trickling cannot finish with enough extra time prior to the vote end. It alarms the user to adjust parameters so that enough time (12 hours by default) is left to retry any failed votes, which may happen over poor connections or Tor.
- brought back printing of proposal names in
Backend and internal changes:
- added API to get billing status changes
- allow fetching billing status changes in batches
- use the server policy for page size
- added data integrity checks for
- added a new
pictlcommand to test the RFP flow
- ~4 bug fixes
Refactoring in preparation for the user layer rewrite (largest chunk of work for the 2021 Q3 proposal):
- politeiawww codebase reorganized to move legacy APIs into a
legacypackage. This will make it easier to rewrite the user layer to use a plugin architecture and to allow for horizontal scaling.
loggerpackage to allow plugins to configure their logging and become self-contained
websocketspackage (will make it easier to scale the servers)
- extracted config handling into its own package and separated out settings for legacy API for easier removal in the future
- moved identity handling methods to more appropriate places
- added a generic session store (will replace the legacy one that did not have proper separation of concerns)
vspd is server software for running a Voting Service Provider. A VSP votes on behalf of its users 24/7 and cannot steal funds.
- updated to latest dcrd RPC version. Since this commit, vspd will stop working against dcrd v1.6 and start to target the
- allow setting an alternative signing address to support VSP staking with Trezor
dcrlnd is Decred’s Lightning Network node software. LN enables instant and low-cost transactions.
- perform account discovery only once for embedded wallets (not applicable to remote wallets that are controlled externally)
- improved quickstart docs and added a new doc summarizing the 4 operation modes (dcrd or SPV sync, remote or embedded wallet)
DCRDEX is a non-custodial exchange for trustless trading, powered by atomic swaps.
- reworked register flow to accept assets other than DCR
- added overview of current prices and 24-hour changes to the left sidebar
- improved registration sequence and form design/animations
- added Bitcoin SPV support to trade against BTC without managing a full Bitcoin blockchain. Built on top of Neutrino and btcwallet (old investment paying off!).
- start BTC SPV wallet scan from a certain date to save time
- require “zpub” extended public keys but offer to convert from “xpub” for convenience. This is for server operators willing to accept registration fees in BTC.
- ~6 bug fixes
- support multiple HD accounts for the same app seed, to allow registering additional accounts if the initial account is suspended. This change also retires legacy accounts with random keys to ensure all new accounts can be derived from app seed.
- refactored client DCR backend to support alternative wallet implementations. This will be used to integrate DCRDEX into GoDCR.
Progress towards Ethereum support:
- implemented several backend methods (swap and redeem estimations, order funding, message signing, and more)
- added function to initiate a batch of multiple swaps in the same transaction (saves gas)
- derive the internal Ethereum wallet from DEX app seed
- show non-zero balances with 8 decimals
- fixed colors and icons for the dark mode
GoDCR is a lightweight desktop wallet app with integrated staking, privacy, and Politeia browsing.
- added a button to quickly hide wallet balance to increase the user’s over the shoulder privacy
- added a reminder to back up the seed words
- cycle input fields with the Tab key
- unified terminology about passwords and seeds
- show more details in Politeia proposal tooltips
- show time since last update of Politeia data
- improved time information on Transactions page
- added draggable scroll slider on long lists
- allow empty password in some cases
- ~10 bug fixes
- implemented a custom clickable highlight effect with configurable color and borders and reused it across the app
- updated to the latest Gio and removed code that is no longer needed
- support custom icons on input fields
Merged in dcrlibwallet library (shared by Android/iOS wallets and GoDCR):
- updated to latest dcrd, dcrwallet, and dcrdata modules
- added function to get the timestamp of the last sync with Politeia
Development continued despite the second GoDCR proposal getting rejected (49% Yes). Looking forward to the revised version and new app builds.
dcrdata is an explorer for Decred blockchain and off-chain data like Politeia proposals, markets, and more.
- updated Decred dependencies
- upgraded to Bootstrap 5
Welcome to new first time contributors with code merged to master: @AdimekweEbuka (godcr)!
Community stats as of Nov 2:
- Twitter followers: 49,503 (+830)
- Reddit subscribers: 12,248 (+294)
- Matrix #general users: 551 (+16)
- Discord users: 2,267 (+190)
- Telegram users: 2,940 (+31)
- YouTube subscribers: 4,620 (+10), views: 197K (+1K)
In October the new treasury received 10,678 DCR worth $1.3 million at the month’s average rate of $121.57. 974 DCR was spent to pay contractors, worth $118K at October’s rate, or $136K at September’s billing rate of $139.56. As of Nov 1, combined balance of legacy and new treasury is 733,772 DCR (82.5 million USD at $112.42).
One proposal was submitted this month, @ammarooni returns with a proposal that revises an earlier book proposal to remove the book in favor of a steady stream of papers and social media content, memes and meetups.
The two proposals from @raedah were voted on this month, the one for mobile wallets was approved with 97.2% yes votes and 66% turnout, while the proposal to continue funding GoDCR was rejected with 49% approval and turnout of 73%.
See Politeia Digest issue 47 and issue 48 for more details on the month’s proposals.
@richardred published numbers and graphs for Politeia’s third year. A few highlights:
- 31 proposals published, of which 20 approved, 11 rejected, 2 abandoned
- average (mean) voter participation improved considerably with 46% in year 3, compared to 31% in year 1 and 28% in year 2
- software development proposals have increased in count, budgets, and voter support
- marketing proposals have decreased in number so that these are no longer the dominant type, and particularly the number of marketing proposals that end with very low approval has reduced
- the proportion of proposals from people who are already contractors has gone up from 48% in year 2 to 77% in year 3
- the number of mixed tickets (those with extra privacy) has been increasing
- all-time stats for 3 years: 128 proposals published, of which 66 approved, 42 rejected, 20 abandoned
Hashrate: October’s hashrate opened at ~237 Ph/s and closed ~284 Ph/s, bottoming at 164 Ph/s and peaking at 323 Ph/s throughout the month.
Distribution of hashrate reported by the pools on Nov 1: Poolin 43%, F2Pool 29%, AntPool 10%, BTC.com 6.4%, ViaBTC 6%, Luxor 4.5%, HuobiPool 0.5%, OKEx 0.4%, CoinMine 0.2%
Distribution of 1,000 blocks actually mined by Nov 1: Poolin 42%, F2Pool 31%, Antpool 9%, BTC.com 7%, Luxor 5%, ViaBTC 5%, OKEx 0.7%, unknown 0.3%.
Staking: Ticket price varied between 139.7–209.7 DCR, with 30-day average at 191.6 DCR (-7.8).
The locked amount was 7.65–8.20 million DCR, meaning that 56.7–61.1% of the circulating supply participated in proof-of-stake.
VSP: On Nov 1, ~7,400 (-200) live tickets were managed by listed vspd servers and 224 (+4) by listed legacy dcrstakepool servers. Collectively the 7 legacy and 15 new VSPs managed 18.9% (-0.1%) of the ticket pool.
Nodes: Throughout October there were around 200 reachable nodes according to dcrextdata.
Node versions as of Nov 1 snapshot (245 total, dcrd only): v1.6.2–59%, v1.7 dev builds — 13%, v1.6.0–12%, v1.6.1–9%, v1.6 dev builds — 3%, v1.5.2–2%, v1.5.1–0.8%.
The share of mixed coins varied between 52.3–54.4% and set a new all-time high with the sum of mixed unspent coins above 7.3 million.
Legacy VSP stakepool.eu has been removed from the VSP list to facilitate user migration to the new vspd system. It is still online to vote on the remaining live tickets (7 as of Nov 1). This VSP launched in May 2016 with the codename
India, just 3 months after Decred was born. Thank you for 5 years of service!
Legacy VSP from 99split.com has handled its final live ticket and was shutdown. It has served since late 2019 and was one of the few vendors to actively support ticket splitting by coordinating sessions and creating user-friendly videotutorials. Users are welcome at its new vspd instance with a 0.99% fee and 1.7K voted tickets.
For anyone still using legacy VSP, it is recommended to switch to vspd providersto avoid the risk of missed tickets, e.g. in case the legacy VSP shuts down or stops working with the coming consensus upgrades. As of Nov 1, all legacy VSPs managed less than 260 tickets or 0.6% of the ticket pool.
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.
Monde PR’s achievements for October:
- pitched one story to finance and crypto publications
- secured four media interviews
Secured the following news articles:
- the news about Decred reaching 77% voter participation and marking three years of Politeia was covered by Crowdfund Insider
In response to a common question “What’s up in Decred and where it is heading?” @bee wrote a summary of recent developments and mid-term goals.
@cryptotivo congratulates everyone with 600K “boring” blocks milestone:
👂Ever heard of the great #Decred hack?
How about the recent #Decred rug pull?
Yeah, me neither because they don’t exist.
#Decred has recently produced its 600 000th block.
That’s 600 fucking thousand bullshit free blocks.
Congrats to the team, stakers and visionaries. 🎖️ (@cryptotivo)
- Year three of Decred’s Politeia in numbers and graphs by @richardred (blockcommons.red)
- Decred hits governance milestone of 77% voter participation (decred.org, altered version published on crowdfundinsider.com)
- The Suppressor part 2: On-chain analysis by @tacorevenge (medium)
- GoDCR progress demo of Oct 9 (twitter)
- Decred in Depth Ep. 44 — with Coin Artist — Decred historical outlook + NFTs + Metaverse + Neon District by @elima_iii (youtube)
- WDYT: Thoughts on Decred? Trending on CoinMarketCap by NFT Daily News (youtube)
- Decred Price Analysis — 20th October 2021 by Brave New Coin (youtube)
- The future is now: Steven Wagner of Raedah Group on how their technological innovation will shake up the tech scene — in Spanish by @francov_
- Politeia Digest 47 — in Spanish by @francov_
- Decred Journal September 2021 was translated to Arabic (@arij, @abdulrahman4), Chinese (@Dominic), and Spanish (@francov_). Thank you to all for staying around!
Other non-English content:
- Decred presentation in Spanish by @elian (youtube)
- Decred erklärung deutsch — die blockchain mit Lightning Network (youtube)
In October DCR was trading between USD 102.40–140.10 / BTC 0.0018–0.0025. The average daily rate was $121.57.
@tacorevenge published the second part of an investigation of The Suppressor entity that is suspected of manipulating DCR markets. This time on-chain analysis was used to see how funds have been flowing between miners, centralized exchanges and DCRDEX.
Zcash has been polling its coinholders again, this time on the subject of whether to change the consensus mechanism away from Proof of Work. 85% of the 41,000 ZEC (0.3% of circulating supply) that voted put a switch from PoW as the number one priority for the project. The aim is to move away from Proof of Work entirely, to some form of Proof of Stake or equivalent.
Sam Altman and other Silicon Valley VCs revealed their vision for a universal basic income that people must submit unique eyeball hashes to claim, and privacy advocates have piled on to say it’s a bad idea. Notable features are the orb-shaped eyeball scanners reminiscent of dystopian science fiction, and the 20% VC premine.
The latest DeFi airdrop farming controversy concerns Ribbon Finance, where one researcher from Divergence Ventures successfully met the qualifying criteria with hundreds of different wallets and received tokens worth $2.5 million. An independent researcher noticed the pattern and identified the wallet owner through association with an ENS domain, they suggested copytrading them on Twitter, but it blew up and Divergence Ventures ended up giving back all the airdropped tokens.
Cream Finance has been hacked for $130 million, which is the second major hack in the last 3 months. This attack used a flash loan to repeatedly lend and borrow funds across two addresses and took advantage of a pricing vulnerability to drain many of Cream’s liquidity pools. Analysis by a DeFi insider suggests that this hack was executed by a skilled DeFi developer, likely working on a rival project. The attacker also left a cryptic message which appeared to taunt a list of projects and blame Yearn developers, and some DeFi developers have started referring to a “war” in their tweets.
The DeFi protocol Indexed Finance was hacked for $16 million, but identified the attacker. The story of how the attacker was identified is an interesting one, involving an edit to Wikipedia which they made to describe themselves as a “notable mathematician”. It subsequently transpired that the attacker is a teenager, and rather than hand the funds back, or 90%, they have decided to test the “code is law” conjecture in court to see if they can keep their flash loan bounty.
The Creature Toadz NFT community was scammed by an attacker who posted a fake minting link in their Discord — in the 45 minutes before it was taken down 88 ETH was sent to the attacker. The funds were quickly returned after the hacker’s identity was discovered.
In the dog eat dog world of dog money, AnubisDAO executed a speedy rug pullwith $60 million of investors’ money, 20 hours into the initial token sale for this new dog token with no website. There is some dispute over whether the attack was executed by a project insider or someone who phished a project insider.
A new crypto news wire has launched, and it is run by a DAO, PubDAO.
Popular patronage service Patreon is considering to drop the ban on its users offering and promoting social tokens on their platform.
The infamous $1 trillion infrastructure bill has returned to the house of representatives and someone has discovered an even more egregious anti-crypto provision: 6050I. This provision would require recipients of digital assets to, in many cases, collect a variety of information about the sender and report this to the IRS within 15 days. This provision has only recently been discovered, but it is apparently already too late to do anything about amending the infrastructure bill on its passage through the house of representatives.
The latest crypto fad is not a new blockchain but small blocks of tungsten, which people are buying to touch and hold. It didn’t take long for someone to come up with a Tungsten DAO which has minted an NFT representing a very large block of tungsten, and sold this for $250,000, to a holder who is entitled to visit it once a year for looking and touching (it’s too heavy to hold or deliver).
That’s all for October. Share your updates for the next issue in our #journal chat room.
This is issue 43 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, degeri, l1ndseymm, richardred
- reviews and feedback: davecgh, lukebp
- title image: saender
- funding: Decred stakeholders