-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ᚬmaster] 🎉 Rc/v0.14.0 #941
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original implementation use [Tip-BlockMedianCount .. Tip-1] to calculate the current block median time. According to the notion of BlockMedianTime in https://github.com/bitcoin/bips/blob/master/bip-0113.mediawiki#specification , here change to use [Tip-BlockMedianCount+1 .. Tip] instead.
BREAKING CHANGE: Add new column to store cell set into database.
…nificant message
feat: Peers handle disconnect
feat: secp256k1 multisig
fix: calculate the current median time from tip
feat: limit TXO set memory usage
feat: revise uncle rule
fix: Sync blocked by protected peer
feat: display miner worker status
perf(sync): Fix get ancestor performance issue
fix: uncle number should smaller than block
Generate the code hash constants in ckb-resource, and use the constants instead of the hard code hash in different locations.
feat: avoid hard code code_hashes
The binary built using Ubuntu 18 requires a higher version of stdlibc++, which is not available in Ubuntu 16.
- `ckb init` accepts options `--ba-code-hash` and `--ba-arg` (which can repeat multiple times) to set block assembler. - `ckb cli secp256k1-lock` adds an output format `cmd` to prints the command line options for `ckb init` to set block assembler.
feat: `ckb init` supports setting block assembler
feat: Tweak consensus parameters
* chore: print found seal information * chore: tweak progress msg len <80
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important: The default secp256k1 code hash is changed to
0xf1951123466e4479842387a66fabfd6b65fc87fd84ae8e6cd3053edb27fff2fd
. Remember to update block assembler config.This version is not compatible with v0.13.0, please init a new CKB directory.
Features
New verification model #913: New verification model (@xxuejie)
This is a breaking change: b:consensus, b:database, b:p2p, b:rpc
Based on feedbacks gathered earlier, we are revising our verification
model with the following changes:
all inputs, and group them based on lock script hash. The script in
each group will only be run once. The lock script itself will have
to do the validation task for all inputs in the same group
different from previous version, the type scripts in inputs are
included here as well), and group them based on type script hash as
well. Each type script in each group will also be run once. The type
script itself needs to handle the validation task within the group
inputs/outputs/witnesses within a single group.
feat: Peers handle disconnect #908: Peers handle disconnect (@keroro520)
feat: secp256k1 multisig #891: Secp256k1 multisig (@jjyr)
feat: limit TXO set memory usage #845: Limit TXO set memory usage (@yangby-cryptape)
This is a breaking change: b:database
feat: revise uncle rule #874: Revise uncle rule (@zhangsoledad)
This is a breaking change: b:consensus, b:database
feat: tweak consensus params #920: Tweak consensus params (@zhangsoledad)
This is a breaking change: b:consensus
tweak
block_cycles_limit
andmin_block_interval
feat: wrap the log macros to fix ill formed macros #897: Wrap the log macros to fix ill formed macros (@yangby-cryptape)
And, we have to update the log filters, add prefix
ckb-
for all our crates.feat: synchronizer and relayer share BlocksInflight #919: Synchronizer and relayer share BlocksInflight (@keroro520)
feat: add a transaction error
InsufficientCellCapacity
#924: Add a transaction errorInsufficientCellCapacity
(@yangby-cryptape)feat: make a better error message for miner when method not found #926: Make a better error message for miner when method not found (@yangby-cryptape)
[ᚬrc/v0.14.0] [BREAKCHANGE] feat: display miner worker status #961: Display miner worker status (@quake)
BREAKCHANGE: config file
ckb-miner.toml
changed[ᚬrc/v0.14.0] feat:
ckb init
supports setting block assembler #1001:ckb init
supports setting block assembler (@doitian)ckb init
accepts options--ba-code-hash
and--ba-arg
(which canrepeat multiple times) to set block assembler.
ckb cli secp256k1-lock
adds an output formatcmd
to prints thecommand line options for
ckb init
to set block assembler.The two commands can combine into one to init the directory with a secp256k1 compressed pub key:
[ᚬrc/v0.14.0] feat: Tweak consensus parameters #996: Tweak consensus parameters (@doitian)
Bug Fixes
fix: calculate the current median time from tip #878: Calculate the current median time from tip (@keroro520)
This is a breaking change: b:consensus
Original implementation use
[Tip-BlockMedianCount .. Tip-1]
to calculate the current block median time. According to the notion of BlockMedianTime in bip-0113 , here change to use[Tip-BlockMedianCount+1 .. Tip]
instead.fix: Sync blocked by protected peer #915: Sync blocked by protected peer (@TheWaWaR)
fix: proposal table reload #906: Proposal table reload (@zhangsoledad)
[ᚬrc/v0.14.0] fix: uncle number should smaller than block #983: Uncle number should smaller than block (@zhangsoledad)
This is a breaking change: b:consensus
Improvements
[ᚬrc/v0.14.0] perf(sync): Fix get ancestor performance issue #981 sync: Fix get ancestor performance issue (@TheWaWaR)
It's a backport of PR perf(sync): Fix get ancestor performance issue #970
Misc