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

Move remote htlc transactions signature behind signer interface #561

Closed

Conversation

ariard
Copy link

@ariard ariard commented Mar 24, 2020

Build on top of #559 + #560

@ariard ariard force-pushed the 2020-03-move-last-txn-chansigner branch from c668054 to f27c283 Compare April 25, 2020 07:26
@ariard
Copy link
Author

ariard commented Apr 25, 2020

Rebased on #598+#560

@codecov
Copy link

codecov bot commented Apr 25, 2020

Codecov Report

Merging #561 into master will decrease coverage by 0.01%.
The diff coverage is 94.93%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #561      +/-   ##
==========================================
- Coverage   91.10%   91.08%   -0.02%     
==========================================
  Files          34       34              
  Lines       20447    20524      +77     
==========================================
+ Hits        18628    18695      +67     
- Misses       1819     1829      +10     
Impacted Files Coverage Δ
lightning/src/ln/onchaintx.rs 94.05% <91.39%> (-0.82%) ⬇️
lightning/src/chain/keysinterface.rs 97.23% <100.00%> (+0.25%) ⬆️
lightning/src/ln/chan_utils.rs 97.19% <100.00%> (ø)
lightning/src/ln/channelmonitor.rs 95.66% <100.00%> (+0.16%) ⬆️
lightning/src/util/enforcing_trait_impls.rs 100.00% <100.00%> (ø)
lightning/src/ln/functional_tests.rs 97.04% <0.00%> (-0.10%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12e2a81...dc7922d. Read the comment docs.

Antoine Riard added 7 commits April 27, 2020 19:01
…TxCache

Used in next commits to avoid passing script between ChannelMonitor
and OnchainTxHandler. ChannelMonitor duplicata will be removed
in future commits.
As we can't predict if any and which revoked commitment tx is
going to appear onchain we have by design to cache all htlc information
to regenerate htlc script if needed.
As we cache more and more transaction elements in OnchainTxHandler
we should dry up completly InputMaterial until them being replaced
directly by InputDescriptor
By moving script generation inside OnchainTxHandler, we may dry-up
further ChannelMonitor in next commits.
OnchainTxHandler

By moving script generation inside OnchainTxHandler, we may dry-up
further ChannelMonitor in next commits
@ariard ariard force-pushed the 2020-03-move-last-txn-chansigner branch from f27c283 to dc7922d Compare April 27, 2020 23:01
@ariard
Copy link
Author

ariard commented May 28, 2020

Closed by #610

1 similar comment
@ariard
Copy link
Author

ariard commented May 28, 2020

Closed by #610

@ariard ariard closed this May 28, 2020
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.

1 participant