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

🦺[Tech Debt] Update the checkpoints #23

Merged
merged 3 commits into from
Apr 10, 2022

Conversation

kcw-grunt
Copy link

Why?

The current checkpoint is quite old last blockheight: 1411200 = April 18, 2018. The effect is full syncs take longer time.

Approach

  • Pull the block data for the last block within the last 2 weeks per (@losh11) : 2036160
  • Grab the data https://chainz.cryptoid.info/ltc/search.dws
  • Pull parameters:
  • blockheight
  • hash
  • unix timestamp (epoch time)
  • target

Sample

{ 1431360, uint256("a5480373ece83decc592f331c599cac73576be9666fae9cb5f75370be8082e5a"), 1527797819, 0x1a019af8},

@losh11
Copy link
Member

losh11 commented May 18, 2021

utACK

@@ -83,7 +83,8 @@ static const BRCheckPoint BRMainNetCheckpoints[] = {
{ 953568, uint256("e46e01cf1239cffa69408ac162d517bac5a4899972e0328fd0ba4d93e8ad3764"), 1457542869, 0x1b013c91 },
{ 1058400, uint256("76ce37c66d449a4ffbfc35674cf932da701066a001dc223754f9250dd2bdbc62"), 1473296285, 0x1b013ca7 },
{ 1260000, uint256("85a22b528d805bf7a641d1d7c6d96ef5054beda3dcab6be7b83f2e3df24b33a8"), 1502976600, 0x1a25a0d3 },
{ 1411200, uint256("92c85b76f3d4bffca76b23717e4eb1b667c77c96fd52d4dd5dd843bbee64cd73"), 1524838967, 0x1a0203a7 }
{ 1411200, uint256("92c85b76f3d4bffca76b23717e4eb1b667c77c96fd52d4dd5dd843bbee64cd73"), 1524838967, 0x1a0203a7 },
{ 2036160, uint256("97ab7a0bf3cd7d694c1b369090aea9449e93f92763808de2a073cc8ab0657292"), 1618643881, 0x1a01ab48 }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kcw-grunt Looks good. However there is an extra space issue. Please remove it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a GH remnant

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kcw-grunt Here is the whole file

{ 2036160, uint256("97ab7a0bf3cd7d694c1b369090aea9449e93f92763808de2a073cc8ab0657292"), 1618643881, 0x1a01ab48 }

It's not well formatted

@kcw-grunt kcw-grunt requested review from losh11, JCHeist, RyanPetter and vsima and removed request for coblee April 10, 2022 07:07
Copy link
Member

@losh11 losh11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kcw-grunt kcw-grunt merged commit 46bfe93 into main Apr 10, 2022
@kcw-grunt kcw-grunt deleted the update-checkpoints-ios-2036160 branch March 28, 2023 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants