-
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.15.0 #1091
[ᚬmaster] Rc/v0.15.0 #1091
Conversation
feat: initial windows support
feat: add CI files for Windows environments
chore: group sentry events via fingerprint
…block feat: add a function to select all tx-hashes from storage for a block
chore: create windows package via azure
BREAKING CHANGE: get_blockchain_info change warnings to alerts
test: add code coverage
This commit contains no CKB VM changes, it merely switch from git commit to published CKB VM versions
chore: dev spec tweak
* test: 1. fix discovery miss impl on add_new_addr 2. fix discovery quick exit on add_new_addrs 3. add * test: support windows test
fix: cellset consistency
chore: remove useless dependencies
feat: revise epoch rpc
@xxuejie is assigned as the chief reviewer |
Config files changes: ckb-miner.toml
[chain]
-spec = "specs/testnet.toml"
+spec = { file = "specs/testnet.toml" } ckb.toml
[chain]
-spec = "specs/testnet.toml"
+spec = { file = "specs/testnet.toml" } New options [network]
+# If set to true, try to register upnp
+upnp = false
+# If set to true, network service will add discovered local address to peer store, it's helpful for private net development
+discovery_local_address = false New option +# Also, ckb allows the miners to add any data to the cellbase that they have dug out.
+# The data must be A 0x-prefixed hex string.
+#
+# note: The data field is optional.
+#
+# **WARNING**: if data is larger than the capacity value of the current cellbase,
+# it will be truncated
+#
+# [block_assembler]
+# code_hash = "0xf1951123466e4479842387a66fabfd6b65fc87fd84ae8e6cd3053edb27fff2fd"
+# args = [ "ckb cli blake160 <compressed-pubkey>" ]
+# data = "0x prefix hex string" |
RPC changes:
"result": {
- "block_reward": "100000000000",
"difficulty": "0x3e8",
- "last_block_hash_in_previous_epoch": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "epoch_reward": "125000000000000",
"length": "1250",
"number": "0",
- "remainder_reward": "0",
"start_number": "0"
}
"result": {
+ "alerts": [],
"chain": "main",
"difficulty": "0x3e8",
"epoch": "0",
"is_initial_block_download": true,
- "median_time": "1557311762",
- "warnings": ""
+ "median_time": "1557311762"
} |
Codecov Report
@@ Coverage Diff @@
## master #1091 +/- ##
=========================================
Coverage ? 62.83%
=========================================
Files ? 160
Lines ? 13680
Branches ? 0
=========================================
Hits ? 8596
Misses ? 5084
Partials ? 0
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1091 +/- ##
=========================================
Coverage ? 62.83%
=========================================
Files ? 160
Lines ? 13680
Branches ? 0
=========================================
Hits ? 8596
Misses ? 5084
Partials ? 0
Continue to review full report at Codecov.
|
Option `--exclude` is not available for `git-describe` in old versions.
The default secp256k1 has changed. Now its code hash is
Highlights
feat: proposer reward #922: Feat: proposer reward (@zhangsoledad)
This is a breaking change: b:consensus
Replace system cell #1054: Replace system cell (@driftluo, @jjyr)
See feat: use recoverable signature to reduce tx size by jjyr · Pull Request #15 · nervosnetwork/ckb-system-scripts
BREAKING CHANGE: It changes the default secp256k1 script, which now uses recoverable signature.
Features
feat: initial windows support #937: Initial windows support (@xxuejie)
feat: add a function to select all tx-hashes from storage for a block #931: Add a function to select all tx-hashes from storage for a block (@yangby-cryptape)
feat: network alert #910: Implement the alert system in CKB for urgent situation (@jjyr)
This is a breaking change: b:p2p, b:rpc
feat: explicitly specify bundled or file system #939: Explicitly specify bundled or file system (@doitian)
feat: Add load_code syscall #972: Add
load_code
syscall (@xxuejie)feat: Upgrade p2p #977: Upgrade p2p (@driftluo)
upnp
optionalfeat: use new identify protocol #978: Use new identify protocol (@driftluo)
The current identify protocol does not play a role in identifying the capabilities of both parties, and the message structure is not reasonable.
So, I rewrote it and added the capability ID and network ID.
feat: Allow miner add an arbitrary message into the cellbase #1000: Allow miner add an arbitrary message into the cellbase (@driftluo)
feat: stats uncle rate #1047: Stats uncle rate (@zhangsoledad)
feat: add indexer related rpc #905: Add indexer related rpc (@quake)
feat: ckb init allow set ba-data #1035:
ckb init
allows settingba-data
(@driftluo)feat: revise epoch rpc #1088: Revise epoch rpc (@zhangsoledad)
This is a breaking change: b:rpc
Bug Fixes
witnesses_root
calculation should include cellbase (@u2)ChainSpec
script deserialize issue #1077: ResolveChainSpec
script deserialize issue (@quake)Improvements
SyncSharedState
(@keroro520)tip_header
from store instead of fromchain_state
(@jjyr)ckb-script
andckb-store
(@jjyr)