XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.52k stars 1.47k forks source link

rippled github is missing a proto file that generates this file: xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h #5110

Open nicholasferguson opened 2 months ago

nicholasferguson commented 2 months ago

Research: went though older version of rippled. Searched on google. Nothing worked.

Thank you.

nicholasferguson commented 2 months ago

It's included in following files \src\test\rpc\GRPCTestClientBase.h (1 hit) Line 24: #include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h> \src\xrpld\app\main\GRPCServer.h (1 hit) Line 35: #include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h> \src\xrpld\app\reporting\ETLSource.h (1 hit) Line 25: #include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h> \src\xrpld\app\reporting\P2pProxy.h (1 hit) Line 26: #include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h> \src\xrpld\app\reporting\ReportingETL.h (1 hit) Line 43: #include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>

nicholasferguson commented 2 months ago

These are the files in \include\xrpl\proto\org\xrpl\rpc\v1 08/27/2024 12:11 PM 90,148 get_ledger.pb.cc 08/27/2024 12:11 PM 96,331 get_ledger.pb.h 08/27/2024 12:10 PM 2,593 get_ledger.proto 08/27/2024 12:11 PM 41,413 get_ledger_data.pb.cc 08/27/2024 12:11 PM 47,729 get_ledger_data.pb.h 08/27/2024 12:10 PM 1,777 get_ledger_data.proto 08/27/2024 12:11 PM 34,756 get_ledger_diff.pb.cc 08/27/2024 12:11 PM 37,500 get_ledger_diff.pb.h 08/27/2024 12:10 PM 850 get_ledger_diff.proto 08/27/2024 12:12 PM 34,721 get_ledger_entry.pb.cc 08/27/2024 12:12 PM 38,627 get_ledger_entry.pb.h 08/27/2024 12:10 PM 762 get_ledger_entry.proto 08/27/2024 12:08 PM 58,463 ledger.pb.cc 08/27/2024 12:08 PM 67,080 ledger.pb.h 08/24/2024 10:12 AM 1,697 ledger.proto 08/24/2024 10:12 AM 4,421 README.md 08/27/2024 12:10 PM 3,794 xrp_ledger.pb.cc 08/27/2024 12:10 PM 2,627 xrp_ledger.pb.h 08/27/2024 12:09 PM 1,273 xrp_ledger.proto

nicholasferguson commented 2 months ago

If in GRPCServer.h I comment out //#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h> Then GRPCServer.cpp when compiled says error: it does not find org::xrpl::rpc::v1::XRPLedgerAPIService::AsyncService& service, in function

template <class Request, class Response> GRPCServerImpl::CallData<Request, Response>::CallData(.....

nicholasferguson commented 2 months ago

Is that file from a patch downloaded with conan. If so, you can merge into repository. Thank you