Skip to content
Pre-release
Pre-release

@millennium-falcon42 millennium-falcon42 released this Sep 24, 2021

  • Add ignoreNetworkCheck parameters to "cpchain run" command to ignore check the status of the network
  • Add init* methods to change the default candidates/validators/proposers to make genesis.toml worked

SHA256 Checksum

dcdf676f5fc9a8c962de1c6e7d6c11d08b17e2bfc00a62007a31f430a965620c cpchain-darwin-10.6-386
bc60e58faf46169302a8e0c83a6e06f9079cc33ca6020206248dcde1b74156ac cpchain-darwin-10.6-amd64
b320987521a5a591a6543a01999c5bf063c9e9db7ff12b69e645dfd5a0863e35 cpchain-linux-386
19ca9f35c6dda14a8cf4bc6ab0129fbfa9bb4c73ababf81b7c8f6d5238ef4d3e cpchain-linux-amd64
1c5e3f7d36824c5a225ccf10f8c07a336771fdbb4e535697bfa6cf77b00a1ca9 cpchain-windows-4.0-386.exe
aa380f367e04c8fa2d60b1a069428f2f2692dc51167c00d570e2006346516028 cpchain-windows-4.0-amd64.exe
Assets 8

@cpcpublisher cpcpublisher released this Nov 29, 2019

  1. fixed a nil pointer error when syncing: failed to retrieve header from local chain Line="rpt/rpt_helper.go:259" err=""

package list with checksum:

bdaebc56e834d6333d1bb8e1b399435c03190bef387faa0be1a3452e987905c0  cpchain-darwin-10.6-386-v0.5.2.zip
0eeb60d0e29b834c841e80906b9dfdbee3029ca8e0402614bdf0d1313b689a52  cpchain-darwin-10.6-amd64-v0.5.2.zip
363042cadb48ff63c20a4befd7e132f8002f6ba09dd3d245224c0a731862cd4f  cpchain-linux-386-v0.5.2.zip
2f6afcae94f96e8ce47660992f86e197a79e83b94674779becb205de0956987d  cpchain-linux-amd64-v0.5.2.zip
b3b5bcfb8cfddecf4733da3cb75489dc7e5a76f32b91dd8dc6cc5f4fb8280a0a  cpchain-windows-4.0-386-v0.5.2.zip
0f00ee4af82503f990ff67b77b11f73b7e492e20ca4a42b5bb9e4d0d62d1e847  cpchain-windows-4.0-amd64-v0.5.2.zip

get checksum online : https://emn178.github.io/online-tools/sha256_checksum.html

Assets 8

@cpcpublisher cpcpublisher released this Nov 18, 2019

  1. Note that this version is NOT compatible with previous versions.
  2. The number of impeached blocks of the latest 10,000 blocks affects the calculation of RPT value.
  • Each impeached block will reduce 1/9 of the original value.
  • If the value is lower than 1000 after considering impeached blocks, it will set to 1000. (i.e., the minimum value of RPT is 1000)
  1. Existing test cases have been adjusted for this version. And more cases have been added for testing the new feature.

package list with checksum:

a75498a999cbb45341b099fb706bee0d2cbde4147de19c7228d195605475e780  cpchain-darwin-10.6-386-v0.5.1.zip
894474bd77af02096e7668e80005ee19f9208ab4a153a030b9ced310e9ce7341  cpchain-darwin-10.6-amd64-v0.5.1.zip
69aec24fc743e357880be829b15d91c4d817550ac9ed852229772b92629d6574  cpchain-linux-386-v0.5.1.zip
e32ff6335463a2c73fade12b127a39685b6ce46db792070c2f6b9d04838fa578  cpchain-linux-amd64-v0.5.1.zip
34d06db8d1cdbb7a20dc32b0f5c9701c9c5dbac139669716ed0d4ef330eb9e70  cpchain-windows-4.0-386-v0.5.1.zip
742413547ba3cca6f84d57aa275b9652b4c6e5fa213fe6bc595ed558e04bef5f  cpchain-windows-4.0-amd64-v0.5.1.zip

get checksum online : https://emn178.github.io/online-tools/sha256_checksum.html

