v2.1.0 - It's Lit 🔥
Summary
All services which run Ubiq nodes are encouraged to upgrade but this is considered an optional upgrade as there are no hard fork changes. Fusion wallet will be updated to point to the latest version and you will automatically be prompted to upgrade.
For more information, see our blog post: https://blog.ubiqsmart.com/announcing-gubiq-2-1-our-biggest-release-yet-75069acb243e
Changes
Pure Go Ubqhash
C-languaged based Ubqhash has been reimplemented fully in Go. This permits us to generate mining DAGs concurrently on all available CPUs, rotate old mining DAGs out instead of storing them indefinitely, use memory mapped verification caches essential for fast mobile startup times, and run on any platform Go supports.
Plugable consensus engine support
Gubiq now supports plugable consensus engines. Gubiq 2.1 ships with two engines ready to go, Ubqhash (Proof-of-Work) and Clique testnet (Proof-of-Authority), when launching your own testnet or privatenet you can choose which engine to use.
Integrated ethstats reporting
For all of the awesome people running full nodes you no longer need ubiq-net-intelligence-api to relay your node info to the stats page, it can now be done directly from gubiq using the ethstats flag.
gubiq --ethstats NODENAME:[email protected]
Fast sync support
Fast sync was disabled in previous versions but additional work was completed to have it fully enabled. This results in a faster initial sync and greatly reduced disk usage.
Here are the definitions of the sync modes:
- “Full” Sync: Gets the block headers, the block bodies, and validates every element from genesis block.
- Fast Sync: Gets the block headers, the block bodies, it processes no transactions until current block — 64. Then it gets a snapshot state and goes like a full synchronization.
As you can see, for a Fast sync you still have the full history if you want to reconstruct it.
By default Gubiq will use fast sync on a fresh install, you can use the syncmode flag for full sync if you prefer:
gubiq --syncmode "full"
The good news is that Fast will have noticeable disk space savings on initial fast sync.
Chain data on the new version up to a current block 760k:
2.0G ./chaindata
Current chain data usage on the previous version:
12G ./chaindata
So at least 10 GB in disk space freed up.
Support for Go 1.12
All binaries have been built with the latest Go 1.12 and compatibility changes have been integrated.
Checksums
$ shasum -a 256 *
5fe5429fdcc69846dc1d8024552e9929e990b501c5cf6e832e414757bef50ebe gubiq-darwin-amd64
b8ecabbbbe4b862848d473ca339e785e9b64a0e512c774b13fb21d6c71bfa876 gubiq-linux-amd64
a4910cfe19e7f88d731814feccbdd4d6353262a9726d8ac30e7bbac701eadc93 gubiq-linux-arm-7
ab4a25f4c6e5793bee97503dbac97f19779eb2f80f4141dbbfd027c13d2a63d5 gubiq-linux-arm64
25ed89fe260ad318600ea110c3fbd1b1d3b92c894b62af45f855c2d8dec39220 gubiq-windows-4.0-amd64.exe