Browse Source

Merge pull request #208 from tendermint/bucky/remotedb

Move remotedb under db
pull/1780/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
4fb515fa08
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 24 additions and 14 deletions
  1. +3
    -1
      CHANGELOG.md
  2. +3
    -3
      Makefile
  3. +0
    -0
      db/remotedb/doc.go
  4. +1
    -1
      db/remotedb/grpcdb/client.go
  5. +0
    -0
      db/remotedb/grpcdb/doc.go
  6. +2
    -2
      db/remotedb/grpcdb/example_test.go
  7. +1
    -1
      db/remotedb/grpcdb/server.go
  8. +0
    -0
      db/remotedb/proto/defs.pb.go
  9. +0
    -0
      db/remotedb/proto/defs.proto
  10. +2
    -2
      db/remotedb/remotedb.go
  11. +11
    -3
      db/remotedb/remotedb_test.go
  12. +1
    -1
      version/version.go

+ 3
- 1
CHANGELOG.md View File

@ -1,9 +1,11 @@
# Changelog # Changelog
## 0.8.3 (develop branch)
## 0.8.3 (May 14th, 2018)
FEATURES: FEATURES:
- [db/remotedb] New DB type using an external CLevelDB process via
GRPC
- [autofile] logjack command for piping stdin to a rotating file - [autofile] logjack command for piping stdin to a rotating file
- [common] ASCIITrim() - [common] ASCIITrim()


+ 3
- 3
Makefile View File

@ -72,12 +72,12 @@ gen_certs: clean_certs
certstrap init --common-name "tendermint.com" --passphrase "" certstrap init --common-name "tendermint.com" --passphrase ""
certstrap request-cert -ip "::" --passphrase "" certstrap request-cert -ip "::" --passphrase ""
certstrap sign "::" --CA "tendermint.com" --passphrase "" certstrap sign "::" --CA "tendermint.com" --passphrase ""
mv out/::.crt out/::.key remotedb
mv out/::.crt out/::.key db/remotedb
clean_certs: clean_certs:
## Cleaning TLS testing certificates... ## Cleaning TLS testing certificates...
rm -rf out rm -rf out
rm -f remotedb/::.crt remotedb/::.key
rm -f db/remotedb/::.crt db/remotedb/::.key
test: gen_certs test: gen_certs
go test -tags gcc $(shell go list ./... | grep -v vendor) go test -tags gcc $(shell go list ./... | grep -v vendor)
@ -135,4 +135,4 @@ metalinter_all:
.PHONY: check protoc build check_tools get_tools get_protoc update_tools get_vendor_deps test fmt metalinter metalinter_all gen_certs clean_certs .PHONY: check protoc build check_tools get_tools get_protoc update_tools get_vendor_deps test fmt metalinter metalinter_all gen_certs clean_certs
grpc_dbserver: grpc_dbserver:
protoc -I proto/ proto/defs.proto --go_out=plugins=grpc:proto
protoc -I db/remotedb/proto/ db/remotedb/proto/defs.proto --go_out=plugins=grpc:db/remotedb/proto

remotedb/doc.go → db/remotedb/doc.go View File


grpcdb/client.go → db/remotedb/grpcdb/client.go View File


grpcdb/doc.go → db/remotedb/grpcdb/doc.go View File


grpcdb/example_test.go → db/remotedb/grpcdb/example_test.go View File


grpcdb/server.go → db/remotedb/grpcdb/server.go View File


proto/defs.pb.go → db/remotedb/proto/defs.pb.go View File


proto/defs.proto → db/remotedb/proto/defs.proto View File


remotedb/remotedb.go → db/remotedb/remotedb.go View File


remotedb/remotedb_test.go → db/remotedb/remotedb_test.go View File


+ 1
- 1
version/version.go View File

@ -1,3 +1,3 @@
package version package version
const Version = "0.8.2"
const Version = "0.8.3"

Loading…
Cancel
Save