-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
mod: remove btcutil
circular dependency with main module
#1825
base: master
Are you sure you want to change the base?
Conversation
dd5377c
to
ad8be88
Compare
Rebased after dependent PR was merged. |
Thanks a ton for both #1823 and #1824. In this PR, I'm curious about the new submodules: Thanks again guys! I don't mean to overstep with my questions, just curious and wanting to help. |
ad8be88
to
915b225
Compare
Thanks for your input, @chappjc! |
Ahh, yes, Down in dcrd, @davecgh resolved this by introducing a Anyway, a |
915b225
to
0630734
Compare
Rebased on top of #1831. |
Pull Request Test Coverage Report for Build 1994552374Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
0630734
to
e7e4ac4
Compare
e7e4ac4
to
4309c27
Compare
From my point of view (a consumer), this is looking great. Looks like one of the last packages I import that will still come from the main Other than |
4309c27
to
b2c2e38
Compare
Given recent issues, txscript should really start at Combined with the "ambiguous import" issues with chainhash recently (#1839), I think all new modules should start at v2 to be safe (if packages of the same name had previously existed, so not btcutil/address), and existing ones that have those types in their API's (e.g. btcutil has in it's API types from chaincfg, chainhash, and wire) should be updated and have their module import path bumped as well. The order with which all these modules are created is obviously going to require care, but I think it needs to be done if these modules are going to be created. Lastly, I think the best move for the next btcd module tag should be a |
Care to rebase this? 😅 |
2aec8cb
to
416b4f0
Compare
416b4f0
to
09aab7d
Compare
I rebased everything and created new |
Depends on #1824.Removes the circular dependency between the main module and the
btcutil
sub module by introducing a bunch of new sub modules.