Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michiel de Jong
committed
Feb 24, 2017
0 parents
commit 0eb965f
Showing
31 changed files
with
27,204 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
*.proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
No code was written in the making this npm package. | ||
It was generated automatically from the `lnrpc/rpc.proto` file in https://github.com/lightningnetworks/lnd, using gRPC tools. | ||
|
||
To regenerate it, run: | ||
|
||
```sh | ||
git clone https://github.com/michielbdejong/lnrpc-client | ||
git clone https://github.com/googleapis/googleapis | ||
cd lnrpc-client | ||
rm -r google/api | ||
cp -r ../../googleapis/google/api google/ # because the `.js` files will be generated next to the `.proto` files | ||
rm rpc.proto | ||
wget https://raw.githubusercontent.com/lightningnetwork/lnd/v0.1.1-alpha/lnrpc/rpc.proto # use wget instead of git clone as long as this is just one file | ||
npm install | ||
npm install -g grpc-tools | ||
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../npm --grpc_out=../npm --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` rpc.proto | ||
npm test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This folder contains the schema of the configuration model for the API services | ||
platform. | ||
|
||
**Note**: Protos under this directory are in Alpha status, and therefore are | ||
subject to breaking changes. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.