-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blockchain: Move package to internal.
The moves the blockchain package from the blockchain module to an internal package of the root module meaning that it is no longer a part of the exported blockchain module. Nearly all of the logic it provides is really for the internal implementation of dcrd itself and thus having it exported module significantly increases the maintenance burden. Note that as of this change the blockchain module still exists and provides the chaingen and fullblocktests packages both or which are useful and used by external consumers. This is part of a continuing overall effort to reduce the total number of exported packages and modules and eventually get to the point it will be possible to follow semver for the root module. Overview of the major changes: - Move all go files from blockchain -> internal/blockchain - Move testdata from blockchain -> internal/blockchain - Remove doc.go in favor of the README.md since godoc now displays it - Move README.md from blockchain -> internal/blockchain and update to match the new reality - Add a new README.md in the exported blockchain module that documents it contains the remaining exported packages - Update all import paths in the repository accordingly - Run go mod tidy on all modules
- Loading branch information
Showing
117 changed files
with
95 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.