-
Notifications
You must be signed in to change notification settings - Fork 268
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
Use correct type for parameters in ExtendedBitcoinClient #1248
Conversation
You missed those ones: eclair/eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreWallet.scala Line 73 in 61efb22
eclair/eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreWallet.scala Line 148 in 61efb22
Also maybe take the opportunity to homogeneize between |
Didn't miss them but they're out of scope for the PR. In fact i think we shouldn't just fix them in |
|
Wait I'm changing my mind. I don't think pimp pattern is a good idea because we are not extending |
Yes let's do this. I think maybe as a next step we could consider making |
👍 I was also hesitant with making |
eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreWallet.scala
Outdated
Show resolved
Hide resolved
f633157
to
c1b06c8
Compare
Codecov Report
@@ Coverage Diff @@
## master #1248 +/- ##
==========================================
+ Coverage 86.35% 86.41% +0.06%
==========================================
Files 119 119
Lines 9253 9251 -2
Branches 398 375 -23
==========================================
+ Hits 7990 7994 +4
+ Misses 1263 1257 -6
|
Latest commit 3410f46 is a small improvement in the |
Is there something blocking this PR (apart from a rebase)? |
3410f46
to
5eaee70
Compare
Rebased on master |
eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreWallet.scala
Show resolved
Hide resolved
...-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/rpc/BasicBitcoinJsonRPCClient.scala
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/rpc/ExtendedBitcoinClient.scala
Outdated
Show resolved
Hide resolved
For reviewers: the commit history of this PR is not great let me know if you want a squash/rebase. |
Yes let's start fresh with a rebase (maybe once cltv-tie-breaker is merged since there will be conflicts). |
54f84d6
to
ecacb97
Compare
Rebased on master and squash/merged the commit history of this PR. |
eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreWallet.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/rpc/ExtendedBitcoinClient.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoinCoreWallet.scala
Show resolved
Hide resolved
8d6cc4e
to
380e4b3
Compare
In 380e4b3 i addressed some of your comments and i cleaned up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's not dive into the rabbit hole of refactoring all our bitcoin-cli calls now :)
I'm not ack-ing now, I think this should be merged right after we cut the release for eclair 0.3.4.
Replace the usage of
String
with the more preciseByteVector32