Assets 8
Nov 18, 2019
Merged in CHAIN-2006-impeachment-decrease-rpt (pull request #882)
CHAIN-2006 impeachment decrease rpt

* minor, rename rptImpl6 to rptImpl.

* added rpt.CollectorImpl2

* added NewRptWithImpeachPunishmentPivotBlockNumber in configs.

* added ImpeachProposer in dpor.backend

* added impeach history records in dpor rpt.

* more fix to rpt calc2.

* fix up and more logs.

* minor

* more fix and clean up to rpt calc 2.

* minor.

* minor.

* minor fix.

* minor fix.

* some basic test.

* block insertion one by one if larger than sync pivot to make snapshot always available.

* rpt does have a minimum value, not zero!

* minor

* change rpt impeach pivot.

* change rpt impeach window size to 10000

@cpcpublisher cpcpublisher released this Oct 15, 2019

  1. Do not load/store dpor snapshot from/to leveldb. When needed, calc it, then cache it.
  2. Provided commands to delete useless data in db, and compact it. with follow:
  • ./cpchain chain delete dpor- --datadir ~/.cpchain
  • ./cpchain chain compact --datadir ~/.cpchain
    Attentions:
    i) You can omit --datadir ~/.cpchain if your node is stored in default directory.
    ii) The chain delete dpor- command does not shrink disk usage. It traverses all cpchain files and labels redundant and obsolete files.
    iii) The chain compact command then compacts files following the labels done by chain delete dpor- command.
    iv) Both commands can be kind of time consuming. The process time is estimated to around 20 minutes for each of them.
    v) Note that there is a hyphen following dpor in chain delete dpor- command. dpor- indicates the prefix of files names. Other arguments rather than dpor- may lead to unexpected results.
    vi) Note that you should run these two commands only when you stop the cpchain. Executing either command under a runinng cpchain will return an error.
  1. Deleted some useless and wrong tests.
  2. Fixed some bugs for block verification.

package list with checksum:

6cedbe5231c453c7d698f98461196622ad6c0c6ada5db6761a3873925b8b6ec4  cpchain-darwin-10.6-386-v0.4.8.zip
4faca6756dac3f94d60dc17a98d5b7bb1b0457dcbbd2cae5bc1f47619a4c29a0  cpchain-darwin-10.6-amd64-v0.4.8.zip
b893dfaa19e07dddc4ba743686a94c0e8b1cac7057f988f22fe1e3fc45e10973  cpchain-linux-386-v0.4.8.zip
e92310c81ba7bd547c6b55ba893bc01856cbe3b78dff47953e6673994247916b  cpchain-linux-amd64-v0.4.8.zip
805540dded3bbc980eb219343f0d4d71810c88acb84155d64587077fc4759e51  cpchain-windows-4.0-386-v0.4.8.zip
12fe2094a3095663a7433ff415c62f00cce65924ec9128da353a2ca610c291f7  cpchain-windows-4.0-amd64-v0.4.8.zip

get checksum online : https://emn178.github.io/online-tools/sha256_checksum.html

Assets 8

@cpcpublisher cpcpublisher released this Aug 30, 2019

  1. keybroad password input for ./cpchain campaign
  2. add some Prometheus metrics in dev mode

package list with checksum:

65c697b96680d6b7b43c9002f0e61e9340d5d7a3013a9cd47dd66fe06c4ee4f5  cpchain-darwin-10.6-386-v0.4.7.zip
ff69bce6e0121264661a6c15215cdc2cacb3297d2353f91e0a136784190a616e  cpchain-darwin-10.6-amd64-v0.4.7.zip
1c9a15055d59ab055a6fca28edbd17e16316f26f23da0fcf88d41cf406bafe7e  cpchain-linux-386-v0.4.7.zip
5013b16b3c3315f248c43e3be9fe4de9fc071e1ca2c3e15613f887f2a8eed604  cpchain-linux-amd64-v0.4.7.zip
1bba59b44388e24e800a8699052cf33666292dbbe2ee419adcf9538dc44737ee  cpchain-windows-4.0-386-v0.4.7.zip
6e88db9333f7e5cbf2ccb31263aae46e7dae9ade75ce600d83178fe922d494c8  cpchain-windows-4.0-amd64-v0.4.7.zip

get checksum online : https://emn178.github.io/online-tools/sha256_checksum.html

Assets 8

@cpcpublisher cpcpublisher released this Jul 25, 2019

Merged in CHAIN-1657-rpt-benchmark (pull request #807)

CHAIN-1657 rpt benchmark

* CHAIN-1587 elect unit testcase

* CHAIN-1597 plot add

* CHAIN-1597 PLOT MODIFY

* CHAIN-1597 clean up and add annotation

* CHAIN-1597 path modify

* Merged in CHAIN-1635a-election-benchmark (pull request #800)

    CHAIN-1635a election benchmark

    * CHAIN-1635a add benchmark

    * CHAIN-1635a benchmark modify

    * CHAIN-1635a MODIFY address

    Approved-by: Qian LIU <liuqian@cpchain.io>

* CHAIN-1657 add benchmark

* CHAIN-1657 RPT BENCHMARK MODIFY

* CHAIN-1657 ammotation modify
Assets 5
Jun 27, 2019
sail the boat