Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Aug 27, 2024 · 4 comments

Comments

@nicholasferguson
Copy link

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

Thank you.

@nicholasferguson
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant