This file contains hidden or 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
name = "ckb_staging" | |
[genesis] | |
version = 0 | |
parent_hash = "0x0000000000000000000000000000000000000000000000000000000000000000" | |
timestamp = 1564207200792 | |
compact_target = 0x1f010000 | |
uncles_hash = "0x0000000000000000000000000000000000000000000000000000000000000000" | |
nonce = "0x0" |
This file contains hidden or 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
# Config generated by `ckb init --chain staging` | |
data_dir = "data" | |
[chain] | |
# Choose the kind of chains to run, possible values: | |
# - { file = "specs/dev.toml" } | |
# - { bundled = "specs/testnet.toml" } | |
# - { bundled = "specs/mainnet.toml" } | |
spec = { file = "ckb-spec-staging.toml" } |
This file contains hidden or 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
# Config generated by `ckb init --chain staging` | |
data_dir = "data" | |
[chain] | |
# Choose the kind of chains to run, possible values: | |
# - { file = "specs/dev.toml" } | |
# - { bundled = "specs/testnet.toml" } | |
# - { bundled = "specs/mainnet.toml" } | |
spec = { file = "ckb-spec-staging.toml" } |
This file contains hidden or 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
2021-08-11 06:30:12.343 +00:00 ckb-global-runtime ERROR ckb_tx_pool::process resolve transactions when build block template, tip_number: 4519, tip_hash: Byte32(0xd8f7d8ca752c3b8a645a658278c829125a64a95424b061a9413ab9b1e72ba67d), error: Unknown(OutPoint(0x1311432d6153604df33beda417936a8551a0648aa8b4908a5ec057c4f318c5242d000000)) | |
2021-08-11 06:30:12.343 +00:00 ckb-global-runtime ERROR ckb_tx_pool::process resolve transactions when build block template, tip_number: 4519, tip_hash: Byte32(0xd8f7d8ca752c3b8a645a658278c829125a64a95424b061a9413ab9b1e72ba67d), error: Unknown(OutPoint(0xd13201c16e714ef15b5297fb6939ffa9e5382cd47006cde3f9496064af93972234000000)) | |
2021-08-11 06:30:12.343 +00:00 ckb-global-runtime ERROR ckb_tx_pool::process resolve transactions when build block template, tip_number: 4519, tip_hash: Byte32(0xd8f7d8ca752c3b8a645a658278c829125a64a95424b061a9413ab9b1e72ba67d), error: Unknown(OutPoint(0x6abbccb3af40a178c8bd25de9212a06751e976e0434886254dd9dd4c3db9009825000000)) | |
2021-08-11 06:30:12.343 +00:00 |
This file contains hidden or 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
name = "ckb_privnet_pow_dummy" | |
[genesis] | |
version = 0 | |
parent_hash = "0x0000000000000000000000000000000000000000000000000000000000000000" | |
timestamp = 0 | |
compact_target = 0x20ffffff # difficulty = 1 | |
uncles_hash = "0x0000000000000000000000000000000000000000000000000000000000000000" | |
nonce = "0x0" |
-
KR1: Improve programmability and readability of integration-test.
- Extract common behaviors. Our test cases are always complicated, usually because they act complicated steps to construct the testing context or check the status of the things. Extracting those common behaviors is a way to reduce complexity. Our vision is, with fewer codes and documents, that a new programmer takes less effort to read and write test cases.
- Mining
- Block construction
- Transaction construction
- Chain construction
- Extract common behaviors. Our test cases are always complicated, usually because they act complicated steps to construct the testing context or check the status of the things. Extracting those common behaviors is a way to reduce complexity. Our vision is, with fewer codes and documents, that a new programmer takes less effort to read and write test cases.
- Chain/block/transaction status checking
This file has been truncated, but you can view the full file.
This file contains hidden or 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
2020-06-17 03:12:53.790 +00:00 NetworkRuntime INFO ckb-net-monitor laatency: {29: [], 9: [], 46: [], 51: [], 73: [], 61: [], 10: [], 5: [], 66: [], 17: [], 22: [], 54: [], 57: [], 16: [], 14: [], 35: [], 32: [], 28: [], 8: [], 68: [], 18: [], 45: [], 71: [], 26: [], 38: [], 56: [], 53: [], 77: [], 62: [], 11: [], 21: [], 48: [], 37: [], 39: [], 30: [], 64: [], 65: [], 49: [], 4: [], 25: [], 27: [], 84: [], 55: [], 63: [], 58: [], 6: [], 59: [], 34: [], 52: [], 3: [], 24: [], 47: [], 78: [], 79: [], 44: [], 60: [], 12: [], 70: [], 19: [], 15: [], 31: [], 33: [], 23: [], 40: [], 43: [], 76: [], 42: [], 41: [], 74: [], 7: [], 2: [], 36: [], 72: [], 1: []} | |
2020-06-17 03:13:13.793 +00:00 NetworkRuntime INFO ckb-net-monitor laatency: {11: [(2097044, 46), (2097045, 91)], 38: [(2097044, 110), (2097045, 217)], 8: [(2097044, 4), (2097045, 5)], 31: [(2097044, 120), (2097045, 242)], 44: [(2097044, 129), (2097045, 257)], 34: [(2097044, 433), (2097045, 532)], 87: [], 29: [(2097044, 104), (2097045, 206)], 42: [(2097044, 1 |
TPS 的定义:
In the context of blockchains, transactions per second (TPS) refers to the number of transactions that a network is capable of processing each second.
上面的定义很好理解:整个区块链网络作为一个整体,一秒内所能处理的交易量。问题在如何评估 “处理的交易量”?
-
方式一:“处理” 等于 “上链”,所以
TPS = 已上链的交易量 / 块的时间间隔
TPS = 已上链的交易量 / 块的时间间隔
This file contains hidden or 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
91 | ckb1qyqzasa9ldqf3v20fzr42hl93ktxe2evdf3su84xmg | |
---|---|---|
92 | ckb1qyqq5jr0hrm0uc8hduqp6cmjmfqmayghyfvspnxmu4 | |
93 | ckb1qyq2cvlfef5kt043vcsy6rrt7snae2emda9su9jdkv | |
94 | ckb1qyq2cvlfef5kt043vcsy6rrt7snae2emda9su9jdkv | |
95 | ckb1qyqdmeuqrsrnm7e5vnrmruzmsp4m9wacf6vsxasryq | |
96 | ckb1qyqq5jr0hrm0uc8hduqp6cmjmfqmayghyfvspnxmu4 | |
97 | ckb1qyq2cvlfef5kt043vcsy6rrt7snae2emda9su9jdkv | |
98 | ckb1qyqdmswal8qn2psmwc6u5508xh7zkq7wuvusk4jm4j | |
99 | ckb1qyqfhv78ks8xyalzhntde0hjmjrusdyjxyxsn5tw2y | |
100 | ckb1qyqfhv78ks8xyalzhntde0hjmjrusdyjxyxsn5tw2y |