mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
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("")
|
|
}
|