These 21 commits are when the Protocol Buffers files have changed:
Commit: | d3a6bba | |
---|---|---|
Author: | Sean Darcy | |
Committer: | Sean Darcy |
Adds feed RPC endpoints
Commit: | 8878f26 | |
---|---|---|
Author: | Sean Darcy | |
Committer: | Sean Darcy |
Adds feed RPC endpoints
Commit: | d06f814 | |
---|---|---|
Author: | Sean Darcy |
create reconciliation table and endpoints, stubs for database queries
The documentation is generated from this commit.
Commit: | 9ee8bb9 | |
---|---|---|
Author: | Sean Darcy |
added two GRPC methods for adding accounts and deleting accounts
Commit: | 2f9921c | |
---|---|---|
Author: | David Alpert | |
Committer: | David Alpert |
GH-111 create explicit proto/transaction package this creates space to declare additional protobuf packages (e.g. one devoted to health checks, which are helpful for diagnosting problems when running in Docker [GH-84] or to provide healthz probes when running in Kubernetes)
Commit: | 1439c1e | |
---|---|---|
Author: | David Alpert | |
Committer: | David Alpert |
GH-111 regenerate proto buffers and update syntax while invoking the updated protoc syntax worked it seems to have updated the syntax of the generated go code including separating the transport types from the client and server interfaces in different files. similarily the updated transaction code includes some new features which assist with compatibility: - compile-time assertions in the interface file: // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion7 - compile-time assertions in the transport type file: const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 - a new generated type to be added into the local server implementation to provide explicit Unimplemented error fallbacks when a server fails to implement a proto service interface method: // UnimplementedTransactorServer must be embedded to have forward compatible implementations. type UnimplementedTransactorServer struct { } func (UnimplementedTransactorServer) AddTransaction(context.Context, *TransactionRequest) (*TransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTransaction not implemented") } ... I have updated godbledger/rpc/service.go to add this UnimplementedTrasnactorServer type into the LedgerServer and now the code builds and all tests (including the basic integration test) pass
Commit: | 7d295b6 | |
---|---|---|
Author: | David Alpert | |
Committer: | David Alpert |
GH-111 update protoc syntax and add a make target The protoc and proto file syntax around go options seems to have changed. This commit updates the `protoc` command syntax and transaction.proto file options using the patterns currently shown on the Go gRPC Quick start documentation: - https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code This commit also introduces a new `proto` make target to simplify invoking that more complicated syntax.
Commit: | b167b27 | |
---|---|---|
Author: | Sean Darcy |
Remove Signature from GRPC Methods Intention now is to use a JWT to sign transactions that will be transmitted in the header of the transaction. Making this parameter useless, premature optimisation
Commit: | d52a4d2 | |
---|---|---|
Author: | Sean Darcy |
Get Listing RPC Message implemented The RPC endpoints are not the ideal place for queries to the GL however can foresee them possibly being needed. The GetListing query would be used to return all transactions between the provided dates. Its rough and slow but if faster and more detail is needed the user should be encouraged to query the database directly
Commit: | 935ff41 | |
---|---|---|
Author: | Sean Darcy |
new ledger commands, new database interface
Commit: | 911776f | |
---|---|---|
Author: | Sean Darcy |
started to update the trial balance transaction
Commit: | a8dc738 | |
---|---|---|
Author: | Sean Darcy |
New CLI commands to add currency and delete currency type from the database
Commit: | 8897c8a | |
---|---|---|
Author: | Sean Darcy |
new protobuf version
Commit: | a91ed09 | |
---|---|---|
Author: | Sean Darcy |
added new rpc call for trial balance
Commit: | 80ba7c0 | |
---|---|---|
Author: | Sean Darcy |
added the addTag transaction to the client
Commit: | 73d4189 | |
---|---|---|
Author: | Sean Darcy |
started the delete transactions
Commit: | 24466a6 | |
---|---|---|
Author: | Sean Darcy |
ledger cli now takes a file
Commit: | c74f16c | |
---|---|---|
Author: | Sean Darcy |
now has a RPC endpoint for addTransaction
Commit: | 0d8366d | |
---|---|---|
Author: | Sean Darcy |
working rpc aparently
Commit: | 0f4ff7b | |
---|---|---|
Author: | Sean Darcy |
added grpc calls and server
Commit: | 9d7097a | |
---|---|---|
Author: | Sean Darcy |
moving to separate binary