mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 11:29:23 +00:00
Updated protobuf to 26.x
This commit is contained in:
parent
a60fba8c18
commit
8628dc9141
18 changed files with 8682 additions and 9336 deletions
2
.github/workflows/c-cpp.yml
vendored
2
.github/workflows/c-cpp.yml
vendored
|
@ -115,7 +115,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
config:
|
||||
- {os: ubuntu-20.04, c: gcc, cpp: g++, flags: ""}
|
||||
- {os: ubuntu-20.04, c: gcc-8, cpp: g++-8, flags: "-Wno-lto-type-mismatch"}
|
||||
- {os: ubuntu-20.04, c: gcc-11, cpp: g++-11, flags: ""}
|
||||
- {os: ubuntu-22.04, c: gcc-12, cpp: g++-12, flags: ""}
|
||||
|
||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -26,7 +26,7 @@ on:
|
|||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
timeout-minutes: 20
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
|
|
2
.github/workflows/msvc-analysis.yml
vendored
2
.github/workflows/msvc-analysis.yml
vendored
|
@ -28,7 +28,7 @@ env:
|
|||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 30
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(p2pool)
|
||||
|
||||
message(STATUS "Build environment:
|
||||
|
@ -23,9 +23,7 @@ option(DEV_WITH_ASAN "[Developer only] Compile with address sanitizer" OFF)
|
|||
option(DEV_CLANG_TIDY "[Developer only] Compile for clang-tidy" OFF)
|
||||
option(DEV_TRACK_MEMORY "[Developer only] Track memory allocations" OFF)
|
||||
|
||||
if (${CMAKE_VERSION} VERSION_GREATER "3.5.2")
|
||||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT p2pool)
|
||||
endif()
|
||||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT p2pool)
|
||||
|
||||
add_subdirectory(external/src/protobuf)
|
||||
set(LIBS ${LIBS} libprotobuf)
|
||||
|
|
|
@ -230,7 +230,9 @@ PAUSE
|
|||
## Build instructions
|
||||
Only 64-bit builds are supported, in particular ARMv7 or older CPUs are not supported. The reason is that RandomX hashing algorithm is too slow in 32-bit mode, and P2Pool needs to check new blocks very fast to keep up with other nodes.
|
||||
|
||||
Please see the relevant instructions for your platform:
|
||||
### Prerequisites
|
||||
- cmake >= 3.10
|
||||
- C++ compiler with full C++17 support. GCC-8, Clang-13 and MSVC-2019 have been tested and confirmed to work, older compilers may fail to build P2Pool.
|
||||
|
||||
### Ubuntu 20.04
|
||||
|
||||
|
|
3621
external/src/Tari/proto/gRPC/base_node.pb.cc
vendored
3621
external/src/Tari/proto/gRPC/base_node.pb.cc
vendored
File diff suppressed because it is too large
Load diff
5490
external/src/Tari/proto/gRPC/base_node.pb.h
vendored
5490
external/src/Tari/proto/gRPC/base_node.pb.h
vendored
File diff suppressed because it is too large
Load diff
712
external/src/Tari/proto/gRPC/block.pb.cc
vendored
712
external/src/Tari/proto/gRPC/block.pb.cc
vendored
File diff suppressed because it is too large
Load diff
812
external/src/Tari/proto/gRPC/block.pb.h
vendored
812
external/src/Tari/proto/gRPC/block.pb.h
vendored
File diff suppressed because it is too large
Load diff
506
external/src/Tari/proto/gRPC/network.pb.cc
vendored
506
external/src/Tari/proto/gRPC/network.pb.cc
vendored
|
@ -1,5 +1,6 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: network.proto
|
||||
// Protobuf C++ Version: 5.26.0-rc1
|
||||
|
||||
#include "network.pb.h"
|
||||
|
||||
|
@ -223,105 +224,106 @@ static ::_pb::Metadata file_level_metadata_network_2eproto[8];
|
|||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_network_2eproto[1];
|
||||
static constexpr const ::_pb::ServiceDescriptor**
|
||||
file_level_service_descriptors_network_2eproto = nullptr;
|
||||
const ::uint32_t TableStruct_network_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
|
||||
protodesc_cold) = {
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _impl_.public_key_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _impl_.public_addresses_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _impl_.node_id_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.public_key_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.node_id_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.addresses_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.last_connection_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.flags_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.banned_until_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.banned_reason_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.offline_at_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.features_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.supported_protocols_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.user_agent_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _impl_.status_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _impl_.avg_latency_ms_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _impl_.num_node_connections_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.address_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.last_seen_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.connection_attempts_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.avg_latency_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::ListConnectedPeersResponse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::ListConnectedPeersResponse, _impl_.connected_peers_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.has_update_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.version_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.sha_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.download_url_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityRequest, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _impl_.public_key_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _impl_.public_address_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _impl_.node_id_),
|
||||
const ::uint32_t
|
||||
TableStruct_network_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
|
||||
protodesc_cold) = {
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _impl_.public_key_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _impl_.public_addresses_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NodeIdentity, _impl_.node_id_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.public_key_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.node_id_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.addresses_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.last_connection_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.flags_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.banned_until_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.banned_reason_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.offline_at_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.features_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.supported_protocols_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Peer, _impl_.user_agent_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _impl_.status_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _impl_.avg_latency_ms_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::NetworkStatusResponse, _impl_.num_node_connections_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.address_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.last_seen_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.connection_attempts_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::Address, _impl_.avg_latency_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::ListConnectedPeersResponse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::ListConnectedPeersResponse, _impl_.connected_peers_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.has_update_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.version_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.sha_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::SoftwareUpdate, _impl_.download_url_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityRequest, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
~0u, // no _split_
|
||||
~0u, // no sizeof(Split)
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _impl_.public_key_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _impl_.public_address_),
|
||||
PROTOBUF_FIELD_OFFSET(::tari::rpc::GetIdentityResponse, _impl_.node_id_),
|
||||
};
|
||||
|
||||
static const ::_pbi::MigrationSchema
|
||||
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{0, -1, -1, sizeof(::tari::rpc::NodeIdentity)},
|
||||
{11, -1, -1, sizeof(::tari::rpc::Peer)},
|
||||
{30, -1, -1, sizeof(::tari::rpc::NetworkStatusResponse)},
|
||||
|
@ -331,7 +333,6 @@ static const ::_pbi::MigrationSchema
|
|||
{74, -1, -1, sizeof(::tari::rpc::GetIdentityRequest)},
|
||||
{82, -1, -1, sizeof(::tari::rpc::GetIdentityResponse)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::tari::rpc::_NodeIdentity_default_instance_._instance,
|
||||
&::tari::rpc::_Peer_default_instance_._instance,
|
||||
|
@ -342,7 +343,8 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||
&::tari::rpc::_GetIdentityRequest_default_instance_._instance,
|
||||
&::tari::rpc::_GetIdentityResponse_default_instance_._instance,
|
||||
};
|
||||
const char descriptor_table_protodef_network_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
const char descriptor_table_protodef_network_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
|
||||
protodesc_cold) = {
|
||||
"\n\rnetwork.proto\022\010tari.rpc\032\037google/protob"
|
||||
"uf/timestamp.proto\"M\n\014NodeIdentity\022\022\n\npu"
|
||||
"blic_key\030\001 \001(\014\022\030\n\020public_addresses\030\002 \003(\t"
|
||||
|
@ -406,9 +408,6 @@ const ::_pbi::DescriptorTable descriptor_table_network_2eproto = {
|
|||
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_network_2eproto_getter() {
|
||||
return &descriptor_table_network_2eproto;
|
||||
}
|
||||
// Force running AddDescriptors() at dynamic initialization time.
|
||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_network_2eproto(&descriptor_table_network_2eproto);
|
||||
namespace tari {
|
||||
namespace rpc {
|
||||
const ::google::protobuf::EnumDescriptor* ConnectivityStatus_descriptor() {
|
||||
|
@ -474,6 +473,20 @@ inline void NodeIdentity::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
NodeIdentity::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(NodeIdentity, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&NodeIdentity::MergeImpl,
|
||||
&NodeIdentity::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void NodeIdentity::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.NodeIdentity)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -508,6 +521,9 @@ const ::_pbi::TcParseTable<2, 3, 0, 46, 2> NodeIdentity::_table_ = {
|
|||
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||
&_NodeIdentity_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::NodeIdentity>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
{::_pbi::TcParser::MiniParse, {}},
|
||||
// bytes public_key = 1;
|
||||
|
@ -605,15 +621,8 @@ const ::_pbi::TcParseTable<2, 3, 0, 46, 2> NodeIdentity::_table_ = {
|
|||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData NodeIdentity::_class_data_ = {
|
||||
NodeIdentity::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* NodeIdentity::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void NodeIdentity::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void NodeIdentity::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<NodeIdentity*>(&to_msg);
|
||||
auto& from = static_cast<const NodeIdentity&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.NodeIdentity)
|
||||
|
@ -642,9 +651,6 @@ PROTOBUF_NOINLINE bool NodeIdentity::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* NodeIdentity::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void NodeIdentity::InternalSwap(NodeIdentity* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
auto* arena = GetArena();
|
||||
|
@ -656,9 +662,9 @@ void NodeIdentity::InternalSwap(NodeIdentity* PROTOBUF_RESTRICT other) {
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata NodeIdentity::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[0]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[0]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -735,6 +741,20 @@ inline void Peer::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
Peer::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(Peer, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&Peer::MergeImpl,
|
||||
&Peer::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void Peer::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.Peer)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -775,6 +795,9 @@ const ::_pbi::TcParseTable<4, 11, 1, 53, 2> Peer::_table_ = {
|
|||
offsetof(decltype(_table_), aux_entries),
|
||||
&_Peer_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::Peer>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
{::_pbi::TcParser::MiniParse, {}},
|
||||
// bytes public_key = 1;
|
||||
|
@ -880,11 +903,14 @@ const ::_pbi::TcParseTable<4, 11, 1, 53, 2> Peer::_table_ = {
|
|||
}
|
||||
|
||||
// repeated .tari.rpc.Address addresses = 3;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_addresses_size()); i < n; i++) {
|
||||
for (unsigned i = 0, n = static_cast<unsigned>(
|
||||
this->_internal_addresses_size());
|
||||
i < n; i++) {
|
||||
const auto& repfield = this->_internal_addresses().Get(i);
|
||||
target = ::google::protobuf::internal::WireFormatLite::
|
||||
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
|
||||
target =
|
||||
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||
3, repfield, repfield.GetCachedSize(),
|
||||
target, stream);
|
||||
}
|
||||
|
||||
// uint64 last_connection = 4;
|
||||
|
@ -964,8 +990,7 @@ const ::_pbi::TcParseTable<4, 11, 1, 53, 2> Peer::_table_ = {
|
|||
// repeated .tari.rpc.Address addresses = 3;
|
||||
total_size += 1UL * this->_internal_addresses_size();
|
||||
for (const auto& msg : this->_internal_addresses()) {
|
||||
total_size +=
|
||||
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
||||
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
// repeated bytes supported_protocols = 11;
|
||||
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_supported_protocols().size());
|
||||
|
@ -1030,15 +1055,8 @@ const ::_pbi::TcParseTable<4, 11, 1, 53, 2> Peer::_table_ = {
|
|||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData Peer::_class_data_ = {
|
||||
Peer::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* Peer::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void Peer::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void Peer::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<Peer*>(&to_msg);
|
||||
auto& from = static_cast<const Peer&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.Peer)
|
||||
|
@ -1062,19 +1080,19 @@ void Peer::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protob
|
|||
_this->_internal_set_user_agent(from._internal_user_agent());
|
||||
}
|
||||
if (from._internal_last_connection() != 0) {
|
||||
_this->_internal_set_last_connection(from._internal_last_connection());
|
||||
_this->_impl_.last_connection_ = from._impl_.last_connection_;
|
||||
}
|
||||
if (from._internal_banned_until() != 0) {
|
||||
_this->_internal_set_banned_until(from._internal_banned_until());
|
||||
_this->_impl_.banned_until_ = from._impl_.banned_until_;
|
||||
}
|
||||
if (from._internal_flags() != 0) {
|
||||
_this->_internal_set_flags(from._internal_flags());
|
||||
_this->_impl_.flags_ = from._impl_.flags_;
|
||||
}
|
||||
if (from._internal_features() != 0) {
|
||||
_this->_internal_set_features(from._internal_features());
|
||||
_this->_impl_.features_ = from._impl_.features_;
|
||||
}
|
||||
if (from._internal_offline_at() != 0) {
|
||||
_this->_internal_set_offline_at(from._internal_offline_at());
|
||||
_this->_impl_.offline_at_ = from._impl_.offline_at_;
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
@ -1090,9 +1108,6 @@ PROTOBUF_NOINLINE bool Peer::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* Peer::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void Peer::InternalSwap(Peer* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
auto* arena = GetArena();
|
||||
|
@ -1113,9 +1128,9 @@ void Peer::InternalSwap(Peer* PROTOBUF_RESTRICT other) {
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata Peer::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[1]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[1]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -1157,6 +1172,20 @@ inline void NetworkStatusResponse::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
NetworkStatusResponse::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(NetworkStatusResponse, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&NetworkStatusResponse::MergeImpl,
|
||||
&NetworkStatusResponse::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void NetworkStatusResponse::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.NetworkStatusResponse)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -1191,6 +1220,9 @@ const ::_pbi::TcParseTable<2, 3, 0, 0, 2> NetworkStatusResponse::_table_ = {
|
|||
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||
&_NetworkStatusResponse_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::NetworkStatusResponse>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
{::_pbi::TcParser::MiniParse, {}},
|
||||
// .tari.rpc.ConnectivityStatus status = 1;
|
||||
|
@ -1286,15 +1318,8 @@ const ::_pbi::TcParseTable<2, 3, 0, 0, 2> NetworkStatusResponse::_table_ = {
|
|||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData NetworkStatusResponse::_class_data_ = {
|
||||
NetworkStatusResponse::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* NetworkStatusResponse::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void NetworkStatusResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void NetworkStatusResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<NetworkStatusResponse*>(&to_msg);
|
||||
auto& from = static_cast<const NetworkStatusResponse&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.NetworkStatusResponse)
|
||||
|
@ -1303,13 +1328,13 @@ void NetworkStatusResponse::MergeImpl(::google::protobuf::Message& to_msg, const
|
|||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_status() != 0) {
|
||||
_this->_internal_set_status(from._internal_status());
|
||||
_this->_impl_.status_ = from._impl_.status_;
|
||||
}
|
||||
if (from._internal_avg_latency_ms() != 0) {
|
||||
_this->_internal_set_avg_latency_ms(from._internal_avg_latency_ms());
|
||||
_this->_impl_.avg_latency_ms_ = from._impl_.avg_latency_ms_;
|
||||
}
|
||||
if (from._internal_num_node_connections() != 0) {
|
||||
_this->_internal_set_num_node_connections(from._internal_num_node_connections());
|
||||
_this->_impl_.num_node_connections_ = from._impl_.num_node_connections_;
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
@ -1325,9 +1350,6 @@ PROTOBUF_NOINLINE bool NetworkStatusResponse::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* NetworkStatusResponse::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void NetworkStatusResponse::InternalSwap(NetworkStatusResponse* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
|
@ -1340,9 +1362,9 @@ void NetworkStatusResponse::InternalSwap(NetworkStatusResponse* PROTOBUF_RESTRIC
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata NetworkStatusResponse::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[2]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[2]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -1409,6 +1431,20 @@ inline void Address::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
Address::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(Address, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&Address::MergeImpl,
|
||||
&Address::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void Address::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.Address)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -1445,6 +1481,9 @@ const ::_pbi::TcParseTable<3, 4, 0, 34, 2> Address::_table_ = {
|
|||
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||
&_Address_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::Address>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
{::_pbi::TcParser::MiniParse, {}},
|
||||
// bytes address = 1;
|
||||
|
@ -1565,15 +1604,8 @@ const ::_pbi::TcParseTable<3, 4, 0, 34, 2> Address::_table_ = {
|
|||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData Address::_class_data_ = {
|
||||
Address::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* Address::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void Address::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void Address::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<Address*>(&to_msg);
|
||||
auto& from = static_cast<const Address&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.Address)
|
||||
|
@ -1588,10 +1620,10 @@ void Address::MergeImpl(::google::protobuf::Message& to_msg, const ::google::pro
|
|||
_this->_internal_set_last_seen(from._internal_last_seen());
|
||||
}
|
||||
if (from._internal_avg_latency() != 0) {
|
||||
_this->_internal_set_avg_latency(from._internal_avg_latency());
|
||||
_this->_impl_.avg_latency_ = from._impl_.avg_latency_;
|
||||
}
|
||||
if (from._internal_connection_attempts() != 0) {
|
||||
_this->_internal_set_connection_attempts(from._internal_connection_attempts());
|
||||
_this->_impl_.connection_attempts_ = from._impl_.connection_attempts_;
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
@ -1607,9 +1639,6 @@ PROTOBUF_NOINLINE bool Address::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* Address::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void Address::InternalSwap(Address* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
auto* arena = GetArena();
|
||||
|
@ -1626,9 +1655,9 @@ void Address::InternalSwap(Address* PROTOBUF_RESTRICT other) {
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata Address::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[3]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[3]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -1678,6 +1707,20 @@ inline void ListConnectedPeersResponse::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
ListConnectedPeersResponse::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(ListConnectedPeersResponse, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&ListConnectedPeersResponse::MergeImpl,
|
||||
&ListConnectedPeersResponse::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void ListConnectedPeersResponse::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.ListConnectedPeersResponse)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -1710,6 +1753,9 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListConnectedPeersResponse::_table_ =
|
|||
offsetof(decltype(_table_), aux_entries),
|
||||
&_ListConnectedPeersResponse_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::ListConnectedPeersResponse>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
// repeated .tari.rpc.Peer connected_peers = 1;
|
||||
{::_pbi::TcParser::FastMtR1,
|
||||
|
@ -1734,11 +1780,14 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListConnectedPeersResponse::_table_ =
|
|||
(void)cached_has_bits;
|
||||
|
||||
// repeated .tari.rpc.Peer connected_peers = 1;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_connected_peers_size()); i < n; i++) {
|
||||
for (unsigned i = 0, n = static_cast<unsigned>(
|
||||
this->_internal_connected_peers_size());
|
||||
i < n; i++) {
|
||||
const auto& repfield = this->_internal_connected_peers().Get(i);
|
||||
target = ::google::protobuf::internal::WireFormatLite::
|
||||
InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
|
||||
target =
|
||||
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
||||
1, repfield, repfield.GetCachedSize(),
|
||||
target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
|
@ -1761,21 +1810,13 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListConnectedPeersResponse::_table_ =
|
|||
// repeated .tari.rpc.Peer connected_peers = 1;
|
||||
total_size += 1UL * this->_internal_connected_peers_size();
|
||||
for (const auto& msg : this->_internal_connected_peers()) {
|
||||
total_size +=
|
||||
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
||||
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData ListConnectedPeersResponse::_class_data_ = {
|
||||
ListConnectedPeersResponse::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* ListConnectedPeersResponse::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void ListConnectedPeersResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void ListConnectedPeersResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<ListConnectedPeersResponse*>(&to_msg);
|
||||
auto& from = static_cast<const ListConnectedPeersResponse&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.ListConnectedPeersResponse)
|
||||
|
@ -1799,9 +1840,6 @@ PROTOBUF_NOINLINE bool ListConnectedPeersResponse::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* ListConnectedPeersResponse::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void ListConnectedPeersResponse::InternalSwap(ListConnectedPeersResponse* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
|
@ -1809,9 +1847,9 @@ void ListConnectedPeersResponse::InternalSwap(ListConnectedPeersResponse* PROTOB
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata ListConnectedPeersResponse::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[4]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[4]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -1870,6 +1908,20 @@ inline void SoftwareUpdate::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
SoftwareUpdate::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(SoftwareUpdate, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&SoftwareUpdate::MergeImpl,
|
||||
&SoftwareUpdate::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void SoftwareUpdate::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.SoftwareUpdate)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -1905,6 +1957,9 @@ const ::_pbi::TcParseTable<2, 4, 0, 54, 2> SoftwareUpdate::_table_ = {
|
|||
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||
&_SoftwareUpdate_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::SoftwareUpdate>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
// string download_url = 4;
|
||||
{::_pbi::TcParser::FastUS1,
|
||||
|
@ -2025,15 +2080,8 @@ const ::_pbi::TcParseTable<2, 4, 0, 54, 2> SoftwareUpdate::_table_ = {
|
|||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData SoftwareUpdate::_class_data_ = {
|
||||
SoftwareUpdate::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* SoftwareUpdate::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void SoftwareUpdate::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void SoftwareUpdate::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<SoftwareUpdate*>(&to_msg);
|
||||
auto& from = static_cast<const SoftwareUpdate&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.SoftwareUpdate)
|
||||
|
@ -2051,7 +2099,7 @@ void SoftwareUpdate::MergeImpl(::google::protobuf::Message& to_msg, const ::goog
|
|||
_this->_internal_set_download_url(from._internal_download_url());
|
||||
}
|
||||
if (from._internal_has_update() != 0) {
|
||||
_this->_internal_set_has_update(from._internal_has_update());
|
||||
_this->_impl_.has_update_ = from._impl_.has_update_;
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
@ -2067,9 +2115,6 @@ PROTOBUF_NOINLINE bool SoftwareUpdate::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* SoftwareUpdate::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void SoftwareUpdate::InternalSwap(SoftwareUpdate* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
auto* arena = GetArena();
|
||||
|
@ -2082,9 +2127,9 @@ void SoftwareUpdate::InternalSwap(SoftwareUpdate* PROTOBUF_RESTRICT other) {
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata SoftwareUpdate::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[5]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[5]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -2117,9 +2162,9 @@ GetIdentityRequest::GetIdentityRequest(
|
|||
|
||||
|
||||
::google::protobuf::Metadata GetIdentityRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[6]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[6]);
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
|
@ -2176,6 +2221,20 @@ inline void GetIdentityResponse::SharedDtor() {
|
|||
_impl_.~Impl_();
|
||||
}
|
||||
|
||||
const ::google::protobuf::MessageLite::ClassData*
|
||||
GetIdentityResponse::GetClassData() const {
|
||||
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
||||
ClassDataFull _data_ = {
|
||||
{
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
PROTOBUF_FIELD_OFFSET(GetIdentityResponse, _impl_._cached_size_),
|
||||
false,
|
||||
},
|
||||
&GetIdentityResponse::MergeImpl,
|
||||
&GetIdentityResponse::kDescriptorMethods,
|
||||
};
|
||||
return &_data_;
|
||||
}
|
||||
PROTOBUF_NOINLINE void GetIdentityResponse::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:tari.rpc.GetIdentityResponse)
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
|
@ -2210,6 +2269,9 @@ const ::_pbi::TcParseTable<2, 3, 0, 51, 2> GetIdentityResponse::_table_ = {
|
|||
offsetof(decltype(_table_), field_names), // no aux_entries
|
||||
&_GetIdentityResponse_default_instance_._instance,
|
||||
::_pbi::TcParser::GenericFallback, // fallback
|
||||
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
::_pbi::TcParser::GetTable<::tari::rpc::GetIdentityResponse>(), // to_prefetch
|
||||
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
||||
}, {{
|
||||
{::_pbi::TcParser::MiniParse, {}},
|
||||
// bytes public_key = 1;
|
||||
|
@ -2307,15 +2369,8 @@ const ::_pbi::TcParseTable<2, 3, 0, 51, 2> GetIdentityResponse::_table_ = {
|
|||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::google::protobuf::Message::ClassData GetIdentityResponse::_class_data_ = {
|
||||
GetIdentityResponse::MergeImpl,
|
||||
nullptr, // OnDemandRegisterArenaDtor
|
||||
};
|
||||
const ::google::protobuf::Message::ClassData* GetIdentityResponse::GetClassData() const {
|
||||
return &_class_data_;
|
||||
}
|
||||
|
||||
void GetIdentityResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
||||
void GetIdentityResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
||||
auto* const _this = static_cast<GetIdentityResponse*>(&to_msg);
|
||||
auto& from = static_cast<const GetIdentityResponse&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:tari.rpc.GetIdentityResponse)
|
||||
|
@ -2346,9 +2401,6 @@ PROTOBUF_NOINLINE bool GetIdentityResponse::IsInitialized() const {
|
|||
return true;
|
||||
}
|
||||
|
||||
::_pbi::CachedSize* GetIdentityResponse::AccessCachedSize() const {
|
||||
return &_impl_._cached_size_;
|
||||
}
|
||||
void GetIdentityResponse::InternalSwap(GetIdentityResponse* PROTOBUF_RESTRICT other) {
|
||||
using std::swap;
|
||||
auto* arena = GetArena();
|
||||
|
@ -2360,9 +2412,9 @@ void GetIdentityResponse::InternalSwap(GetIdentityResponse* PROTOBUF_RESTRICT ot
|
|||
}
|
||||
|
||||
::google::protobuf::Metadata GetIdentityResponse::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_network_2eproto_getter, &descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[7]);
|
||||
return ::_pbi::AssignDescriptors(&descriptor_table_network_2eproto_getter,
|
||||
&descriptor_table_network_2eproto_once,
|
||||
file_level_metadata_network_2eproto[7]);
|
||||
}
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
} // namespace rpc
|
||||
|
@ -2372,4 +2424,8 @@ namespace protobuf {
|
|||
} // namespace protobuf
|
||||
} // namespace google
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
||||
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
|
||||
(::_pbi::AddDescriptors(&descriptor_table_network_2eproto),
|
||||
::std::false_type{});
|
||||
#include "google/protobuf/port_undef.inc"
|
||||
|
|
876
external/src/Tari/proto/gRPC/network.pb.h
vendored
876
external/src/Tari/proto/gRPC/network.pb.h
vendored
File diff suppressed because it is too large
Load diff
763
external/src/Tari/proto/gRPC/sidechain_types.pb.cc
vendored
763
external/src/Tari/proto/gRPC/sidechain_types.pb.cc
vendored
File diff suppressed because it is too large
Load diff
953
external/src/Tari/proto/gRPC/sidechain_types.pb.h
vendored
953
external/src/Tari/proto/gRPC/sidechain_types.pb.h
vendored
File diff suppressed because it is too large
Load diff
966
external/src/Tari/proto/gRPC/transaction.pb.cc
vendored
966
external/src/Tari/proto/gRPC/transaction.pb.cc
vendored
File diff suppressed because it is too large
Load diff
895
external/src/Tari/proto/gRPC/transaction.pb.h
vendored
895
external/src/Tari/proto/gRPC/transaction.pb.h
vendored
File diff suppressed because it is too large
Load diff
1071
external/src/Tari/proto/gRPC/types.pb.cc
vendored
1071
external/src/Tari/proto/gRPC/types.pb.cc
vendored
File diff suppressed because it is too large
Load diff
1335
external/src/Tari/proto/gRPC/types.pb.h
vendored
1335
external/src/Tari/proto/gRPC/types.pb.h
vendored
File diff suppressed because it is too large
Load diff
2
external/src/protobuf
vendored
2
external/src/protobuf
vendored
|
@ -1 +1 @@
|
|||
Subproject commit b052f432fa7162f5ad946dc7b6c62969e0172610
|
||||
Subproject commit ce25215aa1b7396f16b75a9077cdfeeaf5fa8b4e
|
Loading…
Reference in a new issue