Skip to content
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

Update hardcode assume valid target #4699

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions util/constant/src/default_assume_valid_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ pub mod mainnet {
///
/// Need to update when CKB's new release
/// in mainnet: the 60 days ago block is:
/// height: 13266076
/// hash: 0xd07c7f0fcea6e2a20a51dabbf0caae7ebff49723bcd8bac81a8b8c021a546a32
/// date: Wed Jun 19 02:31:36 AM UTC 2024
/// you can view this block in https://explorer.nervos.org/block/0xd07c7f0fcea6e2a20a51dabbf0caae7ebff49723bcd8bac81a8b8c021a546a32
/// height: 13881224
/// hash: 0x191da7c29c644a10525a85ca71c02fc7ba162e8badb3ebbc2076d4119a70479b
/// date: Wed Aug 28 04:25:45 PM CST 2024
/// you can view this block in https://explorer.nervos.org/block/0x191da7c29c644a10525a85ca71c02fc7ba162e8badb3ebbc2076d4119a70479b
pub const DEFAULT_ASSUME_VALID_TARGET: &str =
"0xd07c7f0fcea6e2a20a51dabbf0caae7ebff49723bcd8bac81a8b8c021a546a32";
"0x191da7c29c644a10525a85ca71c02fc7ba162e8badb3ebbc2076d4119a70479b";
}
/// sync config related to testnet
pub mod testnet {
/// Default assume valid target for testnet, expect to be a block 60 days ago.
///
/// Need to update when CKB's new release
/// in testnet: the 60 days ago block is:
/// height: 13632642
/// hash: 0xab6f81474ccbc1cdd5f42cda7029a6f6e52fc242c3487861e8abb62b6a6ea8a9
/// date: Wed Jun 19 02:32:01 AM UTC 2024
/// you can view this block in https://pudge.explorer.nervos.org/block/0xab6f81474ccbc1cdd5f42cda7029a6f6e52fc242c3487861e8abb62b6a6ea8a9
/// height: 14390774
/// hash: 0x15d8685e20d9abad55c2fe63b3ce3dc3d83481ade3c2b65b3bcab34452837a6f
/// date: Wed Aug 28 04:26:10 PM CST 2024
/// you can view this block in https://pudge.explorer.nervos.org/block/0x15d8685e20d9abad55c2fe63b3ce3dc3d83481ade3c2b65b3bcab34452837a6f
pub const DEFAULT_ASSUME_VALID_TARGET: &str =
"0xab6f81474ccbc1cdd5f42cda7029a6f6e52fc242c3487861e8abb62b6a6ea8a9";
"0x15d8685e20d9abad55c2fe63b3ce3dc3d83481ade3c2b65b3bcab34452837a6f";
}
Loading