https://github.com/tendermint/tendermint
Revision 0dd6b92a642b96cc07e37b49de262712a3c293ae authored by Thane Thomson on 30 May 2019, 22:40:17 UTC, committed by Ethan Buchman on 30 May 2019, 22:40:17 UTC
* Move GenesisDocProvider and DefaultGenesisDocProviderFunc

GenesisDocProvider, being a provider of *types.GenesisDoc, makes sense
to be part of the types package.

DefaultGenesisDocProviderFunc, which relies on *config.Config to produce
a types.GenesisDocProvider, makes sense being part of the config
package.

* Add aliases to avoid breaking node package API

* Revert to original structure

After discussion, it appears as though the best place for the relocated
structures is still in the node package. This means that for the v0.31.6
release and into the future, there will be no changes two these two
entities' APIs.
1 parent 9dcee69
History
Tip revision: 0dd6b92a642b96cc07e37b49de262712a3c293ae authored by Thane Thomson on 30 May 2019, 22:40:17 UTC
Relocate GenesisDocProvider and DefaultGenesisDocProviderFunc (#3693)
Tip revision: 0dd6b92
File Mode Size
.circleci
.github
DOCKER
abci
benchmarks
blockchain
cmd
config
consensus
crypto
docs
evidence
libs
lite
mempool
mock
networks
node
p2p
privval
proxy
rpc
scripts
state
test
tools
types
version
.editorconfig -rw-r--r-- 280 bytes
.gitignore -rw-r--r-- 494 bytes
.golangci.yml -rw-r--r-- 1.1 KB
CHANGELOG.md -rw-r--r-- 109.4 KB
CHANGELOG_PENDING.md -rw-r--r-- 163 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 4.9 KB
CONTRIBUTING.md -rw-r--r-- 7.5 KB
Gopkg.lock -rw-r--r-- 15.3 KB
Gopkg.toml -rw-r--r-- 2.0 KB
LICENSE -rw-r--r-- 11.1 KB
Makefile -rw-r--r-- 10.4 KB
PHILOSOPHY.md -rw-r--r-- 7.5 KB
README.md -rw-r--r-- 6.9 KB
ROADMAP.md -rw-r--r-- 861 bytes
SECURITY.md -rw-r--r-- 1.7 KB
UPGRADING.md -rw-r--r-- 13.0 KB
Vagrantfile -rw-r--r-- 2.1 KB
appveyor.yml -rw-r--r-- 279 bytes
codecov.yml -rw-r--r-- 330 bytes
docker-compose.yml -rw-r--r-- 1.3 KB

README.md

back to top