docs+lnrpc: rename rpc.proto to lightning.proto

To avoid a naming conflict with etcd, we rename our very generic
rpc.proto to lightning.proto to match the service name that's declared
within. This will break many external tutorials and possibly also our
API docs but the change needs to be done eventually.
This commit is contained in:
Oliver Gugger
2021-07-27 12:59:56 +02:00
parent 62888894d2
commit 235efc04e4
20 changed files with 4241 additions and 4240 deletions

View File

@@ -24,7 +24,7 @@ with lnd in Java. We'll be using Maven as our build tool.
│ ├── annotations.proto
│ └── http.proto
└── lnrpc
└── rpc.proto
└── lightning.proto
```
Note the ***proto*** folder, where all the proto files are kept.
@@ -233,7 +233,7 @@ Execute the following command in the directory where the **pom.xml** file is loc
### Java proto options
There are 2 options available that can be used in the *rpc.proto* file :
There are 2 options available that can be used in the *lightning.proto* file :
* option java_multiple_files = true;
* option java_package = "network.lightning.rpc";