From 5844dc5c0faa537b4225c5221cd863285b97d8ce Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Mon, 9 Sep 2019 09:24:28 -0400 Subject: [PATCH] cargo workspace with tendermint crate (#30) --- Cargo.toml | 60 +------------------ tendermint/Cargo.toml | 59 ++++++++++++++++++ {src => tendermint/src}/abci.rs | 0 {src => tendermint/src}/abci/code.rs | 0 {src => tendermint/src}/abci/data.rs | 0 {src => tendermint/src}/abci/gas.rs | 0 {src => tendermint/src}/abci/info.rs | 0 {src => tendermint/src}/abci/log.rs | 0 {src => tendermint/src}/abci/path.rs | 0 {src => tendermint/src}/abci/proof.rs | 0 {src => tendermint/src}/abci/responses.rs | 0 {src => tendermint/src}/abci/tag.rs | 0 {src => tendermint/src}/abci/transaction.rs | 0 .../src}/abci/transaction/hash.rs | 0 {src => tendermint/src}/account.rs | 0 {src => tendermint/src}/amino_types.rs | 0 .../src}/amino_types/block_id.rs | 0 .../src}/amino_types/ed25519.rs | 0 {src => tendermint/src}/amino_types/ping.rs | 0 .../src}/amino_types/proposal.rs | 0 .../src}/amino_types/remote_error.rs | 0 .../src}/amino_types/secret_connection.rs | 0 .../src}/amino_types/signature.rs | 0 {src => tendermint/src}/amino_types/time.rs | 0 .../src}/amino_types/validate.rs | 0 {src => tendermint/src}/amino_types/vote.rs | 0 {src => tendermint/src}/block.rs | 0 {src => tendermint/src}/block/commit.rs | 0 {src => tendermint/src}/block/header.rs | 0 {src => tendermint/src}/block/height.rs | 0 {src => tendermint/src}/block/id.rs | 0 {src => tendermint/src}/block/meta.rs | 0 {src => tendermint/src}/block/parts.rs | 0 {src => tendermint/src}/block/size.rs | 0 {src => tendermint/src}/chain.rs | 0 {src => tendermint/src}/chain/id.rs | 0 {src => tendermint/src}/chain/info.rs | 0 {src => tendermint/src}/channel.rs | 0 {src => tendermint/src}/channel/id.rs | 0 {src => tendermint/src}/config.rs | 0 {src => tendermint/src}/config/node_key.rs | 0 .../src}/config/priv_validator_key.rs | 0 {src => tendermint/src}/consensus.rs | 0 {src => tendermint/src}/consensus/params.rs | 0 {src => tendermint/src}/consensus/state.rs | 0 {src => tendermint/src}/error.rs | 0 {src => tendermint/src}/evidence.rs | 0 {src => tendermint/src}/genesis.rs | 0 {src => tendermint/src}/hash.rs | 0 {src => tendermint/src}/lib.rs | 0 {src => tendermint/src}/merkle.rs | 0 {src => tendermint/src}/moniker.rs | 0 {src => tendermint/src}/net.rs | 0 {src => tendermint/src}/node.rs | 0 {src => tendermint/src}/node/id.rs | 0 {src => tendermint/src}/node/info.rs | 0 {src => tendermint/src}/private_key.rs | 0 {src => tendermint/src}/public_key.rs | 0 {src => tendermint/src}/rpc.rs | 0 {src => tendermint/src}/rpc/client.rs | 0 {src => tendermint/src}/rpc/endpoint.rs | 0 .../src}/rpc/endpoint/abci_info.rs | 0 .../src}/rpc/endpoint/abci_query.rs | 0 {src => tendermint/src}/rpc/endpoint/block.rs | 0 .../src}/rpc/endpoint/block_results.rs | 0 .../src}/rpc/endpoint/blockchain.rs | 0 .../src}/rpc/endpoint/broadcast.rs | 0 .../src}/rpc/endpoint/broadcast/tx_async.rs | 0 .../src}/rpc/endpoint/broadcast/tx_commit.rs | 0 .../src}/rpc/endpoint/broadcast/tx_sync.rs | 0 .../src}/rpc/endpoint/commit.rs | 0 .../src}/rpc/endpoint/genesis.rs | 0 .../src}/rpc/endpoint/health.rs | 0 .../src}/rpc/endpoint/net_info.rs | 0 .../src}/rpc/endpoint/status.rs | 0 .../src}/rpc/endpoint/validators.rs | 0 {src => tendermint/src}/rpc/error.rs | 0 {src => tendermint/src}/rpc/id.rs | 0 {src => tendermint/src}/rpc/method.rs | 0 {src => tendermint/src}/rpc/request.rs | 0 {src => tendermint/src}/rpc/response.rs | 0 {src => tendermint/src}/rpc/version.rs | 0 {src => tendermint/src}/secret_connection.rs | 0 .../src}/secret_connection/kdf.rs | 0 .../src}/secret_connection/nonce.rs | 0 .../src}/secret_connection/public_key.rs | 0 {src => tendermint/src}/serializers.rs | 0 {src => tendermint/src}/signature.rs | 0 {src => tendermint/src}/time.rs | 0 {src => tendermint/src}/timeout.rs | 0 {src => tendermint/src}/validator.rs | 0 {src => tendermint/src}/version.rs | 0 {src => tendermint/src}/vote.rs | 0 {src => tendermint/src}/vote/power.rs | 0 94 files changed, 62 insertions(+), 57 deletions(-) create mode 100644 tendermint/Cargo.toml rename {src => tendermint/src}/abci.rs (100%) rename {src => tendermint/src}/abci/code.rs (100%) rename {src => tendermint/src}/abci/data.rs (100%) rename {src => tendermint/src}/abci/gas.rs (100%) rename {src => tendermint/src}/abci/info.rs (100%) rename {src => tendermint/src}/abci/log.rs (100%) rename {src => tendermint/src}/abci/path.rs (100%) rename {src => tendermint/src}/abci/proof.rs (100%) rename {src => tendermint/src}/abci/responses.rs (100%) rename {src => tendermint/src}/abci/tag.rs (100%) rename {src => tendermint/src}/abci/transaction.rs (100%) rename {src => tendermint/src}/abci/transaction/hash.rs (100%) rename {src => tendermint/src}/account.rs (100%) rename {src => tendermint/src}/amino_types.rs (100%) rename {src => tendermint/src}/amino_types/block_id.rs (100%) rename {src => tendermint/src}/amino_types/ed25519.rs (100%) rename {src => tendermint/src}/amino_types/ping.rs (100%) rename {src => tendermint/src}/amino_types/proposal.rs (100%) rename {src => tendermint/src}/amino_types/remote_error.rs (100%) rename {src => tendermint/src}/amino_types/secret_connection.rs (100%) rename {src => tendermint/src}/amino_types/signature.rs (100%) rename {src => tendermint/src}/amino_types/time.rs (100%) rename {src => tendermint/src}/amino_types/validate.rs (100%) rename {src => tendermint/src}/amino_types/vote.rs (100%) rename {src => tendermint/src}/block.rs (100%) rename {src => tendermint/src}/block/commit.rs (100%) rename {src => tendermint/src}/block/header.rs (100%) rename {src => tendermint/src}/block/height.rs (100%) rename {src => tendermint/src}/block/id.rs (100%) rename {src => tendermint/src}/block/meta.rs (100%) rename {src => tendermint/src}/block/parts.rs (100%) rename {src => tendermint/src}/block/size.rs (100%) rename {src => tendermint/src}/chain.rs (100%) rename {src => tendermint/src}/chain/id.rs (100%) rename {src => tendermint/src}/chain/info.rs (100%) rename {src => tendermint/src}/channel.rs (100%) rename {src => tendermint/src}/channel/id.rs (100%) rename {src => tendermint/src}/config.rs (100%) rename {src => tendermint/src}/config/node_key.rs (100%) rename {src => tendermint/src}/config/priv_validator_key.rs (100%) rename {src => tendermint/src}/consensus.rs (100%) rename {src => tendermint/src}/consensus/params.rs (100%) rename {src => tendermint/src}/consensus/state.rs (100%) rename {src => tendermint/src}/error.rs (100%) rename {src => tendermint/src}/evidence.rs (100%) rename {src => tendermint/src}/genesis.rs (100%) rename {src => tendermint/src}/hash.rs (100%) rename {src => tendermint/src}/lib.rs (100%) rename {src => tendermint/src}/merkle.rs (100%) rename {src => tendermint/src}/moniker.rs (100%) rename {src => tendermint/src}/net.rs (100%) rename {src => tendermint/src}/node.rs (100%) rename {src => tendermint/src}/node/id.rs (100%) rename {src => tendermint/src}/node/info.rs (100%) rename {src => tendermint/src}/private_key.rs (100%) rename {src => tendermint/src}/public_key.rs (100%) rename {src => tendermint/src}/rpc.rs (100%) rename {src => tendermint/src}/rpc/client.rs (100%) rename {src => tendermint/src}/rpc/endpoint.rs (100%) rename {src => tendermint/src}/rpc/endpoint/abci_info.rs (100%) rename {src => tendermint/src}/rpc/endpoint/abci_query.rs (100%) rename {src => tendermint/src}/rpc/endpoint/block.rs (100%) rename {src => tendermint/src}/rpc/endpoint/block_results.rs (100%) rename {src => tendermint/src}/rpc/endpoint/blockchain.rs (100%) rename {src => tendermint/src}/rpc/endpoint/broadcast.rs (100%) rename {src => tendermint/src}/rpc/endpoint/broadcast/tx_async.rs (100%) rename {src => tendermint/src}/rpc/endpoint/broadcast/tx_commit.rs (100%) rename {src => tendermint/src}/rpc/endpoint/broadcast/tx_sync.rs (100%) rename {src => tendermint/src}/rpc/endpoint/commit.rs (100%) rename {src => tendermint/src}/rpc/endpoint/genesis.rs (100%) rename {src => tendermint/src}/rpc/endpoint/health.rs (100%) rename {src => tendermint/src}/rpc/endpoint/net_info.rs (100%) rename {src => tendermint/src}/rpc/endpoint/status.rs (100%) rename {src => tendermint/src}/rpc/endpoint/validators.rs (100%) rename {src => tendermint/src}/rpc/error.rs (100%) rename {src => tendermint/src}/rpc/id.rs (100%) rename {src => tendermint/src}/rpc/method.rs (100%) rename {src => tendermint/src}/rpc/request.rs (100%) rename {src => tendermint/src}/rpc/response.rs (100%) rename {src => tendermint/src}/rpc/version.rs (100%) rename {src => tendermint/src}/secret_connection.rs (100%) rename {src => tendermint/src}/secret_connection/kdf.rs (100%) rename {src => tendermint/src}/secret_connection/nonce.rs (100%) rename {src => tendermint/src}/secret_connection/public_key.rs (100%) rename {src => tendermint/src}/serializers.rs (100%) rename {src => tendermint/src}/signature.rs (100%) rename {src => tendermint/src}/time.rs (100%) rename {src => tendermint/src}/timeout.rs (100%) rename {src => tendermint/src}/validator.rs (100%) rename {src => tendermint/src}/version.rs (100%) rename {src => tendermint/src}/vote.rs (100%) rename {src => tendermint/src}/vote/power.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index a7921321d..40857dd30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,59 +1,5 @@ -[package] -name = "tendermint" -version = "0.10.0" # Also update `html_root_url` in lib.rs when bumping this -license = "Apache-2.0" -homepage = "https://www.tendermint.com/" -repository = "https://github.com/tendermint/kms/tree/master/crates/tendermint" -readme = "README.md" -categories = ["cryptography", "database"] -keywords = ["blockchain", "bft", "consensus", "cosmos", "tendermint"] -edition = "2018" +[workspace] -description = """ - Tendermint is a high-performance blockchain consensus engine that powers - Byzantine fault tolerant applications written in any programming language. - This crate provides core types for representing information about Tendermint - blockchain networks, including chain information types, secret connections, - and remote procedure calls (JSONRPC). - """ - -authors = [ - "Ismail Khoffi ", - "ValarDragon ", - "Tony Arcieri ", - "Thane Thomson " +members = [ + "tendermint", ] - -[badges] -circle-ci = { repository = "tendermint/kms" } - -[dependencies] -byteorder = { version = "1.2" } -bytes = "0.4" -chrono = { version = "0.4", features = ["serde"] } -digest = "0.8" -failure = "0.1" -hkdf = { version = "0.7" } -hyper = { version = "0.10" } -prost-amino = { version = "0.4.0" } -prost-amino-derive = { version = "0.4.0" } -rand_os = { version = "0.1" } -ring = { version = "0.14" } -serde = { version = "1", features = ["derive"] } -serde_json = { version = "1" } -signatory = { version = "0.12", features = ["ed25519", "ecdsa"] } -signatory-dalek = { version = "0.12" } -sha2 = { version = "0.8", default-features = false } -subtle = "2" -subtle-encoding = { version = "0.3", features = ["bech32-preview"] } -tai64 = { version = "2", features = ["chrono"] } -toml = { version = "0.5" } -uuid = { version = "0.7", default-features = false } -x25519-dalek = { version = "0.5", default-features = false, features = ["u64_backend"] } -zeroize = { version = "0.9" } - -[dev-dependencies] -serde_json = "1" - -[package.metadata.docs.rs] -all-features = true diff --git a/tendermint/Cargo.toml b/tendermint/Cargo.toml new file mode 100644 index 000000000..a7921321d --- /dev/null +++ b/tendermint/Cargo.toml @@ -0,0 +1,59 @@ +[package] +name = "tendermint" +version = "0.10.0" # Also update `html_root_url` in lib.rs when bumping this +license = "Apache-2.0" +homepage = "https://www.tendermint.com/" +repository = "https://github.com/tendermint/kms/tree/master/crates/tendermint" +readme = "README.md" +categories = ["cryptography", "database"] +keywords = ["blockchain", "bft", "consensus", "cosmos", "tendermint"] +edition = "2018" + +description = """ + Tendermint is a high-performance blockchain consensus engine that powers + Byzantine fault tolerant applications written in any programming language. + This crate provides core types for representing information about Tendermint + blockchain networks, including chain information types, secret connections, + and remote procedure calls (JSONRPC). + """ + +authors = [ + "Ismail Khoffi ", + "ValarDragon ", + "Tony Arcieri ", + "Thane Thomson " +] + +[badges] +circle-ci = { repository = "tendermint/kms" } + +[dependencies] +byteorder = { version = "1.2" } +bytes = "0.4" +chrono = { version = "0.4", features = ["serde"] } +digest = "0.8" +failure = "0.1" +hkdf = { version = "0.7" } +hyper = { version = "0.10" } +prost-amino = { version = "0.4.0" } +prost-amino-derive = { version = "0.4.0" } +rand_os = { version = "0.1" } +ring = { version = "0.14" } +serde = { version = "1", features = ["derive"] } +serde_json = { version = "1" } +signatory = { version = "0.12", features = ["ed25519", "ecdsa"] } +signatory-dalek = { version = "0.12" } +sha2 = { version = "0.8", default-features = false } +subtle = "2" +subtle-encoding = { version = "0.3", features = ["bech32-preview"] } +tai64 = { version = "2", features = ["chrono"] } +toml = { version = "0.5" } +uuid = { version = "0.7", default-features = false } +x25519-dalek = { version = "0.5", default-features = false, features = ["u64_backend"] } +zeroize = { version = "0.9" } + +[dev-dependencies] +serde_json = "1" + +[package.metadata.docs.rs] +all-features = true diff --git a/src/abci.rs b/tendermint/src/abci.rs similarity index 100% rename from src/abci.rs rename to tendermint/src/abci.rs diff --git a/src/abci/code.rs b/tendermint/src/abci/code.rs similarity index 100% rename from src/abci/code.rs rename to tendermint/src/abci/code.rs diff --git a/src/abci/data.rs b/tendermint/src/abci/data.rs similarity index 100% rename from src/abci/data.rs rename to tendermint/src/abci/data.rs diff --git a/src/abci/gas.rs b/tendermint/src/abci/gas.rs similarity index 100% rename from src/abci/gas.rs rename to tendermint/src/abci/gas.rs diff --git a/src/abci/info.rs b/tendermint/src/abci/info.rs similarity index 100% rename from src/abci/info.rs rename to tendermint/src/abci/info.rs diff --git a/src/abci/log.rs b/tendermint/src/abci/log.rs similarity index 100% rename from src/abci/log.rs rename to tendermint/src/abci/log.rs diff --git a/src/abci/path.rs b/tendermint/src/abci/path.rs similarity index 100% rename from src/abci/path.rs rename to tendermint/src/abci/path.rs diff --git a/src/abci/proof.rs b/tendermint/src/abci/proof.rs similarity index 100% rename from src/abci/proof.rs rename to tendermint/src/abci/proof.rs diff --git a/src/abci/responses.rs b/tendermint/src/abci/responses.rs similarity index 100% rename from src/abci/responses.rs rename to tendermint/src/abci/responses.rs diff --git a/src/abci/tag.rs b/tendermint/src/abci/tag.rs similarity index 100% rename from src/abci/tag.rs rename to tendermint/src/abci/tag.rs diff --git a/src/abci/transaction.rs b/tendermint/src/abci/transaction.rs similarity index 100% rename from src/abci/transaction.rs rename to tendermint/src/abci/transaction.rs diff --git a/src/abci/transaction/hash.rs b/tendermint/src/abci/transaction/hash.rs similarity index 100% rename from src/abci/transaction/hash.rs rename to tendermint/src/abci/transaction/hash.rs diff --git a/src/account.rs b/tendermint/src/account.rs similarity index 100% rename from src/account.rs rename to tendermint/src/account.rs diff --git a/src/amino_types.rs b/tendermint/src/amino_types.rs similarity index 100% rename from src/amino_types.rs rename to tendermint/src/amino_types.rs diff --git a/src/amino_types/block_id.rs b/tendermint/src/amino_types/block_id.rs similarity index 100% rename from src/amino_types/block_id.rs rename to tendermint/src/amino_types/block_id.rs diff --git a/src/amino_types/ed25519.rs b/tendermint/src/amino_types/ed25519.rs similarity index 100% rename from src/amino_types/ed25519.rs rename to tendermint/src/amino_types/ed25519.rs diff --git a/src/amino_types/ping.rs b/tendermint/src/amino_types/ping.rs similarity index 100% rename from src/amino_types/ping.rs rename to tendermint/src/amino_types/ping.rs diff --git a/src/amino_types/proposal.rs b/tendermint/src/amino_types/proposal.rs similarity index 100% rename from src/amino_types/proposal.rs rename to tendermint/src/amino_types/proposal.rs diff --git a/src/amino_types/remote_error.rs b/tendermint/src/amino_types/remote_error.rs similarity index 100% rename from src/amino_types/remote_error.rs rename to tendermint/src/amino_types/remote_error.rs diff --git a/src/amino_types/secret_connection.rs b/tendermint/src/amino_types/secret_connection.rs similarity index 100% rename from src/amino_types/secret_connection.rs rename to tendermint/src/amino_types/secret_connection.rs diff --git a/src/amino_types/signature.rs b/tendermint/src/amino_types/signature.rs similarity index 100% rename from src/amino_types/signature.rs rename to tendermint/src/amino_types/signature.rs diff --git a/src/amino_types/time.rs b/tendermint/src/amino_types/time.rs similarity index 100% rename from src/amino_types/time.rs rename to tendermint/src/amino_types/time.rs diff --git a/src/amino_types/validate.rs b/tendermint/src/amino_types/validate.rs similarity index 100% rename from src/amino_types/validate.rs rename to tendermint/src/amino_types/validate.rs diff --git a/src/amino_types/vote.rs b/tendermint/src/amino_types/vote.rs similarity index 100% rename from src/amino_types/vote.rs rename to tendermint/src/amino_types/vote.rs diff --git a/src/block.rs b/tendermint/src/block.rs similarity index 100% rename from src/block.rs rename to tendermint/src/block.rs diff --git a/src/block/commit.rs b/tendermint/src/block/commit.rs similarity index 100% rename from src/block/commit.rs rename to tendermint/src/block/commit.rs diff --git a/src/block/header.rs b/tendermint/src/block/header.rs similarity index 100% rename from src/block/header.rs rename to tendermint/src/block/header.rs diff --git a/src/block/height.rs b/tendermint/src/block/height.rs similarity index 100% rename from src/block/height.rs rename to tendermint/src/block/height.rs diff --git a/src/block/id.rs b/tendermint/src/block/id.rs similarity index 100% rename from src/block/id.rs rename to tendermint/src/block/id.rs diff --git a/src/block/meta.rs b/tendermint/src/block/meta.rs similarity index 100% rename from src/block/meta.rs rename to tendermint/src/block/meta.rs diff --git a/src/block/parts.rs b/tendermint/src/block/parts.rs similarity index 100% rename from src/block/parts.rs rename to tendermint/src/block/parts.rs diff --git a/src/block/size.rs b/tendermint/src/block/size.rs similarity index 100% rename from src/block/size.rs rename to tendermint/src/block/size.rs diff --git a/src/chain.rs b/tendermint/src/chain.rs similarity index 100% rename from src/chain.rs rename to tendermint/src/chain.rs diff --git a/src/chain/id.rs b/tendermint/src/chain/id.rs similarity index 100% rename from src/chain/id.rs rename to tendermint/src/chain/id.rs diff --git a/src/chain/info.rs b/tendermint/src/chain/info.rs similarity index 100% rename from src/chain/info.rs rename to tendermint/src/chain/info.rs diff --git a/src/channel.rs b/tendermint/src/channel.rs similarity index 100% rename from src/channel.rs rename to tendermint/src/channel.rs diff --git a/src/channel/id.rs b/tendermint/src/channel/id.rs similarity index 100% rename from src/channel/id.rs rename to tendermint/src/channel/id.rs diff --git a/src/config.rs b/tendermint/src/config.rs similarity index 100% rename from src/config.rs rename to tendermint/src/config.rs diff --git a/src/config/node_key.rs b/tendermint/src/config/node_key.rs similarity index 100% rename from src/config/node_key.rs rename to tendermint/src/config/node_key.rs diff --git a/src/config/priv_validator_key.rs b/tendermint/src/config/priv_validator_key.rs similarity index 100% rename from src/config/priv_validator_key.rs rename to tendermint/src/config/priv_validator_key.rs diff --git a/src/consensus.rs b/tendermint/src/consensus.rs similarity index 100% rename from src/consensus.rs rename to tendermint/src/consensus.rs diff --git a/src/consensus/params.rs b/tendermint/src/consensus/params.rs similarity index 100% rename from src/consensus/params.rs rename to tendermint/src/consensus/params.rs diff --git a/src/consensus/state.rs b/tendermint/src/consensus/state.rs similarity index 100% rename from src/consensus/state.rs rename to tendermint/src/consensus/state.rs diff --git a/src/error.rs b/tendermint/src/error.rs similarity index 100% rename from src/error.rs rename to tendermint/src/error.rs diff --git a/src/evidence.rs b/tendermint/src/evidence.rs similarity index 100% rename from src/evidence.rs rename to tendermint/src/evidence.rs diff --git a/src/genesis.rs b/tendermint/src/genesis.rs similarity index 100% rename from src/genesis.rs rename to tendermint/src/genesis.rs diff --git a/src/hash.rs b/tendermint/src/hash.rs similarity index 100% rename from src/hash.rs rename to tendermint/src/hash.rs diff --git a/src/lib.rs b/tendermint/src/lib.rs similarity index 100% rename from src/lib.rs rename to tendermint/src/lib.rs diff --git a/src/merkle.rs b/tendermint/src/merkle.rs similarity index 100% rename from src/merkle.rs rename to tendermint/src/merkle.rs diff --git a/src/moniker.rs b/tendermint/src/moniker.rs similarity index 100% rename from src/moniker.rs rename to tendermint/src/moniker.rs diff --git a/src/net.rs b/tendermint/src/net.rs similarity index 100% rename from src/net.rs rename to tendermint/src/net.rs diff --git a/src/node.rs b/tendermint/src/node.rs similarity index 100% rename from src/node.rs rename to tendermint/src/node.rs diff --git a/src/node/id.rs b/tendermint/src/node/id.rs similarity index 100% rename from src/node/id.rs rename to tendermint/src/node/id.rs diff --git a/src/node/info.rs b/tendermint/src/node/info.rs similarity index 100% rename from src/node/info.rs rename to tendermint/src/node/info.rs diff --git a/src/private_key.rs b/tendermint/src/private_key.rs similarity index 100% rename from src/private_key.rs rename to tendermint/src/private_key.rs diff --git a/src/public_key.rs b/tendermint/src/public_key.rs similarity index 100% rename from src/public_key.rs rename to tendermint/src/public_key.rs diff --git a/src/rpc.rs b/tendermint/src/rpc.rs similarity index 100% rename from src/rpc.rs rename to tendermint/src/rpc.rs diff --git a/src/rpc/client.rs b/tendermint/src/rpc/client.rs similarity index 100% rename from src/rpc/client.rs rename to tendermint/src/rpc/client.rs diff --git a/src/rpc/endpoint.rs b/tendermint/src/rpc/endpoint.rs similarity index 100% rename from src/rpc/endpoint.rs rename to tendermint/src/rpc/endpoint.rs diff --git a/src/rpc/endpoint/abci_info.rs b/tendermint/src/rpc/endpoint/abci_info.rs similarity index 100% rename from src/rpc/endpoint/abci_info.rs rename to tendermint/src/rpc/endpoint/abci_info.rs diff --git a/src/rpc/endpoint/abci_query.rs b/tendermint/src/rpc/endpoint/abci_query.rs similarity index 100% rename from src/rpc/endpoint/abci_query.rs rename to tendermint/src/rpc/endpoint/abci_query.rs diff --git a/src/rpc/endpoint/block.rs b/tendermint/src/rpc/endpoint/block.rs similarity index 100% rename from src/rpc/endpoint/block.rs rename to tendermint/src/rpc/endpoint/block.rs diff --git a/src/rpc/endpoint/block_results.rs b/tendermint/src/rpc/endpoint/block_results.rs similarity index 100% rename from src/rpc/endpoint/block_results.rs rename to tendermint/src/rpc/endpoint/block_results.rs diff --git a/src/rpc/endpoint/blockchain.rs b/tendermint/src/rpc/endpoint/blockchain.rs similarity index 100% rename from src/rpc/endpoint/blockchain.rs rename to tendermint/src/rpc/endpoint/blockchain.rs diff --git a/src/rpc/endpoint/broadcast.rs b/tendermint/src/rpc/endpoint/broadcast.rs similarity index 100% rename from src/rpc/endpoint/broadcast.rs rename to tendermint/src/rpc/endpoint/broadcast.rs diff --git a/src/rpc/endpoint/broadcast/tx_async.rs b/tendermint/src/rpc/endpoint/broadcast/tx_async.rs similarity index 100% rename from src/rpc/endpoint/broadcast/tx_async.rs rename to tendermint/src/rpc/endpoint/broadcast/tx_async.rs diff --git a/src/rpc/endpoint/broadcast/tx_commit.rs b/tendermint/src/rpc/endpoint/broadcast/tx_commit.rs similarity index 100% rename from src/rpc/endpoint/broadcast/tx_commit.rs rename to tendermint/src/rpc/endpoint/broadcast/tx_commit.rs diff --git a/src/rpc/endpoint/broadcast/tx_sync.rs b/tendermint/src/rpc/endpoint/broadcast/tx_sync.rs similarity index 100% rename from src/rpc/endpoint/broadcast/tx_sync.rs rename to tendermint/src/rpc/endpoint/broadcast/tx_sync.rs diff --git a/src/rpc/endpoint/commit.rs b/tendermint/src/rpc/endpoint/commit.rs similarity index 100% rename from src/rpc/endpoint/commit.rs rename to tendermint/src/rpc/endpoint/commit.rs diff --git a/src/rpc/endpoint/genesis.rs b/tendermint/src/rpc/endpoint/genesis.rs similarity index 100% rename from src/rpc/endpoint/genesis.rs rename to tendermint/src/rpc/endpoint/genesis.rs diff --git a/src/rpc/endpoint/health.rs b/tendermint/src/rpc/endpoint/health.rs similarity index 100% rename from src/rpc/endpoint/health.rs rename to tendermint/src/rpc/endpoint/health.rs diff --git a/src/rpc/endpoint/net_info.rs b/tendermint/src/rpc/endpoint/net_info.rs similarity index 100% rename from src/rpc/endpoint/net_info.rs rename to tendermint/src/rpc/endpoint/net_info.rs diff --git a/src/rpc/endpoint/status.rs b/tendermint/src/rpc/endpoint/status.rs similarity index 100% rename from src/rpc/endpoint/status.rs rename to tendermint/src/rpc/endpoint/status.rs diff --git a/src/rpc/endpoint/validators.rs b/tendermint/src/rpc/endpoint/validators.rs similarity index 100% rename from src/rpc/endpoint/validators.rs rename to tendermint/src/rpc/endpoint/validators.rs diff --git a/src/rpc/error.rs b/tendermint/src/rpc/error.rs similarity index 100% rename from src/rpc/error.rs rename to tendermint/src/rpc/error.rs diff --git a/src/rpc/id.rs b/tendermint/src/rpc/id.rs similarity index 100% rename from src/rpc/id.rs rename to tendermint/src/rpc/id.rs diff --git a/src/rpc/method.rs b/tendermint/src/rpc/method.rs similarity index 100% rename from src/rpc/method.rs rename to tendermint/src/rpc/method.rs diff --git a/src/rpc/request.rs b/tendermint/src/rpc/request.rs similarity index 100% rename from src/rpc/request.rs rename to tendermint/src/rpc/request.rs diff --git a/src/rpc/response.rs b/tendermint/src/rpc/response.rs similarity index 100% rename from src/rpc/response.rs rename to tendermint/src/rpc/response.rs diff --git a/src/rpc/version.rs b/tendermint/src/rpc/version.rs similarity index 100% rename from src/rpc/version.rs rename to tendermint/src/rpc/version.rs diff --git a/src/secret_connection.rs b/tendermint/src/secret_connection.rs similarity index 100% rename from src/secret_connection.rs rename to tendermint/src/secret_connection.rs diff --git a/src/secret_connection/kdf.rs b/tendermint/src/secret_connection/kdf.rs similarity index 100% rename from src/secret_connection/kdf.rs rename to tendermint/src/secret_connection/kdf.rs diff --git a/src/secret_connection/nonce.rs b/tendermint/src/secret_connection/nonce.rs similarity index 100% rename from src/secret_connection/nonce.rs rename to tendermint/src/secret_connection/nonce.rs diff --git a/src/secret_connection/public_key.rs b/tendermint/src/secret_connection/public_key.rs similarity index 100% rename from src/secret_connection/public_key.rs rename to tendermint/src/secret_connection/public_key.rs diff --git a/src/serializers.rs b/tendermint/src/serializers.rs similarity index 100% rename from src/serializers.rs rename to tendermint/src/serializers.rs diff --git a/src/signature.rs b/tendermint/src/signature.rs similarity index 100% rename from src/signature.rs rename to tendermint/src/signature.rs diff --git a/src/time.rs b/tendermint/src/time.rs similarity index 100% rename from src/time.rs rename to tendermint/src/time.rs diff --git a/src/timeout.rs b/tendermint/src/timeout.rs similarity index 100% rename from src/timeout.rs rename to tendermint/src/timeout.rs diff --git a/src/validator.rs b/tendermint/src/validator.rs similarity index 100% rename from src/validator.rs rename to tendermint/src/validator.rs diff --git a/src/version.rs b/tendermint/src/version.rs similarity index 100% rename from src/version.rs rename to tendermint/src/version.rs diff --git a/src/vote.rs b/tendermint/src/vote.rs similarity index 100% rename from src/vote.rs rename to tendermint/src/vote.rs diff --git a/src/vote/power.rs b/tendermint/src/vote/power.rs similarity index 100% rename from src/vote/power.rs rename to tendermint/src/vote/power.rs