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.12.0 a.k.a rylai #750
Closed
Closed
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
fix: Use random port
fix: compact block message flood
…emsize fix: outpoint memsize
feat: remove always success code hash
chore: should ban the peer who send `DuplicateDeps` tx to us fix: tx_pool should accept valid `since/cellbase_maturity` tx before proposal window
test: add more integration tests
feat: stringify numbers
test: add transaction_relay_multiple test and fix integration test broken
chore: change all hash log output to `{:x}`
refactor: improve core type fmt debug
BREAKING CHANGE: The format of Transaction in database is changed.
[ᚬrc/v0.12.0] chore: remove unnecessary code
[ᚬrc/v0.12.0] feat: upgrade CKB VM to latest version with performance improvements
…ash-func [ᚬrc/v0.12.0] fix: Change dns seed record hash function to blake2b_256
[ᚬrc/v0.12.0] chore: rpc bind localhost in default config
[ᚬrc/v0.12.0] fix: load_script_hash should use script's own hash for lock script
[ᚬrc/v0.12.0] feat: add load witness syscall
perf: only parallelism verify tx in block verifier
[ᚬrc/v0.12.0] feat: peer_store support retry and refresh
[ᚬrc/v0.12.0] fix: proposal duplidate
….34.2 [ᚬrc/v0.12.0] chore(docker): build docker image from nervos/ckb-docker-builder
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.
Features
feat: remove cycles config from miner #633: Remove cycles config from miner (@zhangsoledad)
feat: verify compact block #614: Verify compact block (@keroro520)
feat: Incorporate assembly based CKB VM interpreter #642: Incorporate assembly based CKB VM interpreter (@xxuejie)
feat: cellbase type script #622: Allow type script in cellbase (@quake)
feat: Generalize OutPoint struct to reference headers as well #620: Generalize OutPoint struct to reference headers as well (@xxuejie)
feat: Add syscall to load current script hash #651: Add syscall to load current script hash (@xxuejie)
feat: add rpc get_epoch_by_number #656: Add rpc
get_epoch_by_number
(@keroro520)feat: txs verify cache #662: Add txs verify cache (@zhangsoledad)
feat: upgrade CKB VM version #670: Upgrade CKB VM version (@xxuejie)
The new version contains fixes for 2 bugs revealed in comprehensive testing.
feat: Limit sync header timeout #675: Limit sync header timeout by
MAX_HEADERS_LEN
(@keroro520)feat: Update lock script due to protocol changes #678: Update lock script due to protocol changes (@xxuejie)
feat: rpc get blockchain info #671: Add rpc get blockchain info (@keroro520)
get_blockchain_info
get_peers_state
, currently only return the info of blocks synchronizing in flight.feat: add rpc experiment module #653: Add rpc experiment module (@keroro520)
dry_run_transaction
_compute_transaction_id
feat: upgrade VM to latest version #689: Upgrade VM to latest version (@xxuejie)
Noticeable changes here include:
feat: Update default lock script to sign on transaction hash now #686: Update default lock script to sign on transaction hash now (@xxuejie)
feat: Use script to generate rpc doc #690: Use script to generate rpc doc (@keroro520)
feat: remove always success code hash #701: Remove always success code hash (@xxuejie)
feat: stringify numbers #703: Stringify numbers in rpc (@keroro520)
feat: database save positions of CellOutputs in Transaction #709: Database save positions of CellOutputs in Transaction (@yangby-cryptape)
feat: move DryRuResult into jsonrpc-types #720: Move DryRuResult into jsonrpc-types (@keroro520)
DryRunResult
into jsonrpc-typesfeat: initial NervosDAO implementation #718: Initial NervosDAO implementation (@xxuejie)
Note that this is now implemented as a native module for the ease of experimenting ideas. We will move this to a separate script later when we know more about what the actual NervosDAO implementation should look like.
feat: enforce resolve txs order within block #714: Enforce resolve txs order within block (@zhangsoledad)
Transactions are expected to be sorted within a block
Transactions have to appear after any transactions upon which they depend
feat: use future_task to avoid blocking #731: Use
future_task
to avoid blocking (@jjyr)feat: panic if it's likely to reach a deadlock #735: Panic if it's likely to reach a deadlock (@yangby-cryptape)
feat: verify uncle max proposals limit #742: Verify uncle max proposals limit (@zhangsoledad)
feat: Transaction since field support epoch-based verification rule #736: Transaction since field support epoch-based verification rule (@jjyr)
feat: genesis block customization #745: Genesis block customization (@doitian)
[ᚬrc/v0.12.0] feat: prof support start from non-zero block #772: Prof support start from non-zero block (@jjyr)
[ᚬrc/v0.12.0] feat: add secp256k1 in dev chainspec #781: Add secp256k1 in dev chainspec (@doitian)
[ᚬrc/v0.12.0] feat: upgrade CKB VM to latest version with performance improvements #811: Upgrade CKB VM to latest version with performance improvements (@xxuejie)
[ᚬrc/v0.12.0] feat: add load witness syscall #822: Add load witness syscall (@xxuejie)
[ᚬrc/v0.12.0] feat: peer_store support retry and refresh #806:
peer_store
support retry and refresh (@jjyr)epoch revision #579: epoch revision (@zhangsoledad)
Ignore staled block #632: Ignore staled block (@keroro520)
Bug Fixes
fix: a bug caused by merging a stale branch #643: A bug caused by merging a stale branch (@yangby-cryptape)
fix: spec consensus params #641: Spec consensus params (@zhangsoledad)
fix: epoch init #652: epoch init (@zhangsoledad)
fix: Use the String alias type EpochNumber #655: Use the String alias type EpochNumber (@ashchan)
fix: Information is inconsistent with the transaction pool display #660: Information is inconsistent with the transaction pool display (@driftluo)
fix(tx_pool): insertion order when chain reorg #673 tx_pool: insertion order when chain reorg (@zhangsoledad)
fix: TxPoolExecutor return inconsistent result #681: TxPoolExecutor return inconsistent result (@jjyr)
fix: respond parse error to miner #692: respond parse error to miner (@jjyr)
fix: TxPoolExecutor panic when tx conflict #685: TxPoolExecutor panic when tx conflict (@jjyr)
fix: metric transaction header mem size #695: metric transaction header mem size (@zhangsoledad)
fix: initial block download blocked #688: initial block download blocked (@TheWaWaR)
fix: blocktemplate size_limit calculate #698: blocktemplate
size_limit
calculate (@zhangsoledad)fix: Update p2p library fix network OOM issue #697: Update p2p library fix network OOM issue (@TheWaWaR)
fix: Use random port #699: Use random port (@keroro520)
fix: compact block message flood #702: Compact block message flood (@quake)
fix: outpoint memsize #700: Outpoint memsize (@zhangsoledad)
fix: Update p2p to 0.2.0-alpha.11 fix send message timeout bug #711: Update p2p to 0.2.0-alpha.11 fix send message timeout bug (@TheWaWaR)
fix: proposal finalize #712: Proposal finalize (@zhangsoledad)
fix: block inflight timeout #744: block inflight timeout (@zhangsoledad)
fix: increase protocols time event interval #743: increase protocols time event interval (@jjyr)
fix(deps): upgrade p2p to 0.2.0-alpha.14 #749 deps: upgrade p2p to 0.2.0-alpha.14 (@TheWaWaR)
fix: token unreachable bug #751: token unreachable bug (@TheWaWaR)
fix: genesis epoch remainder reward #753: genesis epoch remainder reward (@zhangsoledad)
fix: block size calculation should not include uncle's proposal zones #746: block size calculation should not include uncle's proposal zones (@zhangsoledad)
[ᚬrc/v0.12.0] fix: fix NervosDAO calculation logic #758: fix NervosDAO calculation logic (@xxuejie)
[ᚬrc/v0.12.0] fix(deps): Upgrade p2p fix gracefully shutdown network service #776 deps: Upgrade p2p fix gracefully shutdown network service (@TheWaWaR)
✨ Silky smooth
Ctrl + C
experience ✨[ᚬrc/v0.12.0] fix: correct block_median_count #788: correct
block_median_count
(@keroro520)[ᚬrc/v0.12.0] fix: Outbound peer service and discovery service #793: Outbound peer service and discovery service (@TheWaWaR)
[ᚬrc/v0.12.0] fix(network): Avoid dial too often #797 network: Avoid dial too often (@TheWaWaR)
[ᚬrc/v0.12.0] fix: load_script_hash should use script's own hash for lock script #819:
load_script_hash
should use script's own hash for lock script (@xxuejie)[ᚬrc/v0.12.0] fix: proposal duplidate #820: proposal deduplication (@zhangsoledad)
fix: next epoch calculate off-by-one #739: next epoch calculate off-by-one (@zhangsoledad)
Improvements
verification
field from ChainService struct toprocess_block
fn params #732: moveverification
field from ChainService struct toprocess_block
fn params (@quake)BREAKING CHANGES