Skip to content
6ddcf99
Compare
Choose a tag to compare
c385d7b
Compare
Choose a tag to compare
Fix deprecation height (#46)

changed the deprecation height calculation to factor in the new block time of 1.25 mins

Co-authored-by: cryptobubbles <cryptobubbles@protonmail.com>
f17e785
Compare
Choose a tag to compare
Hotfix for protocol version (#43)

Co-authored-by: cryptobubbles <cryptobubbles@protonmail.com>
a974e66
Compare
Choose a tag to compare
Zclassic v2.1.1 (#42)

* Implement triple halving and shorter block target spacing

Change finalizationdelay for Buttercup network upgrade

RPC test for triple halving and shorter block time

Add CHECKDATASIG opcode

Add a flag to activate OP_CHECKDATASIG

Handle difficulty adjustment during network upgrade

Versioning changes for 2.1.0

Updated manpages for 2.1.0

Updated release notes and changelog for 2.1.0

Testnet activation of Buttercup network upgrade

* Fix difficulty adjustment at fork

Fix unit tests

Versioning changes for 2.1.1

Co-authored-by: cryptobubbles <cryptobubbles@protonmail.com>
Compare
Choose a tag to compare
Zclassic v2.0.6-1 (#40)

* Ignore exceptions when deserializing note plaintexts

* SetMerkleBranch: remove unused code, remove cs_main lock requirement

Includes equivalent changes to bitcoin/bitcoin#9446

* Remove cs_main lock requirement from CWallet::SyncTransaction

SetMerkleBranch was the only call underneath SyncTransaction that
required the cs_main lock.

* Move mempool SyncWithWallets call into its own thread

* Enable RPC tests to wait on mempool notifications

* Cast uint8* in InterruptibleRecv to char* for recv

Fixes a Windows-specific compile bug introduced in #4212.
Closes #4214.

* Accept any sequence of PUSHDATAs in OP_RETURN outputs

Previously only one PUSHDATA was allowed, needlessly limiting
applications such as matching OP_RETURN contents with bloom filters that
operate on a per-PUSHDATA level. Now any combination that passes
IsPushOnly() is allowed, so long as the total size of the scriptPubKey
is less than 42 bytes. (unchanged modulo non-minimal PUSHDATA encodings)

Also, this fixes the odd bug where previously the PUSHDATA could be
replaced by any single opcode, even sigops consuming opcodes such as
CHECKMULTISIG. (20 sigops!)

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Increase the default setting for nMaxDatacarrierBytes to 223 bytes

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Fix missing include

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Versioning changes for 2.0.6-1

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated manpages for 2.0.6-1

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated release notes for 2.0.6-1

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>
Compare
Choose a tag to compare
Zclassic v2.0.6  (#39)

* Disable -shrinkdebugfile command

* Fix of CVE-2017-18350

Adapted from bitcoin/bitcoin#11397 by Wladimir J. van der Laan.

Co-Authored-By: Jack Grigg <jack@electriccoin.co>
Co-Authored-By: Daira Hopwood <daira@electriccoin.co>

* Versioning changes for 2.0.6

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated manpages for 2.0.6

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated release notes for 2.0.6

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>
694f53f
Compare
Choose a tag to compare
Compare
Choose a tag to compare

v2.0.5-1

Pre-release
Pre-release
Fix signrawtransaction (#29)

* Update deprecation.h

* Versioning changes for 2.0.5-1

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated manpages for 2.0.5-1

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated release notes and changelog for 2.0.5-1

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update zcbenchmarks.cpp

Implement zcash fix in order to avoid error during  mac os build.

* Update release notes

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>
d57bf7a
Compare
Choose a tag to compare

v2.0.5

Pre-release
Pre-release
Deep Reorg Protection (#25)

* Deep Reorg Protection

This commit implements some basic reorg protection by implementing a rolling 10 block checkpoint

  * Auto-finalize block once they reach a depth of 10 and time of 30mins have elapsed since the block header received time.

  * Introduce a penalty to alternative chains based on the depth of the fork. This makes it harder for an attacker to do reorg before the next block finalization. The node implicitly parks the block if it causes deep reorg. A parked chain will be automatically unparked if it has twice as much PoW accumulated as the main chain since the fork block.

  * Added -maxreorgdepth flag to configure the block finalization depth. Default is 10. Use -1 to disable.

  * Added -finalizationdelay flag to configure the minimum amount of time to wait between block header reception and the block finalization. Unit is seconds, default is 1800 (30mins).

  * Added RPC to park a chain and finalize a block.

  * Added RPC getfinalizedblockhash to get the finalized blockhash.

  * Added RPC tests for reorg protection and also fixed the existing RPC tests.

  * Refactored the code

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Fix RPC tests

- Modify Zcash tests to work with Zclassic
- Disable tests which are not working. Some tests have to be modified to account for the parked chain.

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Fix travis to run rpc tests

* Versioning changes for 2.0.5

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated manpages for 2.0.5

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Updated release notes and changelog for 2.0.5

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update mainnet minimum chainwork

Summary:
Set minimum chainwork to chainwork at block 572593

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update setup instructions in README.md

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Sanity check: Set the deprecation height to match the 16 weeks release cycle

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Linux builds published as releases by travis builds on tag push

Signed-off-by: cryptoprofutonium <cryptoprofutonium@protonmail.com>

* Update testnet seed list

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Don't build tests in travis builds

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Change Equihash parameters to 192, 7

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Add support for n=192, k=7 in Tromp Equihash solver and set it as default

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Set activation height for Bubbles network upgrade

Summary:
Bubbles is the third network upgrade for ZClassic. It features deep reorg protection and ASIC-resistance.
Activation height on testnet: 6350, approximate time: 08-27-2019 17:30 UTC
Activation height on mainnet: 585318, approximate time: 09-05-2019 00:00 UTC

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update deprecation height

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update mainnet seed list

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update release notes

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>

* Update build steps

Signed-off-by: cryptobubbles <cryptobubbles@protonmail.com>
e6637d8
Compare
Choose a tag to compare

Mandatory upgrade prior block #559501

Remember to backup your data before making any changes to your current configuration.

ZClassic is experimental and a work-in-progress. Use at your own risk.