Skip to content

Releases: TRON-US/go-btfs-common

v0.2.4

02 Jan 23:42
308b0d5
Compare
Choose a tag to compare
  1. Included a default controller type that can be passed as an interface{} to common grpc setup for guard to register additional services such as the commander and preparer services.

v0.2.3

28 Dec 07:22
36892be
Compare
Choose a tag to compare
Merge pull request #60 from TRON-US/BTFS-1281

ignore node_ip for pg

v0.2.2

24 Dec 01:35
c5b3cdd
Compare
Choose a tag to compare
  1. Passing many grpcOptions into the grpcServer so that it can enable internal features such as increasing message size, etc.
  2. Return the correct start time of the service in the checkRuntime
  3. Changed generic service-name returned by checkRuntime for the guard into more specific service names such as guard-interceptor, guard-commander, and guard-preparer.

v0.2.1

18 Dec 00:23
971cccb
Compare
Choose a tag to compare

Propose:
This GrpcServer wrapper is meant to simplify the amount of code written in the calling service.

Contents:
This release includes the a generic setup GrpcServer that allows the user to pass in 1. port info, 2. database/redis url info, and 3. service struct, therefore the following functions are encapsulated:

  1. CreateServer(...) to create a new grpc server with panic handling
  2. CreateHealthServer() to create a new grpc health server
  3. RegisterServer(server) to register the grpc status/hub/escrow, etc service with a newly created server
  4. RegisterHealthServer() to register the grpc health server with the newly created server
  5. WithReflection() to use reflect to expose functions
  6. WithGracefulTermDetectAndExec() for detecting sigterms from outside the containers and gracefully shutting down
  7. AcceptConnection() to accept connections to the specified port

Break Change

  • change hub protos

v0.1.14

13 Dec 20:00
6a3d7b8
Compare
Choose a tag to compare
Merge pull request #53 from TRON-US/feature/add-country

feat: add country

Add serialize pubkey and privateKey to string function

13 Dec 01:19
b90d8e8
Compare
Choose a tag to compare
Merge pull request #50 from TRON-US/AddCrypto

Add serialize pubKey and privateKey to String function

v0.1.12

11 Dec 23:43
51c60ac
Compare
Choose a tag to compare
  • add geo into node proto

v0.1.11

11 Dec 00:04
7a0e1b6
Compare
Choose a tag to compare
  • add h_val

v0.1.10

10 Dec 02:15
45a00f1
Compare
Choose a tag to compare
Merge pull request #47 from TRON-US/BTFS-1137

BTFS-1001: refactor ledger grpc client

v0.1.9

05 Dec 22:59
38364e4
Compare
Choose a tag to compare
Merge pull request #45 from TRON-US/BTFS-1137

refactor ledger grpc client