Skip to content

Initial draft of blockchain data guide #3

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

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

jkczyz
Copy link
Collaborator

@jkczyz jkczyz commented Feb 3, 2021

No description provided.

@jkczyz jkczyz force-pushed the 2021-02-blockdata branch 2 times, most recently from c00ee36 to 31bb66d Compare February 3, 2021 20:58
Copy link
Contributor

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Looks great.

accordingly. It supports receiving either full blocks or pre-filtered blocks.
Block data can sourced from anywhere, but it is your responsibility to ensure
that the necessary `block_connected` and `block_disconnected` methods are called
on `ChannelManager` and `ChainMonitor`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should there be an explanation in parentheses why it needs to be called on both? I think this might confuse people and cause questions such as in what sequence.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added a short statement about these.

@TheBlueMatt I can't recall if the ordering matters anymore. Our test fail if I reorder them, but that may just be brittleness.

Copy link
Collaborator

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

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

Looks SO good! ping me when you approve @arik-so

Copy link
Contributor

@arik-so arik-so left a comment

Choose a reason for hiding this comment

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

Just minor comments/suggestions, but approving.

@jkczyz jkczyz force-pushed the 2021-02-blockdata branch from 65c373d to 0eab9ec Compare February 3, 2021 22:56
@jkczyz jkczyz force-pushed the 2021-02-blockdata branch from 0eab9ec to df908d5 Compare February 3, 2021 23:02
@arik-so
Copy link
Contributor

arik-so commented Feb 3, 2021

lgtm!

@valentinewallace valentinewallace merged commit dddbf67 into lightningdevkit:main Feb 3, 2021
DanGould added a commit to DanGould/lightningdevkit.org that referenced this pull request May 23, 2024
…roadmap-link

chore(fix): typo and roadmap redirection
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.

4 participants