Skip to content

netann: move NodeSigner out of main package#2416

Merged
cfromknecht merged 3 commits into
lightningnetwork:masterfrom
cfromknecht:netann-node-signer
Jan 10, 2019
Merged

netann: move NodeSigner out of main package#2416
cfromknecht merged 3 commits into
lightningnetwork:masterfrom
cfromknecht:netann-node-signer

Conversation

@cfromknecht
Copy link
Copy Markdown
Contributor

A preliminary step for #2411, this PR moves the node signer out of the main package and updates the server to use the imported object.

@cfromknecht cfromknecht mentioned this pull request Jan 4, 2019
5 tasks
@cfromknecht cfromknecht added trivial code health Related to code commenting, refactoring, and other non-behaviour improvements labels Jan 5, 2019
wpaulino
wpaulino previously approved these changes Jan 8, 2019
Copy link
Copy Markdown
Contributor

@wpaulino wpaulino left a comment

Choose a reason for hiding this comment

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

LGTM 🎲

halseth
halseth previously approved these changes Jan 8, 2019
Copy link
Copy Markdown
Contributor

@halseth halseth left a comment

Choose a reason for hiding this comment

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

LGTM 🥇

Comment thread server.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: ideally should be done in same commit as rename to ensure compilation is intact

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

split into add, rename, remove to maintain compilation and distinct files for rebasability. Final diff should appear the same as a rename

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hm, this leaves the commit history a bit bloated and not as nice to read commit-by-commit, but maybe this indeed is the only way we can ensure each commit compiles 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah seems the only way if we want to try to keep the one commit/file :S

@cfromknecht cfromknecht dismissed stale reviews from halseth and wpaulino via 7987a41 January 9, 2019 00:19
@cfromknecht cfromknecht merged commit a8b2c09 into lightningnetwork:master Jan 10, 2019
@cfromknecht cfromknecht deleted the netann-node-signer branch January 10, 2019 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code health Related to code commenting, refactoring, and other non-behaviour improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants