mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 17:31:34 +00:00
.circleci
.github
DOCKER
abci
benchmarks
blockchain
cmd
config
consensus
crypto
docs
app-dev
architecture
imgs
interviews
introduction
networks
research
spec
blockchain
consensus
p2p
reactors
scripts
crypto.go
software
README.md
tendermint-core
tools
.python-version
.textlintrc.json
DOCS_README.md
README.md
config.js
package.json
stop-words.txt
yarn.lock
evidence
libs
lite
mempool
networks
node
p2p
privval
proxy
rpc
scripts
state
test
tools
types
version
.editorconfig
.gitignore
CHANGELOG.md
CHANGELOG_PENDING.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
ROADMAP.md
SECURITY.md
UPGRADING.md
Vagrantfile
appveyor.yml
codecov.yml
docker-compose.yml
Currently the top level directory contains basically all of the code for the crypto package. This PR moves the crypto code into submodules in a similar manner to what `golang/x/crypto` does. This improves code organization. Ref discussion: https://github.com/tendermint/tendermint/pull/1966 Closes #1956
17 lines
267 B
Go
17 lines
267 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
amino "github.com/tendermint/go-amino"
|
|
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
|
|
)
|
|
|
|
func main() {
|
|
cdc := amino.NewCodec()
|
|
cryptoAmino.RegisterAmino(cdc)
|
|
cdc.PrintTypes(os.Stdout)
|
|
fmt.Println("")
|
|
}
|