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

Some chain CLI & API #11

Merged
merged 1 commit into from
Jul 9, 2019
Merged

Some chain CLI & API #11

merged 1 commit into from
Jul 9, 2019

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Jul 9, 2019

Based on #9 (Merge after that one)

Some things for #10

@magik6k magik6k requested a review from whyrusleeping July 9, 2019 15:25
@magik6k magik6k force-pushed the feat/some-chain-cli branch from bcfc217 to 1515efb Compare July 9, 2019 15:25
@magik6k magik6k changed the base branch from feat/netcli to master July 9, 2019 16:10
api/api.go Show resolved Hide resolved
@magik6k magik6k force-pushed the feat/some-chain-cli branch from 1515efb to cb35547 Compare July 9, 2019 17:06
return err
}

// TODO: anything else to do here?
Copy link
Member

Choose a reason for hiding this comment

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

we should import the block into our local chainstore.

Theres also the consideration of "should we do the expensive verification pass for blocks we create locally?"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should we do the expensive verification pass for blocks we create locally

i assume that we run this validation on all incoming blocks, running this validation here seems to make sense (we'll probably create blocks less often that receive)

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, it will happen less frequently, but i guess what i'm wondering is whether we should skip it in this case, in order to start mining the next block on top of it more quickly

@magik6k magik6k merged commit fb62c6d into master Jul 9, 2019
@Kubuxu Kubuxu deleted the feat/some-chain-cli branch July 15, 2019 13:42
magik6k added a commit that referenced this pull request Aug 10, 2020
Move GenerateWinningPoStSectorChallenge to Verifier
magik6k added a commit that referenced this pull request Aug 10, 2020
Compute seal ticket internally, remove node ticket fn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants