diff --git a/src/Miningcore/Blockchain/Kaspa/KaspaClientFactory.cs b/src/Miningcore/Blockchain/Kaspa/KaspaClientFactory.cs index 90058b90e..f269d0605 100644 --- a/src/Miningcore/Blockchain/Kaspa/KaspaClientFactory.cs +++ b/src/Miningcore/Blockchain/Kaspa/KaspaClientFactory.cs @@ -15,7 +15,7 @@ namespace Miningcore.Blockchain.Kaspa; public static class KaspaClientFactory { - public static kaspad.KaspadRPC.KaspadRPCClient CreateKaspadRPCClient(DaemonEndpointConfig[] daemonEndpoints, string protobufDaemonRpcServiceName) + public static kaspad.RPC.RPCClient CreateKaspadRPCClient(DaemonEndpointConfig[] daemonEndpoints, string protobufDaemonRpcServiceName) { var daemonEndpoint = daemonEndpoints.First(); @@ -44,7 +44,7 @@ public static kaspad.KaspadRPC.KaspadRPCClient CreateKaspadRPCClient(DaemonEndpo MaxSendMessageSize = 2097152 // 2MB }); - return new kaspad.KaspadRPC.KaspadRPCClient(new kaspad.KaspadRPC(protobufDaemonRpcServiceName), channel); + return new kaspad.RPC.RPCClient(channel); } public static kaspaWalletd.KaspaWalletdRPC.KaspaWalletdRPCClient CreateKaspaWalletdRPCClient(DaemonEndpointConfig[] daemonEndpoints, string protobufWalletRpcServiceName) diff --git a/src/Miningcore/Blockchain/Kaspa/KaspaJobManager.cs b/src/Miningcore/Blockchain/Kaspa/KaspaJobManager.cs index d5d35042c..8580de944 100644 --- a/src/Miningcore/Blockchain/Kaspa/KaspaJobManager.cs +++ b/src/Miningcore/Blockchain/Kaspa/KaspaJobManager.cs @@ -52,7 +52,7 @@ public KaspaJobManager( private DaemonEndpointConfig[] daemonEndpoints; private DaemonEndpointConfig[] walletDaemonEndpoints; private KaspaCoinTemplate coin; - private kaspad.KaspadRPC.KaspadRPCClient rpc; + private kaspad.RPC.RPCClient rpc; private kaspaWalletd.KaspaWalletdRPC.KaspaWalletdRPCClient walletRpc; private string network; private readonly List validJobs = new(); @@ -82,11 +82,11 @@ public KaspaJobManager( var streamNotifyNewBlockTemplate = rpc.MessageStream(null, null, cts.Token); // we need a request for subscribing to NotifyNewBlockTemplate - var requestNotifyNewBlockTemplate = new kaspad.KaspadMessage(); + var requestNotifyNewBlockTemplate = new kaspad.KaspadRequest(); requestNotifyNewBlockTemplate.NotifyNewBlockTemplateRequest = new kaspad.NotifyNewBlockTemplateRequestMessage(); // we need a request for retrieving BlockTemplate - var requestBlockTemplate = new kaspad.KaspadMessage(); + var requestBlockTemplate = new kaspad.KaspadRequest(); requestBlockTemplate.GetBlockTemplateRequest = new kaspad.GetBlockTemplateRequestMessage { PayAddress = poolConfig.Address, @@ -435,7 +435,7 @@ private async Task UpdateNetworkStatsAsync(CancellationToken ct) // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.EstimateNetworkHashesPerSecondRequest = new kaspad.EstimateNetworkHashesPerSecondRequestMessage { WindowSize = 1000, @@ -449,7 +449,7 @@ private async Task UpdateNetworkStatsAsync(CancellationToken ct) break; } - request = new kaspad.KaspadMessage(); + request = new kaspad.KaspadRequest(); request.GetConnectedPeerInfoRequest = new kaspad.GetConnectedPeerInfoRequestMessage(); await stream.RequestStream.WriteAsync(request); await foreach (var info in stream.ResponseStream.ReadAllAsync(ct)) @@ -473,7 +473,7 @@ private async Task ShowDaemonSyncProgressAsync(CancellationToken ct) // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetInfoRequest = new kaspad.GetInfoRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> logger.Debug(ex)); @@ -502,7 +502,7 @@ private async Task SubmitBlockAsync(CancellationToken ct, kaspad.RpcBlock // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.SubmitBlockRequest = new kaspad.SubmitBlockRequestMessage { Block = block, @@ -690,7 +690,7 @@ protected override async Task PostStartInitAsync(CancellationToken ct) // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetCurrentNetworkRequest = new kaspad.GetCurrentNetworkRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> throw new PoolStartupException($"Error writing a request in the communication stream '{ex.GetType().Name}' : {ex}", poolConfig.Id)); @@ -713,7 +713,7 @@ await Guard(() => stream.RequestStream.WriteAsync(request), BlockchainStats.NetworkType = network; BlockchainStats.RewardType = "POW"; - request = new kaspad.KaspadMessage(); + request = new kaspad.KaspadRequest(); request.GetInfoRequest = new kaspad.GetInfoRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> throw new PoolStartupException($"Error writing a request in the communication stream '{ex.GetType().Name}' : {ex}", poolConfig.Id)); @@ -822,7 +822,7 @@ protected override async Task AreDaemonsHealthyAsync(CancellationToken ct) // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetInfoRequest = new kaspad.GetInfoRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> logger.Debug(ex)); @@ -870,7 +870,7 @@ protected override async Task AreDaemonsConnectedAsync(CancellationToken c // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetConnectedPeerInfoRequest = new kaspad.GetConnectedPeerInfoRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> logger.Debug(ex)); @@ -905,7 +905,7 @@ protected override async Task EnsureDaemonsSynchedAsync(CancellationToken ct) // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetInfoRequest = new kaspad.GetInfoRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> logger.Debug(ex)); diff --git a/src/Miningcore/Blockchain/Kaspa/KaspaPayoutHandler.cs b/src/Miningcore/Blockchain/Kaspa/KaspaPayoutHandler.cs index 5ad881a51..748d98c5b 100644 --- a/src/Miningcore/Blockchain/Kaspa/KaspaPayoutHandler.cs +++ b/src/Miningcore/Blockchain/Kaspa/KaspaPayoutHandler.cs @@ -47,8 +47,8 @@ public KaspaPayoutHandler( } protected readonly IComponentContext ctx; - protected kaspad.KaspadRPC.KaspadRPCClient rpc; protected kaspaWalletd.KaspaWalletdRPC.KaspaWalletdRPCClient walletRpc; + protected kaspad.RPC.RPCClient rpc; private string network; private KaspaPoolConfigExtra extraPoolConfig; private KaspaPaymentProcessingConfigExtra extraPoolPaymentProcessingConfig; @@ -87,7 +87,7 @@ public virtual async Task ConfigureAsync(ClusterConfig cc, PoolConfig pc, Cancel // we need a stream to communicate with Kaspad var stream = rpc.MessageStream(null, null, ct); - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetCurrentNetworkRequest = new kaspad.GetCurrentNetworkRequestMessage(); await Guard(() => stream.RequestStream.WriteAsync(request), ex=> throw new PaymentException($"Error writing a request in the communication stream '{ex.GetType().Name}' : {ex}")); @@ -131,7 +131,7 @@ public virtual async Task ClassifyBlocksAsync(IMiningPool pool, Block[] { var block = page[j]; - var request = new kaspad.KaspadMessage(); + var request = new kaspad.KaspadRequest(); request.GetBlockRequest = new kaspad.GetBlockRequestMessage { Hash = (string) block.Hash, @@ -157,7 +157,7 @@ await Guard(() => stream.RequestStream.WriteAsync(request), { logger.Info(() => $"[{LogCategory}] Block {block.BlockHeight} uses a custom minimum confirmations calculation [{minConfirmations}]"); - var requestConfirmations = new kaspad.KaspadMessage(); + var requestConfirmations = new kaspad.KaspadRequest(); requestConfirmations.GetBlocksRequest = new kaspad.GetBlocksRequestMessage { LowHash = (string) block.Hash, @@ -190,7 +190,7 @@ await Guard(() => stream.RequestStream.WriteAsync(requestConfirmations), { logger.Debug(() => $"[{LogCategory}] Block {block.BlockHeight} contains child: {childrenHash}"); - var requestChildren = new kaspad.KaspadMessage(); + var requestChildren = new kaspad.KaspadRequest(); requestChildren.GetBlockRequest = new kaspad.GetBlockRequestMessage { Hash = childrenHash, diff --git a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Messages.cs b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Messages.cs index 0d3ccfe6e..8adc02dda 100644 --- a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Messages.cs +++ b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Messages.cs @@ -2,16 +2,15 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: messages.proto // -#pragma warning disable 1591, 0612, 3021 +#pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; namespace Miningcore.Blockchain.Kaspa.Kaspad { - using pb = global::Google.Protobuf; - using pbc = global::Google.Protobuf.Collections; - using pbr = global::Google.Protobuf.Reflection; - using scg = global::System.Collections.Generic; - /// Holder for reflection information generated from messages.proto public static partial class MessagesReflection { @@ -25,672 +24,418 @@ public static partial class MessagesReflection { static MessagesReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg5tZXNzYWdlcy5wcm90bxIJcHJvdG93aXJlGglwMnAucHJvdG8aCXJwYy5w", - "cm90byLRUgoNS2FzcGFkTWVzc2FnZRIwCglhZGRyZXNzZXMYASABKAsyGy5w", - "cm90b3dpcmUuQWRkcmVzc2VzTWVzc2FnZUgAEigKBWJsb2NrGAIgASgLMhcu", - "cHJvdG93aXJlLkJsb2NrTWVzc2FnZUgAEjQKC3RyYW5zYWN0aW9uGAMgASgL", - "Mh0ucHJvdG93aXJlLlRyYW5zYWN0aW9uTWVzc2FnZUgAEjYKDGJsb2NrTG9j", - "YXRvchgFIAEoCzIeLnByb3Rvd2lyZS5CbG9ja0xvY2F0b3JNZXNzYWdlSAAS", - "PgoQcmVxdWVzdEFkZHJlc3NlcxgGIAEoCzIiLnByb3Rvd2lyZS5SZXF1ZXN0", - "QWRkcmVzc2VzTWVzc2FnZUgAEkIKEnJlcXVlc3RSZWxheUJsb2NrcxgKIAEo", - "CzIkLnByb3Rvd2lyZS5SZXF1ZXN0UmVsYXlCbG9ja3NNZXNzYWdlSAASRAoT", - "cmVxdWVzdFRyYW5zYWN0aW9ucxgMIAEoCzIlLnByb3Rvd2lyZS5SZXF1ZXN0", - "VHJhbnNhY3Rpb25zTWVzc2FnZUgAEisKCGliZEJsb2NrGA0gASgLMhcucHJv", - "dG93aXJlLkJsb2NrTWVzc2FnZUgAEjgKDWludlJlbGF5QmxvY2sYDiABKAsy", - "Hy5wcm90b3dpcmUuSW52UmVsYXlCbG9ja01lc3NhZ2VIABI8Cg9pbnZUcmFu", - "c2FjdGlvbnMYDyABKAsyIS5wcm90b3dpcmUuSW52VHJhbnNhY3Rpb25zTWVz", - "c2FnZUgAEiYKBHBpbmcYECABKAsyFi5wcm90b3dpcmUuUGluZ01lc3NhZ2VI", - "ABImCgRwb25nGBEgASgLMhYucHJvdG93aXJlLlBvbmdNZXNzYWdlSAASKgoG", - "dmVyYWNrGBMgASgLMhgucHJvdG93aXJlLlZlcmFja01lc3NhZ2VIABIsCgd2", - "ZXJzaW9uGBQgASgLMhkucHJvdG93aXJlLlZlcnNpb25NZXNzYWdlSAASRAoT", - "dHJhbnNhY3Rpb25Ob3RGb3VuZBgVIAEoCzIlLnByb3Rvd2lyZS5UcmFuc2Fj", - "dGlvbk5vdEZvdW5kTWVzc2FnZUgAEioKBnJlamVjdBgWIAEoCzIYLnByb3Rv", - "d2lyZS5SZWplY3RNZXNzYWdlSAASTgoYcHJ1bmluZ1BvaW50VXR4b1NldENo", - "dW5rGBkgASgLMioucHJvdG93aXJlLlBydW5pbmdQb2ludFV0eG9TZXRDaHVu", - "a01lc3NhZ2VIABI+ChByZXF1ZXN0SUJEQmxvY2tzGBogASgLMiIucHJvdG93", - "aXJlLlJlcXVlc3RJQkRCbG9ja3NNZXNzYWdlSAASSgoWdW5leHBlY3RlZFBy", - "dW5pbmdQb2ludBgbIAEoCzIoLnByb3Rvd2lyZS5VbmV4cGVjdGVkUHJ1bmlu", - "Z1BvaW50TWVzc2FnZUgAEjwKD2liZEJsb2NrTG9jYXRvchgeIAEoCzIhLnBy", - "b3Rvd2lyZS5JYmRCbG9ja0xvY2F0b3JNZXNzYWdlSAASUgoaaWJkQmxvY2tM", - "b2NhdG9ySGlnaGVzdEhhc2gYHyABKAsyLC5wcm90b3dpcmUuSWJkQmxvY2tM", - "b2NhdG9ySGlnaGVzdEhhc2hNZXNzYWdlSAASZAojcmVxdWVzdE5leHRQcnVu", - "aW5nUG9pbnRVdHhvU2V0Q2h1bmsYISABKAsyNS5wcm90b3dpcmUuUmVxdWVz", - "dE5leHRQcnVuaW5nUG9pbnRVdHhvU2V0Q2h1bmtNZXNzYWdlSAASWAodZG9u", - "ZVBydW5pbmdQb2ludFV0eG9TZXRDaHVua3MYIiABKAsyLy5wcm90b3dpcmUu", - "RG9uZVBydW5pbmdQb2ludFV0eG9TZXRDaHVua3NNZXNzYWdlSAASYgoiaWJk", - "QmxvY2tMb2NhdG9ySGlnaGVzdEhhc2hOb3RGb3VuZBgjIAEoCzI0LnByb3Rv", - "d2lyZS5JYmRCbG9ja0xvY2F0b3JIaWdoZXN0SGFzaE5vdEZvdW5kTWVzc2Fn", - "ZUgAEkYKFGJsb2NrV2l0aFRydXN0ZWREYXRhGCQgASgLMiYucHJvdG93aXJl", - "LkJsb2NrV2l0aFRydXN0ZWREYXRhTWVzc2FnZUgAElAKGWRvbmVCbG9ja3NX", - "aXRoVHJ1c3RlZERhdGEYJSABKAsyKy5wcm90b3dpcmUuRG9uZUJsb2Nrc1dp", - "dGhUcnVzdGVkRGF0YU1lc3NhZ2VIABJgCiFyZXF1ZXN0UHJ1bmluZ1BvaW50", - "QW5kSXRzQW50aWNvbmUYKCABKAsyMy5wcm90b3dpcmUuUmVxdWVzdFBydW5p", - "bmdQb2ludEFuZEl0c0FudGljb25lTWVzc2FnZUgAEjYKDGJsb2NrSGVhZGVy", - "cxgpIAEoCzIeLnByb3Rvd2lyZS5CbG9ja0hlYWRlcnNNZXNzYWdlSAASQgoS", - "cmVxdWVzdE5leHRIZWFkZXJzGCogASgLMiQucHJvdG93aXJlLlJlcXVlc3RO", - "ZXh0SGVhZGVyc01lc3NhZ2VIABI0CgtEb25lSGVhZGVycxgrIAEoCzIdLnBy", - "b3Rvd2lyZS5Eb25lSGVhZGVyc01lc3NhZ2VIABJSChpyZXF1ZXN0UHJ1bmlu", - "Z1BvaW50VVRYT1NldBgsIAEoCzIsLnByb3Rvd2lyZS5SZXF1ZXN0UHJ1bmlu", - "Z1BvaW50VVRYT1NldE1lc3NhZ2VIABI6Cg5yZXF1ZXN0SGVhZGVycxgtIAEo", - "CzIgLnByb3Rvd2lyZS5SZXF1ZXN0SGVhZGVyc01lc3NhZ2VIABJEChNyZXF1", - "ZXN0QmxvY2tMb2NhdG9yGC4gASgLMiUucHJvdG93aXJlLlJlcXVlc3RCbG9j", - "a0xvY2F0b3JNZXNzYWdlSAASOAoNcHJ1bmluZ1BvaW50cxgvIAEoCzIfLnBy", - "b3Rvd2lyZS5QcnVuaW5nUG9pbnRzTWVzc2FnZUgAEk4KGHJlcXVlc3RQcnVu", - "aW5nUG9pbnRQcm9vZhgwIAEoCzIqLnByb3Rvd2lyZS5SZXF1ZXN0UHJ1bmlu", - "Z1BvaW50UHJvb2ZNZXNzYWdlSAASQAoRcHJ1bmluZ1BvaW50UHJvb2YYMSAB", - "KAsyIy5wcm90b3dpcmUuUHJ1bmluZ1BvaW50UHJvb2ZNZXNzYWdlSAASKAoF", - "cmVhZHkYMiABKAsyFy5wcm90b3dpcmUuUmVhZHlNZXNzYWdlSAASSgoWYmxv", - "Y2tXaXRoVHJ1c3RlZERhdGFWNBgzIAEoCzIoLnByb3Rvd2lyZS5CbG9ja1dp", - "dGhUcnVzdGVkRGF0YVY0TWVzc2FnZUgAEjQKC3RydXN0ZWREYXRhGDQgASgL", - "Mh0ucHJvdG93aXJlLlRydXN0ZWREYXRhTWVzc2FnZUgAElQKG3JlcXVlc3RJ", - "QkRDaGFpbkJsb2NrTG9jYXRvchg1IAEoCzItLnByb3Rvd2lyZS5SZXF1ZXN0", - "SUJEQ2hhaW5CbG9ja0xvY2F0b3JNZXNzYWdlSAASRgoUaWJkQ2hhaW5CbG9j", - "a0xvY2F0b3IYNiABKAsyJi5wcm90b3dpcmUuSWJkQ2hhaW5CbG9ja0xvY2F0", - "b3JNZXNzYWdlSAASPAoPcmVxdWVzdEFudGljb25lGDcgASgLMiEucHJvdG93", - "aXJlLlJlcXVlc3RBbnRpY29uZU1lc3NhZ2VIABJ0CityZXF1ZXN0TmV4dFBy", - "dW5pbmdQb2ludEFuZEl0c0FudGljb25lQmxvY2tzGDggASgLMj0ucHJvdG93", - "aXJlLlJlcXVlc3ROZXh0UHJ1bmluZ1BvaW50QW5kSXRzQW50aWNvbmVCbG9j", - "a3NNZXNzYWdlSAASTwoYZ2V0Q3VycmVudE5ldHdvcmtSZXF1ZXN0GOkHIAEo", - "CzIqLnByb3Rvd2lyZS5HZXRDdXJyZW50TmV0d29ya1JlcXVlc3RNZXNzYWdl", - "SAASUQoZZ2V0Q3VycmVudE5ldHdvcmtSZXNwb25zZRjqByABKAsyKy5wcm90", - "b3dpcmUuR2V0Q3VycmVudE5ldHdvcmtSZXNwb25zZU1lc3NhZ2VIABJDChJz", - "dWJtaXRCbG9ja1JlcXVlc3QY6wcgASgLMiQucHJvdG93aXJlLlN1Ym1pdEJs", - "b2NrUmVxdWVzdE1lc3NhZ2VIABJFChNzdWJtaXRCbG9ja1Jlc3BvbnNlGOwH", - "IAEoCzIlLnByb3Rvd2lyZS5TdWJtaXRCbG9ja1Jlc3BvbnNlTWVzc2FnZUgA", - "Ek0KF2dldEJsb2NrVGVtcGxhdGVSZXF1ZXN0GO0HIAEoCzIpLnByb3Rvd2ly", - "ZS5HZXRCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2VIABJPChhnZXRCbG9j", - "a1RlbXBsYXRlUmVzcG9uc2UY7gcgASgLMioucHJvdG93aXJlLkdldEJsb2Nr", - "VGVtcGxhdGVSZXNwb25zZU1lc3NhZ2VIABJNChdub3RpZnlCbG9ja0FkZGVk", - "UmVxdWVzdBjvByABKAsyKS5wcm90b3dpcmUuTm90aWZ5QmxvY2tBZGRlZFJl", - "cXVlc3RNZXNzYWdlSAASTwoYbm90aWZ5QmxvY2tBZGRlZFJlc3BvbnNlGPAH", + "Cg5tZXNzYWdlcy5wcm90bxIJcHJvdG93aXJlGglycGMucHJvdG8i7yAKDUth", + "c3BhZFJlcXVlc3QSCgoCaWQYZSABKAQSTwoYZ2V0Q3VycmVudE5ldHdvcmtS", + "ZXF1ZXN0GOkHIAEoCzIqLnByb3Rvd2lyZS5HZXRDdXJyZW50TmV0d29ya1Jl", + "cXVlc3RNZXNzYWdlSAASQwoSc3VibWl0QmxvY2tSZXF1ZXN0GOsHIAEoCzIk", + "LnByb3Rvd2lyZS5TdWJtaXRCbG9ja1JlcXVlc3RNZXNzYWdlSAASTQoXZ2V0", + "QmxvY2tUZW1wbGF0ZVJlcXVlc3QY7QcgASgLMikucHJvdG93aXJlLkdldEJs", + "b2NrVGVtcGxhdGVSZXF1ZXN0TWVzc2FnZUgAEk0KF25vdGlmeUJsb2NrQWRk", + "ZWRSZXF1ZXN0GO8HIAEoCzIpLnByb3Rvd2lyZS5Ob3RpZnlCbG9ja0FkZGVk", + "UmVxdWVzdE1lc3NhZ2VIABJNChdnZXRQZWVyQWRkcmVzc2VzUmVxdWVzdBjy", + "ByABKAsyKS5wcm90b3dpcmUuR2V0UGVlckFkZHJlc3Nlc1JlcXVlc3RNZXNz", + "YWdlSAASOwoOR2V0U2lua1JlcXVlc3QY9AcgASgLMiAucHJvdG93aXJlLkdl", + "dFNpbmtSZXF1ZXN0TWVzc2FnZUgAEksKFmdldE1lbXBvb2xFbnRyeVJlcXVl", + "c3QY9gcgASgLMigucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyeVJlcXVlc3RN", + "ZXNzYWdlSAASVQobZ2V0Q29ubmVjdGVkUGVlckluZm9SZXF1ZXN0GPgHIAEo", + "CzItLnByb3Rvd2lyZS5HZXRDb25uZWN0ZWRQZWVySW5mb1JlcXVlc3RNZXNz", + "YWdlSAASOwoOYWRkUGVlclJlcXVlc3QY+gcgASgLMiAucHJvdG93aXJlLkFk", + "ZFBlZXJSZXF1ZXN0TWVzc2FnZUgAEk8KGHN1Ym1pdFRyYW5zYWN0aW9uUmVx", + "dWVzdBj8ByABKAsyKi5wcm90b3dpcmUuU3VibWl0VHJhbnNhY3Rpb25SZXF1", + "ZXN0TWVzc2FnZUgAEl8KIG5vdGlmeVZpcnR1YWxDaGFpbkNoYW5nZWRSZXF1", + "ZXN0GP4HIAEoCzIyLnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsQ2hhaW5DaGFu", + "Z2VkUmVxdWVzdE1lc3NhZ2VIABI9Cg9nZXRCbG9ja1JlcXVlc3QYgQggASgL", + "MiEucHJvdG93aXJlLkdldEJsb2NrUmVxdWVzdE1lc3NhZ2VIABJHChRnZXRT", + "dWJuZXR3b3JrUmVxdWVzdBiDCCABKAsyJi5wcm90b3dpcmUuR2V0U3VibmV0", + "d29ya1JlcXVlc3RNZXNzYWdlSAASXQofZ2V0VmlydHVhbENoYWluRnJvbUJs", + "b2NrUmVxdWVzdBiFCCABKAsyMS5wcm90b3dpcmUuR2V0VmlydHVhbENoYWlu", + "RnJvbUJsb2NrUmVxdWVzdE1lc3NhZ2VIABI/ChBnZXRCbG9ja3NSZXF1ZXN0", + "GIcIIAEoCzIiLnByb3Rvd2lyZS5HZXRCbG9ja3NSZXF1ZXN0TWVzc2FnZUgA", + "EkcKFGdldEJsb2NrQ291bnRSZXF1ZXN0GIkIIAEoCzImLnByb3Rvd2lyZS5H", + "ZXRCbG9ja0NvdW50UmVxdWVzdE1lc3NhZ2VIABJLChZnZXRCbG9ja0RhZ0lu", + "Zm9SZXF1ZXN0GIsIIAEoCzIoLnByb3Rvd2lyZS5HZXRCbG9ja0RhZ0luZm9S", + "ZXF1ZXN0TWVzc2FnZUgAElsKHnJlc29sdmVGaW5hbGl0eUNvbmZsaWN0UmVx", + "dWVzdBiNCCABKAsyMC5wcm90b3dpcmUuUmVzb2x2ZUZpbmFsaXR5Q29uZmxp", + "Y3RSZXF1ZXN0TWVzc2FnZUgAElkKHW5vdGlmeUZpbmFsaXR5Q29uZmxpY3RS", + "ZXF1ZXN0GI8IIAEoCzIvLnByb3Rvd2lyZS5Ob3RpZnlGaW5hbGl0eUNvbmZs", + "aWN0UmVxdWVzdE1lc3NhZ2VIABJPChhnZXRNZW1wb29sRW50cmllc1JlcXVl", + "c3QYkwggASgLMioucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzUmVxdWVz", + "dE1lc3NhZ2VIABI9Cg9zaHV0ZG93blJlcXVlc3QYlQggASgLMiEucHJvdG93", + "aXJlLlNodXRkb3duUmVxdWVzdE1lc3NhZ2VIABJBChFnZXRIZWFkZXJzUmVx", + "dWVzdBiXCCABKAsyIy5wcm90b3dpcmUuR2V0SGVhZGVyc1JlcXVlc3RNZXNz", + "YWdlSAASUQoZbm90aWZ5VXR4b3NDaGFuZ2VkUmVxdWVzdBiZCCABKAsyKy5w", + "cm90b3dpcmUuTm90aWZ5VXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIABJT", + "ChpnZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdBicCCABKAsyLC5wcm90b3dp", + "cmUuR2V0VXR4b3NCeUFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSAASTQoXZ2V0", + "U2lua0JsdWVTY29yZVJlcXVlc3QYngggASgLMikucHJvdG93aXJlLkdldFNp", + "bmtCbHVlU2NvcmVSZXF1ZXN0TWVzc2FnZUgAEmEKIW5vdGlmeVNpbmtCbHVl", + "U2NvcmVDaGFuZ2VkUmVxdWVzdBigCCABKAsyMy5wcm90b3dpcmUuTm90aWZ5", + "U2lua0JsdWVTY29yZUNoYW5nZWRSZXF1ZXN0TWVzc2FnZUgAEjMKCmJhblJl", + "cXVlc3QYowggASgLMhwucHJvdG93aXJlLkJhblJlcXVlc3RNZXNzYWdlSAAS", + "NwoMdW5iYW5SZXF1ZXN0GKUIIAEoCzIeLnByb3Rvd2lyZS5VbmJhblJlcXVl", + "c3RNZXNzYWdlSAASOwoOZ2V0SW5mb1JlcXVlc3QYpwggASgLMiAucHJvdG93", + "aXJlLkdldEluZm9SZXF1ZXN0TWVzc2FnZUgAEl8KIHN0b3BOb3RpZnlpbmdV", + "dHhvc0NoYW5nZWRSZXF1ZXN0GKkIIAEoCzIyLnByb3Rvd2lyZS5TdG9wTm90", + "aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIABJvCihub3RpZnlQ", + "cnVuaW5nUG9pbnRVdHhvU2V0T3ZlcnJpZGVSZXF1ZXN0GKsIIAEoCzI6LnBy", + "b3Rvd2lyZS5Ob3RpZnlQcnVuaW5nUG9pbnRVdHhvU2V0T3ZlcnJpZGVSZXF1", + "ZXN0TWVzc2FnZUgAEn0KL3N0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVdHhv", + "U2V0T3ZlcnJpZGVSZXF1ZXN0GK4IIAEoCzJBLnByb3Rvd2lyZS5TdG9wTm90", + "aWZ5aW5nUHJ1bmluZ1BvaW50VXR4b1NldE92ZXJyaWRlUmVxdWVzdE1lc3Nh", + "Z2VIABJpCiVlc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJTZWNvbmRSZXF1ZXN0", + "GLAIIAEoCzI3LnByb3Rvd2lyZS5Fc3RpbWF0ZU5ldHdvcmtIYXNoZXNQZXJT", + "ZWNvbmRSZXF1ZXN0TWVzc2FnZUgAEmUKI25vdGlmeVZpcnR1YWxEYWFTY29y", + "ZUNoYW5nZWRSZXF1ZXN0GLIIIAEoCzI1LnByb3Rvd2lyZS5Ob3RpZnlWaXJ0", + "dWFsRGFhU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2VIABJTChpnZXRCYWxh", + "bmNlQnlBZGRyZXNzUmVxdWVzdBi1CCABKAsyLC5wcm90b3dpcmUuR2V0QmFs", + "YW5jZUJ5QWRkcmVzc1JlcXVlc3RNZXNzYWdlSAASWQodZ2V0QmFsYW5jZXNC", + "eUFkZHJlc3Nlc1JlcXVlc3QYtwggASgLMi8ucHJvdG93aXJlLkdldEJhbGFu", + "Y2VzQnlBZGRyZXNzZXNSZXF1ZXN0TWVzc2FnZUgAElkKHW5vdGlmeU5ld0Js", + "b2NrVGVtcGxhdGVSZXF1ZXN0GLkIIAEoCzIvLnByb3Rvd2lyZS5Ob3RpZnlO", + "ZXdCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2VIABJlCiNnZXRNZW1wb29s", + "RW50cmllc0J5QWRkcmVzc2VzUmVxdWVzdBi8CCABKAsyNS5wcm90b3dpcmUu", + "R2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSAAS", + "RwoUZ2V0Q29pblN1cHBseVJlcXVlc3QYvgggASgLMiYucHJvdG93aXJlLkdl", + "dENvaW5TdXBwbHlSZXF1ZXN0TWVzc2FnZUgAEjUKC3BpbmdSZXF1ZXN0GMAI", + "IAEoCzIdLnByb3Rvd2lyZS5QaW5nUmVxdWVzdE1lc3NhZ2VIABJBChFnZXRN", + "ZXRyaWNzUmVxdWVzdBjCCCABKAsyIy5wcm90b3dpcmUuR2V0TWV0cmljc1Jl", + "cXVlc3RNZXNzYWdlSAASRwoUZ2V0U2VydmVySW5mb1JlcXVlc3QYxAggASgL", + "MiYucHJvdG93aXJlLkdldFNlcnZlckluZm9SZXF1ZXN0TWVzc2FnZUgAEkcK", + "FGdldFN5bmNTdGF0dXNSZXF1ZXN0GMYIIAEoCzImLnByb3Rvd2lyZS5HZXRT", + "eW5jU3RhdHVzUmVxdWVzdE1lc3NhZ2VIABJlCiNnZXREYWFTY29yZVRpbWVz", + "dGFtcEVzdGltYXRlUmVxdWVzdBjICCABKAsyNS5wcm90b3dpcmUuR2V0RGFh", + "U2NvcmVUaW1lc3RhbXBFc3RpbWF0ZVJlcXVlc3RNZXNzYWdlSAASZQojc3Vi", + "bWl0VHJhbnNhY3Rpb25SZXBsYWNlbWVudFJlcXVlc3QYzAggASgLMjUucHJv", + "dG93aXJlLlN1Ym1pdFRyYW5zYWN0aW9uUmVwbGFjZW1lbnRSZXF1ZXN0TWVz", + "c2FnZUgAEkkKFWdldENvbm5lY3Rpb25zUmVxdWVzdBjOCCABKAsyJy5wcm90", + "b3dpcmUuR2V0Q29ubmVjdGlvbnNSZXF1ZXN0TWVzc2FnZUgAEkcKFGdldFN5", + "c3RlbUluZm9SZXF1ZXN0GNAIIAEoCzImLnByb3Rvd2lyZS5HZXRTeXN0ZW1J", + "bmZvUmVxdWVzdE1lc3NhZ2VIABJJChVnZXRGZWVFc3RpbWF0ZVJlcXVlc3QY", + "0gggASgLMicucHJvdG93aXJlLkdldEZlZUVzdGltYXRlUmVxdWVzdE1lc3Nh", + "Z2VIABJhCiFnZXRGZWVFc3RpbWF0ZUV4cGVyaW1lbnRhbFJlcXVlc3QY1Agg", + "ASgLMjMucHJvdG93aXJlLkdldEZlZUVzdGltYXRlRXhwZXJpbWVudGFsUmVx", + "dWVzdE1lc3NhZ2VIABJVChtnZXRDdXJyZW50QmxvY2tDb2xvclJlcXVlc3QY", + "1gggASgLMi0ucHJvdG93aXJlLkdldEN1cnJlbnRCbG9ja0NvbG9yUmVxdWVz", + "dE1lc3NhZ2VIABJVChtHZXRVdHhvUmV0dXJuQWRkcmVzc1JlcXVlc3QY2Agg", + "ASgLMi0ucHJvdG93aXJlLkdldFV0eG9SZXR1cm5BZGRyZXNzUmVxdWVzdE1l", + "c3NhZ2VIAEIJCgdwYXlsb2FkIqMoCg5LYXNwYWRSZXNwb25zZRIKCgJpZBhl", + "IAEoBBJRChlnZXRDdXJyZW50TmV0d29ya1Jlc3BvbnNlGOoHIAEoCzIrLnBy", + "b3Rvd2lyZS5HZXRDdXJyZW50TmV0d29ya1Jlc3BvbnNlTWVzc2FnZUgAEkUK", + "E3N1Ym1pdEJsb2NrUmVzcG9uc2UY7AcgASgLMiUucHJvdG93aXJlLlN1Ym1p", + "dEJsb2NrUmVzcG9uc2VNZXNzYWdlSAASTwoYZ2V0QmxvY2tUZW1wbGF0ZVJl", + "c3BvbnNlGO4HIAEoCzIqLnByb3Rvd2lyZS5HZXRCbG9ja1RlbXBsYXRlUmVz", + "cG9uc2VNZXNzYWdlSAASTwoYbm90aWZ5QmxvY2tBZGRlZFJlc3BvbnNlGPAH", "IAEoCzIqLnByb3Rvd2lyZS5Ob3RpZnlCbG9ja0FkZGVkUmVzcG9uc2VNZXNz", "YWdlSAASSwoWYmxvY2tBZGRlZE5vdGlmaWNhdGlvbhjxByABKAsyKC5wcm90", - "b3dpcmUuQmxvY2tBZGRlZE5vdGlmaWNhdGlvbk1lc3NhZ2VIABJNChdnZXRQ", - "ZWVyQWRkcmVzc2VzUmVxdWVzdBjyByABKAsyKS5wcm90b3dpcmUuR2V0UGVl", - "ckFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSAASTwoYZ2V0UGVlckFkZHJlc3Nl", - "c1Jlc3BvbnNlGPMHIAEoCzIqLnByb3Rvd2lyZS5HZXRQZWVyQWRkcmVzc2Vz", - "UmVzcG9uc2VNZXNzYWdlSAASUQoZZ2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVz", - "dBj0ByABKAsyKy5wcm90b3dpcmUuR2V0U2VsZWN0ZWRUaXBIYXNoUmVxdWVz", - "dE1lc3NhZ2VIABJTChpnZXRTZWxlY3RlZFRpcEhhc2hSZXNwb25zZRj1ByAB", - "KAsyLC5wcm90b3dpcmUuR2V0U2VsZWN0ZWRUaXBIYXNoUmVzcG9uc2VNZXNz", - "YWdlSAASSwoWZ2V0TWVtcG9vbEVudHJ5UmVxdWVzdBj2ByABKAsyKC5wcm90", - "b3dpcmUuR2V0TWVtcG9vbEVudHJ5UmVxdWVzdE1lc3NhZ2VIABJNChdnZXRN", - "ZW1wb29sRW50cnlSZXNwb25zZRj3ByABKAsyKS5wcm90b3dpcmUuR2V0TWVt", - "cG9vbEVudHJ5UmVzcG9uc2VNZXNzYWdlSAASVQobZ2V0Q29ubmVjdGVkUGVl", - "ckluZm9SZXF1ZXN0GPgHIAEoCzItLnByb3Rvd2lyZS5HZXRDb25uZWN0ZWRQ", - "ZWVySW5mb1JlcXVlc3RNZXNzYWdlSAASVwocZ2V0Q29ubmVjdGVkUGVlcklu", - "Zm9SZXNwb25zZRj5ByABKAsyLi5wcm90b3dpcmUuR2V0Q29ubmVjdGVkUGVl", - "ckluZm9SZXNwb25zZU1lc3NhZ2VIABI7Cg5hZGRQZWVyUmVxdWVzdBj6ByAB", - "KAsyIC5wcm90b3dpcmUuQWRkUGVlclJlcXVlc3RNZXNzYWdlSAASPQoPYWRk", - "UGVlclJlc3BvbnNlGPsHIAEoCzIhLnByb3Rvd2lyZS5BZGRQZWVyUmVzcG9u", - "c2VNZXNzYWdlSAASTwoYc3VibWl0VHJhbnNhY3Rpb25SZXF1ZXN0GPwHIAEo", - "CzIqLnByb3Rvd2lyZS5TdWJtaXRUcmFuc2FjdGlvblJlcXVlc3RNZXNzYWdl", - "SAASUQoZc3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZRj9ByABKAsyKy5wcm90", - "b3dpcmUuU3VibWl0VHJhbnNhY3Rpb25SZXNwb25zZU1lc3NhZ2VIABJ7Ci5u", - "b3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNoYW5nZWRSZXF1ZXN0", - "GP4HIAEoCzJALnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJl", - "bnRDaGFpbkNoYW5nZWRSZXF1ZXN0TWVzc2FnZUgAEn0KL25vdGlmeVZpcnR1", - "YWxTZWxlY3RlZFBhcmVudENoYWluQ2hhbmdlZFJlc3BvbnNlGP8HIAEoCzJB", - "LnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkNo", - "YW5nZWRSZXNwb25zZU1lc3NhZ2VIABJ5Ci12aXJ0dWFsU2VsZWN0ZWRQYXJl", - "bnRDaGFpbkNoYW5nZWROb3RpZmljYXRpb24YgAggASgLMj8ucHJvdG93aXJl", - "LlZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluQ2hhbmdlZE5vdGlmaWNhdGlv", - "bk1lc3NhZ2VIABI9Cg9nZXRCbG9ja1JlcXVlc3QYgQggASgLMiEucHJvdG93", - "aXJlLkdldEJsb2NrUmVxdWVzdE1lc3NhZ2VIABI/ChBnZXRCbG9ja1Jlc3Bv", - "bnNlGIIIIAEoCzIiLnByb3Rvd2lyZS5HZXRCbG9ja1Jlc3BvbnNlTWVzc2Fn", - "ZUgAEkcKFGdldFN1Ym5ldHdvcmtSZXF1ZXN0GIMIIAEoCzImLnByb3Rvd2ly", - "ZS5HZXRTdWJuZXR3b3JrUmVxdWVzdE1lc3NhZ2VIABJJChVnZXRTdWJuZXR3", - "b3JrUmVzcG9uc2UYhAggASgLMicucHJvdG93aXJlLkdldFN1Ym5ldHdvcmtS", - "ZXNwb25zZU1lc3NhZ2VIABJ5Ci1nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRD", - "aGFpbkZyb21CbG9ja1JlcXVlc3QYhQggASgLMj8ucHJvdG93aXJlLkdldFZp", - "cnR1YWxTZWxlY3RlZFBhcmVudENoYWluRnJvbUJsb2NrUmVxdWVzdE1lc3Nh", - "Z2VIABJ7Ci5nZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRDaGFpbkZyb21CbG9j", - "a1Jlc3BvbnNlGIYIIAEoCzJALnByb3Rvd2lyZS5HZXRWaXJ0dWFsU2VsZWN0", - "ZWRQYXJlbnRDaGFpbkZyb21CbG9ja1Jlc3BvbnNlTWVzc2FnZUgAEj8KEGdl", - "dEJsb2Nrc1JlcXVlc3QYhwggASgLMiIucHJvdG93aXJlLkdldEJsb2Nrc1Jl", - "cXVlc3RNZXNzYWdlSAASQQoRZ2V0QmxvY2tzUmVzcG9uc2UYiAggASgLMiMu", - "cHJvdG93aXJlLkdldEJsb2Nrc1Jlc3BvbnNlTWVzc2FnZUgAEkcKFGdldEJs", - "b2NrQ291bnRSZXF1ZXN0GIkIIAEoCzImLnByb3Rvd2lyZS5HZXRCbG9ja0Nv", - "dW50UmVxdWVzdE1lc3NhZ2VIABJJChVnZXRCbG9ja0NvdW50UmVzcG9uc2UY", - "igggASgLMicucHJvdG93aXJlLkdldEJsb2NrQ291bnRSZXNwb25zZU1lc3Nh", - "Z2VIABJLChZnZXRCbG9ja0RhZ0luZm9SZXF1ZXN0GIsIIAEoCzIoLnByb3Rv", - "d2lyZS5HZXRCbG9ja0RhZ0luZm9SZXF1ZXN0TWVzc2FnZUgAEk0KF2dldEJs", - "b2NrRGFnSW5mb1Jlc3BvbnNlGIwIIAEoCzIpLnByb3Rvd2lyZS5HZXRCbG9j", - "a0RhZ0luZm9SZXNwb25zZU1lc3NhZ2VIABJbCh5yZXNvbHZlRmluYWxpdHlD", - "b25mbGljdFJlcXVlc3QYjQggASgLMjAucHJvdG93aXJlLlJlc29sdmVGaW5h", - "bGl0eUNvbmZsaWN0UmVxdWVzdE1lc3NhZ2VIABJdCh9yZXNvbHZlRmluYWxp", - "dHlDb25mbGljdFJlc3BvbnNlGI4IIAEoCzIxLnByb3Rvd2lyZS5SZXNvbHZl", - "RmluYWxpdHlDb25mbGljdFJlc3BvbnNlTWVzc2FnZUgAElsKHm5vdGlmeUZp", - "bmFsaXR5Q29uZmxpY3RzUmVxdWVzdBiPCCABKAsyMC5wcm90b3dpcmUuTm90", - "aWZ5RmluYWxpdHlDb25mbGljdHNSZXF1ZXN0TWVzc2FnZUgAEl0KH25vdGlm", - "eUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2UYkAggASgLMjEucHJvdG93aXJl", - "Lk5vdGlmeUZpbmFsaXR5Q29uZmxpY3RzUmVzcG9uc2VNZXNzYWdlSAASVwoc", - "ZmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbhiRCCABKAsyLi5wcm90b3dp", - "cmUuRmluYWxpdHlDb25mbGljdE5vdGlmaWNhdGlvbk1lc3NhZ2VIABJnCiRm", - "aW5hbGl0eUNvbmZsaWN0UmVzb2x2ZWROb3RpZmljYXRpb24YkgggASgLMjYu", - "cHJvdG93aXJlLkZpbmFsaXR5Q29uZmxpY3RSZXNvbHZlZE5vdGlmaWNhdGlv", - "bk1lc3NhZ2VIABJPChhnZXRNZW1wb29sRW50cmllc1JlcXVlc3QYkwggASgL", - "MioucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzUmVxdWVzdE1lc3NhZ2VI", - "ABJRChlnZXRNZW1wb29sRW50cmllc1Jlc3BvbnNlGJQIIAEoCzIrLnByb3Rv", - "d2lyZS5HZXRNZW1wb29sRW50cmllc1Jlc3BvbnNlTWVzc2FnZUgAEj0KD3No", - "dXREb3duUmVxdWVzdBiVCCABKAsyIS5wcm90b3dpcmUuU2h1dERvd25SZXF1", - "ZXN0TWVzc2FnZUgAEj8KEHNodXREb3duUmVzcG9uc2UYlgggASgLMiIucHJv", - "dG93aXJlLlNodXREb3duUmVzcG9uc2VNZXNzYWdlSAASQQoRZ2V0SGVhZGVy", - "c1JlcXVlc3QYlwggASgLMiMucHJvdG93aXJlLkdldEhlYWRlcnNSZXF1ZXN0", - "TWVzc2FnZUgAEkMKEmdldEhlYWRlcnNSZXNwb25zZRiYCCABKAsyJC5wcm90", - "b3dpcmUuR2V0SGVhZGVyc1Jlc3BvbnNlTWVzc2FnZUgAElEKGW5vdGlmeVV0", - "eG9zQ2hhbmdlZFJlcXVlc3QYmQggASgLMisucHJvdG93aXJlLk5vdGlmeVV0", - "eG9zQ2hhbmdlZFJlcXVlc3RNZXNzYWdlSAASUwoabm90aWZ5VXR4b3NDaGFu", - "Z2VkUmVzcG9uc2UYmgggASgLMiwucHJvdG93aXJlLk5vdGlmeVV0eG9zQ2hh", - "bmdlZFJlc3BvbnNlTWVzc2FnZUgAEk8KGHV0eG9zQ2hhbmdlZE5vdGlmaWNh", - "dGlvbhibCCABKAsyKi5wcm90b3dpcmUuVXR4b3NDaGFuZ2VkTm90aWZpY2F0", - "aW9uTWVzc2FnZUgAElMKGmdldFV0eG9zQnlBZGRyZXNzZXNSZXF1ZXN0GJwI", - "IAEoCzIsLnByb3Rvd2lyZS5HZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdE1l", - "c3NhZ2VIABJVChtnZXRVdHhvc0J5QWRkcmVzc2VzUmVzcG9uc2UYnQggASgL", - "Mi0ucHJvdG93aXJlLkdldFV0eG9zQnlBZGRyZXNzZXNSZXNwb25zZU1lc3Nh", - "Z2VIABJvCihnZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXF1", - "ZXN0GJ4IIAEoCzI6LnByb3Rvd2lyZS5HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJl", - "bnRCbHVlU2NvcmVSZXF1ZXN0TWVzc2FnZUgAEnEKKWdldFZpcnR1YWxTZWxl", - "Y3RlZFBhcmVudEJsdWVTY29yZVJlc3BvbnNlGJ8IIAEoCzI7LnByb3Rvd2ly", - "ZS5HZXRWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXNwb25zZU1l", - "c3NhZ2VIABKDAQoybm90aWZ5VmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNj", - "b3JlQ2hhbmdlZFJlcXVlc3QYoAggASgLMkQucHJvdG93aXJlLk5vdGlmeVZp", - "cnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWRSZXF1ZXN0TWVz", - "c2FnZUgAEoUBCjNub3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2Nv", - "cmVDaGFuZ2VkUmVzcG9uc2UYoQggASgLMkUucHJvdG93aXJlLk5vdGlmeVZp", - "cnR1YWxTZWxlY3RlZFBhcmVudEJsdWVTY29yZUNoYW5nZWRSZXNwb25zZU1l", - "c3NhZ2VIABKBAQoxdmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hh", - "bmdlZE5vdGlmaWNhdGlvbhiiCCABKAsyQy5wcm90b3dpcmUuVmlydHVhbFNl", - "bGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZE5vdGlmaWNhdGlvbk1lc3Nh", - "Z2VIABIzCgpiYW5SZXF1ZXN0GKMIIAEoCzIcLnByb3Rvd2lyZS5CYW5SZXF1", - "ZXN0TWVzc2FnZUgAEjUKC2JhblJlc3BvbnNlGKQIIAEoCzIdLnByb3Rvd2ly", - "ZS5CYW5SZXNwb25zZU1lc3NhZ2VIABI3Cgx1bmJhblJlcXVlc3QYpQggASgL", - "Mh4ucHJvdG93aXJlLlVuYmFuUmVxdWVzdE1lc3NhZ2VIABI5Cg11bmJhblJl", - "c3BvbnNlGKYIIAEoCzIfLnByb3Rvd2lyZS5VbmJhblJlc3BvbnNlTWVzc2Fn", - "ZUgAEjsKDmdldEluZm9SZXF1ZXN0GKcIIAEoCzIgLnByb3Rvd2lyZS5HZXRJ", - "bmZvUmVxdWVzdE1lc3NhZ2VIABI9Cg9nZXRJbmZvUmVzcG9uc2UYqAggASgL", - "MiEucHJvdG93aXJlLkdldEluZm9SZXNwb25zZU1lc3NhZ2VIABJfCiBzdG9w", - "Tm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdBipCCABKAsyMi5wcm90b3dp", - "cmUuU3RvcE5vdGlmeWluZ1V0eG9zQ2hhbmdlZFJlcXVlc3RNZXNzYWdlSAAS", - "YQohc3RvcE5vdGlmeWluZ1V0eG9zQ2hhbmdlZFJlc3BvbnNlGKoIIAEoCzIz", - "LnByb3Rvd2lyZS5TdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVzcG9uc2VN", - "ZXNzYWdlSAASbwoobm90aWZ5UHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRl", - "UmVxdWVzdBirCCABKAsyOi5wcm90b3dpcmUuTm90aWZ5UHJ1bmluZ1BvaW50", - "VVRYT1NldE92ZXJyaWRlUmVxdWVzdE1lc3NhZ2VIABJxCilub3RpZnlQcnVu", - "aW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZRisCCABKAsyOy5wcm90", - "b3dpcmUuTm90aWZ5UHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9u", - "c2VNZXNzYWdlSAASbQoncHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlTm90", - "aWZpY2F0aW9uGK0IIAEoCzI5LnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRVVFhP", - "U2V0T3ZlcnJpZGVOb3RpZmljYXRpb25NZXNzYWdlSAASfQovc3RvcE5vdGlm", - "eWluZ1BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlkZVJlcXVlc3QYrgggASgL", - "MkEucHJvdG93aXJlLlN0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVVFhPU2V0", - "T3ZlcnJpZGVSZXF1ZXN0TWVzc2FnZUgAEn8KMHN0b3BOb3RpZnlpbmdQcnVu", - "aW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXNwb25zZRivCCABKAsyQi5wcm90", - "b3dpcmUuU3RvcE5vdGlmeWluZ1BydW5pbmdQb2ludFVUWE9TZXRPdmVycmlk", - "ZVJlc3BvbnNlTWVzc2FnZUgAEmkKJWVzdGltYXRlTmV0d29ya0hhc2hlc1Bl", - "clNlY29uZFJlcXVlc3QYsAggASgLMjcucHJvdG93aXJlLkVzdGltYXRlTmV0", - "d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3RNZXNzYWdlSAASawomZXN0aW1h", - "dGVOZXR3b3JrSGFzaGVzUGVyU2Vjb25kUmVzcG9uc2UYsQggASgLMjgucHJv", - "dG93aXJlLkVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlc3BvbnNl", - "TWVzc2FnZUgAEmUKI25vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXF1", - "ZXN0GLIIIAEoCzI1LnByb3Rvd2lyZS5Ob3RpZnlWaXJ0dWFsRGFhU2NvcmVD", - "aGFuZ2VkUmVxdWVzdE1lc3NhZ2VIABJnCiRub3RpZnlWaXJ0dWFsRGFhU2Nv", - "cmVDaGFuZ2VkUmVzcG9uc2UYswggASgLMjYucHJvdG93aXJlLk5vdGlmeVZp", - "cnR1YWxEYWFTY29yZUNoYW5nZWRSZXNwb25zZU1lc3NhZ2VIABJjCiJ2aXJ0", - "dWFsRGFhU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uGLQIIAEoCzI0LnByb3Rv", - "d2lyZS5WaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uTWVzc2Fn", - "ZUgAElMKGmdldEJhbGFuY2VCeUFkZHJlc3NSZXF1ZXN0GLUIIAEoCzIsLnBy", - "b3Rvd2lyZS5HZXRCYWxhbmNlQnlBZGRyZXNzUmVxdWVzdE1lc3NhZ2VIABJV", - "ChtnZXRCYWxhbmNlQnlBZGRyZXNzUmVzcG9uc2UYtgggASgLMi0ucHJvdG93", - "aXJlLkdldEJhbGFuY2VCeUFkZHJlc3NSZXNwb25zZU1lc3NhZ2VIABJZCh1n", - "ZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVxdWVzdBi3CCABKAsyLy5wcm90b3dp", - "cmUuR2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1JlcXVlc3RNZXNzYWdlSAASWwoe", - "Z2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlGLgIIAEoCzIwLnByb3Rv", - "d2lyZS5HZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlSAAS", - "WQodbm90aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlcXVlc3QYuQggASgLMi8ucHJv", - "dG93aXJlLk5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXF1ZXN0TWVzc2FnZUgA", - "ElsKHm5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXNwb25zZRi6CCABKAsyMC5w", - "cm90b3dpcmUuTm90aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlc3BvbnNlTWVzc2Fn", - "ZUgAElcKHG5ld0Jsb2NrVGVtcGxhdGVOb3RpZmljYXRpb24YuwggASgLMi4u", - "cHJvdG93aXJlLk5ld0Jsb2NrVGVtcGxhdGVOb3RpZmljYXRpb25NZXNzYWdl", - "SAASZQojZ2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1JlcXVlc3QYvAgg", - "ASgLMjUucHJvdG93aXJlLkdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNS", - "ZXF1ZXN0TWVzc2FnZUgAEmcKJGdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNz", - "ZXNSZXNwb25zZRi9CCABKAsyNi5wcm90b3dpcmUuR2V0TWVtcG9vbEVudHJp", - "ZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlTWVzc2FnZUgAEkcKFGdldENvaW5TdXBw", - "bHlSZXF1ZXN0GL4IIAEoCzImLnByb3Rvd2lyZS5HZXRDb2luU3VwcGx5UmVx", - "dWVzdE1lc3NhZ2VIABJJChVnZXRDb2luU3VwcGx5UmVzcG9uc2UYvwggASgL", - "MicucHJvdG93aXJlLkdldENvaW5TdXBwbHlSZXNwb25zZU1lc3NhZ2VIAEIJ", - "CgdwYXlsb2FkMlAKA1AyUBJJCg1NZXNzYWdlU3RyZWFtEhgucHJvdG93aXJl", - "Lkthc3BhZE1lc3NhZ2UaGC5wcm90b3dpcmUuS2FzcGFkTWVzc2FnZSIAKAEw", - "ATJQCgNSUEMSSQoNTWVzc2FnZVN0cmVhbRIYLnByb3Rvd2lyZS5LYXNwYWRN", - "ZXNzYWdlGhgucHJvdG93aXJlLkthc3BhZE1lc3NhZ2UiACgBMAFCJaoCIk1p", - "bmluZ2NvcmUuQmxvY2tjaGFpbi5LYXNwYS5LYXNwYWRiBnByb3RvMw==")); + "b3dpcmUuQmxvY2tBZGRlZE5vdGlmaWNhdGlvbk1lc3NhZ2VIABJPChhnZXRQ", + "ZWVyQWRkcmVzc2VzUmVzcG9uc2UY8wcgASgLMioucHJvdG93aXJlLkdldFBl", + "ZXJBZGRyZXNzZXNSZXNwb25zZU1lc3NhZ2VIABI9Cg9HZXRTaW5rUmVzcG9u", + "c2UY9QcgASgLMiEucHJvdG93aXJlLkdldFNpbmtSZXNwb25zZU1lc3NhZ2VI", + "ABJNChdnZXRNZW1wb29sRW50cnlSZXNwb25zZRj3ByABKAsyKS5wcm90b3dp", + "cmUuR2V0TWVtcG9vbEVudHJ5UmVzcG9uc2VNZXNzYWdlSAASVwocZ2V0Q29u", + "bmVjdGVkUGVlckluZm9SZXNwb25zZRj5ByABKAsyLi5wcm90b3dpcmUuR2V0", + "Q29ubmVjdGVkUGVlckluZm9SZXNwb25zZU1lc3NhZ2VIABI9Cg9hZGRQZWVy", + "UmVzcG9uc2UY+wcgASgLMiEucHJvdG93aXJlLkFkZFBlZXJSZXNwb25zZU1l", + "c3NhZ2VIABJRChlzdWJtaXRUcmFuc2FjdGlvblJlc3BvbnNlGP0HIAEoCzIr", + "LnByb3Rvd2lyZS5TdWJtaXRUcmFuc2FjdGlvblJlc3BvbnNlTWVzc2FnZUgA", + "EmEKIW5vdGlmeVZpcnR1YWxDaGFpbkNoYW5nZWRSZXNwb25zZRj/ByABKAsy", + "My5wcm90b3dpcmUuTm90aWZ5VmlydHVhbENoYWluQ2hhbmdlZFJlc3BvbnNl", + "TWVzc2FnZUgAEl0KH3ZpcnR1YWxDaGFpbkNoYW5nZWROb3RpZmljYXRpb24Y", + "gAggASgLMjEucHJvdG93aXJlLlZpcnR1YWxDaGFpbkNoYW5nZWROb3RpZmlj", + "YXRpb25NZXNzYWdlSAASPwoQZ2V0QmxvY2tSZXNwb25zZRiCCCABKAsyIi5w", + "cm90b3dpcmUuR2V0QmxvY2tSZXNwb25zZU1lc3NhZ2VIABJJChVnZXRTdWJu", + "ZXR3b3JrUmVzcG9uc2UYhAggASgLMicucHJvdG93aXJlLkdldFN1Ym5ldHdv", + "cmtSZXNwb25zZU1lc3NhZ2VIABJfCiBnZXRWaXJ0dWFsQ2hhaW5Gcm9tQmxv", + "Y2tSZXNwb25zZRiGCCABKAsyMi5wcm90b3dpcmUuR2V0VmlydHVhbENoYWlu", + "RnJvbUJsb2NrUmVzcG9uc2VNZXNzYWdlSAASQQoRZ2V0QmxvY2tzUmVzcG9u", + "c2UYiAggASgLMiMucHJvdG93aXJlLkdldEJsb2Nrc1Jlc3BvbnNlTWVzc2Fn", + "ZUgAEkkKFWdldEJsb2NrQ291bnRSZXNwb25zZRiKCCABKAsyJy5wcm90b3dp", + "cmUuR2V0QmxvY2tDb3VudFJlc3BvbnNlTWVzc2FnZUgAEk0KF2dldEJsb2Nr", + "RGFnSW5mb1Jlc3BvbnNlGIwIIAEoCzIpLnByb3Rvd2lyZS5HZXRCbG9ja0Rh", + "Z0luZm9SZXNwb25zZU1lc3NhZ2VIABJdCh9yZXNvbHZlRmluYWxpdHlDb25m", + "bGljdFJlc3BvbnNlGI4IIAEoCzIxLnByb3Rvd2lyZS5SZXNvbHZlRmluYWxp", + "dHlDb25mbGljdFJlc3BvbnNlTWVzc2FnZUgAElsKHm5vdGlmeUZpbmFsaXR5", + "Q29uZmxpY3RSZXNwb25zZRiQCCABKAsyMC5wcm90b3dpcmUuTm90aWZ5Rmlu", + "YWxpdHlDb25mbGljdFJlc3BvbnNlTWVzc2FnZUgAElcKHGZpbmFsaXR5Q29u", + "ZmxpY3ROb3RpZmljYXRpb24YkQggASgLMi4ucHJvdG93aXJlLkZpbmFsaXR5", + "Q29uZmxpY3ROb3RpZmljYXRpb25NZXNzYWdlSAASZwokZmluYWxpdHlDb25m", + "bGljdFJlc29sdmVkTm90aWZpY2F0aW9uGJIIIAEoCzI2LnByb3Rvd2lyZS5G", + "aW5hbGl0eUNvbmZsaWN0UmVzb2x2ZWROb3RpZmljYXRpb25NZXNzYWdlSAAS", + "UQoZZ2V0TWVtcG9vbEVudHJpZXNSZXNwb25zZRiUCCABKAsyKy5wcm90b3dp", + "cmUuR2V0TWVtcG9vbEVudHJpZXNSZXNwb25zZU1lc3NhZ2VIABI/ChBzaHV0", + "ZG93blJlc3BvbnNlGJYIIAEoCzIiLnByb3Rvd2lyZS5TaHV0ZG93blJlc3Bv", + "bnNlTWVzc2FnZUgAEkMKEmdldEhlYWRlcnNSZXNwb25zZRiYCCABKAsyJC5w", + "cm90b3dpcmUuR2V0SGVhZGVyc1Jlc3BvbnNlTWVzc2FnZUgAElMKGm5vdGlm", + "eVV0eG9zQ2hhbmdlZFJlc3BvbnNlGJoIIAEoCzIsLnByb3Rvd2lyZS5Ob3Rp", + "ZnlVdHhvc0NoYW5nZWRSZXNwb25zZU1lc3NhZ2VIABJPChh1dHhvc0NoYW5n", + "ZWROb3RpZmljYXRpb24YmwggASgLMioucHJvdG93aXJlLlV0eG9zQ2hhbmdl", + "ZE5vdGlmaWNhdGlvbk1lc3NhZ2VIABJVChtnZXRVdHhvc0J5QWRkcmVzc2Vz", + "UmVzcG9uc2UYnQggASgLMi0ucHJvdG93aXJlLkdldFV0eG9zQnlBZGRyZXNz", + "ZXNSZXNwb25zZU1lc3NhZ2VIABJPChhnZXRTaW5rQmx1ZVNjb3JlUmVzcG9u", + "c2UYnwggASgLMioucHJvdG93aXJlLkdldFNpbmtCbHVlU2NvcmVSZXNwb25z", + "ZU1lc3NhZ2VIABJjCiJub3RpZnlTaW5rQmx1ZVNjb3JlQ2hhbmdlZFJlc3Bv", + "bnNlGKEIIAEoCzI0LnByb3Rvd2lyZS5Ob3RpZnlTaW5rQmx1ZVNjb3JlQ2hh", + "bmdlZFJlc3BvbnNlTWVzc2FnZUgAEl8KIHNpbmtCbHVlU2NvcmVDaGFuZ2Vk", + "Tm90aWZpY2F0aW9uGKIIIAEoCzIyLnByb3Rvd2lyZS5TaW5rQmx1ZVNjb3Jl", + "Q2hhbmdlZE5vdGlmaWNhdGlvbk1lc3NhZ2VIABI1CgtiYW5SZXNwb25zZRik", + "CCABKAsyHS5wcm90b3dpcmUuQmFuUmVzcG9uc2VNZXNzYWdlSAASOQoNdW5i", + "YW5SZXNwb25zZRimCCABKAsyHy5wcm90b3dpcmUuVW5iYW5SZXNwb25zZU1l", + "c3NhZ2VIABI9Cg9nZXRJbmZvUmVzcG9uc2UYqAggASgLMiEucHJvdG93aXJl", + "LkdldEluZm9SZXNwb25zZU1lc3NhZ2VIABJhCiFzdG9wTm90aWZ5aW5nVXR4", + "b3NDaGFuZ2VkUmVzcG9uc2UYqgggASgLMjMucHJvdG93aXJlLlN0b3BOb3Rp", + "ZnlpbmdVdHhvc0NoYW5nZWRSZXNwb25zZU1lc3NhZ2VIABJxCilub3RpZnlQ", + "cnVuaW5nUG9pbnRVdHhvU2V0T3ZlcnJpZGVSZXNwb25zZRisCCABKAsyOy5w", + "cm90b3dpcmUuTm90aWZ5UHJ1bmluZ1BvaW50VXR4b1NldE92ZXJyaWRlUmVz", + "cG9uc2VNZXNzYWdlSAASbQoncHJ1bmluZ1BvaW50VXR4b1NldE92ZXJyaWRl", + "Tm90aWZpY2F0aW9uGK0IIAEoCzI5LnByb3Rvd2lyZS5QcnVuaW5nUG9pbnRV", + "dHhvU2V0T3ZlcnJpZGVOb3RpZmljYXRpb25NZXNzYWdlSAASfwowc3RvcE5v", + "dGlmeWluZ1BydW5pbmdQb2ludFV0eG9TZXRPdmVycmlkZVJlc3BvbnNlGK8I", + "IAEoCzJCLnByb3Rvd2lyZS5TdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VXR4", + "b1NldE92ZXJyaWRlUmVzcG9uc2VNZXNzYWdlSAASawomZXN0aW1hdGVOZXR3", + "b3JrSGFzaGVzUGVyU2Vjb25kUmVzcG9uc2UYsQggASgLMjgucHJvdG93aXJl", + "LkVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlc3BvbnNlTWVzc2Fn", + "ZUgAEmcKJG5vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXNwb25zZRiz", + "CCABKAsyNi5wcm90b3dpcmUuTm90aWZ5VmlydHVhbERhYVNjb3JlQ2hhbmdl", + "ZFJlc3BvbnNlTWVzc2FnZUgAEmMKInZpcnR1YWxEYWFTY29yZUNoYW5nZWRO", + "b3RpZmljYXRpb24YtAggASgLMjQucHJvdG93aXJlLlZpcnR1YWxEYWFTY29y", + "ZUNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlSAASVQobZ2V0QmFsYW5jZUJ5", + "QWRkcmVzc1Jlc3BvbnNlGLYIIAEoCzItLnByb3Rvd2lyZS5HZXRCYWxhbmNl", + "QnlBZGRyZXNzUmVzcG9uc2VNZXNzYWdlSAASWwoeZ2V0QmFsYW5jZXNCeUFk", + "ZHJlc3Nlc1Jlc3BvbnNlGLgIIAEoCzIwLnByb3Rvd2lyZS5HZXRCYWxhbmNl", + "c0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlSAASWwoebm90aWZ5TmV3Qmxv", + "Y2tUZW1wbGF0ZVJlc3BvbnNlGLoIIAEoCzIwLnByb3Rvd2lyZS5Ob3RpZnlO", + "ZXdCbG9ja1RlbXBsYXRlUmVzcG9uc2VNZXNzYWdlSAASVwocbmV3QmxvY2tU", + "ZW1wbGF0ZU5vdGlmaWNhdGlvbhi7CCABKAsyLi5wcm90b3dpcmUuTmV3Qmxv", + "Y2tUZW1wbGF0ZU5vdGlmaWNhdGlvbk1lc3NhZ2VIABJnCiRnZXRNZW1wb29s", + "RW50cmllc0J5QWRkcmVzc2VzUmVzcG9uc2UYvQggASgLMjYucHJvdG93aXJl", + "LkdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNSZXNwb25zZU1lc3NhZ2VI", + "ABJJChVnZXRDb2luU3VwcGx5UmVzcG9uc2UYvwggASgLMicucHJvdG93aXJl", + "LkdldENvaW5TdXBwbHlSZXNwb25zZU1lc3NhZ2VIABI3CgxwaW5nUmVzcG9u", + "c2UYwQggASgLMh4ucHJvdG93aXJlLlBpbmdSZXNwb25zZU1lc3NhZ2VIABJD", + "ChJnZXRNZXRyaWNzUmVzcG9uc2UYwwggASgLMiQucHJvdG93aXJlLkdldE1l", + "dHJpY3NSZXNwb25zZU1lc3NhZ2VIABJJChVnZXRTZXJ2ZXJJbmZvUmVzcG9u", + "c2UYxQggASgLMicucHJvdG93aXJlLkdldFNlcnZlckluZm9SZXNwb25zZU1l", + "c3NhZ2VIABJJChVnZXRTeW5jU3RhdHVzUmVzcG9uc2UYxwggASgLMicucHJv", + "dG93aXJlLkdldFN5bmNTdGF0dXNSZXNwb25zZU1lc3NhZ2VIABJnCiRnZXRE", + "YWFTY29yZVRpbWVzdGFtcEVzdGltYXRlUmVzcG9uc2UYyQggASgLMjYucHJv", + "dG93aXJlLkdldERhYVNjb3JlVGltZXN0YW1wRXN0aW1hdGVSZXNwb25zZU1l", + "c3NhZ2VIABJnCiRzdWJtaXRUcmFuc2FjdGlvblJlcGxhY2VtZW50UmVzcG9u", + "c2UYzQggASgLMjYucHJvdG93aXJlLlN1Ym1pdFRyYW5zYWN0aW9uUmVwbGFj", + "ZW1lbnRSZXNwb25zZU1lc3NhZ2VIABJLChZnZXRDb25uZWN0aW9uc1Jlc3Bv", + "bnNlGM8IIAEoCzIoLnByb3Rvd2lyZS5HZXRDb25uZWN0aW9uc1Jlc3BvbnNl", + "TWVzc2FnZUgAEkkKFWdldFN5c3RlbUluZm9SZXNwb25zZRjRCCABKAsyJy5w", + "cm90b3dpcmUuR2V0U3lzdGVtSW5mb1Jlc3BvbnNlTWVzc2FnZUgAEksKFmdl", + "dEZlZUVzdGltYXRlUmVzcG9uc2UY0wggASgLMigucHJvdG93aXJlLkdldEZl", + "ZUVzdGltYXRlUmVzcG9uc2VNZXNzYWdlSAASYwoiZ2V0RmVlRXN0aW1hdGVF", + "eHBlcmltZW50YWxSZXNwb25zZRjVCCABKAsyNC5wcm90b3dpcmUuR2V0RmVl", + "RXN0aW1hdGVFeHBlcmltZW50YWxSZXNwb25zZU1lc3NhZ2VIABJXChxnZXRD", + "dXJyZW50QmxvY2tDb2xvclJlc3BvbnNlGNcIIAEoCzIuLnByb3Rvd2lyZS5H", + "ZXRDdXJyZW50QmxvY2tDb2xvclJlc3BvbnNlTWVzc2FnZUgAElcKHEdldFV0", + "eG9SZXR1cm5BZGRyZXNzUmVzcG9uc2UY2QggASgLMi4ucHJvdG93aXJlLkdl", + "dFV0eG9SZXR1cm5BZGRyZXNzUmVzcG9uc2VNZXNzYWdlSABCCQoHcGF5bG9h", + "ZDJRCgNSUEMSSgoNTWVzc2FnZVN0cmVhbRIYLnByb3Rvd2lyZS5LYXNwYWRS", + "ZXF1ZXN0GhkucHJvdG93aXJlLkthc3BhZFJlc3BvbnNlIgAoATABQiWqAiJN", + "aW5pbmdjb3JlLkJsb2NrY2hhaW4uS2FzcGEuS2FzcGFkYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Miningcore.Blockchain.Kaspa.Kaspad.P2PReflection.Descriptor, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadMessage.Parser, new[]{ "Addresses", "Block", "Transaction", "BlockLocator", "RequestAddresses", "RequestRelayBlocks", "RequestTransactions", "IbdBlock", "InvRelayBlock", "InvTransactions", "Ping", "Pong", "Verack", "Version", "TransactionNotFound", "Reject", "PruningPointUtxoSetChunk", "RequestIBDBlocks", "UnexpectedPruningPoint", "IbdBlockLocator", "IbdBlockLocatorHighestHash", "RequestNextPruningPointUtxoSetChunk", "DonePruningPointUtxoSetChunks", "IbdBlockLocatorHighestHashNotFound", "BlockWithTrustedData", "DoneBlocksWithTrustedData", "RequestPruningPointAndItsAnticone", "BlockHeaders", "RequestNextHeaders", "DoneHeaders", "RequestPruningPointUTXOSet", "RequestHeaders", "RequestBlockLocator", "PruningPoints", "RequestPruningPointProof", "PruningPointProof", "Ready", "BlockWithTrustedDataV4", "TrustedData", "RequestIBDChainBlockLocator", "IbdChainBlockLocator", "RequestAnticone", "RequestNextPruningPointAndItsAnticoneBlocks", "GetCurrentNetworkRequest", "GetCurrentNetworkResponse", "SubmitBlockRequest", "SubmitBlockResponse", "GetBlockTemplateRequest", "GetBlockTemplateResponse", "NotifyBlockAddedRequest", "NotifyBlockAddedResponse", "BlockAddedNotification", "GetPeerAddressesRequest", "GetPeerAddressesResponse", "GetSelectedTipHashRequest", "GetSelectedTipHashResponse", "GetMempoolEntryRequest", "GetMempoolEntryResponse", "GetConnectedPeerInfoRequest", "GetConnectedPeerInfoResponse", "AddPeerRequest", "AddPeerResponse", "SubmitTransactionRequest", "SubmitTransactionResponse", "NotifyVirtualSelectedParentChainChangedRequest", "NotifyVirtualSelectedParentChainChangedResponse", "VirtualSelectedParentChainChangedNotification", "GetBlockRequest", "GetBlockResponse", "GetSubnetworkRequest", "GetSubnetworkResponse", "GetVirtualSelectedParentChainFromBlockRequest", "GetVirtualSelectedParentChainFromBlockResponse", "GetBlocksRequest", "GetBlocksResponse", "GetBlockCountRequest", "GetBlockCountResponse", "GetBlockDagInfoRequest", "GetBlockDagInfoResponse", "ResolveFinalityConflictRequest", "ResolveFinalityConflictResponse", "NotifyFinalityConflictsRequest", "NotifyFinalityConflictsResponse", "FinalityConflictNotification", "FinalityConflictResolvedNotification", "GetMempoolEntriesRequest", "GetMempoolEntriesResponse", "ShutDownRequest", "ShutDownResponse", "GetHeadersRequest", "GetHeadersResponse", "NotifyUtxosChangedRequest", "NotifyUtxosChangedResponse", "UtxosChangedNotification", "GetUtxosByAddressesRequest", "GetUtxosByAddressesResponse", "GetVirtualSelectedParentBlueScoreRequest", "GetVirtualSelectedParentBlueScoreResponse", "NotifyVirtualSelectedParentBlueScoreChangedRequest", "NotifyVirtualSelectedParentBlueScoreChangedResponse", "VirtualSelectedParentBlueScoreChangedNotification", "BanRequest", "BanResponse", "UnbanRequest", "UnbanResponse", "GetInfoRequest", "GetInfoResponse", "StopNotifyingUtxosChangedRequest", "StopNotifyingUtxosChangedResponse", "NotifyPruningPointUTXOSetOverrideRequest", "NotifyPruningPointUTXOSetOverrideResponse", "PruningPointUTXOSetOverrideNotification", "StopNotifyingPruningPointUTXOSetOverrideRequest", "StopNotifyingPruningPointUTXOSetOverrideResponse", "EstimateNetworkHashesPerSecondRequest", "EstimateNetworkHashesPerSecondResponse", "NotifyVirtualDaaScoreChangedRequest", "NotifyVirtualDaaScoreChangedResponse", "VirtualDaaScoreChangedNotification", "GetBalanceByAddressRequest", "GetBalanceByAddressResponse", "GetBalancesByAddressesRequest", "GetBalancesByAddressesResponse", "NotifyNewBlockTemplateRequest", "NotifyNewBlockTemplateResponse", "NewBlockTemplateNotification", "GetMempoolEntriesByAddressesRequest", "GetMempoolEntriesByAddressesResponse", "GetCoinSupplyRequest", "GetCoinSupplyResponse" }, new[]{ "Payload" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadRequest), global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadRequest.Parser, new[]{ "Id", "GetCurrentNetworkRequest", "SubmitBlockRequest", "GetBlockTemplateRequest", "NotifyBlockAddedRequest", "GetPeerAddressesRequest", "GetSinkRequest", "GetMempoolEntryRequest", "GetConnectedPeerInfoRequest", "AddPeerRequest", "SubmitTransactionRequest", "NotifyVirtualChainChangedRequest", "GetBlockRequest", "GetSubnetworkRequest", "GetVirtualChainFromBlockRequest", "GetBlocksRequest", "GetBlockCountRequest", "GetBlockDagInfoRequest", "ResolveFinalityConflictRequest", "NotifyFinalityConflictRequest", "GetMempoolEntriesRequest", "ShutdownRequest", "GetHeadersRequest", "NotifyUtxosChangedRequest", "GetUtxosByAddressesRequest", "GetSinkBlueScoreRequest", "NotifySinkBlueScoreChangedRequest", "BanRequest", "UnbanRequest", "GetInfoRequest", "StopNotifyingUtxosChangedRequest", "NotifyPruningPointUtxoSetOverrideRequest", "StopNotifyingPruningPointUtxoSetOverrideRequest", "EstimateNetworkHashesPerSecondRequest", "NotifyVirtualDaaScoreChangedRequest", "GetBalanceByAddressRequest", "GetBalancesByAddressesRequest", "NotifyNewBlockTemplateRequest", "GetMempoolEntriesByAddressesRequest", "GetCoinSupplyRequest", "PingRequest", "GetMetricsRequest", "GetServerInfoRequest", "GetSyncStatusRequest", "GetDaaScoreTimestampEstimateRequest", "SubmitTransactionReplacementRequest", "GetConnectionsRequest", "GetSystemInfoRequest", "GetFeeEstimateRequest", "GetFeeEstimateExperimentalRequest", "GetCurrentBlockColorRequest", "GetUtxoReturnAddressRequest" }, new[]{ "Payload" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadResponse), global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadResponse.Parser, new[]{ "Id", "GetCurrentNetworkResponse", "SubmitBlockResponse", "GetBlockTemplateResponse", "NotifyBlockAddedResponse", "BlockAddedNotification", "GetPeerAddressesResponse", "GetSinkResponse", "GetMempoolEntryResponse", "GetConnectedPeerInfoResponse", "AddPeerResponse", "SubmitTransactionResponse", "NotifyVirtualChainChangedResponse", "VirtualChainChangedNotification", "GetBlockResponse", "GetSubnetworkResponse", "GetVirtualChainFromBlockResponse", "GetBlocksResponse", "GetBlockCountResponse", "GetBlockDagInfoResponse", "ResolveFinalityConflictResponse", "NotifyFinalityConflictResponse", "FinalityConflictNotification", "FinalityConflictResolvedNotification", "GetMempoolEntriesResponse", "ShutdownResponse", "GetHeadersResponse", "NotifyUtxosChangedResponse", "UtxosChangedNotification", "GetUtxosByAddressesResponse", "GetSinkBlueScoreResponse", "NotifySinkBlueScoreChangedResponse", "SinkBlueScoreChangedNotification", "BanResponse", "UnbanResponse", "GetInfoResponse", "StopNotifyingUtxosChangedResponse", "NotifyPruningPointUtxoSetOverrideResponse", "PruningPointUtxoSetOverrideNotification", "StopNotifyingPruningPointUtxoSetOverrideResponse", "EstimateNetworkHashesPerSecondResponse", "NotifyVirtualDaaScoreChangedResponse", "VirtualDaaScoreChangedNotification", "GetBalanceByAddressResponse", "GetBalancesByAddressesResponse", "NotifyNewBlockTemplateResponse", "NewBlockTemplateNotification", "GetMempoolEntriesByAddressesResponse", "GetCoinSupplyResponse", "PingResponse", "GetMetricsResponse", "GetServerInfoResponse", "GetSyncStatusResponse", "GetDaaScoreTimestampEstimateResponse", "SubmitTransactionReplacementResponse", "GetConnectionsResponse", "GetSystemInfoResponse", "GetFeeEstimateResponse", "GetFeeEstimateExperimentalResponse", "GetCurrentBlockColorResponse", "GetUtxoReturnAddressResponse" }, new[]{ "Payload" }, null, null, null) })); } #endregion } #region Messages - public sealed partial class KaspadMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KaspadMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KaspadRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KaspadRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.MessagesReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public KaspadMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KaspadRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public KaspadMessage(KaspadMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KaspadRequest(KaspadRequest other) : this() { + id_ = other.id_; switch (other.PayloadCase) { - case PayloadOneofCase.Addresses: - Addresses = other.Addresses.Clone(); - break; - case PayloadOneofCase.Block: - Block = other.Block.Clone(); - break; - case PayloadOneofCase.Transaction: - Transaction = other.Transaction.Clone(); - break; - case PayloadOneofCase.BlockLocator: - BlockLocator = other.BlockLocator.Clone(); - break; - case PayloadOneofCase.RequestAddresses: - RequestAddresses = other.RequestAddresses.Clone(); - break; - case PayloadOneofCase.RequestRelayBlocks: - RequestRelayBlocks = other.RequestRelayBlocks.Clone(); - break; - case PayloadOneofCase.RequestTransactions: - RequestTransactions = other.RequestTransactions.Clone(); - break; - case PayloadOneofCase.IbdBlock: - IbdBlock = other.IbdBlock.Clone(); - break; - case PayloadOneofCase.InvRelayBlock: - InvRelayBlock = other.InvRelayBlock.Clone(); - break; - case PayloadOneofCase.InvTransactions: - InvTransactions = other.InvTransactions.Clone(); - break; - case PayloadOneofCase.Ping: - Ping = other.Ping.Clone(); - break; - case PayloadOneofCase.Pong: - Pong = other.Pong.Clone(); - break; - case PayloadOneofCase.Verack: - Verack = other.Verack.Clone(); - break; - case PayloadOneofCase.Version: - Version = other.Version.Clone(); - break; - case PayloadOneofCase.TransactionNotFound: - TransactionNotFound = other.TransactionNotFound.Clone(); - break; - case PayloadOneofCase.Reject: - Reject = other.Reject.Clone(); - break; - case PayloadOneofCase.PruningPointUtxoSetChunk: - PruningPointUtxoSetChunk = other.PruningPointUtxoSetChunk.Clone(); - break; - case PayloadOneofCase.RequestIBDBlocks: - RequestIBDBlocks = other.RequestIBDBlocks.Clone(); - break; - case PayloadOneofCase.UnexpectedPruningPoint: - UnexpectedPruningPoint = other.UnexpectedPruningPoint.Clone(); - break; - case PayloadOneofCase.IbdBlockLocator: - IbdBlockLocator = other.IbdBlockLocator.Clone(); - break; - case PayloadOneofCase.IbdBlockLocatorHighestHash: - IbdBlockLocatorHighestHash = other.IbdBlockLocatorHighestHash.Clone(); - break; - case PayloadOneofCase.RequestNextPruningPointUtxoSetChunk: - RequestNextPruningPointUtxoSetChunk = other.RequestNextPruningPointUtxoSetChunk.Clone(); - break; - case PayloadOneofCase.DonePruningPointUtxoSetChunks: - DonePruningPointUtxoSetChunks = other.DonePruningPointUtxoSetChunks.Clone(); - break; - case PayloadOneofCase.IbdBlockLocatorHighestHashNotFound: - IbdBlockLocatorHighestHashNotFound = other.IbdBlockLocatorHighestHashNotFound.Clone(); - break; - case PayloadOneofCase.BlockWithTrustedData: - BlockWithTrustedData = other.BlockWithTrustedData.Clone(); - break; - case PayloadOneofCase.DoneBlocksWithTrustedData: - DoneBlocksWithTrustedData = other.DoneBlocksWithTrustedData.Clone(); - break; - case PayloadOneofCase.RequestPruningPointAndItsAnticone: - RequestPruningPointAndItsAnticone = other.RequestPruningPointAndItsAnticone.Clone(); - break; - case PayloadOneofCase.BlockHeaders: - BlockHeaders = other.BlockHeaders.Clone(); - break; - case PayloadOneofCase.RequestNextHeaders: - RequestNextHeaders = other.RequestNextHeaders.Clone(); - break; - case PayloadOneofCase.DoneHeaders: - DoneHeaders = other.DoneHeaders.Clone(); - break; - case PayloadOneofCase.RequestPruningPointUTXOSet: - RequestPruningPointUTXOSet = other.RequestPruningPointUTXOSet.Clone(); - break; - case PayloadOneofCase.RequestHeaders: - RequestHeaders = other.RequestHeaders.Clone(); - break; - case PayloadOneofCase.RequestBlockLocator: - RequestBlockLocator = other.RequestBlockLocator.Clone(); - break; - case PayloadOneofCase.PruningPoints: - PruningPoints = other.PruningPoints.Clone(); - break; - case PayloadOneofCase.RequestPruningPointProof: - RequestPruningPointProof = other.RequestPruningPointProof.Clone(); - break; - case PayloadOneofCase.PruningPointProof: - PruningPointProof = other.PruningPointProof.Clone(); - break; - case PayloadOneofCase.Ready: - Ready = other.Ready.Clone(); - break; - case PayloadOneofCase.BlockWithTrustedDataV4: - BlockWithTrustedDataV4 = other.BlockWithTrustedDataV4.Clone(); - break; - case PayloadOneofCase.TrustedData: - TrustedData = other.TrustedData.Clone(); - break; - case PayloadOneofCase.RequestIBDChainBlockLocator: - RequestIBDChainBlockLocator = other.RequestIBDChainBlockLocator.Clone(); - break; - case PayloadOneofCase.IbdChainBlockLocator: - IbdChainBlockLocator = other.IbdChainBlockLocator.Clone(); - break; - case PayloadOneofCase.RequestAnticone: - RequestAnticone = other.RequestAnticone.Clone(); - break; - case PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks: - RequestNextPruningPointAndItsAnticoneBlocks = other.RequestNextPruningPointAndItsAnticoneBlocks.Clone(); - break; case PayloadOneofCase.GetCurrentNetworkRequest: GetCurrentNetworkRequest = other.GetCurrentNetworkRequest.Clone(); break; - case PayloadOneofCase.GetCurrentNetworkResponse: - GetCurrentNetworkResponse = other.GetCurrentNetworkResponse.Clone(); - break; case PayloadOneofCase.SubmitBlockRequest: SubmitBlockRequest = other.SubmitBlockRequest.Clone(); break; - case PayloadOneofCase.SubmitBlockResponse: - SubmitBlockResponse = other.SubmitBlockResponse.Clone(); - break; case PayloadOneofCase.GetBlockTemplateRequest: GetBlockTemplateRequest = other.GetBlockTemplateRequest.Clone(); break; - case PayloadOneofCase.GetBlockTemplateResponse: - GetBlockTemplateResponse = other.GetBlockTemplateResponse.Clone(); - break; case PayloadOneofCase.NotifyBlockAddedRequest: NotifyBlockAddedRequest = other.NotifyBlockAddedRequest.Clone(); break; - case PayloadOneofCase.NotifyBlockAddedResponse: - NotifyBlockAddedResponse = other.NotifyBlockAddedResponse.Clone(); - break; - case PayloadOneofCase.BlockAddedNotification: - BlockAddedNotification = other.BlockAddedNotification.Clone(); - break; case PayloadOneofCase.GetPeerAddressesRequest: GetPeerAddressesRequest = other.GetPeerAddressesRequest.Clone(); break; - case PayloadOneofCase.GetPeerAddressesResponse: - GetPeerAddressesResponse = other.GetPeerAddressesResponse.Clone(); - break; - case PayloadOneofCase.GetSelectedTipHashRequest: - GetSelectedTipHashRequest = other.GetSelectedTipHashRequest.Clone(); - break; - case PayloadOneofCase.GetSelectedTipHashResponse: - GetSelectedTipHashResponse = other.GetSelectedTipHashResponse.Clone(); + case PayloadOneofCase.GetSinkRequest: + GetSinkRequest = other.GetSinkRequest.Clone(); break; case PayloadOneofCase.GetMempoolEntryRequest: GetMempoolEntryRequest = other.GetMempoolEntryRequest.Clone(); break; - case PayloadOneofCase.GetMempoolEntryResponse: - GetMempoolEntryResponse = other.GetMempoolEntryResponse.Clone(); - break; case PayloadOneofCase.GetConnectedPeerInfoRequest: GetConnectedPeerInfoRequest = other.GetConnectedPeerInfoRequest.Clone(); break; - case PayloadOneofCase.GetConnectedPeerInfoResponse: - GetConnectedPeerInfoResponse = other.GetConnectedPeerInfoResponse.Clone(); - break; case PayloadOneofCase.AddPeerRequest: AddPeerRequest = other.AddPeerRequest.Clone(); break; - case PayloadOneofCase.AddPeerResponse: - AddPeerResponse = other.AddPeerResponse.Clone(); - break; case PayloadOneofCase.SubmitTransactionRequest: SubmitTransactionRequest = other.SubmitTransactionRequest.Clone(); break; - case PayloadOneofCase.SubmitTransactionResponse: - SubmitTransactionResponse = other.SubmitTransactionResponse.Clone(); - break; - case PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest: - NotifyVirtualSelectedParentChainChangedRequest = other.NotifyVirtualSelectedParentChainChangedRequest.Clone(); - break; - case PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse: - NotifyVirtualSelectedParentChainChangedResponse = other.NotifyVirtualSelectedParentChainChangedResponse.Clone(); - break; - case PayloadOneofCase.VirtualSelectedParentChainChangedNotification: - VirtualSelectedParentChainChangedNotification = other.VirtualSelectedParentChainChangedNotification.Clone(); + case PayloadOneofCase.NotifyVirtualChainChangedRequest: + NotifyVirtualChainChangedRequest = other.NotifyVirtualChainChangedRequest.Clone(); break; case PayloadOneofCase.GetBlockRequest: GetBlockRequest = other.GetBlockRequest.Clone(); break; - case PayloadOneofCase.GetBlockResponse: - GetBlockResponse = other.GetBlockResponse.Clone(); - break; case PayloadOneofCase.GetSubnetworkRequest: GetSubnetworkRequest = other.GetSubnetworkRequest.Clone(); break; - case PayloadOneofCase.GetSubnetworkResponse: - GetSubnetworkResponse = other.GetSubnetworkResponse.Clone(); - break; - case PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest: - GetVirtualSelectedParentChainFromBlockRequest = other.GetVirtualSelectedParentChainFromBlockRequest.Clone(); - break; - case PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse: - GetVirtualSelectedParentChainFromBlockResponse = other.GetVirtualSelectedParentChainFromBlockResponse.Clone(); + case PayloadOneofCase.GetVirtualChainFromBlockRequest: + GetVirtualChainFromBlockRequest = other.GetVirtualChainFromBlockRequest.Clone(); break; case PayloadOneofCase.GetBlocksRequest: GetBlocksRequest = other.GetBlocksRequest.Clone(); break; - case PayloadOneofCase.GetBlocksResponse: - GetBlocksResponse = other.GetBlocksResponse.Clone(); - break; case PayloadOneofCase.GetBlockCountRequest: GetBlockCountRequest = other.GetBlockCountRequest.Clone(); break; - case PayloadOneofCase.GetBlockCountResponse: - GetBlockCountResponse = other.GetBlockCountResponse.Clone(); - break; case PayloadOneofCase.GetBlockDagInfoRequest: GetBlockDagInfoRequest = other.GetBlockDagInfoRequest.Clone(); break; - case PayloadOneofCase.GetBlockDagInfoResponse: - GetBlockDagInfoResponse = other.GetBlockDagInfoResponse.Clone(); - break; case PayloadOneofCase.ResolveFinalityConflictRequest: ResolveFinalityConflictRequest = other.ResolveFinalityConflictRequest.Clone(); break; - case PayloadOneofCase.ResolveFinalityConflictResponse: - ResolveFinalityConflictResponse = other.ResolveFinalityConflictResponse.Clone(); - break; - case PayloadOneofCase.NotifyFinalityConflictsRequest: - NotifyFinalityConflictsRequest = other.NotifyFinalityConflictsRequest.Clone(); - break; - case PayloadOneofCase.NotifyFinalityConflictsResponse: - NotifyFinalityConflictsResponse = other.NotifyFinalityConflictsResponse.Clone(); - break; - case PayloadOneofCase.FinalityConflictNotification: - FinalityConflictNotification = other.FinalityConflictNotification.Clone(); - break; - case PayloadOneofCase.FinalityConflictResolvedNotification: - FinalityConflictResolvedNotification = other.FinalityConflictResolvedNotification.Clone(); + case PayloadOneofCase.NotifyFinalityConflictRequest: + NotifyFinalityConflictRequest = other.NotifyFinalityConflictRequest.Clone(); break; case PayloadOneofCase.GetMempoolEntriesRequest: GetMempoolEntriesRequest = other.GetMempoolEntriesRequest.Clone(); break; - case PayloadOneofCase.GetMempoolEntriesResponse: - GetMempoolEntriesResponse = other.GetMempoolEntriesResponse.Clone(); - break; - case PayloadOneofCase.ShutDownRequest: - ShutDownRequest = other.ShutDownRequest.Clone(); - break; - case PayloadOneofCase.ShutDownResponse: - ShutDownResponse = other.ShutDownResponse.Clone(); + case PayloadOneofCase.ShutdownRequest: + ShutdownRequest = other.ShutdownRequest.Clone(); break; case PayloadOneofCase.GetHeadersRequest: GetHeadersRequest = other.GetHeadersRequest.Clone(); break; - case PayloadOneofCase.GetHeadersResponse: - GetHeadersResponse = other.GetHeadersResponse.Clone(); - break; case PayloadOneofCase.NotifyUtxosChangedRequest: NotifyUtxosChangedRequest = other.NotifyUtxosChangedRequest.Clone(); break; - case PayloadOneofCase.NotifyUtxosChangedResponse: - NotifyUtxosChangedResponse = other.NotifyUtxosChangedResponse.Clone(); - break; - case PayloadOneofCase.UtxosChangedNotification: - UtxosChangedNotification = other.UtxosChangedNotification.Clone(); - break; case PayloadOneofCase.GetUtxosByAddressesRequest: GetUtxosByAddressesRequest = other.GetUtxosByAddressesRequest.Clone(); break; - case PayloadOneofCase.GetUtxosByAddressesResponse: - GetUtxosByAddressesResponse = other.GetUtxosByAddressesResponse.Clone(); - break; - case PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest: - GetVirtualSelectedParentBlueScoreRequest = other.GetVirtualSelectedParentBlueScoreRequest.Clone(); - break; - case PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse: - GetVirtualSelectedParentBlueScoreResponse = other.GetVirtualSelectedParentBlueScoreResponse.Clone(); + case PayloadOneofCase.GetSinkBlueScoreRequest: + GetSinkBlueScoreRequest = other.GetSinkBlueScoreRequest.Clone(); break; - case PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest: - NotifyVirtualSelectedParentBlueScoreChangedRequest = other.NotifyVirtualSelectedParentBlueScoreChangedRequest.Clone(); - break; - case PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse: - NotifyVirtualSelectedParentBlueScoreChangedResponse = other.NotifyVirtualSelectedParentBlueScoreChangedResponse.Clone(); - break; - case PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification: - VirtualSelectedParentBlueScoreChangedNotification = other.VirtualSelectedParentBlueScoreChangedNotification.Clone(); + case PayloadOneofCase.NotifySinkBlueScoreChangedRequest: + NotifySinkBlueScoreChangedRequest = other.NotifySinkBlueScoreChangedRequest.Clone(); break; case PayloadOneofCase.BanRequest: BanRequest = other.BanRequest.Clone(); break; - case PayloadOneofCase.BanResponse: - BanResponse = other.BanResponse.Clone(); - break; case PayloadOneofCase.UnbanRequest: UnbanRequest = other.UnbanRequest.Clone(); break; - case PayloadOneofCase.UnbanResponse: - UnbanResponse = other.UnbanResponse.Clone(); - break; case PayloadOneofCase.GetInfoRequest: GetInfoRequest = other.GetInfoRequest.Clone(); break; - case PayloadOneofCase.GetInfoResponse: - GetInfoResponse = other.GetInfoResponse.Clone(); - break; case PayloadOneofCase.StopNotifyingUtxosChangedRequest: StopNotifyingUtxosChangedRequest = other.StopNotifyingUtxosChangedRequest.Clone(); break; - case PayloadOneofCase.StopNotifyingUtxosChangedResponse: - StopNotifyingUtxosChangedResponse = other.StopNotifyingUtxosChangedResponse.Clone(); - break; - case PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest: - NotifyPruningPointUTXOSetOverrideRequest = other.NotifyPruningPointUTXOSetOverrideRequest.Clone(); - break; - case PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse: - NotifyPruningPointUTXOSetOverrideResponse = other.NotifyPruningPointUTXOSetOverrideResponse.Clone(); - break; - case PayloadOneofCase.PruningPointUTXOSetOverrideNotification: - PruningPointUTXOSetOverrideNotification = other.PruningPointUTXOSetOverrideNotification.Clone(); + case PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest: + NotifyPruningPointUtxoSetOverrideRequest = other.NotifyPruningPointUtxoSetOverrideRequest.Clone(); break; - case PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest: - StopNotifyingPruningPointUTXOSetOverrideRequest = other.StopNotifyingPruningPointUTXOSetOverrideRequest.Clone(); - break; - case PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse: - StopNotifyingPruningPointUTXOSetOverrideResponse = other.StopNotifyingPruningPointUTXOSetOverrideResponse.Clone(); + case PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest: + StopNotifyingPruningPointUtxoSetOverrideRequest = other.StopNotifyingPruningPointUtxoSetOverrideRequest.Clone(); break; case PayloadOneofCase.EstimateNetworkHashesPerSecondRequest: EstimateNetworkHashesPerSecondRequest = other.EstimateNetworkHashesPerSecondRequest.Clone(); break; - case PayloadOneofCase.EstimateNetworkHashesPerSecondResponse: - EstimateNetworkHashesPerSecondResponse = other.EstimateNetworkHashesPerSecondResponse.Clone(); - break; case PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest: NotifyVirtualDaaScoreChangedRequest = other.NotifyVirtualDaaScoreChangedRequest.Clone(); break; - case PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse: - NotifyVirtualDaaScoreChangedResponse = other.NotifyVirtualDaaScoreChangedResponse.Clone(); - break; - case PayloadOneofCase.VirtualDaaScoreChangedNotification: - VirtualDaaScoreChangedNotification = other.VirtualDaaScoreChangedNotification.Clone(); - break; case PayloadOneofCase.GetBalanceByAddressRequest: GetBalanceByAddressRequest = other.GetBalanceByAddressRequest.Clone(); break; - case PayloadOneofCase.GetBalanceByAddressResponse: - GetBalanceByAddressResponse = other.GetBalanceByAddressResponse.Clone(); - break; case PayloadOneofCase.GetBalancesByAddressesRequest: GetBalancesByAddressesRequest = other.GetBalancesByAddressesRequest.Clone(); break; - case PayloadOneofCase.GetBalancesByAddressesResponse: - GetBalancesByAddressesResponse = other.GetBalancesByAddressesResponse.Clone(); - break; case PayloadOneofCase.NotifyNewBlockTemplateRequest: NotifyNewBlockTemplateRequest = other.NotifyNewBlockTemplateRequest.Clone(); break; - case PayloadOneofCase.NotifyNewBlockTemplateResponse: - NotifyNewBlockTemplateResponse = other.NotifyNewBlockTemplateResponse.Clone(); - break; - case PayloadOneofCase.NewBlockTemplateNotification: - NewBlockTemplateNotification = other.NewBlockTemplateNotification.Clone(); - break; case PayloadOneofCase.GetMempoolEntriesByAddressesRequest: GetMempoolEntriesByAddressesRequest = other.GetMempoolEntriesByAddressesRequest.Clone(); break; - case PayloadOneofCase.GetMempoolEntriesByAddressesResponse: - GetMempoolEntriesByAddressesResponse = other.GetMempoolEntriesByAddressesResponse.Clone(); - break; case PayloadOneofCase.GetCoinSupplyRequest: GetCoinSupplyRequest = other.GetCoinSupplyRequest.Clone(); break; - case PayloadOneofCase.GetCoinSupplyResponse: - GetCoinSupplyResponse = other.GetCoinSupplyResponse.Clone(); + case PayloadOneofCase.PingRequest: + PingRequest = other.PingRequest.Clone(); + break; + case PayloadOneofCase.GetMetricsRequest: + GetMetricsRequest = other.GetMetricsRequest.Clone(); + break; + case PayloadOneofCase.GetServerInfoRequest: + GetServerInfoRequest = other.GetServerInfoRequest.Clone(); + break; + case PayloadOneofCase.GetSyncStatusRequest: + GetSyncStatusRequest = other.GetSyncStatusRequest.Clone(); + break; + case PayloadOneofCase.GetDaaScoreTimestampEstimateRequest: + GetDaaScoreTimestampEstimateRequest = other.GetDaaScoreTimestampEstimateRequest.Clone(); + break; + case PayloadOneofCase.SubmitTransactionReplacementRequest: + SubmitTransactionReplacementRequest = other.SubmitTransactionReplacementRequest.Clone(); + break; + case PayloadOneofCase.GetConnectionsRequest: + GetConnectionsRequest = other.GetConnectionsRequest.Clone(); + break; + case PayloadOneofCase.GetSystemInfoRequest: + GetSystemInfoRequest = other.GetSystemInfoRequest.Clone(); + break; + case PayloadOneofCase.GetFeeEstimateRequest: + GetFeeEstimateRequest = other.GetFeeEstimateRequest.Clone(); + break; + case PayloadOneofCase.GetFeeEstimateExperimentalRequest: + GetFeeEstimateExperimentalRequest = other.GetFeeEstimateExperimentalRequest.Clone(); + break; + case PayloadOneofCase.GetCurrentBlockColorRequest: + GetCurrentBlockColorRequest = other.GetCurrentBlockColorRequest.Clone(); + break; + case PayloadOneofCase.GetUtxoReturnAddressRequest: + GetUtxoReturnAddressRequest = other.GetUtxoReturnAddressRequest.Clone(); break; } @@ -698,761 +443,3163 @@ public KaspadMessage(KaspadMessage other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public KaspadMessage Clone() { - return new KaspadMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KaspadRequest Clone() { + return new KaspadRequest(this); } - /// Field number for the "addresses" field. - public const int AddressesFieldNumber = 1; + /// Field number for the "id" field. + public const int IdFieldNumber = 101; + private ulong id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.AddressesMessage Addresses { - get { return payloadCase_ == PayloadOneofCase.Addresses ? (global::Miningcore.Blockchain.Kaspa.Kaspad.AddressesMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Addresses; + id_ = value; } } - /// Field number for the "block" field. - public const int BlockFieldNumber = 2; + /// Field number for the "getCurrentNetworkRequest" field. + public const int GetCurrentNetworkRequestFieldNumber = 1001; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage Block { - get { return payloadCase_ == PayloadOneofCase.Block ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage GetCurrentNetworkRequest { + get { return payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Block; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCurrentNetworkRequest; } } - /// Field number for the "transaction" field. - public const int TransactionFieldNumber = 3; + /// Field number for the "submitBlockRequest" field. + public const int SubmitBlockRequestFieldNumber = 1003; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionMessage Transaction { - get { return payloadCase_ == PayloadOneofCase.Transaction ? (global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage SubmitBlockRequest { + get { return payloadCase_ == PayloadOneofCase.SubmitBlockRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Transaction; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitBlockRequest; } } - /// Field number for the "blockLocator" field. - public const int BlockLocatorFieldNumber = 5; + /// Field number for the "getBlockTemplateRequest" field. + public const int GetBlockTemplateRequestFieldNumber = 1005; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockLocatorMessage BlockLocator { - get { return payloadCase_ == PayloadOneofCase.BlockLocator ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockLocatorMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage GetBlockTemplateRequest { + get { return payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BlockLocator; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockTemplateRequest; } } - /// Field number for the "requestAddresses" field. - public const int RequestAddressesFieldNumber = 6; + /// Field number for the "notifyBlockAddedRequest" field. + public const int NotifyBlockAddedRequestFieldNumber = 1007; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAddressesMessage RequestAddresses { - get { return payloadCase_ == PayloadOneofCase.RequestAddresses ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAddressesMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage NotifyBlockAddedRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestAddresses; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyBlockAddedRequest; } } - /// Field number for the "requestRelayBlocks" field. - public const int RequestRelayBlocksFieldNumber = 10; + /// Field number for the "getPeerAddressesRequest" field. + public const int GetPeerAddressesRequestFieldNumber = 1010; + /// + /// BlockAddedNotificationMessage blockAddedNotification = 1009; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestRelayBlocksMessage RequestRelayBlocks { - get { return payloadCase_ == PayloadOneofCase.RequestRelayBlocks ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestRelayBlocksMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage GetPeerAddressesRequest { + get { return payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestRelayBlocks; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetPeerAddressesRequest; } } - /// Field number for the "requestTransactions" field. - public const int RequestTransactionsFieldNumber = 12; + /// Field number for the "GetSinkRequest" field. + public const int GetSinkRequestFieldNumber = 1012; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestTransactionsMessage RequestTransactions { - get { return payloadCase_ == PayloadOneofCase.RequestTransactions ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestTransactionsMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage GetSinkRequest { + get { return payloadCase_ == PayloadOneofCase.GetSinkRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestTransactions; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSinkRequest; } } - /// Field number for the "ibdBlock" field. - public const int IbdBlockFieldNumber = 13; + /// Field number for the "getMempoolEntryRequest" field. + public const int GetMempoolEntryRequestFieldNumber = 1014; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage IbdBlock { - get { return payloadCase_ == PayloadOneofCase.IbdBlock ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage GetMempoolEntryRequest { + get { return payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.IbdBlock; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntryRequest; } } - /// Field number for the "invRelayBlock" field. - public const int InvRelayBlockFieldNumber = 14; + /// Field number for the "getConnectedPeerInfoRequest" field. + public const int GetConnectedPeerInfoRequestFieldNumber = 1016; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.InvRelayBlockMessage InvRelayBlock { - get { return payloadCase_ == PayloadOneofCase.InvRelayBlock ? (global::Miningcore.Blockchain.Kaspa.Kaspad.InvRelayBlockMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage GetConnectedPeerInfoRequest { + get { return payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.InvRelayBlock; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetConnectedPeerInfoRequest; } } - /// Field number for the "invTransactions" field. - public const int InvTransactionsFieldNumber = 15; + /// Field number for the "addPeerRequest" field. + public const int AddPeerRequestFieldNumber = 1018; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.InvTransactionsMessage InvTransactions { - get { return payloadCase_ == PayloadOneofCase.InvTransactions ? (global::Miningcore.Blockchain.Kaspa.Kaspad.InvTransactionsMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage AddPeerRequest { + get { return payloadCase_ == PayloadOneofCase.AddPeerRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.InvTransactions; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddPeerRequest; } } - /// Field number for the "ping" field. - public const int PingFieldNumber = 16; + /// Field number for the "submitTransactionRequest" field. + public const int SubmitTransactionRequestFieldNumber = 1020; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.PingMessage Ping { - get { return payloadCase_ == PayloadOneofCase.Ping ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PingMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage SubmitTransactionRequest { + get { return payloadCase_ == PayloadOneofCase.SubmitTransactionRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Ping; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitTransactionRequest; } } - /// Field number for the "pong" field. - public const int PongFieldNumber = 17; + /// Field number for the "notifyVirtualChainChangedRequest" field. + public const int NotifyVirtualChainChangedRequestFieldNumber = 1022; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.PongMessage Pong { - get { return payloadCase_ == PayloadOneofCase.Pong ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PongMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage NotifyVirtualChainChangedRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Pong; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualChainChangedRequest; } } - /// Field number for the "verack" field. - public const int VerackFieldNumber = 19; + /// Field number for the "getBlockRequest" field. + public const int GetBlockRequestFieldNumber = 1025; + /// + /// VirtualChainChangedNotificationMessage virtualChainChangedNotification = 1024; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.VerackMessage Verack { - get { return payloadCase_ == PayloadOneofCase.Verack ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VerackMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage GetBlockRequest { + get { return payloadCase_ == PayloadOneofCase.GetBlockRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Verack; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockRequest; } } - /// Field number for the "version" field. - public const int VersionFieldNumber = 20; + /// Field number for the "getSubnetworkRequest" field. + public const int GetSubnetworkRequestFieldNumber = 1027; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.VersionMessage Version { - get { return payloadCase_ == PayloadOneofCase.Version ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VersionMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage GetSubnetworkRequest { + get { return payloadCase_ == PayloadOneofCase.GetSubnetworkRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Version; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSubnetworkRequest; } } - /// Field number for the "transactionNotFound" field. - public const int TransactionNotFoundFieldNumber = 21; + /// Field number for the "getVirtualChainFromBlockRequest" field. + public const int GetVirtualChainFromBlockRequestFieldNumber = 1029; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionNotFoundMessage TransactionNotFound { - get { return payloadCase_ == PayloadOneofCase.TransactionNotFound ? (global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionNotFoundMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage GetVirtualChainFromBlockRequest { + get { return payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.TransactionNotFound; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetVirtualChainFromBlockRequest; } } - /// Field number for the "reject" field. - public const int RejectFieldNumber = 22; + /// Field number for the "getBlocksRequest" field. + public const int GetBlocksRequestFieldNumber = 1031; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RejectMessage Reject { - get { return payloadCase_ == PayloadOneofCase.Reject ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RejectMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage GetBlocksRequest { + get { return payloadCase_ == PayloadOneofCase.GetBlocksRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Reject; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlocksRequest; } } - /// Field number for the "pruningPointUtxoSetChunk" field. - public const int PruningPointUtxoSetChunkFieldNumber = 25; + /// Field number for the "getBlockCountRequest" field. + public const int GetBlockCountRequestFieldNumber = 1033; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetChunkMessage PruningPointUtxoSetChunk { - get { return payloadCase_ == PayloadOneofCase.PruningPointUtxoSetChunk ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetChunkMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage GetBlockCountRequest { + get { return payloadCase_ == PayloadOneofCase.GetBlockCountRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PruningPointUtxoSetChunk; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockCountRequest; } } - /// Field number for the "requestIBDBlocks" field. - public const int RequestIBDBlocksFieldNumber = 26; + /// Field number for the "getBlockDagInfoRequest" field. + public const int GetBlockDagInfoRequestFieldNumber = 1035; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDBlocksMessage RequestIBDBlocks { - get { return payloadCase_ == PayloadOneofCase.RequestIBDBlocks ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDBlocksMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage GetBlockDagInfoRequest { + get { return payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestIBDBlocks; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockDagInfoRequest; } } - /// Field number for the "unexpectedPruningPoint" field. - public const int UnexpectedPruningPointFieldNumber = 27; + /// Field number for the "resolveFinalityConflictRequest" field. + public const int ResolveFinalityConflictRequestFieldNumber = 1037; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.UnexpectedPruningPointMessage UnexpectedPruningPoint { - get { return payloadCase_ == PayloadOneofCase.UnexpectedPruningPoint ? (global::Miningcore.Blockchain.Kaspa.Kaspad.UnexpectedPruningPointMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage ResolveFinalityConflictRequest { + get { return payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnexpectedPruningPoint; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ResolveFinalityConflictRequest; } } - /// Field number for the "ibdBlockLocator" field. - public const int IbdBlockLocatorFieldNumber = 30; + /// Field number for the "notifyFinalityConflictRequest" field. + public const int NotifyFinalityConflictRequestFieldNumber = 1039; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorMessage IbdBlockLocator { - get { return payloadCase_ == PayloadOneofCase.IbdBlockLocator ? (global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage NotifyFinalityConflictRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.IbdBlockLocator; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyFinalityConflictRequest; } } - /// Field number for the "ibdBlockLocatorHighestHash" field. - public const int IbdBlockLocatorHighestHashFieldNumber = 31; + /// Field number for the "getMempoolEntriesRequest" field. + public const int GetMempoolEntriesRequestFieldNumber = 1043; + /// + /// FinalityConflictNotificationMessage finalityConflictNotification = 1041; + /// FinalityConflictResolvedNotificationMessage finalityConflictResolvedNotification = 1042; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashMessage IbdBlockLocatorHighestHash { - get { return payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHash ? (global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage GetMempoolEntriesRequest { + get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.IbdBlockLocatorHighestHash; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntriesRequest; } } - /// Field number for the "requestNextPruningPointUtxoSetChunk" field. - public const int RequestNextPruningPointUtxoSetChunkFieldNumber = 33; + /// Field number for the "shutdownRequest" field. + public const int ShutdownRequestFieldNumber = 1045; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointUtxoSetChunkMessage RequestNextPruningPointUtxoSetChunk { - get { return payloadCase_ == PayloadOneofCase.RequestNextPruningPointUtxoSetChunk ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointUtxoSetChunkMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage ShutdownRequest { + get { return payloadCase_ == PayloadOneofCase.ShutdownRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestNextPruningPointUtxoSetChunk; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ShutdownRequest; } } - /// Field number for the "donePruningPointUtxoSetChunks" field. - public const int DonePruningPointUtxoSetChunksFieldNumber = 34; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.DonePruningPointUtxoSetChunksMessage DonePruningPointUtxoSetChunks { - get { return payloadCase_ == PayloadOneofCase.DonePruningPointUtxoSetChunks ? (global::Miningcore.Blockchain.Kaspa.Kaspad.DonePruningPointUtxoSetChunksMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.DonePruningPointUtxoSetChunks; - } - } - - /// Field number for the "ibdBlockLocatorHighestHashNotFound" field. - public const int IbdBlockLocatorHighestHashNotFoundFieldNumber = 35; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashNotFoundMessage IbdBlockLocatorHighestHashNotFound { - get { return payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHashNotFound ? (global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashNotFoundMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.IbdBlockLocatorHighestHashNotFound; - } - } - - /// Field number for the "blockWithTrustedData" field. - public const int BlockWithTrustedDataFieldNumber = 36; + /// Field number for the "getHeadersRequest" field. + public const int GetHeadersRequestFieldNumber = 1047; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataMessage BlockWithTrustedData { - get { return payloadCase_ == PayloadOneofCase.BlockWithTrustedData ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage GetHeadersRequest { + get { return payloadCase_ == PayloadOneofCase.GetHeadersRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BlockWithTrustedData; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetHeadersRequest; } } - /// Field number for the "doneBlocksWithTrustedData" field. - public const int DoneBlocksWithTrustedDataFieldNumber = 37; + /// Field number for the "notifyUtxosChangedRequest" field. + public const int NotifyUtxosChangedRequestFieldNumber = 1049; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.DoneBlocksWithTrustedDataMessage DoneBlocksWithTrustedData { - get { return payloadCase_ == PayloadOneofCase.DoneBlocksWithTrustedData ? (global::Miningcore.Blockchain.Kaspa.Kaspad.DoneBlocksWithTrustedDataMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage NotifyUtxosChangedRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.DoneBlocksWithTrustedData; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyUtxosChangedRequest; } } - /// Field number for the "requestPruningPointAndItsAnticone" field. - public const int RequestPruningPointAndItsAnticoneFieldNumber = 40; + /// Field number for the "getUtxosByAddressesRequest" field. + public const int GetUtxosByAddressesRequestFieldNumber = 1052; + /// + /// UtxosChangedNotificationMessage utxosChangedNotification = 1051; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointAndItsAnticoneMessage RequestPruningPointAndItsAnticone { - get { return payloadCase_ == PayloadOneofCase.RequestPruningPointAndItsAnticone ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointAndItsAnticoneMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage GetUtxosByAddressesRequest { + get { return payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestPruningPointAndItsAnticone; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetUtxosByAddressesRequest; } } - /// Field number for the "blockHeaders" field. - public const int BlockHeadersFieldNumber = 41; + /// Field number for the "getSinkBlueScoreRequest" field. + public const int GetSinkBlueScoreRequestFieldNumber = 1054; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockHeadersMessage BlockHeaders { - get { return payloadCase_ == PayloadOneofCase.BlockHeaders ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockHeadersMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage GetSinkBlueScoreRequest { + get { return payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BlockHeaders; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSinkBlueScoreRequest; } } - /// Field number for the "requestNextHeaders" field. - public const int RequestNextHeadersFieldNumber = 42; + /// Field number for the "notifySinkBlueScoreChangedRequest" field. + public const int NotifySinkBlueScoreChangedRequestFieldNumber = 1056; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextHeadersMessage RequestNextHeaders { - get { return payloadCase_ == PayloadOneofCase.RequestNextHeaders ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextHeadersMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage NotifySinkBlueScoreChangedRequest { + get { return payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestNextHeaders; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifySinkBlueScoreChangedRequest; } } - /// Field number for the "DoneHeaders" field. - public const int DoneHeadersFieldNumber = 43; + /// Field number for the "banRequest" field. + public const int BanRequestFieldNumber = 1059; + /// + /// SinkBlueScoreChangedNotificationMessage sinkBlueScoreChangedNotification = 1058; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.DoneHeadersMessage DoneHeaders { - get { return payloadCase_ == PayloadOneofCase.DoneHeaders ? (global::Miningcore.Blockchain.Kaspa.Kaspad.DoneHeadersMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage BanRequest { + get { return payloadCase_ == PayloadOneofCase.BanRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.DoneHeaders; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BanRequest; } } - /// Field number for the "requestPruningPointUTXOSet" field. - public const int RequestPruningPointUTXOSetFieldNumber = 44; + /// Field number for the "unbanRequest" field. + public const int UnbanRequestFieldNumber = 1061; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointUTXOSetMessage RequestPruningPointUTXOSet { - get { return payloadCase_ == PayloadOneofCase.RequestPruningPointUTXOSet ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointUTXOSetMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage UnbanRequest { + get { return payloadCase_ == PayloadOneofCase.UnbanRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestPruningPointUTXOSet; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnbanRequest; } } - /// Field number for the "requestHeaders" field. - public const int RequestHeadersFieldNumber = 45; + /// Field number for the "getInfoRequest" field. + public const int GetInfoRequestFieldNumber = 1063; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestHeadersMessage RequestHeaders { - get { return payloadCase_ == PayloadOneofCase.RequestHeaders ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestHeadersMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage GetInfoRequest { + get { return payloadCase_ == PayloadOneofCase.GetInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestHeaders; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetInfoRequest; } } - /// Field number for the "requestBlockLocator" field. - public const int RequestBlockLocatorFieldNumber = 46; + /// Field number for the "stopNotifyingUtxosChangedRequest" field. + public const int StopNotifyingUtxosChangedRequestFieldNumber = 1065; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestBlockLocatorMessage RequestBlockLocator { - get { return payloadCase_ == PayloadOneofCase.RequestBlockLocator ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestBlockLocatorMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage StopNotifyingUtxosChangedRequest { + get { return payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestBlockLocator; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingUtxosChangedRequest; } } - /// Field number for the "pruningPoints" field. - public const int PruningPointsFieldNumber = 47; + /// Field number for the "notifyPruningPointUtxoSetOverrideRequest" field. + public const int NotifyPruningPointUtxoSetOverrideRequestFieldNumber = 1067; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointsMessage PruningPoints { - get { return payloadCase_ == PayloadOneofCase.PruningPoints ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointsMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage NotifyPruningPointUtxoSetOverrideRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PruningPoints; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest; } } - /// Field number for the "requestPruningPointProof" field. - public const int RequestPruningPointProofFieldNumber = 48; + /// Field number for the "stopNotifyingPruningPointUtxoSetOverrideRequest" field. + public const int StopNotifyingPruningPointUtxoSetOverrideRequestFieldNumber = 1070; + /// + /// PruningPointUtxoSetOverrideNotificationMessage pruningPointUtxoSetOverrideNotification = 1069; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointProofMessage RequestPruningPointProof { - get { return payloadCase_ == PayloadOneofCase.RequestPruningPointProof ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointProofMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage StopNotifyingPruningPointUtxoSetOverrideRequest { + get { return payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestPruningPointProof; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest; } } - /// Field number for the "pruningPointProof" field. - public const int PruningPointProofFieldNumber = 49; + /// Field number for the "estimateNetworkHashesPerSecondRequest" field. + public const int EstimateNetworkHashesPerSecondRequestFieldNumber = 1072; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointProofMessage PruningPointProof { - get { return payloadCase_ == PayloadOneofCase.PruningPointProof ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointProofMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage EstimateNetworkHashesPerSecondRequest { + get { return payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PruningPointProof; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.EstimateNetworkHashesPerSecondRequest; } } - /// Field number for the "ready" field. - public const int ReadyFieldNumber = 50; + /// Field number for the "notifyVirtualDaaScoreChangedRequest" field. + public const int NotifyVirtualDaaScoreChangedRequestFieldNumber = 1074; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.ReadyMessage Ready { - get { return payloadCase_ == PayloadOneofCase.Ready ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ReadyMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage NotifyVirtualDaaScoreChangedRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Ready; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest; } } - /// Field number for the "blockWithTrustedDataV4" field. - public const int BlockWithTrustedDataV4FieldNumber = 51; + /// Field number for the "getBalanceByAddressRequest" field. + public const int GetBalanceByAddressRequestFieldNumber = 1077; + /// + /// VirtualDaaScoreChangedNotificationMessage virtualDaaScoreChangedNotification = 1076; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataV4Message BlockWithTrustedDataV4 { - get { return payloadCase_ == PayloadOneofCase.BlockWithTrustedDataV4 ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataV4Message) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage GetBalanceByAddressRequest { + get { return payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BlockWithTrustedDataV4; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalanceByAddressRequest; } } - /// Field number for the "trustedData" field. - public const int TrustedDataFieldNumber = 52; + /// Field number for the "getBalancesByAddressesRequest" field. + public const int GetBalancesByAddressesRequestFieldNumber = 1079; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.TrustedDataMessage TrustedData { - get { return payloadCase_ == PayloadOneofCase.TrustedData ? (global::Miningcore.Blockchain.Kaspa.Kaspad.TrustedDataMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage GetBalancesByAddressesRequest { + get { return payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.TrustedData; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalancesByAddressesRequest; } } - /// Field number for the "requestIBDChainBlockLocator" field. - public const int RequestIBDChainBlockLocatorFieldNumber = 53; + /// Field number for the "notifyNewBlockTemplateRequest" field. + public const int NotifyNewBlockTemplateRequestFieldNumber = 1081; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDChainBlockLocatorMessage RequestIBDChainBlockLocator { - get { return payloadCase_ == PayloadOneofCase.RequestIBDChainBlockLocator ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDChainBlockLocatorMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage NotifyNewBlockTemplateRequest { + get { return payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestIBDChainBlockLocator; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyNewBlockTemplateRequest; } } - /// Field number for the "ibdChainBlockLocator" field. - public const int IbdChainBlockLocatorFieldNumber = 54; + /// Field number for the "getMempoolEntriesByAddressesRequest" field. + public const int GetMempoolEntriesByAddressesRequestFieldNumber = 1084; + /// + /// NewBlockTemplateNotificationMessage newBlockTemplateNotification = 1083; + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.IbdChainBlockLocatorMessage IbdChainBlockLocator { - get { return payloadCase_ == PayloadOneofCase.IbdChainBlockLocator ? (global::Miningcore.Blockchain.Kaspa.Kaspad.IbdChainBlockLocatorMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage GetMempoolEntriesByAddressesRequest { + get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.IbdChainBlockLocator; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntriesByAddressesRequest; } } - /// Field number for the "requestAnticone" field. - public const int RequestAnticoneFieldNumber = 55; + /// Field number for the "getCoinSupplyRequest" field. + public const int GetCoinSupplyRequestFieldNumber = 1086; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAnticoneMessage RequestAnticone { - get { return payloadCase_ == PayloadOneofCase.RequestAnticone ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAnticoneMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage GetCoinSupplyRequest { + get { return payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestAnticone; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCoinSupplyRequest; } } - /// Field number for the "requestNextPruningPointAndItsAnticoneBlocks" field. - public const int RequestNextPruningPointAndItsAnticoneBlocksFieldNumber = 56; + /// Field number for the "pingRequest" field. + public const int PingRequestFieldNumber = 1088; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointAndItsAnticoneBlocksMessage RequestNextPruningPointAndItsAnticoneBlocks { - get { return payloadCase_ == PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks ? (global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointAndItsAnticoneBlocksMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage PingRequest { + get { return payloadCase_ == PayloadOneofCase.PingRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PingRequest; } } - /// Field number for the "getCurrentNetworkRequest" field. - public const int GetCurrentNetworkRequestFieldNumber = 1001; + /// Field number for the "getMetricsRequest" field. + public const int GetMetricsRequestFieldNumber = 1090; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage GetCurrentNetworkRequest { - get { return payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage GetMetricsRequest { + get { return payloadCase_ == PayloadOneofCase.GetMetricsRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCurrentNetworkRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMetricsRequest; } } - /// Field number for the "getCurrentNetworkResponse" field. - public const int GetCurrentNetworkResponseFieldNumber = 1002; + /// Field number for the "getServerInfoRequest" field. + public const int GetServerInfoRequestFieldNumber = 1092; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage GetCurrentNetworkResponse { - get { return payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage GetServerInfoRequest { + get { return payloadCase_ == PayloadOneofCase.GetServerInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCurrentNetworkResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetServerInfoRequest; } } - /// Field number for the "submitBlockRequest" field. - public const int SubmitBlockRequestFieldNumber = 1003; + /// Field number for the "getSyncStatusRequest" field. + public const int GetSyncStatusRequestFieldNumber = 1094; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage SubmitBlockRequest { - get { return payloadCase_ == PayloadOneofCase.SubmitBlockRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage GetSyncStatusRequest { + get { return payloadCase_ == PayloadOneofCase.GetSyncStatusRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitBlockRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSyncStatusRequest; } } - /// Field number for the "submitBlockResponse" field. - public const int SubmitBlockResponseFieldNumber = 1004; + /// Field number for the "getDaaScoreTimestampEstimateRequest" field. + public const int GetDaaScoreTimestampEstimateRequestFieldNumber = 1096; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage SubmitBlockResponse { - get { return payloadCase_ == PayloadOneofCase.SubmitBlockResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage GetDaaScoreTimestampEstimateRequest { + get { return payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitBlockResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetDaaScoreTimestampEstimateRequest; } } - /// Field number for the "getBlockTemplateRequest" field. - public const int GetBlockTemplateRequestFieldNumber = 1005; + /// Field number for the "submitTransactionReplacementRequest" field. + public const int SubmitTransactionReplacementRequestFieldNumber = 1100; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage GetBlockTemplateRequest { - get { return payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage SubmitTransactionReplacementRequest { + get { return payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockTemplateRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitTransactionReplacementRequest; } } - /// Field number for the "getBlockTemplateResponse" field. - public const int GetBlockTemplateResponseFieldNumber = 1006; + /// Field number for the "getConnectionsRequest" field. + public const int GetConnectionsRequestFieldNumber = 1102; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage GetBlockTemplateResponse { - get { return payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage GetConnectionsRequest { + get { return payloadCase_ == PayloadOneofCase.GetConnectionsRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockTemplateResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetConnectionsRequest; } } - /// Field number for the "notifyBlockAddedRequest" field. - public const int NotifyBlockAddedRequestFieldNumber = 1007; + /// Field number for the "getSystemInfoRequest" field. + public const int GetSystemInfoRequestFieldNumber = 1104; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage NotifyBlockAddedRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage GetSystemInfoRequest { + get { return payloadCase_ == PayloadOneofCase.GetSystemInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyBlockAddedRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSystemInfoRequest; } } - /// Field number for the "notifyBlockAddedResponse" field. - public const int NotifyBlockAddedResponseFieldNumber = 1008; + /// Field number for the "getFeeEstimateRequest" field. + public const int GetFeeEstimateRequestFieldNumber = 1106; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage NotifyBlockAddedResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage GetFeeEstimateRequest { + get { return payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyBlockAddedResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetFeeEstimateRequest; } } - /// Field number for the "blockAddedNotification" field. - public const int BlockAddedNotificationFieldNumber = 1009; + /// Field number for the "getFeeEstimateExperimentalRequest" field. + public const int GetFeeEstimateExperimentalRequestFieldNumber = 1108; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage BlockAddedNotification { - get { return payloadCase_ == PayloadOneofCase.BlockAddedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage GetFeeEstimateExperimentalRequest { + get { return payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BlockAddedNotification; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetFeeEstimateExperimentalRequest; } } - /// Field number for the "getPeerAddressesRequest" field. - public const int GetPeerAddressesRequestFieldNumber = 1010; + /// Field number for the "getCurrentBlockColorRequest" field. + public const int GetCurrentBlockColorRequestFieldNumber = 1110; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage GetPeerAddressesRequest { - get { return payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage GetCurrentBlockColorRequest { + get { return payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetPeerAddressesRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCurrentBlockColorRequest; } } - /// Field number for the "getPeerAddressesResponse" field. - public const int GetPeerAddressesResponseFieldNumber = 1011; + /// Field number for the "GetUtxoReturnAddressRequest" field. + public const int GetUtxoReturnAddressRequestFieldNumber = 1112; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage GetPeerAddressesResponse { - get { return payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage GetUtxoReturnAddressRequest { + get { return payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetPeerAddressesResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetUtxoReturnAddressRequest; } } - /// Field number for the "getSelectedTipHashRequest" field. - public const int GetSelectedTipHashRequestFieldNumber = 1012; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage GetSelectedTipHashRequest { - get { return payloadCase_ == PayloadOneofCase.GetSelectedTipHashRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSelectedTipHashRequest; - } + private object payload_; + /// Enum of possible cases for the "payload" oneof. + public enum PayloadOneofCase { + None = 0, + GetCurrentNetworkRequest = 1001, + SubmitBlockRequest = 1003, + GetBlockTemplateRequest = 1005, + NotifyBlockAddedRequest = 1007, + GetPeerAddressesRequest = 1010, + GetSinkRequest = 1012, + GetMempoolEntryRequest = 1014, + GetConnectedPeerInfoRequest = 1016, + AddPeerRequest = 1018, + SubmitTransactionRequest = 1020, + NotifyVirtualChainChangedRequest = 1022, + GetBlockRequest = 1025, + GetSubnetworkRequest = 1027, + GetVirtualChainFromBlockRequest = 1029, + GetBlocksRequest = 1031, + GetBlockCountRequest = 1033, + GetBlockDagInfoRequest = 1035, + ResolveFinalityConflictRequest = 1037, + NotifyFinalityConflictRequest = 1039, + GetMempoolEntriesRequest = 1043, + ShutdownRequest = 1045, + GetHeadersRequest = 1047, + NotifyUtxosChangedRequest = 1049, + GetUtxosByAddressesRequest = 1052, + GetSinkBlueScoreRequest = 1054, + NotifySinkBlueScoreChangedRequest = 1056, + BanRequest = 1059, + UnbanRequest = 1061, + GetInfoRequest = 1063, + StopNotifyingUtxosChangedRequest = 1065, + NotifyPruningPointUtxoSetOverrideRequest = 1067, + StopNotifyingPruningPointUtxoSetOverrideRequest = 1070, + EstimateNetworkHashesPerSecondRequest = 1072, + NotifyVirtualDaaScoreChangedRequest = 1074, + GetBalanceByAddressRequest = 1077, + GetBalancesByAddressesRequest = 1079, + NotifyNewBlockTemplateRequest = 1081, + GetMempoolEntriesByAddressesRequest = 1084, + GetCoinSupplyRequest = 1086, + PingRequest = 1088, + GetMetricsRequest = 1090, + GetServerInfoRequest = 1092, + GetSyncStatusRequest = 1094, + GetDaaScoreTimestampEstimateRequest = 1096, + SubmitTransactionReplacementRequest = 1100, + GetConnectionsRequest = 1102, + GetSystemInfoRequest = 1104, + GetFeeEstimateRequest = 1106, + GetFeeEstimateExperimentalRequest = 1108, + GetCurrentBlockColorRequest = 1110, + GetUtxoReturnAddressRequest = 1112, } - - /// Field number for the "getSelectedTipHashResponse" field. - public const int GetSelectedTipHashResponseFieldNumber = 1013; + private PayloadOneofCase payloadCase_ = PayloadOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage GetSelectedTipHashResponse { - get { return payloadCase_ == PayloadOneofCase.GetSelectedTipHashResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSelectedTipHashResponse; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PayloadOneofCase PayloadCase { + get { return payloadCase_; } } - /// Field number for the "getMempoolEntryRequest" field. - public const int GetMempoolEntryRequestFieldNumber = 1014; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage GetMempoolEntryRequest { - get { return payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntryRequest; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPayload() { + payloadCase_ = PayloadOneofCase.None; + payload_ = null; } - /// Field number for the "getMempoolEntryResponse" field. - public const int GetMempoolEntryResponseFieldNumber = 1015; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage GetMempoolEntryResponse { - get { return payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntryResponse; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as KaspadRequest); } - /// Field number for the "getConnectedPeerInfoRequest" field. - public const int GetConnectedPeerInfoRequestFieldNumber = 1016; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage GetConnectedPeerInfoRequest { - get { return payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetConnectedPeerInfoRequest; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KaspadRequest other) { + if (ReferenceEquals(other, null)) { + return false; } - } - - /// Field number for the "getConnectedPeerInfoResponse" field. - public const int GetConnectedPeerInfoResponseFieldNumber = 1017; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage GetConnectedPeerInfoResponse { - get { return payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetConnectedPeerInfoResponse; + if (ReferenceEquals(other, this)) { + return true; } + if (Id != other.Id) return false; + if (!object.Equals(GetCurrentNetworkRequest, other.GetCurrentNetworkRequest)) return false; + if (!object.Equals(SubmitBlockRequest, other.SubmitBlockRequest)) return false; + if (!object.Equals(GetBlockTemplateRequest, other.GetBlockTemplateRequest)) return false; + if (!object.Equals(NotifyBlockAddedRequest, other.NotifyBlockAddedRequest)) return false; + if (!object.Equals(GetPeerAddressesRequest, other.GetPeerAddressesRequest)) return false; + if (!object.Equals(GetSinkRequest, other.GetSinkRequest)) return false; + if (!object.Equals(GetMempoolEntryRequest, other.GetMempoolEntryRequest)) return false; + if (!object.Equals(GetConnectedPeerInfoRequest, other.GetConnectedPeerInfoRequest)) return false; + if (!object.Equals(AddPeerRequest, other.AddPeerRequest)) return false; + if (!object.Equals(SubmitTransactionRequest, other.SubmitTransactionRequest)) return false; + if (!object.Equals(NotifyVirtualChainChangedRequest, other.NotifyVirtualChainChangedRequest)) return false; + if (!object.Equals(GetBlockRequest, other.GetBlockRequest)) return false; + if (!object.Equals(GetSubnetworkRequest, other.GetSubnetworkRequest)) return false; + if (!object.Equals(GetVirtualChainFromBlockRequest, other.GetVirtualChainFromBlockRequest)) return false; + if (!object.Equals(GetBlocksRequest, other.GetBlocksRequest)) return false; + if (!object.Equals(GetBlockCountRequest, other.GetBlockCountRequest)) return false; + if (!object.Equals(GetBlockDagInfoRequest, other.GetBlockDagInfoRequest)) return false; + if (!object.Equals(ResolveFinalityConflictRequest, other.ResolveFinalityConflictRequest)) return false; + if (!object.Equals(NotifyFinalityConflictRequest, other.NotifyFinalityConflictRequest)) return false; + if (!object.Equals(GetMempoolEntriesRequest, other.GetMempoolEntriesRequest)) return false; + if (!object.Equals(ShutdownRequest, other.ShutdownRequest)) return false; + if (!object.Equals(GetHeadersRequest, other.GetHeadersRequest)) return false; + if (!object.Equals(NotifyUtxosChangedRequest, other.NotifyUtxosChangedRequest)) return false; + if (!object.Equals(GetUtxosByAddressesRequest, other.GetUtxosByAddressesRequest)) return false; + if (!object.Equals(GetSinkBlueScoreRequest, other.GetSinkBlueScoreRequest)) return false; + if (!object.Equals(NotifySinkBlueScoreChangedRequest, other.NotifySinkBlueScoreChangedRequest)) return false; + if (!object.Equals(BanRequest, other.BanRequest)) return false; + if (!object.Equals(UnbanRequest, other.UnbanRequest)) return false; + if (!object.Equals(GetInfoRequest, other.GetInfoRequest)) return false; + if (!object.Equals(StopNotifyingUtxosChangedRequest, other.StopNotifyingUtxosChangedRequest)) return false; + if (!object.Equals(NotifyPruningPointUtxoSetOverrideRequest, other.NotifyPruningPointUtxoSetOverrideRequest)) return false; + if (!object.Equals(StopNotifyingPruningPointUtxoSetOverrideRequest, other.StopNotifyingPruningPointUtxoSetOverrideRequest)) return false; + if (!object.Equals(EstimateNetworkHashesPerSecondRequest, other.EstimateNetworkHashesPerSecondRequest)) return false; + if (!object.Equals(NotifyVirtualDaaScoreChangedRequest, other.NotifyVirtualDaaScoreChangedRequest)) return false; + if (!object.Equals(GetBalanceByAddressRequest, other.GetBalanceByAddressRequest)) return false; + if (!object.Equals(GetBalancesByAddressesRequest, other.GetBalancesByAddressesRequest)) return false; + if (!object.Equals(NotifyNewBlockTemplateRequest, other.NotifyNewBlockTemplateRequest)) return false; + if (!object.Equals(GetMempoolEntriesByAddressesRequest, other.GetMempoolEntriesByAddressesRequest)) return false; + if (!object.Equals(GetCoinSupplyRequest, other.GetCoinSupplyRequest)) return false; + if (!object.Equals(PingRequest, other.PingRequest)) return false; + if (!object.Equals(GetMetricsRequest, other.GetMetricsRequest)) return false; + if (!object.Equals(GetServerInfoRequest, other.GetServerInfoRequest)) return false; + if (!object.Equals(GetSyncStatusRequest, other.GetSyncStatusRequest)) return false; + if (!object.Equals(GetDaaScoreTimestampEstimateRequest, other.GetDaaScoreTimestampEstimateRequest)) return false; + if (!object.Equals(SubmitTransactionReplacementRequest, other.SubmitTransactionReplacementRequest)) return false; + if (!object.Equals(GetConnectionsRequest, other.GetConnectionsRequest)) return false; + if (!object.Equals(GetSystemInfoRequest, other.GetSystemInfoRequest)) return false; + if (!object.Equals(GetFeeEstimateRequest, other.GetFeeEstimateRequest)) return false; + if (!object.Equals(GetFeeEstimateExperimentalRequest, other.GetFeeEstimateExperimentalRequest)) return false; + if (!object.Equals(GetCurrentBlockColorRequest, other.GetCurrentBlockColorRequest)) return false; + if (!object.Equals(GetUtxoReturnAddressRequest, other.GetUtxoReturnAddressRequest)) return false; + if (PayloadCase != other.PayloadCase) return false; + return Equals(_unknownFields, other._unknownFields); } - /// Field number for the "addPeerRequest" field. - public const int AddPeerRequestFieldNumber = 1018; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage AddPeerRequest { - get { return payloadCase_ == PayloadOneofCase.AddPeerRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0UL) hash ^= Id.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) hash ^= GetCurrentNetworkRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) hash ^= SubmitBlockRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) hash ^= GetBlockTemplateRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) hash ^= NotifyBlockAddedRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) hash ^= GetPeerAddressesRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSinkRequest) hash ^= GetSinkRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) hash ^= GetMempoolEntryRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) hash ^= GetConnectedPeerInfoRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.AddPeerRequest) hash ^= AddPeerRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) hash ^= SubmitTransactionRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest) hash ^= NotifyVirtualChainChangedRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBlockRequest) hash ^= GetBlockRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) hash ^= GetSubnetworkRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest) hash ^= GetVirtualChainFromBlockRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) hash ^= GetBlocksRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) hash ^= GetBlockCountRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) hash ^= GetBlockDagInfoRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) hash ^= ResolveFinalityConflictRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest) hash ^= NotifyFinalityConflictRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) hash ^= GetMempoolEntriesRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.ShutdownRequest) hash ^= ShutdownRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) hash ^= GetHeadersRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) hash ^= NotifyUtxosChangedRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) hash ^= GetUtxosByAddressesRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest) hash ^= GetSinkBlueScoreRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest) hash ^= NotifySinkBlueScoreChangedRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.BanRequest) hash ^= BanRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.UnbanRequest) hash ^= UnbanRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetInfoRequest) hash ^= GetInfoRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) hash ^= StopNotifyingUtxosChangedRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest) hash ^= NotifyPruningPointUtxoSetOverrideRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest) hash ^= StopNotifyingPruningPointUtxoSetOverrideRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) hash ^= EstimateNetworkHashesPerSecondRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) hash ^= NotifyVirtualDaaScoreChangedRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) hash ^= GetBalanceByAddressRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) hash ^= GetBalancesByAddressesRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) hash ^= NotifyNewBlockTemplateRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) hash ^= GetMempoolEntriesByAddressesRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) hash ^= GetCoinSupplyRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.PingRequest) hash ^= PingRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetMetricsRequest) hash ^= GetMetricsRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetServerInfoRequest) hash ^= GetServerInfoRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusRequest) hash ^= GetSyncStatusRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest) hash ^= GetDaaScoreTimestampEstimateRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest) hash ^= SubmitTransactionReplacementRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetConnectionsRequest) hash ^= GetConnectionsRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoRequest) hash ^= GetSystemInfoRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest) hash ^= GetFeeEstimateRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest) hash ^= GetFeeEstimateExperimentalRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest) hash ^= GetCurrentBlockColorRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest) hash ^= GetUtxoReturnAddressRequest.GetHashCode(); + hash ^= (int) payloadCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0UL) { + output.WriteRawTag(168, 6); + output.WriteUInt64(Id); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { + output.WriteRawTag(202, 62); + output.WriteMessage(GetCurrentNetworkRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { + output.WriteRawTag(218, 62); + output.WriteMessage(SubmitBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { + output.WriteRawTag(234, 62); + output.WriteMessage(GetBlockTemplateRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { + output.WriteRawTag(250, 62); + output.WriteMessage(NotifyBlockAddedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { + output.WriteRawTag(146, 63); + output.WriteMessage(GetPeerAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSinkRequest) { + output.WriteRawTag(162, 63); + output.WriteMessage(GetSinkRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { + output.WriteRawTag(178, 63); + output.WriteMessage(GetMempoolEntryRequest); + } + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { + output.WriteRawTag(194, 63); + output.WriteMessage(GetConnectedPeerInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { + output.WriteRawTag(210, 63); + output.WriteMessage(AddPeerRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { + output.WriteRawTag(226, 63); + output.WriteMessage(SubmitTransactionRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest) { + output.WriteRawTag(242, 63); + output.WriteMessage(NotifyVirtualChainChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { + output.WriteRawTag(138, 64); + output.WriteMessage(GetBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { + output.WriteRawTag(154, 64); + output.WriteMessage(GetSubnetworkRequest); + } + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest) { + output.WriteRawTag(170, 64); + output.WriteMessage(GetVirtualChainFromBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { + output.WriteRawTag(186, 64); + output.WriteMessage(GetBlocksRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { + output.WriteRawTag(202, 64); + output.WriteMessage(GetBlockCountRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { + output.WriteRawTag(218, 64); + output.WriteMessage(GetBlockDagInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { + output.WriteRawTag(234, 64); + output.WriteMessage(ResolveFinalityConflictRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest) { + output.WriteRawTag(250, 64); + output.WriteMessage(NotifyFinalityConflictRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { + output.WriteRawTag(154, 65); + output.WriteMessage(GetMempoolEntriesRequest); + } + if (payloadCase_ == PayloadOneofCase.ShutdownRequest) { + output.WriteRawTag(170, 65); + output.WriteMessage(ShutdownRequest); + } + if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { + output.WriteRawTag(186, 65); + output.WriteMessage(GetHeadersRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { + output.WriteRawTag(202, 65); + output.WriteMessage(NotifyUtxosChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { + output.WriteRawTag(226, 65); + output.WriteMessage(GetUtxosByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest) { + output.WriteRawTag(242, 65); + output.WriteMessage(GetSinkBlueScoreRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest) { + output.WriteRawTag(130, 66); + output.WriteMessage(NotifySinkBlueScoreChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.BanRequest) { + output.WriteRawTag(154, 66); + output.WriteMessage(BanRequest); + } + if (payloadCase_ == PayloadOneofCase.UnbanRequest) { + output.WriteRawTag(170, 66); + output.WriteMessage(UnbanRequest); + } + if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { + output.WriteRawTag(186, 66); + output.WriteMessage(GetInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { + output.WriteRawTag(202, 66); + output.WriteMessage(StopNotifyingUtxosChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest) { + output.WriteRawTag(218, 66); + output.WriteMessage(NotifyPruningPointUtxoSetOverrideRequest); + } + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest) { + output.WriteRawTag(242, 66); + output.WriteMessage(StopNotifyingPruningPointUtxoSetOverrideRequest); + } + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { + output.WriteRawTag(130, 67); + output.WriteMessage(EstimateNetworkHashesPerSecondRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { + output.WriteRawTag(146, 67); + output.WriteMessage(NotifyVirtualDaaScoreChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { + output.WriteRawTag(170, 67); + output.WriteMessage(GetBalanceByAddressRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { + output.WriteRawTag(186, 67); + output.WriteMessage(GetBalancesByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { + output.WriteRawTag(202, 67); + output.WriteMessage(NotifyNewBlockTemplateRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { + output.WriteRawTag(226, 67); + output.WriteMessage(GetMempoolEntriesByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { + output.WriteRawTag(242, 67); + output.WriteMessage(GetCoinSupplyRequest); + } + if (payloadCase_ == PayloadOneofCase.PingRequest) { + output.WriteRawTag(130, 68); + output.WriteMessage(PingRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMetricsRequest) { + output.WriteRawTag(146, 68); + output.WriteMessage(GetMetricsRequest); + } + if (payloadCase_ == PayloadOneofCase.GetServerInfoRequest) { + output.WriteRawTag(162, 68); + output.WriteMessage(GetServerInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSyncStatusRequest) { + output.WriteRawTag(178, 68); + output.WriteMessage(GetSyncStatusRequest); + } + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest) { + output.WriteRawTag(194, 68); + output.WriteMessage(GetDaaScoreTimestampEstimateRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest) { + output.WriteRawTag(226, 68); + output.WriteMessage(SubmitTransactionReplacementRequest); + } + if (payloadCase_ == PayloadOneofCase.GetConnectionsRequest) { + output.WriteRawTag(242, 68); + output.WriteMessage(GetConnectionsRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSystemInfoRequest) { + output.WriteRawTag(130, 69); + output.WriteMessage(GetSystemInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest) { + output.WriteRawTag(146, 69); + output.WriteMessage(GetFeeEstimateRequest); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest) { + output.WriteRawTag(162, 69); + output.WriteMessage(GetFeeEstimateExperimentalRequest); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest) { + output.WriteRawTag(178, 69); + output.WriteMessage(GetCurrentBlockColorRequest); + } + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest) { + output.WriteRawTag(194, 69); + output.WriteMessage(GetUtxoReturnAddressRequest); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0UL) { + output.WriteRawTag(168, 6); + output.WriteUInt64(Id); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { + output.WriteRawTag(202, 62); + output.WriteMessage(GetCurrentNetworkRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { + output.WriteRawTag(218, 62); + output.WriteMessage(SubmitBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { + output.WriteRawTag(234, 62); + output.WriteMessage(GetBlockTemplateRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { + output.WriteRawTag(250, 62); + output.WriteMessage(NotifyBlockAddedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { + output.WriteRawTag(146, 63); + output.WriteMessage(GetPeerAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSinkRequest) { + output.WriteRawTag(162, 63); + output.WriteMessage(GetSinkRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { + output.WriteRawTag(178, 63); + output.WriteMessage(GetMempoolEntryRequest); + } + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { + output.WriteRawTag(194, 63); + output.WriteMessage(GetConnectedPeerInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { + output.WriteRawTag(210, 63); + output.WriteMessage(AddPeerRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { + output.WriteRawTag(226, 63); + output.WriteMessage(SubmitTransactionRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest) { + output.WriteRawTag(242, 63); + output.WriteMessage(NotifyVirtualChainChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { + output.WriteRawTag(138, 64); + output.WriteMessage(GetBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { + output.WriteRawTag(154, 64); + output.WriteMessage(GetSubnetworkRequest); + } + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest) { + output.WriteRawTag(170, 64); + output.WriteMessage(GetVirtualChainFromBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { + output.WriteRawTag(186, 64); + output.WriteMessage(GetBlocksRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { + output.WriteRawTag(202, 64); + output.WriteMessage(GetBlockCountRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { + output.WriteRawTag(218, 64); + output.WriteMessage(GetBlockDagInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { + output.WriteRawTag(234, 64); + output.WriteMessage(ResolveFinalityConflictRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest) { + output.WriteRawTag(250, 64); + output.WriteMessage(NotifyFinalityConflictRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { + output.WriteRawTag(154, 65); + output.WriteMessage(GetMempoolEntriesRequest); + } + if (payloadCase_ == PayloadOneofCase.ShutdownRequest) { + output.WriteRawTag(170, 65); + output.WriteMessage(ShutdownRequest); + } + if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { + output.WriteRawTag(186, 65); + output.WriteMessage(GetHeadersRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { + output.WriteRawTag(202, 65); + output.WriteMessage(NotifyUtxosChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { + output.WriteRawTag(226, 65); + output.WriteMessage(GetUtxosByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest) { + output.WriteRawTag(242, 65); + output.WriteMessage(GetSinkBlueScoreRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest) { + output.WriteRawTag(130, 66); + output.WriteMessage(NotifySinkBlueScoreChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.BanRequest) { + output.WriteRawTag(154, 66); + output.WriteMessage(BanRequest); + } + if (payloadCase_ == PayloadOneofCase.UnbanRequest) { + output.WriteRawTag(170, 66); + output.WriteMessage(UnbanRequest); + } + if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { + output.WriteRawTag(186, 66); + output.WriteMessage(GetInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { + output.WriteRawTag(202, 66); + output.WriteMessage(StopNotifyingUtxosChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest) { + output.WriteRawTag(218, 66); + output.WriteMessage(NotifyPruningPointUtxoSetOverrideRequest); + } + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest) { + output.WriteRawTag(242, 66); + output.WriteMessage(StopNotifyingPruningPointUtxoSetOverrideRequest); + } + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { + output.WriteRawTag(130, 67); + output.WriteMessage(EstimateNetworkHashesPerSecondRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { + output.WriteRawTag(146, 67); + output.WriteMessage(NotifyVirtualDaaScoreChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { + output.WriteRawTag(170, 67); + output.WriteMessage(GetBalanceByAddressRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { + output.WriteRawTag(186, 67); + output.WriteMessage(GetBalancesByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { + output.WriteRawTag(202, 67); + output.WriteMessage(NotifyNewBlockTemplateRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { + output.WriteRawTag(226, 67); + output.WriteMessage(GetMempoolEntriesByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { + output.WriteRawTag(242, 67); + output.WriteMessage(GetCoinSupplyRequest); + } + if (payloadCase_ == PayloadOneofCase.PingRequest) { + output.WriteRawTag(130, 68); + output.WriteMessage(PingRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMetricsRequest) { + output.WriteRawTag(146, 68); + output.WriteMessage(GetMetricsRequest); + } + if (payloadCase_ == PayloadOneofCase.GetServerInfoRequest) { + output.WriteRawTag(162, 68); + output.WriteMessage(GetServerInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSyncStatusRequest) { + output.WriteRawTag(178, 68); + output.WriteMessage(GetSyncStatusRequest); + } + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest) { + output.WriteRawTag(194, 68); + output.WriteMessage(GetDaaScoreTimestampEstimateRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest) { + output.WriteRawTag(226, 68); + output.WriteMessage(SubmitTransactionReplacementRequest); + } + if (payloadCase_ == PayloadOneofCase.GetConnectionsRequest) { + output.WriteRawTag(242, 68); + output.WriteMessage(GetConnectionsRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSystemInfoRequest) { + output.WriteRawTag(130, 69); + output.WriteMessage(GetSystemInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest) { + output.WriteRawTag(146, 69); + output.WriteMessage(GetFeeEstimateRequest); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest) { + output.WriteRawTag(162, 69); + output.WriteMessage(GetFeeEstimateExperimentalRequest); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest) { + output.WriteRawTag(178, 69); + output.WriteMessage(GetCurrentBlockColorRequest); + } + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest) { + output.WriteRawTag(194, 69); + output.WriteMessage(GetUtxoReturnAddressRequest); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCurrentNetworkRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockTemplateRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyBlockAddedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetPeerAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSinkRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSinkRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntryRequest); + } + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetConnectedPeerInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddPeerRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitTransactionRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualChainChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSubnetworkRequest); + } + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetVirtualChainFromBlockRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlocksRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockCountRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockDagInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ResolveFinalityConflictRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyFinalityConflictRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntriesRequest); + } + if (payloadCase_ == PayloadOneofCase.ShutdownRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShutdownRequest); + } + if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetHeadersRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyUtxosChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetUtxosByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSinkBlueScoreRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifySinkBlueScoreChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.BanRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(BanRequest); + } + if (payloadCase_ == PayloadOneofCase.UnbanRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnbanRequest); + } + if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingUtxosChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyPruningPointUtxoSetOverrideRequest); + } + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingPruningPointUtxoSetOverrideRequest); + } + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(EstimateNetworkHashesPerSecondRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualDaaScoreChangedRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBalanceByAddressRequest); + } + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBalancesByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyNewBlockTemplateRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntriesByAddressesRequest); + } + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCoinSupplyRequest); + } + if (payloadCase_ == PayloadOneofCase.PingRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PingRequest); + } + if (payloadCase_ == PayloadOneofCase.GetMetricsRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMetricsRequest); + } + if (payloadCase_ == PayloadOneofCase.GetServerInfoRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetServerInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSyncStatusRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSyncStatusRequest); + } + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetDaaScoreTimestampEstimateRequest); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitTransactionReplacementRequest); + } + if (payloadCase_ == PayloadOneofCase.GetConnectionsRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetConnectionsRequest); + } + if (payloadCase_ == PayloadOneofCase.GetSystemInfoRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSystemInfoRequest); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetFeeEstimateRequest); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetFeeEstimateExperimentalRequest); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCurrentBlockColorRequest); + } + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetUtxoReturnAddressRequest); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(KaspadRequest other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + switch (other.PayloadCase) { + case PayloadOneofCase.GetCurrentNetworkRequest: + if (GetCurrentNetworkRequest == null) { + GetCurrentNetworkRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage(); + } + GetCurrentNetworkRequest.MergeFrom(other.GetCurrentNetworkRequest); + break; + case PayloadOneofCase.SubmitBlockRequest: + if (SubmitBlockRequest == null) { + SubmitBlockRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage(); + } + SubmitBlockRequest.MergeFrom(other.SubmitBlockRequest); + break; + case PayloadOneofCase.GetBlockTemplateRequest: + if (GetBlockTemplateRequest == null) { + GetBlockTemplateRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage(); + } + GetBlockTemplateRequest.MergeFrom(other.GetBlockTemplateRequest); + break; + case PayloadOneofCase.NotifyBlockAddedRequest: + if (NotifyBlockAddedRequest == null) { + NotifyBlockAddedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage(); + } + NotifyBlockAddedRequest.MergeFrom(other.NotifyBlockAddedRequest); + break; + case PayloadOneofCase.GetPeerAddressesRequest: + if (GetPeerAddressesRequest == null) { + GetPeerAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage(); + } + GetPeerAddressesRequest.MergeFrom(other.GetPeerAddressesRequest); + break; + case PayloadOneofCase.GetSinkRequest: + if (GetSinkRequest == null) { + GetSinkRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage(); + } + GetSinkRequest.MergeFrom(other.GetSinkRequest); + break; + case PayloadOneofCase.GetMempoolEntryRequest: + if (GetMempoolEntryRequest == null) { + GetMempoolEntryRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage(); + } + GetMempoolEntryRequest.MergeFrom(other.GetMempoolEntryRequest); + break; + case PayloadOneofCase.GetConnectedPeerInfoRequest: + if (GetConnectedPeerInfoRequest == null) { + GetConnectedPeerInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage(); + } + GetConnectedPeerInfoRequest.MergeFrom(other.GetConnectedPeerInfoRequest); + break; + case PayloadOneofCase.AddPeerRequest: + if (AddPeerRequest == null) { + AddPeerRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage(); + } + AddPeerRequest.MergeFrom(other.AddPeerRequest); + break; + case PayloadOneofCase.SubmitTransactionRequest: + if (SubmitTransactionRequest == null) { + SubmitTransactionRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage(); + } + SubmitTransactionRequest.MergeFrom(other.SubmitTransactionRequest); + break; + case PayloadOneofCase.NotifyVirtualChainChangedRequest: + if (NotifyVirtualChainChangedRequest == null) { + NotifyVirtualChainChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage(); + } + NotifyVirtualChainChangedRequest.MergeFrom(other.NotifyVirtualChainChangedRequest); + break; + case PayloadOneofCase.GetBlockRequest: + if (GetBlockRequest == null) { + GetBlockRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage(); + } + GetBlockRequest.MergeFrom(other.GetBlockRequest); + break; + case PayloadOneofCase.GetSubnetworkRequest: + if (GetSubnetworkRequest == null) { + GetSubnetworkRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage(); + } + GetSubnetworkRequest.MergeFrom(other.GetSubnetworkRequest); + break; + case PayloadOneofCase.GetVirtualChainFromBlockRequest: + if (GetVirtualChainFromBlockRequest == null) { + GetVirtualChainFromBlockRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage(); + } + GetVirtualChainFromBlockRequest.MergeFrom(other.GetVirtualChainFromBlockRequest); + break; + case PayloadOneofCase.GetBlocksRequest: + if (GetBlocksRequest == null) { + GetBlocksRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage(); + } + GetBlocksRequest.MergeFrom(other.GetBlocksRequest); + break; + case PayloadOneofCase.GetBlockCountRequest: + if (GetBlockCountRequest == null) { + GetBlockCountRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage(); + } + GetBlockCountRequest.MergeFrom(other.GetBlockCountRequest); + break; + case PayloadOneofCase.GetBlockDagInfoRequest: + if (GetBlockDagInfoRequest == null) { + GetBlockDagInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage(); + } + GetBlockDagInfoRequest.MergeFrom(other.GetBlockDagInfoRequest); + break; + case PayloadOneofCase.ResolveFinalityConflictRequest: + if (ResolveFinalityConflictRequest == null) { + ResolveFinalityConflictRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage(); + } + ResolveFinalityConflictRequest.MergeFrom(other.ResolveFinalityConflictRequest); + break; + case PayloadOneofCase.NotifyFinalityConflictRequest: + if (NotifyFinalityConflictRequest == null) { + NotifyFinalityConflictRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage(); + } + NotifyFinalityConflictRequest.MergeFrom(other.NotifyFinalityConflictRequest); + break; + case PayloadOneofCase.GetMempoolEntriesRequest: + if (GetMempoolEntriesRequest == null) { + GetMempoolEntriesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage(); + } + GetMempoolEntriesRequest.MergeFrom(other.GetMempoolEntriesRequest); + break; + case PayloadOneofCase.ShutdownRequest: + if (ShutdownRequest == null) { + ShutdownRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage(); + } + ShutdownRequest.MergeFrom(other.ShutdownRequest); + break; + case PayloadOneofCase.GetHeadersRequest: + if (GetHeadersRequest == null) { + GetHeadersRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage(); + } + GetHeadersRequest.MergeFrom(other.GetHeadersRequest); + break; + case PayloadOneofCase.NotifyUtxosChangedRequest: + if (NotifyUtxosChangedRequest == null) { + NotifyUtxosChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage(); + } + NotifyUtxosChangedRequest.MergeFrom(other.NotifyUtxosChangedRequest); + break; + case PayloadOneofCase.GetUtxosByAddressesRequest: + if (GetUtxosByAddressesRequest == null) { + GetUtxosByAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage(); + } + GetUtxosByAddressesRequest.MergeFrom(other.GetUtxosByAddressesRequest); + break; + case PayloadOneofCase.GetSinkBlueScoreRequest: + if (GetSinkBlueScoreRequest == null) { + GetSinkBlueScoreRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage(); + } + GetSinkBlueScoreRequest.MergeFrom(other.GetSinkBlueScoreRequest); + break; + case PayloadOneofCase.NotifySinkBlueScoreChangedRequest: + if (NotifySinkBlueScoreChangedRequest == null) { + NotifySinkBlueScoreChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage(); + } + NotifySinkBlueScoreChangedRequest.MergeFrom(other.NotifySinkBlueScoreChangedRequest); + break; + case PayloadOneofCase.BanRequest: + if (BanRequest == null) { + BanRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage(); + } + BanRequest.MergeFrom(other.BanRequest); + break; + case PayloadOneofCase.UnbanRequest: + if (UnbanRequest == null) { + UnbanRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage(); + } + UnbanRequest.MergeFrom(other.UnbanRequest); + break; + case PayloadOneofCase.GetInfoRequest: + if (GetInfoRequest == null) { + GetInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage(); + } + GetInfoRequest.MergeFrom(other.GetInfoRequest); + break; + case PayloadOneofCase.StopNotifyingUtxosChangedRequest: + if (StopNotifyingUtxosChangedRequest == null) { + StopNotifyingUtxosChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage(); + } + StopNotifyingUtxosChangedRequest.MergeFrom(other.StopNotifyingUtxosChangedRequest); + break; + case PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest: + if (NotifyPruningPointUtxoSetOverrideRequest == null) { + NotifyPruningPointUtxoSetOverrideRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage(); + } + NotifyPruningPointUtxoSetOverrideRequest.MergeFrom(other.NotifyPruningPointUtxoSetOverrideRequest); + break; + case PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest: + if (StopNotifyingPruningPointUtxoSetOverrideRequest == null) { + StopNotifyingPruningPointUtxoSetOverrideRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage(); + } + StopNotifyingPruningPointUtxoSetOverrideRequest.MergeFrom(other.StopNotifyingPruningPointUtxoSetOverrideRequest); + break; + case PayloadOneofCase.EstimateNetworkHashesPerSecondRequest: + if (EstimateNetworkHashesPerSecondRequest == null) { + EstimateNetworkHashesPerSecondRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage(); + } + EstimateNetworkHashesPerSecondRequest.MergeFrom(other.EstimateNetworkHashesPerSecondRequest); + break; + case PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest: + if (NotifyVirtualDaaScoreChangedRequest == null) { + NotifyVirtualDaaScoreChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage(); + } + NotifyVirtualDaaScoreChangedRequest.MergeFrom(other.NotifyVirtualDaaScoreChangedRequest); + break; + case PayloadOneofCase.GetBalanceByAddressRequest: + if (GetBalanceByAddressRequest == null) { + GetBalanceByAddressRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage(); + } + GetBalanceByAddressRequest.MergeFrom(other.GetBalanceByAddressRequest); + break; + case PayloadOneofCase.GetBalancesByAddressesRequest: + if (GetBalancesByAddressesRequest == null) { + GetBalancesByAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage(); + } + GetBalancesByAddressesRequest.MergeFrom(other.GetBalancesByAddressesRequest); + break; + case PayloadOneofCase.NotifyNewBlockTemplateRequest: + if (NotifyNewBlockTemplateRequest == null) { + NotifyNewBlockTemplateRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage(); + } + NotifyNewBlockTemplateRequest.MergeFrom(other.NotifyNewBlockTemplateRequest); + break; + case PayloadOneofCase.GetMempoolEntriesByAddressesRequest: + if (GetMempoolEntriesByAddressesRequest == null) { + GetMempoolEntriesByAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage(); + } + GetMempoolEntriesByAddressesRequest.MergeFrom(other.GetMempoolEntriesByAddressesRequest); + break; + case PayloadOneofCase.GetCoinSupplyRequest: + if (GetCoinSupplyRequest == null) { + GetCoinSupplyRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage(); + } + GetCoinSupplyRequest.MergeFrom(other.GetCoinSupplyRequest); + break; + case PayloadOneofCase.PingRequest: + if (PingRequest == null) { + PingRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage(); + } + PingRequest.MergeFrom(other.PingRequest); + break; + case PayloadOneofCase.GetMetricsRequest: + if (GetMetricsRequest == null) { + GetMetricsRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage(); + } + GetMetricsRequest.MergeFrom(other.GetMetricsRequest); + break; + case PayloadOneofCase.GetServerInfoRequest: + if (GetServerInfoRequest == null) { + GetServerInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage(); + } + GetServerInfoRequest.MergeFrom(other.GetServerInfoRequest); + break; + case PayloadOneofCase.GetSyncStatusRequest: + if (GetSyncStatusRequest == null) { + GetSyncStatusRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage(); + } + GetSyncStatusRequest.MergeFrom(other.GetSyncStatusRequest); + break; + case PayloadOneofCase.GetDaaScoreTimestampEstimateRequest: + if (GetDaaScoreTimestampEstimateRequest == null) { + GetDaaScoreTimestampEstimateRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage(); + } + GetDaaScoreTimestampEstimateRequest.MergeFrom(other.GetDaaScoreTimestampEstimateRequest); + break; + case PayloadOneofCase.SubmitTransactionReplacementRequest: + if (SubmitTransactionReplacementRequest == null) { + SubmitTransactionReplacementRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage(); + } + SubmitTransactionReplacementRequest.MergeFrom(other.SubmitTransactionReplacementRequest); + break; + case PayloadOneofCase.GetConnectionsRequest: + if (GetConnectionsRequest == null) { + GetConnectionsRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage(); + } + GetConnectionsRequest.MergeFrom(other.GetConnectionsRequest); + break; + case PayloadOneofCase.GetSystemInfoRequest: + if (GetSystemInfoRequest == null) { + GetSystemInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage(); + } + GetSystemInfoRequest.MergeFrom(other.GetSystemInfoRequest); + break; + case PayloadOneofCase.GetFeeEstimateRequest: + if (GetFeeEstimateRequest == null) { + GetFeeEstimateRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage(); + } + GetFeeEstimateRequest.MergeFrom(other.GetFeeEstimateRequest); + break; + case PayloadOneofCase.GetFeeEstimateExperimentalRequest: + if (GetFeeEstimateExperimentalRequest == null) { + GetFeeEstimateExperimentalRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage(); + } + GetFeeEstimateExperimentalRequest.MergeFrom(other.GetFeeEstimateExperimentalRequest); + break; + case PayloadOneofCase.GetCurrentBlockColorRequest: + if (GetCurrentBlockColorRequest == null) { + GetCurrentBlockColorRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage(); + } + GetCurrentBlockColorRequest.MergeFrom(other.GetCurrentBlockColorRequest); + break; + case PayloadOneofCase.GetUtxoReturnAddressRequest: + if (GetUtxoReturnAddressRequest == null) { + GetUtxoReturnAddressRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage(); + } + GetUtxoReturnAddressRequest.MergeFrom(other.GetUtxoReturnAddressRequest); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 808: { + Id = input.ReadUInt64(); + break; + } + case 8010: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { + subBuilder.MergeFrom(GetCurrentNetworkRequest); + } + input.ReadMessage(subBuilder); + GetCurrentNetworkRequest = subBuilder; + break; + } + case 8026: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { + subBuilder.MergeFrom(SubmitBlockRequest); + } + input.ReadMessage(subBuilder); + SubmitBlockRequest = subBuilder; + break; + } + case 8042: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { + subBuilder.MergeFrom(GetBlockTemplateRequest); + } + input.ReadMessage(subBuilder); + GetBlockTemplateRequest = subBuilder; + break; + } + case 8058: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { + subBuilder.MergeFrom(NotifyBlockAddedRequest); + } + input.ReadMessage(subBuilder); + NotifyBlockAddedRequest = subBuilder; + break; + } + case 8082: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { + subBuilder.MergeFrom(GetPeerAddressesRequest); + } + input.ReadMessage(subBuilder); + GetPeerAddressesRequest = subBuilder; + break; + } + case 8098: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkRequest) { + subBuilder.MergeFrom(GetSinkRequest); + } + input.ReadMessage(subBuilder); + GetSinkRequest = subBuilder; + break; + } + case 8114: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { + subBuilder.MergeFrom(GetMempoolEntryRequest); + } + input.ReadMessage(subBuilder); + GetMempoolEntryRequest = subBuilder; + break; + } + case 8130: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { + subBuilder.MergeFrom(GetConnectedPeerInfoRequest); + } + input.ReadMessage(subBuilder); + GetConnectedPeerInfoRequest = subBuilder; + break; + } + case 8146: { + global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage(); + if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { + subBuilder.MergeFrom(AddPeerRequest); + } + input.ReadMessage(subBuilder); + AddPeerRequest = subBuilder; + break; + } + case 8162: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { + subBuilder.MergeFrom(SubmitTransactionRequest); + } + input.ReadMessage(subBuilder); + SubmitTransactionRequest = subBuilder; + break; + } + case 8178: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest) { + subBuilder.MergeFrom(NotifyVirtualChainChangedRequest); + } + input.ReadMessage(subBuilder); + NotifyVirtualChainChangedRequest = subBuilder; + break; + } + case 8202: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { + subBuilder.MergeFrom(GetBlockRequest); + } + input.ReadMessage(subBuilder); + GetBlockRequest = subBuilder; + break; + } + case 8218: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { + subBuilder.MergeFrom(GetSubnetworkRequest); + } + input.ReadMessage(subBuilder); + GetSubnetworkRequest = subBuilder; + break; + } + case 8234: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest) { + subBuilder.MergeFrom(GetVirtualChainFromBlockRequest); + } + input.ReadMessage(subBuilder); + GetVirtualChainFromBlockRequest = subBuilder; + break; + } + case 8250: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { + subBuilder.MergeFrom(GetBlocksRequest); + } + input.ReadMessage(subBuilder); + GetBlocksRequest = subBuilder; + break; + } + case 8266: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { + subBuilder.MergeFrom(GetBlockCountRequest); + } + input.ReadMessage(subBuilder); + GetBlockCountRequest = subBuilder; + break; + } + case 8282: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { + subBuilder.MergeFrom(GetBlockDagInfoRequest); + } + input.ReadMessage(subBuilder); + GetBlockDagInfoRequest = subBuilder; + break; + } + case 8298: { + global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage(); + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { + subBuilder.MergeFrom(ResolveFinalityConflictRequest); + } + input.ReadMessage(subBuilder); + ResolveFinalityConflictRequest = subBuilder; + break; + } + case 8314: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest) { + subBuilder.MergeFrom(NotifyFinalityConflictRequest); + } + input.ReadMessage(subBuilder); + NotifyFinalityConflictRequest = subBuilder; + break; + } + case 8346: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { + subBuilder.MergeFrom(GetMempoolEntriesRequest); + } + input.ReadMessage(subBuilder); + GetMempoolEntriesRequest = subBuilder; + break; + } + case 8362: { + global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage(); + if (payloadCase_ == PayloadOneofCase.ShutdownRequest) { + subBuilder.MergeFrom(ShutdownRequest); + } + input.ReadMessage(subBuilder); + ShutdownRequest = subBuilder; + break; + } + case 8378: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { + subBuilder.MergeFrom(GetHeadersRequest); + } + input.ReadMessage(subBuilder); + GetHeadersRequest = subBuilder; + break; + } + case 8394: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { + subBuilder.MergeFrom(NotifyUtxosChangedRequest); + } + input.ReadMessage(subBuilder); + NotifyUtxosChangedRequest = subBuilder; + break; + } + case 8418: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { + subBuilder.MergeFrom(GetUtxosByAddressesRequest); + } + input.ReadMessage(subBuilder); + GetUtxosByAddressesRequest = subBuilder; + break; + } + case 8434: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest) { + subBuilder.MergeFrom(GetSinkBlueScoreRequest); + } + input.ReadMessage(subBuilder); + GetSinkBlueScoreRequest = subBuilder; + break; + } + case 8450: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest) { + subBuilder.MergeFrom(NotifySinkBlueScoreChangedRequest); + } + input.ReadMessage(subBuilder); + NotifySinkBlueScoreChangedRequest = subBuilder; + break; + } + case 8474: { + global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage(); + if (payloadCase_ == PayloadOneofCase.BanRequest) { + subBuilder.MergeFrom(BanRequest); + } + input.ReadMessage(subBuilder); + BanRequest = subBuilder; + break; + } + case 8490: { + global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage(); + if (payloadCase_ == PayloadOneofCase.UnbanRequest) { + subBuilder.MergeFrom(UnbanRequest); + } + input.ReadMessage(subBuilder); + UnbanRequest = subBuilder; + break; + } + case 8506: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { + subBuilder.MergeFrom(GetInfoRequest); + } + input.ReadMessage(subBuilder); + GetInfoRequest = subBuilder; + break; + } + case 8522: { + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { + subBuilder.MergeFrom(StopNotifyingUtxosChangedRequest); + } + input.ReadMessage(subBuilder); + StopNotifyingUtxosChangedRequest = subBuilder; + break; + } + case 8538: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest) { + subBuilder.MergeFrom(NotifyPruningPointUtxoSetOverrideRequest); + } + input.ReadMessage(subBuilder); + NotifyPruningPointUtxoSetOverrideRequest = subBuilder; + break; + } + case 8562: { + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest) { + subBuilder.MergeFrom(StopNotifyingPruningPointUtxoSetOverrideRequest); + } + input.ReadMessage(subBuilder); + StopNotifyingPruningPointUtxoSetOverrideRequest = subBuilder; + break; + } + case 8578: { + global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage(); + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { + subBuilder.MergeFrom(EstimateNetworkHashesPerSecondRequest); + } + input.ReadMessage(subBuilder); + EstimateNetworkHashesPerSecondRequest = subBuilder; + break; + } + case 8594: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { + subBuilder.MergeFrom(NotifyVirtualDaaScoreChangedRequest); + } + input.ReadMessage(subBuilder); + NotifyVirtualDaaScoreChangedRequest = subBuilder; + break; + } + case 8618: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { + subBuilder.MergeFrom(GetBalanceByAddressRequest); + } + input.ReadMessage(subBuilder); + GetBalanceByAddressRequest = subBuilder; + break; + } + case 8634: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { + subBuilder.MergeFrom(GetBalancesByAddressesRequest); + } + input.ReadMessage(subBuilder); + GetBalancesByAddressesRequest = subBuilder; + break; + } + case 8650: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { + subBuilder.MergeFrom(NotifyNewBlockTemplateRequest); + } + input.ReadMessage(subBuilder); + NotifyNewBlockTemplateRequest = subBuilder; + break; + } + case 8674: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { + subBuilder.MergeFrom(GetMempoolEntriesByAddressesRequest); + } + input.ReadMessage(subBuilder); + GetMempoolEntriesByAddressesRequest = subBuilder; + break; + } + case 8690: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { + subBuilder.MergeFrom(GetCoinSupplyRequest); + } + input.ReadMessage(subBuilder); + GetCoinSupplyRequest = subBuilder; + break; + } + case 8706: { + global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage(); + if (payloadCase_ == PayloadOneofCase.PingRequest) { + subBuilder.MergeFrom(PingRequest); + } + input.ReadMessage(subBuilder); + PingRequest = subBuilder; + break; + } + case 8722: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMetricsRequest) { + subBuilder.MergeFrom(GetMetricsRequest); + } + input.ReadMessage(subBuilder); + GetMetricsRequest = subBuilder; + break; + } + case 8738: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetServerInfoRequest) { + subBuilder.MergeFrom(GetServerInfoRequest); + } + input.ReadMessage(subBuilder); + GetServerInfoRequest = subBuilder; + break; + } + case 8754: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusRequest) { + subBuilder.MergeFrom(GetSyncStatusRequest); + } + input.ReadMessage(subBuilder); + GetSyncStatusRequest = subBuilder; + break; + } + case 8770: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest) { + subBuilder.MergeFrom(GetDaaScoreTimestampEstimateRequest); + } + input.ReadMessage(subBuilder); + GetDaaScoreTimestampEstimateRequest = subBuilder; + break; + } + case 8802: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest) { + subBuilder.MergeFrom(SubmitTransactionReplacementRequest); + } + input.ReadMessage(subBuilder); + SubmitTransactionReplacementRequest = subBuilder; + break; + } + case 8818: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectionsRequest) { + subBuilder.MergeFrom(GetConnectionsRequest); + } + input.ReadMessage(subBuilder); + GetConnectionsRequest = subBuilder; + break; + } + case 8834: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoRequest) { + subBuilder.MergeFrom(GetSystemInfoRequest); + } + input.ReadMessage(subBuilder); + GetSystemInfoRequest = subBuilder; + break; + } + case 8850: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest) { + subBuilder.MergeFrom(GetFeeEstimateRequest); + } + input.ReadMessage(subBuilder); + GetFeeEstimateRequest = subBuilder; + break; + } + case 8866: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest) { + subBuilder.MergeFrom(GetFeeEstimateExperimentalRequest); + } + input.ReadMessage(subBuilder); + GetFeeEstimateExperimentalRequest = subBuilder; + break; + } + case 8882: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest) { + subBuilder.MergeFrom(GetCurrentBlockColorRequest); + } + input.ReadMessage(subBuilder); + GetCurrentBlockColorRequest = subBuilder; + break; + } + case 8898: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest) { + subBuilder.MergeFrom(GetUtxoReturnAddressRequest); + } + input.ReadMessage(subBuilder); + GetUtxoReturnAddressRequest = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Id = input.ReadUInt64(); + break; + } + case 8010: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { + subBuilder.MergeFrom(GetCurrentNetworkRequest); + } + input.ReadMessage(subBuilder); + GetCurrentNetworkRequest = subBuilder; + break; + } + case 8026: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { + subBuilder.MergeFrom(SubmitBlockRequest); + } + input.ReadMessage(subBuilder); + SubmitBlockRequest = subBuilder; + break; + } + case 8042: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { + subBuilder.MergeFrom(GetBlockTemplateRequest); + } + input.ReadMessage(subBuilder); + GetBlockTemplateRequest = subBuilder; + break; + } + case 8058: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { + subBuilder.MergeFrom(NotifyBlockAddedRequest); + } + input.ReadMessage(subBuilder); + NotifyBlockAddedRequest = subBuilder; + break; + } + case 8082: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { + subBuilder.MergeFrom(GetPeerAddressesRequest); + } + input.ReadMessage(subBuilder); + GetPeerAddressesRequest = subBuilder; + break; + } + case 8098: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkRequest) { + subBuilder.MergeFrom(GetSinkRequest); + } + input.ReadMessage(subBuilder); + GetSinkRequest = subBuilder; + break; + } + case 8114: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { + subBuilder.MergeFrom(GetMempoolEntryRequest); + } + input.ReadMessage(subBuilder); + GetMempoolEntryRequest = subBuilder; + break; + } + case 8130: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { + subBuilder.MergeFrom(GetConnectedPeerInfoRequest); + } + input.ReadMessage(subBuilder); + GetConnectedPeerInfoRequest = subBuilder; + break; + } + case 8146: { + global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage(); + if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { + subBuilder.MergeFrom(AddPeerRequest); + } + input.ReadMessage(subBuilder); + AddPeerRequest = subBuilder; + break; + } + case 8162: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { + subBuilder.MergeFrom(SubmitTransactionRequest); + } + input.ReadMessage(subBuilder); + SubmitTransactionRequest = subBuilder; + break; + } + case 8178: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedRequest) { + subBuilder.MergeFrom(NotifyVirtualChainChangedRequest); + } + input.ReadMessage(subBuilder); + NotifyVirtualChainChangedRequest = subBuilder; + break; + } + case 8202: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { + subBuilder.MergeFrom(GetBlockRequest); + } + input.ReadMessage(subBuilder); + GetBlockRequest = subBuilder; + break; + } + case 8218: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { + subBuilder.MergeFrom(GetSubnetworkRequest); + } + input.ReadMessage(subBuilder); + GetSubnetworkRequest = subBuilder; + break; + } + case 8234: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockRequest) { + subBuilder.MergeFrom(GetVirtualChainFromBlockRequest); + } + input.ReadMessage(subBuilder); + GetVirtualChainFromBlockRequest = subBuilder; + break; + } + case 8250: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { + subBuilder.MergeFrom(GetBlocksRequest); + } + input.ReadMessage(subBuilder); + GetBlocksRequest = subBuilder; + break; + } + case 8266: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { + subBuilder.MergeFrom(GetBlockCountRequest); + } + input.ReadMessage(subBuilder); + GetBlockCountRequest = subBuilder; + break; + } + case 8282: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { + subBuilder.MergeFrom(GetBlockDagInfoRequest); + } + input.ReadMessage(subBuilder); + GetBlockDagInfoRequest = subBuilder; + break; + } + case 8298: { + global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage(); + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { + subBuilder.MergeFrom(ResolveFinalityConflictRequest); + } + input.ReadMessage(subBuilder); + ResolveFinalityConflictRequest = subBuilder; + break; + } + case 8314: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictRequest) { + subBuilder.MergeFrom(NotifyFinalityConflictRequest); + } + input.ReadMessage(subBuilder); + NotifyFinalityConflictRequest = subBuilder; + break; + } + case 8346: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { + subBuilder.MergeFrom(GetMempoolEntriesRequest); + } + input.ReadMessage(subBuilder); + GetMempoolEntriesRequest = subBuilder; + break; + } + case 8362: { + global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage(); + if (payloadCase_ == PayloadOneofCase.ShutdownRequest) { + subBuilder.MergeFrom(ShutdownRequest); + } + input.ReadMessage(subBuilder); + ShutdownRequest = subBuilder; + break; + } + case 8378: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { + subBuilder.MergeFrom(GetHeadersRequest); + } + input.ReadMessage(subBuilder); + GetHeadersRequest = subBuilder; + break; + } + case 8394: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { + subBuilder.MergeFrom(NotifyUtxosChangedRequest); + } + input.ReadMessage(subBuilder); + NotifyUtxosChangedRequest = subBuilder; + break; + } + case 8418: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { + subBuilder.MergeFrom(GetUtxosByAddressesRequest); + } + input.ReadMessage(subBuilder); + GetUtxosByAddressesRequest = subBuilder; + break; + } + case 8434: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreRequest) { + subBuilder.MergeFrom(GetSinkBlueScoreRequest); + } + input.ReadMessage(subBuilder); + GetSinkBlueScoreRequest = subBuilder; + break; + } + case 8450: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedRequest) { + subBuilder.MergeFrom(NotifySinkBlueScoreChangedRequest); + } + input.ReadMessage(subBuilder); + NotifySinkBlueScoreChangedRequest = subBuilder; + break; + } + case 8474: { + global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage(); + if (payloadCase_ == PayloadOneofCase.BanRequest) { + subBuilder.MergeFrom(BanRequest); + } + input.ReadMessage(subBuilder); + BanRequest = subBuilder; + break; + } + case 8490: { + global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage(); + if (payloadCase_ == PayloadOneofCase.UnbanRequest) { + subBuilder.MergeFrom(UnbanRequest); + } + input.ReadMessage(subBuilder); + UnbanRequest = subBuilder; + break; + } + case 8506: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { + subBuilder.MergeFrom(GetInfoRequest); + } + input.ReadMessage(subBuilder); + GetInfoRequest = subBuilder; + break; + } + case 8522: { + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { + subBuilder.MergeFrom(StopNotifyingUtxosChangedRequest); + } + input.ReadMessage(subBuilder); + StopNotifyingUtxosChangedRequest = subBuilder; + break; + } + case 8538: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideRequest) { + subBuilder.MergeFrom(NotifyPruningPointUtxoSetOverrideRequest); + } + input.ReadMessage(subBuilder); + NotifyPruningPointUtxoSetOverrideRequest = subBuilder; + break; + } + case 8562: { + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideRequest) { + subBuilder.MergeFrom(StopNotifyingPruningPointUtxoSetOverrideRequest); + } + input.ReadMessage(subBuilder); + StopNotifyingPruningPointUtxoSetOverrideRequest = subBuilder; + break; + } + case 8578: { + global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage(); + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { + subBuilder.MergeFrom(EstimateNetworkHashesPerSecondRequest); + } + input.ReadMessage(subBuilder); + EstimateNetworkHashesPerSecondRequest = subBuilder; + break; + } + case 8594: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { + subBuilder.MergeFrom(NotifyVirtualDaaScoreChangedRequest); + } + input.ReadMessage(subBuilder); + NotifyVirtualDaaScoreChangedRequest = subBuilder; + break; + } + case 8618: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { + subBuilder.MergeFrom(GetBalanceByAddressRequest); + } + input.ReadMessage(subBuilder); + GetBalanceByAddressRequest = subBuilder; + break; + } + case 8634: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { + subBuilder.MergeFrom(GetBalancesByAddressesRequest); + } + input.ReadMessage(subBuilder); + GetBalancesByAddressesRequest = subBuilder; + break; + } + case 8650: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { + subBuilder.MergeFrom(NotifyNewBlockTemplateRequest); + } + input.ReadMessage(subBuilder); + NotifyNewBlockTemplateRequest = subBuilder; + break; + } + case 8674: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { + subBuilder.MergeFrom(GetMempoolEntriesByAddressesRequest); + } + input.ReadMessage(subBuilder); + GetMempoolEntriesByAddressesRequest = subBuilder; + break; + } + case 8690: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { + subBuilder.MergeFrom(GetCoinSupplyRequest); + } + input.ReadMessage(subBuilder); + GetCoinSupplyRequest = subBuilder; + break; + } + case 8706: { + global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage(); + if (payloadCase_ == PayloadOneofCase.PingRequest) { + subBuilder.MergeFrom(PingRequest); + } + input.ReadMessage(subBuilder); + PingRequest = subBuilder; + break; + } + case 8722: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetMetricsRequest) { + subBuilder.MergeFrom(GetMetricsRequest); + } + input.ReadMessage(subBuilder); + GetMetricsRequest = subBuilder; + break; + } + case 8738: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetServerInfoRequest) { + subBuilder.MergeFrom(GetServerInfoRequest); + } + input.ReadMessage(subBuilder); + GetServerInfoRequest = subBuilder; + break; + } + case 8754: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusRequest) { + subBuilder.MergeFrom(GetSyncStatusRequest); + } + input.ReadMessage(subBuilder); + GetSyncStatusRequest = subBuilder; + break; + } + case 8770: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateRequest) { + subBuilder.MergeFrom(GetDaaScoreTimestampEstimateRequest); + } + input.ReadMessage(subBuilder); + GetDaaScoreTimestampEstimateRequest = subBuilder; + break; + } + case 8802: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementRequest) { + subBuilder.MergeFrom(SubmitTransactionReplacementRequest); + } + input.ReadMessage(subBuilder); + SubmitTransactionReplacementRequest = subBuilder; + break; + } + case 8818: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectionsRequest) { + subBuilder.MergeFrom(GetConnectionsRequest); + } + input.ReadMessage(subBuilder); + GetConnectionsRequest = subBuilder; + break; + } + case 8834: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoRequest) { + subBuilder.MergeFrom(GetSystemInfoRequest); + } + input.ReadMessage(subBuilder); + GetSystemInfoRequest = subBuilder; + break; + } + case 8850: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateRequest) { + subBuilder.MergeFrom(GetFeeEstimateRequest); + } + input.ReadMessage(subBuilder); + GetFeeEstimateRequest = subBuilder; + break; + } + case 8866: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalRequest) { + subBuilder.MergeFrom(GetFeeEstimateExperimentalRequest); + } + input.ReadMessage(subBuilder); + GetFeeEstimateExperimentalRequest = subBuilder; + break; + } + case 8882: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorRequest) { + subBuilder.MergeFrom(GetCurrentBlockColorRequest); + } + input.ReadMessage(subBuilder); + GetCurrentBlockColorRequest = subBuilder; + break; + } + case 8898: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressRequest) { + subBuilder.MergeFrom(GetUtxoReturnAddressRequest); + } + input.ReadMessage(subBuilder); + GetUtxoReturnAddressRequest = subBuilder; + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KaspadResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KaspadResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.MessagesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KaspadResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KaspadResponse(KaspadResponse other) : this() { + id_ = other.id_; + switch (other.PayloadCase) { + case PayloadOneofCase.GetCurrentNetworkResponse: + GetCurrentNetworkResponse = other.GetCurrentNetworkResponse.Clone(); + break; + case PayloadOneofCase.SubmitBlockResponse: + SubmitBlockResponse = other.SubmitBlockResponse.Clone(); + break; + case PayloadOneofCase.GetBlockTemplateResponse: + GetBlockTemplateResponse = other.GetBlockTemplateResponse.Clone(); + break; + case PayloadOneofCase.NotifyBlockAddedResponse: + NotifyBlockAddedResponse = other.NotifyBlockAddedResponse.Clone(); + break; + case PayloadOneofCase.BlockAddedNotification: + BlockAddedNotification = other.BlockAddedNotification.Clone(); + break; + case PayloadOneofCase.GetPeerAddressesResponse: + GetPeerAddressesResponse = other.GetPeerAddressesResponse.Clone(); + break; + case PayloadOneofCase.GetSinkResponse: + GetSinkResponse = other.GetSinkResponse.Clone(); + break; + case PayloadOneofCase.GetMempoolEntryResponse: + GetMempoolEntryResponse = other.GetMempoolEntryResponse.Clone(); + break; + case PayloadOneofCase.GetConnectedPeerInfoResponse: + GetConnectedPeerInfoResponse = other.GetConnectedPeerInfoResponse.Clone(); + break; + case PayloadOneofCase.AddPeerResponse: + AddPeerResponse = other.AddPeerResponse.Clone(); + break; + case PayloadOneofCase.SubmitTransactionResponse: + SubmitTransactionResponse = other.SubmitTransactionResponse.Clone(); + break; + case PayloadOneofCase.NotifyVirtualChainChangedResponse: + NotifyVirtualChainChangedResponse = other.NotifyVirtualChainChangedResponse.Clone(); + break; + case PayloadOneofCase.VirtualChainChangedNotification: + VirtualChainChangedNotification = other.VirtualChainChangedNotification.Clone(); + break; + case PayloadOneofCase.GetBlockResponse: + GetBlockResponse = other.GetBlockResponse.Clone(); + break; + case PayloadOneofCase.GetSubnetworkResponse: + GetSubnetworkResponse = other.GetSubnetworkResponse.Clone(); + break; + case PayloadOneofCase.GetVirtualChainFromBlockResponse: + GetVirtualChainFromBlockResponse = other.GetVirtualChainFromBlockResponse.Clone(); + break; + case PayloadOneofCase.GetBlocksResponse: + GetBlocksResponse = other.GetBlocksResponse.Clone(); + break; + case PayloadOneofCase.GetBlockCountResponse: + GetBlockCountResponse = other.GetBlockCountResponse.Clone(); + break; + case PayloadOneofCase.GetBlockDagInfoResponse: + GetBlockDagInfoResponse = other.GetBlockDagInfoResponse.Clone(); + break; + case PayloadOneofCase.ResolveFinalityConflictResponse: + ResolveFinalityConflictResponse = other.ResolveFinalityConflictResponse.Clone(); + break; + case PayloadOneofCase.NotifyFinalityConflictResponse: + NotifyFinalityConflictResponse = other.NotifyFinalityConflictResponse.Clone(); + break; + case PayloadOneofCase.FinalityConflictNotification: + FinalityConflictNotification = other.FinalityConflictNotification.Clone(); + break; + case PayloadOneofCase.FinalityConflictResolvedNotification: + FinalityConflictResolvedNotification = other.FinalityConflictResolvedNotification.Clone(); + break; + case PayloadOneofCase.GetMempoolEntriesResponse: + GetMempoolEntriesResponse = other.GetMempoolEntriesResponse.Clone(); + break; + case PayloadOneofCase.ShutdownResponse: + ShutdownResponse = other.ShutdownResponse.Clone(); + break; + case PayloadOneofCase.GetHeadersResponse: + GetHeadersResponse = other.GetHeadersResponse.Clone(); + break; + case PayloadOneofCase.NotifyUtxosChangedResponse: + NotifyUtxosChangedResponse = other.NotifyUtxosChangedResponse.Clone(); + break; + case PayloadOneofCase.UtxosChangedNotification: + UtxosChangedNotification = other.UtxosChangedNotification.Clone(); + break; + case PayloadOneofCase.GetUtxosByAddressesResponse: + GetUtxosByAddressesResponse = other.GetUtxosByAddressesResponse.Clone(); + break; + case PayloadOneofCase.GetSinkBlueScoreResponse: + GetSinkBlueScoreResponse = other.GetSinkBlueScoreResponse.Clone(); + break; + case PayloadOneofCase.NotifySinkBlueScoreChangedResponse: + NotifySinkBlueScoreChangedResponse = other.NotifySinkBlueScoreChangedResponse.Clone(); + break; + case PayloadOneofCase.SinkBlueScoreChangedNotification: + SinkBlueScoreChangedNotification = other.SinkBlueScoreChangedNotification.Clone(); + break; + case PayloadOneofCase.BanResponse: + BanResponse = other.BanResponse.Clone(); + break; + case PayloadOneofCase.UnbanResponse: + UnbanResponse = other.UnbanResponse.Clone(); + break; + case PayloadOneofCase.GetInfoResponse: + GetInfoResponse = other.GetInfoResponse.Clone(); + break; + case PayloadOneofCase.StopNotifyingUtxosChangedResponse: + StopNotifyingUtxosChangedResponse = other.StopNotifyingUtxosChangedResponse.Clone(); + break; + case PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse: + NotifyPruningPointUtxoSetOverrideResponse = other.NotifyPruningPointUtxoSetOverrideResponse.Clone(); + break; + case PayloadOneofCase.PruningPointUtxoSetOverrideNotification: + PruningPointUtxoSetOverrideNotification = other.PruningPointUtxoSetOverrideNotification.Clone(); + break; + case PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse: + StopNotifyingPruningPointUtxoSetOverrideResponse = other.StopNotifyingPruningPointUtxoSetOverrideResponse.Clone(); + break; + case PayloadOneofCase.EstimateNetworkHashesPerSecondResponse: + EstimateNetworkHashesPerSecondResponse = other.EstimateNetworkHashesPerSecondResponse.Clone(); + break; + case PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse: + NotifyVirtualDaaScoreChangedResponse = other.NotifyVirtualDaaScoreChangedResponse.Clone(); + break; + case PayloadOneofCase.VirtualDaaScoreChangedNotification: + VirtualDaaScoreChangedNotification = other.VirtualDaaScoreChangedNotification.Clone(); + break; + case PayloadOneofCase.GetBalanceByAddressResponse: + GetBalanceByAddressResponse = other.GetBalanceByAddressResponse.Clone(); + break; + case PayloadOneofCase.GetBalancesByAddressesResponse: + GetBalancesByAddressesResponse = other.GetBalancesByAddressesResponse.Clone(); + break; + case PayloadOneofCase.NotifyNewBlockTemplateResponse: + NotifyNewBlockTemplateResponse = other.NotifyNewBlockTemplateResponse.Clone(); + break; + case PayloadOneofCase.NewBlockTemplateNotification: + NewBlockTemplateNotification = other.NewBlockTemplateNotification.Clone(); + break; + case PayloadOneofCase.GetMempoolEntriesByAddressesResponse: + GetMempoolEntriesByAddressesResponse = other.GetMempoolEntriesByAddressesResponse.Clone(); + break; + case PayloadOneofCase.GetCoinSupplyResponse: + GetCoinSupplyResponse = other.GetCoinSupplyResponse.Clone(); + break; + case PayloadOneofCase.PingResponse: + PingResponse = other.PingResponse.Clone(); + break; + case PayloadOneofCase.GetMetricsResponse: + GetMetricsResponse = other.GetMetricsResponse.Clone(); + break; + case PayloadOneofCase.GetServerInfoResponse: + GetServerInfoResponse = other.GetServerInfoResponse.Clone(); + break; + case PayloadOneofCase.GetSyncStatusResponse: + GetSyncStatusResponse = other.GetSyncStatusResponse.Clone(); + break; + case PayloadOneofCase.GetDaaScoreTimestampEstimateResponse: + GetDaaScoreTimestampEstimateResponse = other.GetDaaScoreTimestampEstimateResponse.Clone(); + break; + case PayloadOneofCase.SubmitTransactionReplacementResponse: + SubmitTransactionReplacementResponse = other.SubmitTransactionReplacementResponse.Clone(); + break; + case PayloadOneofCase.GetConnectionsResponse: + GetConnectionsResponse = other.GetConnectionsResponse.Clone(); + break; + case PayloadOneofCase.GetSystemInfoResponse: + GetSystemInfoResponse = other.GetSystemInfoResponse.Clone(); + break; + case PayloadOneofCase.GetFeeEstimateResponse: + GetFeeEstimateResponse = other.GetFeeEstimateResponse.Clone(); + break; + case PayloadOneofCase.GetFeeEstimateExperimentalResponse: + GetFeeEstimateExperimentalResponse = other.GetFeeEstimateExperimentalResponse.Clone(); + break; + case PayloadOneofCase.GetCurrentBlockColorResponse: + GetCurrentBlockColorResponse = other.GetCurrentBlockColorResponse.Clone(); + break; + case PayloadOneofCase.GetUtxoReturnAddressResponse: + GetUtxoReturnAddressResponse = other.GetUtxoReturnAddressResponse.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KaspadResponse Clone() { + return new KaspadResponse(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 101; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "getCurrentNetworkResponse" field. + public const int GetCurrentNetworkResponseFieldNumber = 1002; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage GetCurrentNetworkResponse { + get { return payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddPeerRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCurrentNetworkResponse; } } - /// Field number for the "addPeerResponse" field. - public const int AddPeerResponseFieldNumber = 1019; + /// Field number for the "submitBlockResponse" field. + public const int SubmitBlockResponseFieldNumber = 1004; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage AddPeerResponse { - get { return payloadCase_ == PayloadOneofCase.AddPeerResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage SubmitBlockResponse { + get { return payloadCase_ == PayloadOneofCase.SubmitBlockResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddPeerResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitBlockResponse; } } - /// Field number for the "submitTransactionRequest" field. - public const int SubmitTransactionRequestFieldNumber = 1020; + /// Field number for the "getBlockTemplateResponse" field. + public const int GetBlockTemplateResponseFieldNumber = 1006; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage SubmitTransactionRequest { - get { return payloadCase_ == PayloadOneofCase.SubmitTransactionRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage GetBlockTemplateResponse { + get { return payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitTransactionRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockTemplateResponse; } } - /// Field number for the "submitTransactionResponse" field. - public const int SubmitTransactionResponseFieldNumber = 1021; + /// Field number for the "notifyBlockAddedResponse" field. + public const int NotifyBlockAddedResponseFieldNumber = 1008; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage SubmitTransactionResponse { - get { return payloadCase_ == PayloadOneofCase.SubmitTransactionResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage NotifyBlockAddedResponse { + get { return payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitTransactionResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyBlockAddedResponse; + } + } + + /// Field number for the "blockAddedNotification" field. + public const int BlockAddedNotificationFieldNumber = 1009; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage BlockAddedNotification { + get { return payloadCase_ == PayloadOneofCase.BlockAddedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage) payload_ : null; } + set { + payload_ = value; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BlockAddedNotification; + } + } + + /// Field number for the "getPeerAddressesResponse" field. + public const int GetPeerAddressesResponseFieldNumber = 1011; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage GetPeerAddressesResponse { + get { return payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage) payload_ : null; } + set { + payload_ = value; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetPeerAddressesResponse; + } + } + + /// Field number for the "GetSinkResponse" field. + public const int GetSinkResponseFieldNumber = 1013; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage GetSinkResponse { + get { return payloadCase_ == PayloadOneofCase.GetSinkResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage) payload_ : null; } + set { + payload_ = value; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSinkResponse; + } + } + + /// Field number for the "getMempoolEntryResponse" field. + public const int GetMempoolEntryResponseFieldNumber = 1015; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage GetMempoolEntryResponse { + get { return payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage) payload_ : null; } + set { + payload_ = value; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntryResponse; + } + } + + /// Field number for the "getConnectedPeerInfoResponse" field. + public const int GetConnectedPeerInfoResponseFieldNumber = 1017; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage GetConnectedPeerInfoResponse { + get { return payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage) payload_ : null; } + set { + payload_ = value; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetConnectedPeerInfoResponse; } } - /// Field number for the "notifyVirtualSelectedParentChainChangedRequest" field. - public const int NotifyVirtualSelectedParentChainChangedRequestFieldNumber = 1022; + /// Field number for the "addPeerResponse" field. + public const int AddPeerResponseFieldNumber = 1019; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage NotifyVirtualSelectedParentChainChangedRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage AddPeerResponse { + get { return payloadCase_ == PayloadOneofCase.AddPeerResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddPeerResponse; } } - /// Field number for the "notifyVirtualSelectedParentChainChangedResponse" field. - public const int NotifyVirtualSelectedParentChainChangedResponseFieldNumber = 1023; + /// Field number for the "submitTransactionResponse" field. + public const int SubmitTransactionResponseFieldNumber = 1021; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage NotifyVirtualSelectedParentChainChangedResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage SubmitTransactionResponse { + get { return payloadCase_ == PayloadOneofCase.SubmitTransactionResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitTransactionResponse; } } - /// Field number for the "virtualSelectedParentChainChangedNotification" field. - public const int VirtualSelectedParentChainChangedNotificationFieldNumber = 1024; + /// Field number for the "notifyVirtualChainChangedResponse" field. + public const int NotifyVirtualChainChangedResponseFieldNumber = 1023; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage VirtualSelectedParentChainChangedNotification { - get { return payloadCase_ == PayloadOneofCase.VirtualSelectedParentChainChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage NotifyVirtualChainChangedResponse { + get { return payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VirtualSelectedParentChainChangedNotification; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualChainChangedResponse; } } - /// Field number for the "getBlockRequest" field. - public const int GetBlockRequestFieldNumber = 1025; + /// Field number for the "virtualChainChangedNotification" field. + public const int VirtualChainChangedNotificationFieldNumber = 1024; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage GetBlockRequest { - get { return payloadCase_ == PayloadOneofCase.GetBlockRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage VirtualChainChangedNotification { + get { return payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VirtualChainChangedNotification; } } /// Field number for the "getBlockResponse" field. public const int GetBlockResponseFieldNumber = 1026; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockResponseMessage GetBlockResponse { get { return payloadCase_ == PayloadOneofCase.GetBlockResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockResponseMessage) payload_ : null; } set { @@ -1461,20 +3608,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "getSubnetworkRequest" field. - public const int GetSubnetworkRequestFieldNumber = 1027; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage GetSubnetworkRequest { - get { return payloadCase_ == PayloadOneofCase.GetSubnetworkRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSubnetworkRequest; - } - } - /// Field number for the "getSubnetworkResponse" field. public const int GetSubnetworkResponseFieldNumber = 1028; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage GetSubnetworkResponse { get { return payloadCase_ == PayloadOneofCase.GetSubnetworkResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage) payload_ : null; } set { @@ -1483,42 +3620,22 @@ public KaspadMessage Clone() { } } - /// Field number for the "getVirtualSelectedParentChainFromBlockRequest" field. - public const int GetVirtualSelectedParentChainFromBlockRequestFieldNumber = 1029; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage GetVirtualSelectedParentChainFromBlockRequest { - get { return payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest; - } - } - - /// Field number for the "getVirtualSelectedParentChainFromBlockResponse" field. - public const int GetVirtualSelectedParentChainFromBlockResponseFieldNumber = 1030; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage GetVirtualSelectedParentChainFromBlockResponse { - get { return payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse; - } - } - - /// Field number for the "getBlocksRequest" field. - public const int GetBlocksRequestFieldNumber = 1031; + /// Field number for the "getVirtualChainFromBlockResponse" field. + public const int GetVirtualChainFromBlockResponseFieldNumber = 1030; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage GetBlocksRequest { - get { return payloadCase_ == PayloadOneofCase.GetBlocksRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage GetVirtualChainFromBlockResponse { + get { return payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlocksRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetVirtualChainFromBlockResponse; } } /// Field number for the "getBlocksResponse" field. public const int GetBlocksResponseFieldNumber = 1032; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksResponseMessage GetBlocksResponse { get { return payloadCase_ == PayloadOneofCase.GetBlocksResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksResponseMessage) payload_ : null; } set { @@ -1527,20 +3644,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "getBlockCountRequest" field. - public const int GetBlockCountRequestFieldNumber = 1033; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage GetBlockCountRequest { - get { return payloadCase_ == PayloadOneofCase.GetBlockCountRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockCountRequest; - } - } - /// Field number for the "getBlockCountResponse" field. public const int GetBlockCountResponseFieldNumber = 1034; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage GetBlockCountResponse { get { return payloadCase_ == PayloadOneofCase.GetBlockCountResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage) payload_ : null; } set { @@ -1549,20 +3656,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "getBlockDagInfoRequest" field. - public const int GetBlockDagInfoRequestFieldNumber = 1035; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage GetBlockDagInfoRequest { - get { return payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBlockDagInfoRequest; - } - } - /// Field number for the "getBlockDagInfoResponse" field. public const int GetBlockDagInfoResponseFieldNumber = 1036; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage GetBlockDagInfoResponse { get { return payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage) payload_ : null; } set { @@ -1571,20 +3668,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "resolveFinalityConflictRequest" field. - public const int ResolveFinalityConflictRequestFieldNumber = 1037; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage ResolveFinalityConflictRequest { - get { return payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ResolveFinalityConflictRequest; - } - } - /// Field number for the "resolveFinalityConflictResponse" field. public const int ResolveFinalityConflictResponseFieldNumber = 1038; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage ResolveFinalityConflictResponse { get { return payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage) payload_ : null; } set { @@ -1593,31 +3680,22 @@ public KaspadMessage Clone() { } } - /// Field number for the "notifyFinalityConflictsRequest" field. - public const int NotifyFinalityConflictsRequestFieldNumber = 1039; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage NotifyFinalityConflictsRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyFinalityConflictsRequest; - } - } - - /// Field number for the "notifyFinalityConflictsResponse" field. - public const int NotifyFinalityConflictsResponseFieldNumber = 1040; + /// Field number for the "notifyFinalityConflictResponse" field. + public const int NotifyFinalityConflictResponseFieldNumber = 1040; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage NotifyFinalityConflictsResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage NotifyFinalityConflictResponse { + get { return payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyFinalityConflictsResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyFinalityConflictResponse; } } /// Field number for the "finalityConflictNotification" field. public const int FinalityConflictNotificationFieldNumber = 1041; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictNotificationMessage FinalityConflictNotification { get { return payloadCase_ == PayloadOneofCase.FinalityConflictNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictNotificationMessage) payload_ : null; } set { @@ -1629,6 +3707,7 @@ public KaspadMessage Clone() { /// Field number for the "finalityConflictResolvedNotification" field. public const int FinalityConflictResolvedNotificationFieldNumber = 1042; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictResolvedNotificationMessage FinalityConflictResolvedNotification { get { return payloadCase_ == PayloadOneofCase.FinalityConflictResolvedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictResolvedNotificationMessage) payload_ : null; } set { @@ -1637,20 +3716,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "getMempoolEntriesRequest" field. - public const int GetMempoolEntriesRequestFieldNumber = 1043; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage GetMempoolEntriesRequest { - get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntriesRequest; - } - } - /// Field number for the "getMempoolEntriesResponse" field. public const int GetMempoolEntriesResponseFieldNumber = 1044; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage GetMempoolEntriesResponse { get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage) payload_ : null; } set { @@ -1659,42 +3728,22 @@ public KaspadMessage Clone() { } } - /// Field number for the "shutDownRequest" field. - public const int ShutDownRequestFieldNumber = 1045; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage ShutDownRequest { - get { return payloadCase_ == PayloadOneofCase.ShutDownRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ShutDownRequest; - } - } - - /// Field number for the "shutDownResponse" field. - public const int ShutDownResponseFieldNumber = 1046; + /// Field number for the "shutdownResponse" field. + public const int ShutdownResponseFieldNumber = 1046; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage ShutDownResponse { - get { return payloadCase_ == PayloadOneofCase.ShutDownResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage ShutdownResponse { + get { return payloadCase_ == PayloadOneofCase.ShutdownResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ShutDownResponse; - } - } - - /// Field number for the "getHeadersRequest" field. - public const int GetHeadersRequestFieldNumber = 1047; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage GetHeadersRequest { - get { return payloadCase_ == PayloadOneofCase.GetHeadersRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetHeadersRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ShutdownResponse; } } /// Field number for the "getHeadersResponse" field. public const int GetHeadersResponseFieldNumber = 1048; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersResponseMessage GetHeadersResponse { get { return payloadCase_ == PayloadOneofCase.GetHeadersResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersResponseMessage) payload_ : null; } set { @@ -1703,20 +3752,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "notifyUtxosChangedRequest" field. - public const int NotifyUtxosChangedRequestFieldNumber = 1049; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage NotifyUtxosChangedRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyUtxosChangedRequest; - } - } - /// Field number for the "notifyUtxosChangedResponse" field. public const int NotifyUtxosChangedResponseFieldNumber = 1050; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage NotifyUtxosChangedResponse { get { return payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage) payload_ : null; } set { @@ -1728,6 +3767,7 @@ public KaspadMessage Clone() { /// Field number for the "utxosChangedNotification" field. public const int UtxosChangedNotificationFieldNumber = 1051; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosChangedNotificationMessage UtxosChangedNotification { get { return payloadCase_ == PayloadOneofCase.UtxosChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosChangedNotificationMessage) payload_ : null; } set { @@ -1736,20 +3776,10 @@ public KaspadMessage Clone() { } } - /// Field number for the "getUtxosByAddressesRequest" field. - public const int GetUtxosByAddressesRequestFieldNumber = 1052; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage GetUtxosByAddressesRequest { - get { return payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetUtxosByAddressesRequest; - } - } - /// Field number for the "getUtxosByAddressesResponse" field. public const int GetUtxosByAddressesResponseFieldNumber = 1053; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage GetUtxosByAddressesResponse { get { return payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage) payload_ : null; } set { @@ -1758,75 +3788,46 @@ public KaspadMessage Clone() { } } - /// Field number for the "getVirtualSelectedParentBlueScoreRequest" field. - public const int GetVirtualSelectedParentBlueScoreRequestFieldNumber = 1054; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage GetVirtualSelectedParentBlueScoreRequest { - get { return payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest; - } - } - - /// Field number for the "getVirtualSelectedParentBlueScoreResponse" field. - public const int GetVirtualSelectedParentBlueScoreResponseFieldNumber = 1055; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage GetVirtualSelectedParentBlueScoreResponse { - get { return payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse; - } - } - - /// Field number for the "notifyVirtualSelectedParentBlueScoreChangedRequest" field. - public const int NotifyVirtualSelectedParentBlueScoreChangedRequestFieldNumber = 1056; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage NotifyVirtualSelectedParentBlueScoreChangedRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) payload_ : null; } - set { - payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest; - } - } - - /// Field number for the "notifyVirtualSelectedParentBlueScoreChangedResponse" field. - public const int NotifyVirtualSelectedParentBlueScoreChangedResponseFieldNumber = 1057; + /// Field number for the "getSinkBlueScoreResponse" field. + public const int GetSinkBlueScoreResponseFieldNumber = 1055; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage NotifyVirtualSelectedParentBlueScoreChangedResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage GetSinkBlueScoreResponse { + get { return payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSinkBlueScoreResponse; } } - /// Field number for the "virtualSelectedParentBlueScoreChangedNotification" field. - public const int VirtualSelectedParentBlueScoreChangedNotificationFieldNumber = 1058; + /// Field number for the "notifySinkBlueScoreChangedResponse" field. + public const int NotifySinkBlueScoreChangedResponseFieldNumber = 1057; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage VirtualSelectedParentBlueScoreChangedNotification { - get { return payloadCase_ == PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage NotifySinkBlueScoreChangedResponse { + get { return payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifySinkBlueScoreChangedResponse; } } - /// Field number for the "banRequest" field. - public const int BanRequestFieldNumber = 1059; + /// Field number for the "sinkBlueScoreChangedNotification" field. + public const int SinkBlueScoreChangedNotificationFieldNumber = 1058; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage BanRequest { - get { return payloadCase_ == PayloadOneofCase.BanRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage SinkBlueScoreChangedNotification { + get { return payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BanRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SinkBlueScoreChangedNotification; } } /// Field number for the "banResponse" field. public const int BanResponseFieldNumber = 1060; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.BanResponseMessage BanResponse { get { return payloadCase_ == PayloadOneofCase.BanResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.BanResponseMessage) payload_ : null; } set { @@ -1835,300 +3836,327 @@ public KaspadMessage Clone() { } } - /// Field number for the "unbanRequest" field. - public const int UnbanRequestFieldNumber = 1061; + /// Field number for the "unbanResponse" field. + public const int UnbanResponseFieldNumber = 1062; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage UnbanRequest { - get { return payloadCase_ == PayloadOneofCase.UnbanRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage UnbanResponse { + get { return payloadCase_ == PayloadOneofCase.UnbanResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnbanRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnbanResponse; } } - /// Field number for the "unbanResponse" field. - public const int UnbanResponseFieldNumber = 1062; + /// Field number for the "getInfoResponse" field. + public const int GetInfoResponseFieldNumber = 1064; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage UnbanResponse { - get { return payloadCase_ == PayloadOneofCase.UnbanResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage GetInfoResponse { + get { return payloadCase_ == PayloadOneofCase.GetInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnbanResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetInfoResponse; } } - /// Field number for the "getInfoRequest" field. - public const int GetInfoRequestFieldNumber = 1063; + /// Field number for the "stopNotifyingUtxosChangedResponse" field. + public const int StopNotifyingUtxosChangedResponseFieldNumber = 1066; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage GetInfoRequest { - get { return payloadCase_ == PayloadOneofCase.GetInfoRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage StopNotifyingUtxosChangedResponse { + get { return payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetInfoRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingUtxosChangedResponse; } } - /// Field number for the "getInfoResponse" field. - public const int GetInfoResponseFieldNumber = 1064; + /// Field number for the "notifyPruningPointUtxoSetOverrideResponse" field. + public const int NotifyPruningPointUtxoSetOverrideResponseFieldNumber = 1068; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage GetInfoResponse { - get { return payloadCase_ == PayloadOneofCase.GetInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage NotifyPruningPointUtxoSetOverrideResponse { + get { return payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetInfoResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse; } } - /// Field number for the "stopNotifyingUtxosChangedRequest" field. - public const int StopNotifyingUtxosChangedRequestFieldNumber = 1065; + /// Field number for the "pruningPointUtxoSetOverrideNotification" field. + public const int PruningPointUtxoSetOverrideNotificationFieldNumber = 1069; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage StopNotifyingUtxosChangedRequest { - get { return payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage PruningPointUtxoSetOverrideNotification { + get { return payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingUtxosChangedRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PruningPointUtxoSetOverrideNotification; } } - /// Field number for the "stopNotifyingUtxosChangedResponse" field. - public const int StopNotifyingUtxosChangedResponseFieldNumber = 1066; + /// Field number for the "stopNotifyingPruningPointUtxoSetOverrideResponse" field. + public const int StopNotifyingPruningPointUtxoSetOverrideResponseFieldNumber = 1071; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage StopNotifyingUtxosChangedResponse { - get { return payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage StopNotifyingPruningPointUtxoSetOverrideResponse { + get { return payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingUtxosChangedResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse; } } - /// Field number for the "notifyPruningPointUTXOSetOverrideRequest" field. - public const int NotifyPruningPointUTXOSetOverrideRequestFieldNumber = 1067; + /// Field number for the "estimateNetworkHashesPerSecondResponse" field. + public const int EstimateNetworkHashesPerSecondResponseFieldNumber = 1073; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage NotifyPruningPointUTXOSetOverrideRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage EstimateNetworkHashesPerSecondResponse { + get { return payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.EstimateNetworkHashesPerSecondResponse; } } - /// Field number for the "notifyPruningPointUTXOSetOverrideResponse" field. - public const int NotifyPruningPointUTXOSetOverrideResponseFieldNumber = 1068; + /// Field number for the "notifyVirtualDaaScoreChangedResponse" field. + public const int NotifyVirtualDaaScoreChangedResponseFieldNumber = 1075; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage NotifyPruningPointUTXOSetOverrideResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage NotifyVirtualDaaScoreChangedResponse { + get { return payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse; } } - /// Field number for the "pruningPointUTXOSetOverrideNotification" field. - public const int PruningPointUTXOSetOverrideNotificationFieldNumber = 1069; + /// Field number for the "virtualDaaScoreChangedNotification" field. + public const int VirtualDaaScoreChangedNotificationFieldNumber = 1076; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage PruningPointUTXOSetOverrideNotification { - get { return payloadCase_ == PayloadOneofCase.PruningPointUTXOSetOverrideNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage VirtualDaaScoreChangedNotification { + get { return payloadCase_ == PayloadOneofCase.VirtualDaaScoreChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PruningPointUTXOSetOverrideNotification; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VirtualDaaScoreChangedNotification; } } - /// Field number for the "stopNotifyingPruningPointUTXOSetOverrideRequest" field. - public const int StopNotifyingPruningPointUTXOSetOverrideRequestFieldNumber = 1070; + /// Field number for the "getBalanceByAddressResponse" field. + public const int GetBalanceByAddressResponseFieldNumber = 1078; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage StopNotifyingPruningPointUTXOSetOverrideRequest { - get { return payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage GetBalanceByAddressResponse { + get { return payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalanceByAddressResponse; } } - /// Field number for the "stopNotifyingPruningPointUTXOSetOverrideResponse" field. - public const int StopNotifyingPruningPointUTXOSetOverrideResponseFieldNumber = 1071; + /// Field number for the "getBalancesByAddressesResponse" field. + public const int GetBalancesByAddressesResponseFieldNumber = 1080; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage StopNotifyingPruningPointUTXOSetOverrideResponse { - get { return payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage GetBalancesByAddressesResponse { + get { return payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalancesByAddressesResponse; } } - /// Field number for the "estimateNetworkHashesPerSecondRequest" field. - public const int EstimateNetworkHashesPerSecondRequestFieldNumber = 1072; + /// Field number for the "notifyNewBlockTemplateResponse" field. + public const int NotifyNewBlockTemplateResponseFieldNumber = 1082; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage EstimateNetworkHashesPerSecondRequest { - get { return payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage NotifyNewBlockTemplateResponse { + get { return payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.EstimateNetworkHashesPerSecondRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyNewBlockTemplateResponse; } } - /// Field number for the "estimateNetworkHashesPerSecondResponse" field. - public const int EstimateNetworkHashesPerSecondResponseFieldNumber = 1073; + /// Field number for the "newBlockTemplateNotification" field. + public const int NewBlockTemplateNotificationFieldNumber = 1083; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage EstimateNetworkHashesPerSecondResponse { - get { return payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage NewBlockTemplateNotification { + get { return payloadCase_ == PayloadOneofCase.NewBlockTemplateNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.EstimateNetworkHashesPerSecondResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NewBlockTemplateNotification; } } - /// Field number for the "notifyVirtualDaaScoreChangedRequest" field. - public const int NotifyVirtualDaaScoreChangedRequestFieldNumber = 1074; + /// Field number for the "getMempoolEntriesByAddressesResponse" field. + public const int GetMempoolEntriesByAddressesResponseFieldNumber = 1085; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage NotifyVirtualDaaScoreChangedRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage GetMempoolEntriesByAddressesResponse { + get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntriesByAddressesResponse; } } - /// Field number for the "notifyVirtualDaaScoreChangedResponse" field. - public const int NotifyVirtualDaaScoreChangedResponseFieldNumber = 1075; + /// Field number for the "getCoinSupplyResponse" field. + public const int GetCoinSupplyResponseFieldNumber = 1087; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage NotifyVirtualDaaScoreChangedResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage GetCoinSupplyResponse { + get { return payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCoinSupplyResponse; } } - /// Field number for the "virtualDaaScoreChangedNotification" field. - public const int VirtualDaaScoreChangedNotificationFieldNumber = 1076; + /// Field number for the "pingResponse" field. + public const int PingResponseFieldNumber = 1089; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage VirtualDaaScoreChangedNotification { - get { return payloadCase_ == PayloadOneofCase.VirtualDaaScoreChangedNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage PingResponse { + get { return payloadCase_ == PayloadOneofCase.PingResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VirtualDaaScoreChangedNotification; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PingResponse; } } - /// Field number for the "getBalanceByAddressRequest" field. - public const int GetBalanceByAddressRequestFieldNumber = 1077; + /// Field number for the "getMetricsResponse" field. + public const int GetMetricsResponseFieldNumber = 1091; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage GetBalanceByAddressRequest { - get { return payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage GetMetricsResponse { + get { return payloadCase_ == PayloadOneofCase.GetMetricsResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalanceByAddressRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMetricsResponse; } } - /// Field number for the "getBalanceByAddressResponse" field. - public const int GetBalanceByAddressResponseFieldNumber = 1078; + /// Field number for the "getServerInfoResponse" field. + public const int GetServerInfoResponseFieldNumber = 1093; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage GetBalanceByAddressResponse { - get { return payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage GetServerInfoResponse { + get { return payloadCase_ == PayloadOneofCase.GetServerInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalanceByAddressResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetServerInfoResponse; } } - /// Field number for the "getBalancesByAddressesRequest" field. - public const int GetBalancesByAddressesRequestFieldNumber = 1079; + /// Field number for the "getSyncStatusResponse" field. + public const int GetSyncStatusResponseFieldNumber = 1095; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage GetBalancesByAddressesRequest { - get { return payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage GetSyncStatusResponse { + get { return payloadCase_ == PayloadOneofCase.GetSyncStatusResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalancesByAddressesRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSyncStatusResponse; } } - /// Field number for the "getBalancesByAddressesResponse" field. - public const int GetBalancesByAddressesResponseFieldNumber = 1080; + /// Field number for the "getDaaScoreTimestampEstimateResponse" field. + public const int GetDaaScoreTimestampEstimateResponseFieldNumber = 1097; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage GetBalancesByAddressesResponse { - get { return payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage GetDaaScoreTimestampEstimateResponse { + get { return payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetBalancesByAddressesResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetDaaScoreTimestampEstimateResponse; } } - /// Field number for the "notifyNewBlockTemplateRequest" field. - public const int NotifyNewBlockTemplateRequestFieldNumber = 1081; + /// Field number for the "submitTransactionReplacementResponse" field. + public const int SubmitTransactionReplacementResponseFieldNumber = 1101; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage NotifyNewBlockTemplateRequest { - get { return payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage SubmitTransactionReplacementResponse { + get { return payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyNewBlockTemplateRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubmitTransactionReplacementResponse; } } - /// Field number for the "notifyNewBlockTemplateResponse" field. - public const int NotifyNewBlockTemplateResponseFieldNumber = 1082; + /// Field number for the "getConnectionsResponse" field. + public const int GetConnectionsResponseFieldNumber = 1103; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage NotifyNewBlockTemplateResponse { - get { return payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage GetConnectionsResponse { + get { return payloadCase_ == PayloadOneofCase.GetConnectionsResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NotifyNewBlockTemplateResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetConnectionsResponse; } } - /// Field number for the "newBlockTemplateNotification" field. - public const int NewBlockTemplateNotificationFieldNumber = 1083; + /// Field number for the "getSystemInfoResponse" field. + public const int GetSystemInfoResponseFieldNumber = 1105; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage NewBlockTemplateNotification { - get { return payloadCase_ == PayloadOneofCase.NewBlockTemplateNotification ? (global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage GetSystemInfoResponse { + get { return payloadCase_ == PayloadOneofCase.GetSystemInfoResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NewBlockTemplateNotification; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSystemInfoResponse; } } - /// Field number for the "getMempoolEntriesByAddressesRequest" field. - public const int GetMempoolEntriesByAddressesRequestFieldNumber = 1084; + /// Field number for the "getFeeEstimateResponse" field. + public const int GetFeeEstimateResponseFieldNumber = 1107; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage GetMempoolEntriesByAddressesRequest { - get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage GetFeeEstimateResponse { + get { return payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntriesByAddressesRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetFeeEstimateResponse; } } - /// Field number for the "getMempoolEntriesByAddressesResponse" field. - public const int GetMempoolEntriesByAddressesResponseFieldNumber = 1085; + /// Field number for the "getFeeEstimateExperimentalResponse" field. + public const int GetFeeEstimateExperimentalResponseFieldNumber = 1109; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage GetMempoolEntriesByAddressesResponse { - get { return payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage GetFeeEstimateExperimentalResponse { + get { return payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetMempoolEntriesByAddressesResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetFeeEstimateExperimentalResponse; } } - /// Field number for the "getCoinSupplyRequest" field. - public const int GetCoinSupplyRequestFieldNumber = 1086; + /// Field number for the "getCurrentBlockColorResponse" field. + public const int GetCurrentBlockColorResponseFieldNumber = 1111; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage GetCoinSupplyRequest { - get { return payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage GetCurrentBlockColorResponse { + get { return payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCoinSupplyRequest; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCurrentBlockColorResponse; } } - /// Field number for the "getCoinSupplyResponse" field. - public const int GetCoinSupplyResponseFieldNumber = 1087; + /// Field number for the "GetUtxoReturnAddressResponse" field. + public const int GetUtxoReturnAddressResponseFieldNumber = 1113; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage GetCoinSupplyResponse { - get { return payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage) payload_ : null; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage GetUtxoReturnAddressResponse { + get { return payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse ? (global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage) payload_ : null; } set { payload_ = value; - payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetCoinSupplyResponse; + payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetUtxoReturnAddressResponse; } } @@ -2136,429 +4164,226 @@ public KaspadMessage Clone() { /// Enum of possible cases for the "payload" oneof. public enum PayloadOneofCase { None = 0, - Addresses = 1, - Block = 2, - Transaction = 3, - BlockLocator = 5, - RequestAddresses = 6, - RequestRelayBlocks = 10, - RequestTransactions = 12, - IbdBlock = 13, - InvRelayBlock = 14, - InvTransactions = 15, - Ping = 16, - Pong = 17, - Verack = 19, - Version = 20, - TransactionNotFound = 21, - Reject = 22, - PruningPointUtxoSetChunk = 25, - RequestIBDBlocks = 26, - UnexpectedPruningPoint = 27, - IbdBlockLocator = 30, - IbdBlockLocatorHighestHash = 31, - RequestNextPruningPointUtxoSetChunk = 33, - DonePruningPointUtxoSetChunks = 34, - IbdBlockLocatorHighestHashNotFound = 35, - BlockWithTrustedData = 36, - DoneBlocksWithTrustedData = 37, - RequestPruningPointAndItsAnticone = 40, - BlockHeaders = 41, - RequestNextHeaders = 42, - DoneHeaders = 43, - RequestPruningPointUTXOSet = 44, - RequestHeaders = 45, - RequestBlockLocator = 46, - PruningPoints = 47, - RequestPruningPointProof = 48, - PruningPointProof = 49, - Ready = 50, - BlockWithTrustedDataV4 = 51, - TrustedData = 52, - RequestIBDChainBlockLocator = 53, - IbdChainBlockLocator = 54, - RequestAnticone = 55, - RequestNextPruningPointAndItsAnticoneBlocks = 56, - GetCurrentNetworkRequest = 1001, GetCurrentNetworkResponse = 1002, - SubmitBlockRequest = 1003, SubmitBlockResponse = 1004, - GetBlockTemplateRequest = 1005, GetBlockTemplateResponse = 1006, - NotifyBlockAddedRequest = 1007, NotifyBlockAddedResponse = 1008, BlockAddedNotification = 1009, - GetPeerAddressesRequest = 1010, GetPeerAddressesResponse = 1011, - GetSelectedTipHashRequest = 1012, - GetSelectedTipHashResponse = 1013, - GetMempoolEntryRequest = 1014, + GetSinkResponse = 1013, GetMempoolEntryResponse = 1015, - GetConnectedPeerInfoRequest = 1016, GetConnectedPeerInfoResponse = 1017, - AddPeerRequest = 1018, AddPeerResponse = 1019, - SubmitTransactionRequest = 1020, SubmitTransactionResponse = 1021, - NotifyVirtualSelectedParentChainChangedRequest = 1022, - NotifyVirtualSelectedParentChainChangedResponse = 1023, - VirtualSelectedParentChainChangedNotification = 1024, - GetBlockRequest = 1025, + NotifyVirtualChainChangedResponse = 1023, + VirtualChainChangedNotification = 1024, GetBlockResponse = 1026, - GetSubnetworkRequest = 1027, GetSubnetworkResponse = 1028, - GetVirtualSelectedParentChainFromBlockRequest = 1029, - GetVirtualSelectedParentChainFromBlockResponse = 1030, - GetBlocksRequest = 1031, + GetVirtualChainFromBlockResponse = 1030, GetBlocksResponse = 1032, - GetBlockCountRequest = 1033, GetBlockCountResponse = 1034, - GetBlockDagInfoRequest = 1035, GetBlockDagInfoResponse = 1036, - ResolveFinalityConflictRequest = 1037, ResolveFinalityConflictResponse = 1038, - NotifyFinalityConflictsRequest = 1039, - NotifyFinalityConflictsResponse = 1040, + NotifyFinalityConflictResponse = 1040, FinalityConflictNotification = 1041, FinalityConflictResolvedNotification = 1042, - GetMempoolEntriesRequest = 1043, GetMempoolEntriesResponse = 1044, - ShutDownRequest = 1045, - ShutDownResponse = 1046, - GetHeadersRequest = 1047, + ShutdownResponse = 1046, GetHeadersResponse = 1048, - NotifyUtxosChangedRequest = 1049, NotifyUtxosChangedResponse = 1050, UtxosChangedNotification = 1051, - GetUtxosByAddressesRequest = 1052, GetUtxosByAddressesResponse = 1053, - GetVirtualSelectedParentBlueScoreRequest = 1054, - GetVirtualSelectedParentBlueScoreResponse = 1055, - NotifyVirtualSelectedParentBlueScoreChangedRequest = 1056, - NotifyVirtualSelectedParentBlueScoreChangedResponse = 1057, - VirtualSelectedParentBlueScoreChangedNotification = 1058, - BanRequest = 1059, + GetSinkBlueScoreResponse = 1055, + NotifySinkBlueScoreChangedResponse = 1057, + SinkBlueScoreChangedNotification = 1058, BanResponse = 1060, - UnbanRequest = 1061, UnbanResponse = 1062, - GetInfoRequest = 1063, GetInfoResponse = 1064, - StopNotifyingUtxosChangedRequest = 1065, StopNotifyingUtxosChangedResponse = 1066, - NotifyPruningPointUTXOSetOverrideRequest = 1067, - NotifyPruningPointUTXOSetOverrideResponse = 1068, - PruningPointUTXOSetOverrideNotification = 1069, - StopNotifyingPruningPointUTXOSetOverrideRequest = 1070, - StopNotifyingPruningPointUTXOSetOverrideResponse = 1071, - EstimateNetworkHashesPerSecondRequest = 1072, + NotifyPruningPointUtxoSetOverrideResponse = 1068, + PruningPointUtxoSetOverrideNotification = 1069, + StopNotifyingPruningPointUtxoSetOverrideResponse = 1071, EstimateNetworkHashesPerSecondResponse = 1073, - NotifyVirtualDaaScoreChangedRequest = 1074, NotifyVirtualDaaScoreChangedResponse = 1075, VirtualDaaScoreChangedNotification = 1076, - GetBalanceByAddressRequest = 1077, GetBalanceByAddressResponse = 1078, - GetBalancesByAddressesRequest = 1079, GetBalancesByAddressesResponse = 1080, - NotifyNewBlockTemplateRequest = 1081, NotifyNewBlockTemplateResponse = 1082, NewBlockTemplateNotification = 1083, - GetMempoolEntriesByAddressesRequest = 1084, GetMempoolEntriesByAddressesResponse = 1085, - GetCoinSupplyRequest = 1086, GetCoinSupplyResponse = 1087, + PingResponse = 1089, + GetMetricsResponse = 1091, + GetServerInfoResponse = 1093, + GetSyncStatusResponse = 1095, + GetDaaScoreTimestampEstimateResponse = 1097, + SubmitTransactionReplacementResponse = 1101, + GetConnectionsResponse = 1103, + GetSystemInfoResponse = 1105, + GetFeeEstimateResponse = 1107, + GetFeeEstimateExperimentalResponse = 1109, + GetCurrentBlockColorResponse = 1111, + GetUtxoReturnAddressResponse = 1113, } private PayloadOneofCase payloadCase_ = PayloadOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PayloadOneofCase PayloadCase { get { return payloadCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearPayload() { payloadCase_ = PayloadOneofCase.None; payload_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as KaspadMessage); + return Equals(other as KaspadResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(KaspadMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KaspadResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Addresses, other.Addresses)) return false; - if (!object.Equals(Block, other.Block)) return false; - if (!object.Equals(Transaction, other.Transaction)) return false; - if (!object.Equals(BlockLocator, other.BlockLocator)) return false; - if (!object.Equals(RequestAddresses, other.RequestAddresses)) return false; - if (!object.Equals(RequestRelayBlocks, other.RequestRelayBlocks)) return false; - if (!object.Equals(RequestTransactions, other.RequestTransactions)) return false; - if (!object.Equals(IbdBlock, other.IbdBlock)) return false; - if (!object.Equals(InvRelayBlock, other.InvRelayBlock)) return false; - if (!object.Equals(InvTransactions, other.InvTransactions)) return false; - if (!object.Equals(Ping, other.Ping)) return false; - if (!object.Equals(Pong, other.Pong)) return false; - if (!object.Equals(Verack, other.Verack)) return false; - if (!object.Equals(Version, other.Version)) return false; - if (!object.Equals(TransactionNotFound, other.TransactionNotFound)) return false; - if (!object.Equals(Reject, other.Reject)) return false; - if (!object.Equals(PruningPointUtxoSetChunk, other.PruningPointUtxoSetChunk)) return false; - if (!object.Equals(RequestIBDBlocks, other.RequestIBDBlocks)) return false; - if (!object.Equals(UnexpectedPruningPoint, other.UnexpectedPruningPoint)) return false; - if (!object.Equals(IbdBlockLocator, other.IbdBlockLocator)) return false; - if (!object.Equals(IbdBlockLocatorHighestHash, other.IbdBlockLocatorHighestHash)) return false; - if (!object.Equals(RequestNextPruningPointUtxoSetChunk, other.RequestNextPruningPointUtxoSetChunk)) return false; - if (!object.Equals(DonePruningPointUtxoSetChunks, other.DonePruningPointUtxoSetChunks)) return false; - if (!object.Equals(IbdBlockLocatorHighestHashNotFound, other.IbdBlockLocatorHighestHashNotFound)) return false; - if (!object.Equals(BlockWithTrustedData, other.BlockWithTrustedData)) return false; - if (!object.Equals(DoneBlocksWithTrustedData, other.DoneBlocksWithTrustedData)) return false; - if (!object.Equals(RequestPruningPointAndItsAnticone, other.RequestPruningPointAndItsAnticone)) return false; - if (!object.Equals(BlockHeaders, other.BlockHeaders)) return false; - if (!object.Equals(RequestNextHeaders, other.RequestNextHeaders)) return false; - if (!object.Equals(DoneHeaders, other.DoneHeaders)) return false; - if (!object.Equals(RequestPruningPointUTXOSet, other.RequestPruningPointUTXOSet)) return false; - if (!object.Equals(RequestHeaders, other.RequestHeaders)) return false; - if (!object.Equals(RequestBlockLocator, other.RequestBlockLocator)) return false; - if (!object.Equals(PruningPoints, other.PruningPoints)) return false; - if (!object.Equals(RequestPruningPointProof, other.RequestPruningPointProof)) return false; - if (!object.Equals(PruningPointProof, other.PruningPointProof)) return false; - if (!object.Equals(Ready, other.Ready)) return false; - if (!object.Equals(BlockWithTrustedDataV4, other.BlockWithTrustedDataV4)) return false; - if (!object.Equals(TrustedData, other.TrustedData)) return false; - if (!object.Equals(RequestIBDChainBlockLocator, other.RequestIBDChainBlockLocator)) return false; - if (!object.Equals(IbdChainBlockLocator, other.IbdChainBlockLocator)) return false; - if (!object.Equals(RequestAnticone, other.RequestAnticone)) return false; - if (!object.Equals(RequestNextPruningPointAndItsAnticoneBlocks, other.RequestNextPruningPointAndItsAnticoneBlocks)) return false; - if (!object.Equals(GetCurrentNetworkRequest, other.GetCurrentNetworkRequest)) return false; + if (Id != other.Id) return false; if (!object.Equals(GetCurrentNetworkResponse, other.GetCurrentNetworkResponse)) return false; - if (!object.Equals(SubmitBlockRequest, other.SubmitBlockRequest)) return false; if (!object.Equals(SubmitBlockResponse, other.SubmitBlockResponse)) return false; - if (!object.Equals(GetBlockTemplateRequest, other.GetBlockTemplateRequest)) return false; if (!object.Equals(GetBlockTemplateResponse, other.GetBlockTemplateResponse)) return false; - if (!object.Equals(NotifyBlockAddedRequest, other.NotifyBlockAddedRequest)) return false; if (!object.Equals(NotifyBlockAddedResponse, other.NotifyBlockAddedResponse)) return false; if (!object.Equals(BlockAddedNotification, other.BlockAddedNotification)) return false; - if (!object.Equals(GetPeerAddressesRequest, other.GetPeerAddressesRequest)) return false; if (!object.Equals(GetPeerAddressesResponse, other.GetPeerAddressesResponse)) return false; - if (!object.Equals(GetSelectedTipHashRequest, other.GetSelectedTipHashRequest)) return false; - if (!object.Equals(GetSelectedTipHashResponse, other.GetSelectedTipHashResponse)) return false; - if (!object.Equals(GetMempoolEntryRequest, other.GetMempoolEntryRequest)) return false; + if (!object.Equals(GetSinkResponse, other.GetSinkResponse)) return false; if (!object.Equals(GetMempoolEntryResponse, other.GetMempoolEntryResponse)) return false; - if (!object.Equals(GetConnectedPeerInfoRequest, other.GetConnectedPeerInfoRequest)) return false; if (!object.Equals(GetConnectedPeerInfoResponse, other.GetConnectedPeerInfoResponse)) return false; - if (!object.Equals(AddPeerRequest, other.AddPeerRequest)) return false; if (!object.Equals(AddPeerResponse, other.AddPeerResponse)) return false; - if (!object.Equals(SubmitTransactionRequest, other.SubmitTransactionRequest)) return false; if (!object.Equals(SubmitTransactionResponse, other.SubmitTransactionResponse)) return false; - if (!object.Equals(NotifyVirtualSelectedParentChainChangedRequest, other.NotifyVirtualSelectedParentChainChangedRequest)) return false; - if (!object.Equals(NotifyVirtualSelectedParentChainChangedResponse, other.NotifyVirtualSelectedParentChainChangedResponse)) return false; - if (!object.Equals(VirtualSelectedParentChainChangedNotification, other.VirtualSelectedParentChainChangedNotification)) return false; - if (!object.Equals(GetBlockRequest, other.GetBlockRequest)) return false; + if (!object.Equals(NotifyVirtualChainChangedResponse, other.NotifyVirtualChainChangedResponse)) return false; + if (!object.Equals(VirtualChainChangedNotification, other.VirtualChainChangedNotification)) return false; if (!object.Equals(GetBlockResponse, other.GetBlockResponse)) return false; - if (!object.Equals(GetSubnetworkRequest, other.GetSubnetworkRequest)) return false; if (!object.Equals(GetSubnetworkResponse, other.GetSubnetworkResponse)) return false; - if (!object.Equals(GetVirtualSelectedParentChainFromBlockRequest, other.GetVirtualSelectedParentChainFromBlockRequest)) return false; - if (!object.Equals(GetVirtualSelectedParentChainFromBlockResponse, other.GetVirtualSelectedParentChainFromBlockResponse)) return false; - if (!object.Equals(GetBlocksRequest, other.GetBlocksRequest)) return false; + if (!object.Equals(GetVirtualChainFromBlockResponse, other.GetVirtualChainFromBlockResponse)) return false; if (!object.Equals(GetBlocksResponse, other.GetBlocksResponse)) return false; - if (!object.Equals(GetBlockCountRequest, other.GetBlockCountRequest)) return false; if (!object.Equals(GetBlockCountResponse, other.GetBlockCountResponse)) return false; - if (!object.Equals(GetBlockDagInfoRequest, other.GetBlockDagInfoRequest)) return false; if (!object.Equals(GetBlockDagInfoResponse, other.GetBlockDagInfoResponse)) return false; - if (!object.Equals(ResolveFinalityConflictRequest, other.ResolveFinalityConflictRequest)) return false; if (!object.Equals(ResolveFinalityConflictResponse, other.ResolveFinalityConflictResponse)) return false; - if (!object.Equals(NotifyFinalityConflictsRequest, other.NotifyFinalityConflictsRequest)) return false; - if (!object.Equals(NotifyFinalityConflictsResponse, other.NotifyFinalityConflictsResponse)) return false; + if (!object.Equals(NotifyFinalityConflictResponse, other.NotifyFinalityConflictResponse)) return false; if (!object.Equals(FinalityConflictNotification, other.FinalityConflictNotification)) return false; if (!object.Equals(FinalityConflictResolvedNotification, other.FinalityConflictResolvedNotification)) return false; - if (!object.Equals(GetMempoolEntriesRequest, other.GetMempoolEntriesRequest)) return false; if (!object.Equals(GetMempoolEntriesResponse, other.GetMempoolEntriesResponse)) return false; - if (!object.Equals(ShutDownRequest, other.ShutDownRequest)) return false; - if (!object.Equals(ShutDownResponse, other.ShutDownResponse)) return false; - if (!object.Equals(GetHeadersRequest, other.GetHeadersRequest)) return false; + if (!object.Equals(ShutdownResponse, other.ShutdownResponse)) return false; if (!object.Equals(GetHeadersResponse, other.GetHeadersResponse)) return false; - if (!object.Equals(NotifyUtxosChangedRequest, other.NotifyUtxosChangedRequest)) return false; if (!object.Equals(NotifyUtxosChangedResponse, other.NotifyUtxosChangedResponse)) return false; if (!object.Equals(UtxosChangedNotification, other.UtxosChangedNotification)) return false; - if (!object.Equals(GetUtxosByAddressesRequest, other.GetUtxosByAddressesRequest)) return false; if (!object.Equals(GetUtxosByAddressesResponse, other.GetUtxosByAddressesResponse)) return false; - if (!object.Equals(GetVirtualSelectedParentBlueScoreRequest, other.GetVirtualSelectedParentBlueScoreRequest)) return false; - if (!object.Equals(GetVirtualSelectedParentBlueScoreResponse, other.GetVirtualSelectedParentBlueScoreResponse)) return false; - if (!object.Equals(NotifyVirtualSelectedParentBlueScoreChangedRequest, other.NotifyVirtualSelectedParentBlueScoreChangedRequest)) return false; - if (!object.Equals(NotifyVirtualSelectedParentBlueScoreChangedResponse, other.NotifyVirtualSelectedParentBlueScoreChangedResponse)) return false; - if (!object.Equals(VirtualSelectedParentBlueScoreChangedNotification, other.VirtualSelectedParentBlueScoreChangedNotification)) return false; - if (!object.Equals(BanRequest, other.BanRequest)) return false; + if (!object.Equals(GetSinkBlueScoreResponse, other.GetSinkBlueScoreResponse)) return false; + if (!object.Equals(NotifySinkBlueScoreChangedResponse, other.NotifySinkBlueScoreChangedResponse)) return false; + if (!object.Equals(SinkBlueScoreChangedNotification, other.SinkBlueScoreChangedNotification)) return false; if (!object.Equals(BanResponse, other.BanResponse)) return false; - if (!object.Equals(UnbanRequest, other.UnbanRequest)) return false; if (!object.Equals(UnbanResponse, other.UnbanResponse)) return false; - if (!object.Equals(GetInfoRequest, other.GetInfoRequest)) return false; if (!object.Equals(GetInfoResponse, other.GetInfoResponse)) return false; - if (!object.Equals(StopNotifyingUtxosChangedRequest, other.StopNotifyingUtxosChangedRequest)) return false; if (!object.Equals(StopNotifyingUtxosChangedResponse, other.StopNotifyingUtxosChangedResponse)) return false; - if (!object.Equals(NotifyPruningPointUTXOSetOverrideRequest, other.NotifyPruningPointUTXOSetOverrideRequest)) return false; - if (!object.Equals(NotifyPruningPointUTXOSetOverrideResponse, other.NotifyPruningPointUTXOSetOverrideResponse)) return false; - if (!object.Equals(PruningPointUTXOSetOverrideNotification, other.PruningPointUTXOSetOverrideNotification)) return false; - if (!object.Equals(StopNotifyingPruningPointUTXOSetOverrideRequest, other.StopNotifyingPruningPointUTXOSetOverrideRequest)) return false; - if (!object.Equals(StopNotifyingPruningPointUTXOSetOverrideResponse, other.StopNotifyingPruningPointUTXOSetOverrideResponse)) return false; - if (!object.Equals(EstimateNetworkHashesPerSecondRequest, other.EstimateNetworkHashesPerSecondRequest)) return false; + if (!object.Equals(NotifyPruningPointUtxoSetOverrideResponse, other.NotifyPruningPointUtxoSetOverrideResponse)) return false; + if (!object.Equals(PruningPointUtxoSetOverrideNotification, other.PruningPointUtxoSetOverrideNotification)) return false; + if (!object.Equals(StopNotifyingPruningPointUtxoSetOverrideResponse, other.StopNotifyingPruningPointUtxoSetOverrideResponse)) return false; if (!object.Equals(EstimateNetworkHashesPerSecondResponse, other.EstimateNetworkHashesPerSecondResponse)) return false; - if (!object.Equals(NotifyVirtualDaaScoreChangedRequest, other.NotifyVirtualDaaScoreChangedRequest)) return false; if (!object.Equals(NotifyVirtualDaaScoreChangedResponse, other.NotifyVirtualDaaScoreChangedResponse)) return false; if (!object.Equals(VirtualDaaScoreChangedNotification, other.VirtualDaaScoreChangedNotification)) return false; - if (!object.Equals(GetBalanceByAddressRequest, other.GetBalanceByAddressRequest)) return false; if (!object.Equals(GetBalanceByAddressResponse, other.GetBalanceByAddressResponse)) return false; - if (!object.Equals(GetBalancesByAddressesRequest, other.GetBalancesByAddressesRequest)) return false; if (!object.Equals(GetBalancesByAddressesResponse, other.GetBalancesByAddressesResponse)) return false; - if (!object.Equals(NotifyNewBlockTemplateRequest, other.NotifyNewBlockTemplateRequest)) return false; if (!object.Equals(NotifyNewBlockTemplateResponse, other.NotifyNewBlockTemplateResponse)) return false; if (!object.Equals(NewBlockTemplateNotification, other.NewBlockTemplateNotification)) return false; - if (!object.Equals(GetMempoolEntriesByAddressesRequest, other.GetMempoolEntriesByAddressesRequest)) return false; if (!object.Equals(GetMempoolEntriesByAddressesResponse, other.GetMempoolEntriesByAddressesResponse)) return false; - if (!object.Equals(GetCoinSupplyRequest, other.GetCoinSupplyRequest)) return false; if (!object.Equals(GetCoinSupplyResponse, other.GetCoinSupplyResponse)) return false; + if (!object.Equals(PingResponse, other.PingResponse)) return false; + if (!object.Equals(GetMetricsResponse, other.GetMetricsResponse)) return false; + if (!object.Equals(GetServerInfoResponse, other.GetServerInfoResponse)) return false; + if (!object.Equals(GetSyncStatusResponse, other.GetSyncStatusResponse)) return false; + if (!object.Equals(GetDaaScoreTimestampEstimateResponse, other.GetDaaScoreTimestampEstimateResponse)) return false; + if (!object.Equals(SubmitTransactionReplacementResponse, other.SubmitTransactionReplacementResponse)) return false; + if (!object.Equals(GetConnectionsResponse, other.GetConnectionsResponse)) return false; + if (!object.Equals(GetSystemInfoResponse, other.GetSystemInfoResponse)) return false; + if (!object.Equals(GetFeeEstimateResponse, other.GetFeeEstimateResponse)) return false; + if (!object.Equals(GetFeeEstimateExperimentalResponse, other.GetFeeEstimateExperimentalResponse)) return false; + if (!object.Equals(GetCurrentBlockColorResponse, other.GetCurrentBlockColorResponse)) return false; + if (!object.Equals(GetUtxoReturnAddressResponse, other.GetUtxoReturnAddressResponse)) return false; if (PayloadCase != other.PayloadCase) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (payloadCase_ == PayloadOneofCase.Addresses) hash ^= Addresses.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Block) hash ^= Block.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Transaction) hash ^= Transaction.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.BlockLocator) hash ^= BlockLocator.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestAddresses) hash ^= RequestAddresses.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestRelayBlocks) hash ^= RequestRelayBlocks.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestTransactions) hash ^= RequestTransactions.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.IbdBlock) hash ^= IbdBlock.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.InvRelayBlock) hash ^= InvRelayBlock.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.InvTransactions) hash ^= InvTransactions.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Ping) hash ^= Ping.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Pong) hash ^= Pong.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Verack) hash ^= Verack.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Version) hash ^= Version.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.TransactionNotFound) hash ^= TransactionNotFound.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Reject) hash ^= Reject.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetChunk) hash ^= PruningPointUtxoSetChunk.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestIBDBlocks) hash ^= RequestIBDBlocks.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.UnexpectedPruningPoint) hash ^= UnexpectedPruningPoint.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.IbdBlockLocator) hash ^= IbdBlockLocator.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHash) hash ^= IbdBlockLocatorHighestHash.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointUtxoSetChunk) hash ^= RequestNextPruningPointUtxoSetChunk.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.DonePruningPointUtxoSetChunks) hash ^= DonePruningPointUtxoSetChunks.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHashNotFound) hash ^= IbdBlockLocatorHighestHashNotFound.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedData) hash ^= BlockWithTrustedData.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.DoneBlocksWithTrustedData) hash ^= DoneBlocksWithTrustedData.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestPruningPointAndItsAnticone) hash ^= RequestPruningPointAndItsAnticone.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.BlockHeaders) hash ^= BlockHeaders.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestNextHeaders) hash ^= RequestNextHeaders.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.DoneHeaders) hash ^= DoneHeaders.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestPruningPointUTXOSet) hash ^= RequestPruningPointUTXOSet.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestHeaders) hash ^= RequestHeaders.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestBlockLocator) hash ^= RequestBlockLocator.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.PruningPoints) hash ^= PruningPoints.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestPruningPointProof) hash ^= RequestPruningPointProof.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.PruningPointProof) hash ^= PruningPointProof.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.Ready) hash ^= Ready.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedDataV4) hash ^= BlockWithTrustedDataV4.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.TrustedData) hash ^= TrustedData.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestIBDChainBlockLocator) hash ^= RequestIBDChainBlockLocator.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.IbdChainBlockLocator) hash ^= IbdChainBlockLocator.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestAnticone) hash ^= RequestAnticone.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks) hash ^= RequestNextPruningPointAndItsAnticoneBlocks.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) hash ^= GetCurrentNetworkRequest.GetHashCode(); + if (Id != 0UL) hash ^= Id.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse) hash ^= GetCurrentNetworkResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) hash ^= SubmitBlockRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.SubmitBlockResponse) hash ^= SubmitBlockResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) hash ^= GetBlockTemplateRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse) hash ^= GetBlockTemplateResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) hash ^= NotifyBlockAddedRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse) hash ^= NotifyBlockAddedResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.BlockAddedNotification) hash ^= BlockAddedNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) hash ^= GetPeerAddressesRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse) hash ^= GetPeerAddressesResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashRequest) hash ^= GetSelectedTipHashRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashResponse) hash ^= GetSelectedTipHashResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) hash ^= GetMempoolEntryRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSinkResponse) hash ^= GetSinkResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse) hash ^= GetMempoolEntryResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) hash ^= GetConnectedPeerInfoRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse) hash ^= GetConnectedPeerInfoResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.AddPeerRequest) hash ^= AddPeerRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.AddPeerResponse) hash ^= AddPeerResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) hash ^= SubmitTransactionRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.SubmitTransactionResponse) hash ^= SubmitTransactionResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest) hash ^= NotifyVirtualSelectedParentChainChangedRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse) hash ^= NotifyVirtualSelectedParentChainChangedResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentChainChangedNotification) hash ^= VirtualSelectedParentChainChangedNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBlockRequest) hash ^= GetBlockRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse) hash ^= NotifyVirtualChainChangedResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification) hash ^= VirtualChainChangedNotification.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBlockResponse) hash ^= GetBlockResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) hash ^= GetSubnetworkRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetSubnetworkResponse) hash ^= GetSubnetworkResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest) hash ^= GetVirtualSelectedParentChainFromBlockRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse) hash ^= GetVirtualSelectedParentChainFromBlockResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) hash ^= GetBlocksRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse) hash ^= GetVirtualChainFromBlockResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBlocksResponse) hash ^= GetBlocksResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) hash ^= GetBlockCountRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBlockCountResponse) hash ^= GetBlockCountResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) hash ^= GetBlockDagInfoRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse) hash ^= GetBlockDagInfoResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) hash ^= ResolveFinalityConflictRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse) hash ^= ResolveFinalityConflictResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsRequest) hash ^= NotifyFinalityConflictsRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsResponse) hash ^= NotifyFinalityConflictsResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse) hash ^= NotifyFinalityConflictResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.FinalityConflictNotification) hash ^= FinalityConflictNotification.GetHashCode(); if (payloadCase_ == PayloadOneofCase.FinalityConflictResolvedNotification) hash ^= FinalityConflictResolvedNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) hash ^= GetMempoolEntriesRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse) hash ^= GetMempoolEntriesResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.ShutDownRequest) hash ^= ShutDownRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.ShutDownResponse) hash ^= ShutDownResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) hash ^= GetHeadersRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.ShutdownResponse) hash ^= ShutdownResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetHeadersResponse) hash ^= GetHeadersResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) hash ^= NotifyUtxosChangedRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse) hash ^= NotifyUtxosChangedResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.UtxosChangedNotification) hash ^= UtxosChangedNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) hash ^= GetUtxosByAddressesRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse) hash ^= GetUtxosByAddressesResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest) hash ^= GetVirtualSelectedParentBlueScoreRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse) hash ^= GetVirtualSelectedParentBlueScoreResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest) hash ^= NotifyVirtualSelectedParentBlueScoreChangedRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse) hash ^= NotifyVirtualSelectedParentBlueScoreChangedResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification) hash ^= VirtualSelectedParentBlueScoreChangedNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.BanRequest) hash ^= BanRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse) hash ^= GetSinkBlueScoreResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse) hash ^= NotifySinkBlueScoreChangedResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification) hash ^= SinkBlueScoreChangedNotification.GetHashCode(); if (payloadCase_ == PayloadOneofCase.BanResponse) hash ^= BanResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.UnbanRequest) hash ^= UnbanRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.UnbanResponse) hash ^= UnbanResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetInfoRequest) hash ^= GetInfoRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetInfoResponse) hash ^= GetInfoResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) hash ^= StopNotifyingUtxosChangedRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse) hash ^= StopNotifyingUtxosChangedResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest) hash ^= NotifyPruningPointUTXOSetOverrideRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse) hash ^= NotifyPruningPointUTXOSetOverrideResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.PruningPointUTXOSetOverrideNotification) hash ^= PruningPointUTXOSetOverrideNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest) hash ^= StopNotifyingPruningPointUTXOSetOverrideRequest.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse) hash ^= StopNotifyingPruningPointUTXOSetOverrideResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) hash ^= EstimateNetworkHashesPerSecondRequest.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse) hash ^= NotifyPruningPointUtxoSetOverrideResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification) hash ^= PruningPointUtxoSetOverrideNotification.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse) hash ^= StopNotifyingPruningPointUtxoSetOverrideResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse) hash ^= EstimateNetworkHashesPerSecondResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) hash ^= NotifyVirtualDaaScoreChangedRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse) hash ^= NotifyVirtualDaaScoreChangedResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.VirtualDaaScoreChangedNotification) hash ^= VirtualDaaScoreChangedNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) hash ^= GetBalanceByAddressRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse) hash ^= GetBalanceByAddressResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) hash ^= GetBalancesByAddressesRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse) hash ^= GetBalancesByAddressesResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) hash ^= NotifyNewBlockTemplateRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse) hash ^= NotifyNewBlockTemplateResponse.GetHashCode(); if (payloadCase_ == PayloadOneofCase.NewBlockTemplateNotification) hash ^= NewBlockTemplateNotification.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) hash ^= GetMempoolEntriesByAddressesRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse) hash ^= GetMempoolEntriesByAddressesResponse.GetHashCode(); - if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) hash ^= GetCoinSupplyRequest.GetHashCode(); if (payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse) hash ^= GetCoinSupplyResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.PingResponse) hash ^= PingResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetMetricsResponse) hash ^= GetMetricsResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetServerInfoResponse) hash ^= GetServerInfoResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusResponse) hash ^= GetSyncStatusResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse) hash ^= GetDaaScoreTimestampEstimateResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse) hash ^= SubmitTransactionReplacementResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetConnectionsResponse) hash ^= GetConnectionsResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoResponse) hash ^= GetSystemInfoResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse) hash ^= GetFeeEstimateResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse) hash ^= GetFeeEstimateExperimentalResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse) hash ^= GetCurrentBlockColorResponse.GetHashCode(); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse) hash ^= GetUtxoReturnAddressResponse.GetHashCode(); hash ^= (int) payloadCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -2567,212 +4392,287 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (payloadCase_ == PayloadOneofCase.Addresses) { - output.WriteRawTag(10); - output.WriteMessage(Addresses); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0UL) { + output.WriteRawTag(168, 6); + output.WriteUInt64(Id); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse) { + output.WriteRawTag(210, 62); + output.WriteMessage(GetCurrentNetworkResponse); + } + if (payloadCase_ == PayloadOneofCase.SubmitBlockResponse) { + output.WriteRawTag(226, 62); + output.WriteMessage(SubmitBlockResponse); + } + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse) { + output.WriteRawTag(242, 62); + output.WriteMessage(GetBlockTemplateResponse); + } + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse) { + output.WriteRawTag(130, 63); + output.WriteMessage(NotifyBlockAddedResponse); + } + if (payloadCase_ == PayloadOneofCase.BlockAddedNotification) { + output.WriteRawTag(138, 63); + output.WriteMessage(BlockAddedNotification); + } + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse) { + output.WriteRawTag(154, 63); + output.WriteMessage(GetPeerAddressesResponse); + } + if (payloadCase_ == PayloadOneofCase.GetSinkResponse) { + output.WriteRawTag(170, 63); + output.WriteMessage(GetSinkResponse); + } + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse) { + output.WriteRawTag(186, 63); + output.WriteMessage(GetMempoolEntryResponse); + } + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse) { + output.WriteRawTag(202, 63); + output.WriteMessage(GetConnectedPeerInfoResponse); + } + if (payloadCase_ == PayloadOneofCase.AddPeerResponse) { + output.WriteRawTag(218, 63); + output.WriteMessage(AddPeerResponse); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionResponse) { + output.WriteRawTag(234, 63); + output.WriteMessage(SubmitTransactionResponse); + } + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse) { + output.WriteRawTag(250, 63); + output.WriteMessage(NotifyVirtualChainChangedResponse); + } + if (payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification) { + output.WriteRawTag(130, 64); + output.WriteMessage(VirtualChainChangedNotification); + } + if (payloadCase_ == PayloadOneofCase.GetBlockResponse) { + output.WriteRawTag(146, 64); + output.WriteMessage(GetBlockResponse); + } + if (payloadCase_ == PayloadOneofCase.GetSubnetworkResponse) { + output.WriteRawTag(162, 64); + output.WriteMessage(GetSubnetworkResponse); + } + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse) { + output.WriteRawTag(178, 64); + output.WriteMessage(GetVirtualChainFromBlockResponse); + } + if (payloadCase_ == PayloadOneofCase.GetBlocksResponse) { + output.WriteRawTag(194, 64); + output.WriteMessage(GetBlocksResponse); + } + if (payloadCase_ == PayloadOneofCase.GetBlockCountResponse) { + output.WriteRawTag(210, 64); + output.WriteMessage(GetBlockCountResponse); + } + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse) { + output.WriteRawTag(226, 64); + output.WriteMessage(GetBlockDagInfoResponse); } - if (payloadCase_ == PayloadOneofCase.Block) { - output.WriteRawTag(18); - output.WriteMessage(Block); + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse) { + output.WriteRawTag(242, 64); + output.WriteMessage(ResolveFinalityConflictResponse); } - if (payloadCase_ == PayloadOneofCase.Transaction) { - output.WriteRawTag(26); - output.WriteMessage(Transaction); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse) { + output.WriteRawTag(130, 65); + output.WriteMessage(NotifyFinalityConflictResponse); } - if (payloadCase_ == PayloadOneofCase.BlockLocator) { - output.WriteRawTag(42); - output.WriteMessage(BlockLocator); + if (payloadCase_ == PayloadOneofCase.FinalityConflictNotification) { + output.WriteRawTag(138, 65); + output.WriteMessage(FinalityConflictNotification); } - if (payloadCase_ == PayloadOneofCase.RequestAddresses) { - output.WriteRawTag(50); - output.WriteMessage(RequestAddresses); + if (payloadCase_ == PayloadOneofCase.FinalityConflictResolvedNotification) { + output.WriteRawTag(146, 65); + output.WriteMessage(FinalityConflictResolvedNotification); } - if (payloadCase_ == PayloadOneofCase.RequestRelayBlocks) { - output.WriteRawTag(82); - output.WriteMessage(RequestRelayBlocks); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse) { + output.WriteRawTag(162, 65); + output.WriteMessage(GetMempoolEntriesResponse); } - if (payloadCase_ == PayloadOneofCase.RequestTransactions) { - output.WriteRawTag(98); - output.WriteMessage(RequestTransactions); + if (payloadCase_ == PayloadOneofCase.ShutdownResponse) { + output.WriteRawTag(178, 65); + output.WriteMessage(ShutdownResponse); } - if (payloadCase_ == PayloadOneofCase.IbdBlock) { - output.WriteRawTag(106); - output.WriteMessage(IbdBlock); + if (payloadCase_ == PayloadOneofCase.GetHeadersResponse) { + output.WriteRawTag(194, 65); + output.WriteMessage(GetHeadersResponse); } - if (payloadCase_ == PayloadOneofCase.InvRelayBlock) { - output.WriteRawTag(114); - output.WriteMessage(InvRelayBlock); + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse) { + output.WriteRawTag(210, 65); + output.WriteMessage(NotifyUtxosChangedResponse); } - if (payloadCase_ == PayloadOneofCase.InvTransactions) { - output.WriteRawTag(122); - output.WriteMessage(InvTransactions); + if (payloadCase_ == PayloadOneofCase.UtxosChangedNotification) { + output.WriteRawTag(218, 65); + output.WriteMessage(UtxosChangedNotification); } - if (payloadCase_ == PayloadOneofCase.Ping) { - output.WriteRawTag(130, 1); - output.WriteMessage(Ping); + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse) { + output.WriteRawTag(234, 65); + output.WriteMessage(GetUtxosByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.Pong) { - output.WriteRawTag(138, 1); - output.WriteMessage(Pong); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse) { + output.WriteRawTag(250, 65); + output.WriteMessage(GetSinkBlueScoreResponse); } - if (payloadCase_ == PayloadOneofCase.Verack) { - output.WriteRawTag(154, 1); - output.WriteMessage(Verack); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse) { + output.WriteRawTag(138, 66); + output.WriteMessage(NotifySinkBlueScoreChangedResponse); } - if (payloadCase_ == PayloadOneofCase.Version) { - output.WriteRawTag(162, 1); - output.WriteMessage(Version); + if (payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification) { + output.WriteRawTag(146, 66); + output.WriteMessage(SinkBlueScoreChangedNotification); } - if (payloadCase_ == PayloadOneofCase.TransactionNotFound) { - output.WriteRawTag(170, 1); - output.WriteMessage(TransactionNotFound); + if (payloadCase_ == PayloadOneofCase.BanResponse) { + output.WriteRawTag(162, 66); + output.WriteMessage(BanResponse); } - if (payloadCase_ == PayloadOneofCase.Reject) { - output.WriteRawTag(178, 1); - output.WriteMessage(Reject); + if (payloadCase_ == PayloadOneofCase.UnbanResponse) { + output.WriteRawTag(178, 66); + output.WriteMessage(UnbanResponse); } - if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetChunk) { - output.WriteRawTag(202, 1); - output.WriteMessage(PruningPointUtxoSetChunk); + if (payloadCase_ == PayloadOneofCase.GetInfoResponse) { + output.WriteRawTag(194, 66); + output.WriteMessage(GetInfoResponse); } - if (payloadCase_ == PayloadOneofCase.RequestIBDBlocks) { - output.WriteRawTag(210, 1); - output.WriteMessage(RequestIBDBlocks); + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse) { + output.WriteRawTag(210, 66); + output.WriteMessage(StopNotifyingUtxosChangedResponse); } - if (payloadCase_ == PayloadOneofCase.UnexpectedPruningPoint) { - output.WriteRawTag(218, 1); - output.WriteMessage(UnexpectedPruningPoint); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse) { + output.WriteRawTag(226, 66); + output.WriteMessage(NotifyPruningPointUtxoSetOverrideResponse); } - if (payloadCase_ == PayloadOneofCase.IbdBlockLocator) { - output.WriteRawTag(242, 1); - output.WriteMessage(IbdBlockLocator); + if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification) { + output.WriteRawTag(234, 66); + output.WriteMessage(PruningPointUtxoSetOverrideNotification); } - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHash) { - output.WriteRawTag(250, 1); - output.WriteMessage(IbdBlockLocatorHighestHash); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse) { + output.WriteRawTag(250, 66); + output.WriteMessage(StopNotifyingPruningPointUtxoSetOverrideResponse); } - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointUtxoSetChunk) { - output.WriteRawTag(138, 2); - output.WriteMessage(RequestNextPruningPointUtxoSetChunk); + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse) { + output.WriteRawTag(138, 67); + output.WriteMessage(EstimateNetworkHashesPerSecondResponse); } - if (payloadCase_ == PayloadOneofCase.DonePruningPointUtxoSetChunks) { - output.WriteRawTag(146, 2); - output.WriteMessage(DonePruningPointUtxoSetChunks); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse) { + output.WriteRawTag(154, 67); + output.WriteMessage(NotifyVirtualDaaScoreChangedResponse); } - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHashNotFound) { - output.WriteRawTag(154, 2); - output.WriteMessage(IbdBlockLocatorHighestHashNotFound); + if (payloadCase_ == PayloadOneofCase.VirtualDaaScoreChangedNotification) { + output.WriteRawTag(162, 67); + output.WriteMessage(VirtualDaaScoreChangedNotification); } - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedData) { - output.WriteRawTag(162, 2); - output.WriteMessage(BlockWithTrustedData); + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse) { + output.WriteRawTag(178, 67); + output.WriteMessage(GetBalanceByAddressResponse); } - if (payloadCase_ == PayloadOneofCase.DoneBlocksWithTrustedData) { - output.WriteRawTag(170, 2); - output.WriteMessage(DoneBlocksWithTrustedData); + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse) { + output.WriteRawTag(194, 67); + output.WriteMessage(GetBalancesByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.RequestPruningPointAndItsAnticone) { - output.WriteRawTag(194, 2); - output.WriteMessage(RequestPruningPointAndItsAnticone); + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse) { + output.WriteRawTag(210, 67); + output.WriteMessage(NotifyNewBlockTemplateResponse); } - if (payloadCase_ == PayloadOneofCase.BlockHeaders) { - output.WriteRawTag(202, 2); - output.WriteMessage(BlockHeaders); + if (payloadCase_ == PayloadOneofCase.NewBlockTemplateNotification) { + output.WriteRawTag(218, 67); + output.WriteMessage(NewBlockTemplateNotification); } - if (payloadCase_ == PayloadOneofCase.RequestNextHeaders) { - output.WriteRawTag(210, 2); - output.WriteMessage(RequestNextHeaders); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse) { + output.WriteRawTag(234, 67); + output.WriteMessage(GetMempoolEntriesByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.DoneHeaders) { - output.WriteRawTag(218, 2); - output.WriteMessage(DoneHeaders); + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse) { + output.WriteRawTag(250, 67); + output.WriteMessage(GetCoinSupplyResponse); } - if (payloadCase_ == PayloadOneofCase.RequestPruningPointUTXOSet) { - output.WriteRawTag(226, 2); - output.WriteMessage(RequestPruningPointUTXOSet); + if (payloadCase_ == PayloadOneofCase.PingResponse) { + output.WriteRawTag(138, 68); + output.WriteMessage(PingResponse); } - if (payloadCase_ == PayloadOneofCase.RequestHeaders) { - output.WriteRawTag(234, 2); - output.WriteMessage(RequestHeaders); + if (payloadCase_ == PayloadOneofCase.GetMetricsResponse) { + output.WriteRawTag(154, 68); + output.WriteMessage(GetMetricsResponse); } - if (payloadCase_ == PayloadOneofCase.RequestBlockLocator) { - output.WriteRawTag(242, 2); - output.WriteMessage(RequestBlockLocator); + if (payloadCase_ == PayloadOneofCase.GetServerInfoResponse) { + output.WriteRawTag(170, 68); + output.WriteMessage(GetServerInfoResponse); } - if (payloadCase_ == PayloadOneofCase.PruningPoints) { - output.WriteRawTag(250, 2); - output.WriteMessage(PruningPoints); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusResponse) { + output.WriteRawTag(186, 68); + output.WriteMessage(GetSyncStatusResponse); } - if (payloadCase_ == PayloadOneofCase.RequestPruningPointProof) { - output.WriteRawTag(130, 3); - output.WriteMessage(RequestPruningPointProof); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse) { + output.WriteRawTag(202, 68); + output.WriteMessage(GetDaaScoreTimestampEstimateResponse); } - if (payloadCase_ == PayloadOneofCase.PruningPointProof) { - output.WriteRawTag(138, 3); - output.WriteMessage(PruningPointProof); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse) { + output.WriteRawTag(234, 68); + output.WriteMessage(SubmitTransactionReplacementResponse); } - if (payloadCase_ == PayloadOneofCase.Ready) { - output.WriteRawTag(146, 3); - output.WriteMessage(Ready); + if (payloadCase_ == PayloadOneofCase.GetConnectionsResponse) { + output.WriteRawTag(250, 68); + output.WriteMessage(GetConnectionsResponse); } - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedDataV4) { - output.WriteRawTag(154, 3); - output.WriteMessage(BlockWithTrustedDataV4); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoResponse) { + output.WriteRawTag(138, 69); + output.WriteMessage(GetSystemInfoResponse); } - if (payloadCase_ == PayloadOneofCase.TrustedData) { - output.WriteRawTag(162, 3); - output.WriteMessage(TrustedData); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse) { + output.WriteRawTag(154, 69); + output.WriteMessage(GetFeeEstimateResponse); } - if (payloadCase_ == PayloadOneofCase.RequestIBDChainBlockLocator) { - output.WriteRawTag(170, 3); - output.WriteMessage(RequestIBDChainBlockLocator); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse) { + output.WriteRawTag(170, 69); + output.WriteMessage(GetFeeEstimateExperimentalResponse); } - if (payloadCase_ == PayloadOneofCase.IbdChainBlockLocator) { - output.WriteRawTag(178, 3); - output.WriteMessage(IbdChainBlockLocator); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse) { + output.WriteRawTag(186, 69); + output.WriteMessage(GetCurrentBlockColorResponse); } - if (payloadCase_ == PayloadOneofCase.RequestAnticone) { - output.WriteRawTag(186, 3); - output.WriteMessage(RequestAnticone); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse) { + output.WriteRawTag(202, 69); + output.WriteMessage(GetUtxoReturnAddressResponse); } - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks) { - output.WriteRawTag(194, 3); - output.WriteMessage(RequestNextPruningPointAndItsAnticoneBlocks); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { - output.WriteRawTag(202, 62); - output.WriteMessage(GetCurrentNetworkRequest); + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0UL) { + output.WriteRawTag(168, 6); + output.WriteUInt64(Id); } if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse) { output.WriteRawTag(210, 62); output.WriteMessage(GetCurrentNetworkResponse); } - if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { - output.WriteRawTag(218, 62); - output.WriteMessage(SubmitBlockRequest); - } if (payloadCase_ == PayloadOneofCase.SubmitBlockResponse) { output.WriteRawTag(226, 62); output.WriteMessage(SubmitBlockResponse); } - if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { - output.WriteRawTag(234, 62); - output.WriteMessage(GetBlockTemplateRequest); - } if (payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse) { output.WriteRawTag(242, 62); output.WriteMessage(GetBlockTemplateResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { - output.WriteRawTag(250, 62); - output.WriteMessage(NotifyBlockAddedRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse) { output.WriteRawTag(130, 63); output.WriteMessage(NotifyBlockAddedResponse); @@ -2781,129 +4681,69 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(138, 63); output.WriteMessage(BlockAddedNotification); } - if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { - output.WriteRawTag(146, 63); - output.WriteMessage(GetPeerAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse) { output.WriteRawTag(154, 63); output.WriteMessage(GetPeerAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashRequest) { - output.WriteRawTag(162, 63); - output.WriteMessage(GetSelectedTipHashRequest); - } - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashResponse) { + if (payloadCase_ == PayloadOneofCase.GetSinkResponse) { output.WriteRawTag(170, 63); - output.WriteMessage(GetSelectedTipHashResponse); - } - if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { - output.WriteRawTag(178, 63); - output.WriteMessage(GetMempoolEntryRequest); + output.WriteMessage(GetSinkResponse); } if (payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse) { output.WriteRawTag(186, 63); output.WriteMessage(GetMempoolEntryResponse); } - if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { - output.WriteRawTag(194, 63); - output.WriteMessage(GetConnectedPeerInfoRequest); - } if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse) { output.WriteRawTag(202, 63); output.WriteMessage(GetConnectedPeerInfoResponse); } - if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { - output.WriteRawTag(210, 63); - output.WriteMessage(AddPeerRequest); - } if (payloadCase_ == PayloadOneofCase.AddPeerResponse) { output.WriteRawTag(218, 63); output.WriteMessage(AddPeerResponse); } - if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { - output.WriteRawTag(226, 63); - output.WriteMessage(SubmitTransactionRequest); - } if (payloadCase_ == PayloadOneofCase.SubmitTransactionResponse) { output.WriteRawTag(234, 63); output.WriteMessage(SubmitTransactionResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest) { - output.WriteRawTag(242, 63); - output.WriteMessage(NotifyVirtualSelectedParentChainChangedRequest); - } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse) { + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse) { output.WriteRawTag(250, 63); - output.WriteMessage(NotifyVirtualSelectedParentChainChangedResponse); + output.WriteMessage(NotifyVirtualChainChangedResponse); } - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentChainChangedNotification) { + if (payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification) { output.WriteRawTag(130, 64); - output.WriteMessage(VirtualSelectedParentChainChangedNotification); - } - if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { - output.WriteRawTag(138, 64); - output.WriteMessage(GetBlockRequest); + output.WriteMessage(VirtualChainChangedNotification); } if (payloadCase_ == PayloadOneofCase.GetBlockResponse) { output.WriteRawTag(146, 64); output.WriteMessage(GetBlockResponse); } - if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { - output.WriteRawTag(154, 64); - output.WriteMessage(GetSubnetworkRequest); - } if (payloadCase_ == PayloadOneofCase.GetSubnetworkResponse) { output.WriteRawTag(162, 64); output.WriteMessage(GetSubnetworkResponse); } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest) { - output.WriteRawTag(170, 64); - output.WriteMessage(GetVirtualSelectedParentChainFromBlockRequest); - } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse) { + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse) { output.WriteRawTag(178, 64); - output.WriteMessage(GetVirtualSelectedParentChainFromBlockResponse); - } - if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { - output.WriteRawTag(186, 64); - output.WriteMessage(GetBlocksRequest); + output.WriteMessage(GetVirtualChainFromBlockResponse); } if (payloadCase_ == PayloadOneofCase.GetBlocksResponse) { output.WriteRawTag(194, 64); output.WriteMessage(GetBlocksResponse); } - if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { - output.WriteRawTag(202, 64); - output.WriteMessage(GetBlockCountRequest); - } if (payloadCase_ == PayloadOneofCase.GetBlockCountResponse) { output.WriteRawTag(210, 64); output.WriteMessage(GetBlockCountResponse); } - if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { - output.WriteRawTag(218, 64); - output.WriteMessage(GetBlockDagInfoRequest); - } if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse) { output.WriteRawTag(226, 64); output.WriteMessage(GetBlockDagInfoResponse); } - if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { - output.WriteRawTag(234, 64); - output.WriteMessage(ResolveFinalityConflictRequest); - } if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse) { output.WriteRawTag(242, 64); output.WriteMessage(ResolveFinalityConflictResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsRequest) { - output.WriteRawTag(250, 64); - output.WriteMessage(NotifyFinalityConflictsRequest); - } - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsResponse) { + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse) { output.WriteRawTag(130, 65); - output.WriteMessage(NotifyFinalityConflictsResponse); + output.WriteMessage(NotifyFinalityConflictResponse); } if (payloadCase_ == PayloadOneofCase.FinalityConflictNotification) { output.WriteRawTag(138, 65); @@ -2913,34 +4753,18 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(146, 65); output.WriteMessage(FinalityConflictResolvedNotification); } - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { - output.WriteRawTag(154, 65); - output.WriteMessage(GetMempoolEntriesRequest); - } if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse) { output.WriteRawTag(162, 65); output.WriteMessage(GetMempoolEntriesResponse); } - if (payloadCase_ == PayloadOneofCase.ShutDownRequest) { - output.WriteRawTag(170, 65); - output.WriteMessage(ShutDownRequest); - } - if (payloadCase_ == PayloadOneofCase.ShutDownResponse) { + if (payloadCase_ == PayloadOneofCase.ShutdownResponse) { output.WriteRawTag(178, 65); - output.WriteMessage(ShutDownResponse); - } - if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { - output.WriteRawTag(186, 65); - output.WriteMessage(GetHeadersRequest); + output.WriteMessage(ShutdownResponse); } if (payloadCase_ == PayloadOneofCase.GetHeadersResponse) { output.WriteRawTag(194, 65); output.WriteMessage(GetHeadersResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { - output.WriteRawTag(202, 65); - output.WriteMessage(NotifyUtxosChangedRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse) { output.WriteRawTag(210, 65); output.WriteMessage(NotifyUtxosChangedResponse); @@ -2949,98 +4773,54 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(218, 65); output.WriteMessage(UtxosChangedNotification); } - if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { - output.WriteRawTag(226, 65); - output.WriteMessage(GetUtxosByAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse) { output.WriteRawTag(234, 65); output.WriteMessage(GetUtxosByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest) { - output.WriteRawTag(242, 65); - output.WriteMessage(GetVirtualSelectedParentBlueScoreRequest); - } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse) { + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse) { output.WriteRawTag(250, 65); - output.WriteMessage(GetVirtualSelectedParentBlueScoreResponse); - } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest) { - output.WriteRawTag(130, 66); - output.WriteMessage(NotifyVirtualSelectedParentBlueScoreChangedRequest); + output.WriteMessage(GetSinkBlueScoreResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse) { + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse) { output.WriteRawTag(138, 66); - output.WriteMessage(NotifyVirtualSelectedParentBlueScoreChangedResponse); + output.WriteMessage(NotifySinkBlueScoreChangedResponse); } - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification) { + if (payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification) { output.WriteRawTag(146, 66); - output.WriteMessage(VirtualSelectedParentBlueScoreChangedNotification); - } - if (payloadCase_ == PayloadOneofCase.BanRequest) { - output.WriteRawTag(154, 66); - output.WriteMessage(BanRequest); + output.WriteMessage(SinkBlueScoreChangedNotification); } if (payloadCase_ == PayloadOneofCase.BanResponse) { output.WriteRawTag(162, 66); output.WriteMessage(BanResponse); } - if (payloadCase_ == PayloadOneofCase.UnbanRequest) { - output.WriteRawTag(170, 66); - output.WriteMessage(UnbanRequest); - } if (payloadCase_ == PayloadOneofCase.UnbanResponse) { output.WriteRawTag(178, 66); output.WriteMessage(UnbanResponse); } - if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { - output.WriteRawTag(186, 66); - output.WriteMessage(GetInfoRequest); - } if (payloadCase_ == PayloadOneofCase.GetInfoResponse) { output.WriteRawTag(194, 66); output.WriteMessage(GetInfoResponse); } - if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { - output.WriteRawTag(202, 66); - output.WriteMessage(StopNotifyingUtxosChangedRequest); - } if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse) { output.WriteRawTag(210, 66); output.WriteMessage(StopNotifyingUtxosChangedResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest) { - output.WriteRawTag(218, 66); - output.WriteMessage(NotifyPruningPointUTXOSetOverrideRequest); - } - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse) { + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse) { output.WriteRawTag(226, 66); - output.WriteMessage(NotifyPruningPointUTXOSetOverrideResponse); + output.WriteMessage(NotifyPruningPointUtxoSetOverrideResponse); } - if (payloadCase_ == PayloadOneofCase.PruningPointUTXOSetOverrideNotification) { + if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification) { output.WriteRawTag(234, 66); - output.WriteMessage(PruningPointUTXOSetOverrideNotification); - } - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest) { - output.WriteRawTag(242, 66); - output.WriteMessage(StopNotifyingPruningPointUTXOSetOverrideRequest); + output.WriteMessage(PruningPointUtxoSetOverrideNotification); } - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse) { + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse) { output.WriteRawTag(250, 66); - output.WriteMessage(StopNotifyingPruningPointUTXOSetOverrideResponse); - } - if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { - output.WriteRawTag(130, 67); - output.WriteMessage(EstimateNetworkHashesPerSecondRequest); + output.WriteMessage(StopNotifyingPruningPointUtxoSetOverrideResponse); } if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse) { output.WriteRawTag(138, 67); output.WriteMessage(EstimateNetworkHashesPerSecondResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { - output.WriteRawTag(146, 67); - output.WriteMessage(NotifyVirtualDaaScoreChangedRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse) { output.WriteRawTag(154, 67); output.WriteMessage(NotifyVirtualDaaScoreChangedResponse); @@ -3049,26 +4829,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 67); output.WriteMessage(VirtualDaaScoreChangedNotification); } - if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { - output.WriteRawTag(170, 67); - output.WriteMessage(GetBalanceByAddressRequest); - } if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse) { output.WriteRawTag(178, 67); output.WriteMessage(GetBalanceByAddressResponse); } - if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { - output.WriteRawTag(186, 67); - output.WriteMessage(GetBalancesByAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse) { output.WriteRawTag(194, 67); output.WriteMessage(GetBalancesByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { - output.WriteRawTag(202, 67); - output.WriteMessage(NotifyNewBlockTemplateRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse) { output.WriteRawTag(210, 67); output.WriteMessage(NotifyNewBlockTemplateResponse); @@ -3077,278 +4845,137 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(218, 67); output.WriteMessage(NewBlockTemplateNotification); } - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { - output.WriteRawTag(226, 67); - output.WriteMessage(GetMempoolEntriesByAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse) { output.WriteRawTag(234, 67); output.WriteMessage(GetMempoolEntriesByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { - output.WriteRawTag(242, 67); - output.WriteMessage(GetCoinSupplyRequest); - } if (payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse) { output.WriteRawTag(250, 67); output.WriteMessage(GetCoinSupplyResponse); } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (payloadCase_ == PayloadOneofCase.Addresses) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Addresses); - } - if (payloadCase_ == PayloadOneofCase.Block) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Block); - } - if (payloadCase_ == PayloadOneofCase.Transaction) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Transaction); - } - if (payloadCase_ == PayloadOneofCase.BlockLocator) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(BlockLocator); + if (payloadCase_ == PayloadOneofCase.PingResponse) { + output.WriteRawTag(138, 68); + output.WriteMessage(PingResponse); } - if (payloadCase_ == PayloadOneofCase.RequestAddresses) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestAddresses); + if (payloadCase_ == PayloadOneofCase.GetMetricsResponse) { + output.WriteRawTag(154, 68); + output.WriteMessage(GetMetricsResponse); } - if (payloadCase_ == PayloadOneofCase.RequestRelayBlocks) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestRelayBlocks); + if (payloadCase_ == PayloadOneofCase.GetServerInfoResponse) { + output.WriteRawTag(170, 68); + output.WriteMessage(GetServerInfoResponse); } - if (payloadCase_ == PayloadOneofCase.RequestTransactions) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestTransactions); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusResponse) { + output.WriteRawTag(186, 68); + output.WriteMessage(GetSyncStatusResponse); } - if (payloadCase_ == PayloadOneofCase.IbdBlock) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(IbdBlock); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse) { + output.WriteRawTag(202, 68); + output.WriteMessage(GetDaaScoreTimestampEstimateResponse); } - if (payloadCase_ == PayloadOneofCase.InvRelayBlock) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(InvRelayBlock); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse) { + output.WriteRawTag(234, 68); + output.WriteMessage(SubmitTransactionReplacementResponse); } - if (payloadCase_ == PayloadOneofCase.InvTransactions) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(InvTransactions); + if (payloadCase_ == PayloadOneofCase.GetConnectionsResponse) { + output.WriteRawTag(250, 68); + output.WriteMessage(GetConnectionsResponse); } - if (payloadCase_ == PayloadOneofCase.Ping) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ping); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoResponse) { + output.WriteRawTag(138, 69); + output.WriteMessage(GetSystemInfoResponse); } - if (payloadCase_ == PayloadOneofCase.Pong) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Pong); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse) { + output.WriteRawTag(154, 69); + output.WriteMessage(GetFeeEstimateResponse); } - if (payloadCase_ == PayloadOneofCase.Verack) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Verack); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse) { + output.WriteRawTag(170, 69); + output.WriteMessage(GetFeeEstimateExperimentalResponse); } - if (payloadCase_ == PayloadOneofCase.Version) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Version); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse) { + output.WriteRawTag(186, 69); + output.WriteMessage(GetCurrentBlockColorResponse); } - if (payloadCase_ == PayloadOneofCase.TransactionNotFound) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TransactionNotFound); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse) { + output.WriteRawTag(202, 69); + output.WriteMessage(GetUtxoReturnAddressResponse); } - if (payloadCase_ == PayloadOneofCase.Reject) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Reject); - } - if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetChunk) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PruningPointUtxoSetChunk); - } - if (payloadCase_ == PayloadOneofCase.RequestIBDBlocks) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestIBDBlocks); - } - if (payloadCase_ == PayloadOneofCase.UnexpectedPruningPoint) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnexpectedPruningPoint); - } - if (payloadCase_ == PayloadOneofCase.IbdBlockLocator) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(IbdBlockLocator); - } - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHash) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(IbdBlockLocatorHighestHash); - } - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointUtxoSetChunk) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestNextPruningPointUtxoSetChunk); - } - if (payloadCase_ == PayloadOneofCase.DonePruningPointUtxoSetChunks) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DonePruningPointUtxoSetChunks); - } - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHashNotFound) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(IbdBlockLocatorHighestHashNotFound); - } - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedData) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BlockWithTrustedData); - } - if (payloadCase_ == PayloadOneofCase.DoneBlocksWithTrustedData) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DoneBlocksWithTrustedData); - } - if (payloadCase_ == PayloadOneofCase.RequestPruningPointAndItsAnticone) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestPruningPointAndItsAnticone); - } - if (payloadCase_ == PayloadOneofCase.BlockHeaders) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BlockHeaders); - } - if (payloadCase_ == PayloadOneofCase.RequestNextHeaders) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestNextHeaders); - } - if (payloadCase_ == PayloadOneofCase.DoneHeaders) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DoneHeaders); - } - if (payloadCase_ == PayloadOneofCase.RequestPruningPointUTXOSet) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestPruningPointUTXOSet); - } - if (payloadCase_ == PayloadOneofCase.RequestHeaders) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestHeaders); - } - if (payloadCase_ == PayloadOneofCase.RequestBlockLocator) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestBlockLocator); - } - if (payloadCase_ == PayloadOneofCase.PruningPoints) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PruningPoints); - } - if (payloadCase_ == PayloadOneofCase.RequestPruningPointProof) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestPruningPointProof); - } - if (payloadCase_ == PayloadOneofCase.PruningPointProof) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PruningPointProof); - } - if (payloadCase_ == PayloadOneofCase.Ready) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ready); - } - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedDataV4) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BlockWithTrustedDataV4); - } - if (payloadCase_ == PayloadOneofCase.TrustedData) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(TrustedData); - } - if (payloadCase_ == PayloadOneofCase.RequestIBDChainBlockLocator) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestIBDChainBlockLocator); - } - if (payloadCase_ == PayloadOneofCase.IbdChainBlockLocator) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(IbdChainBlockLocator); - } - if (payloadCase_ == PayloadOneofCase.RequestAnticone) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestAnticone); - } - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RequestNextPruningPointAndItsAnticoneBlocks); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); } - if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCurrentNetworkRequest); + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Id); } if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCurrentNetworkResponse); } - if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitBlockRequest); - } if (payloadCase_ == PayloadOneofCase.SubmitBlockResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitBlockResponse); } - if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockTemplateRequest); - } if (payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockTemplateResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyBlockAddedRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyBlockAddedResponse); } if (payloadCase_ == PayloadOneofCase.BlockAddedNotification) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(BlockAddedNotification); } - if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetPeerAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetPeerAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSelectedTipHashRequest); - } - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSelectedTipHashResponse); - } - if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntryRequest); + if (payloadCase_ == PayloadOneofCase.GetSinkResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSinkResponse); } if (payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntryResponse); } - if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetConnectedPeerInfoRequest); - } if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetConnectedPeerInfoResponse); } - if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddPeerRequest); - } if (payloadCase_ == PayloadOneofCase.AddPeerResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddPeerResponse); } - if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitTransactionRequest); - } if (payloadCase_ == PayloadOneofCase.SubmitTransactionResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitTransactionResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualSelectedParentChainChangedRequest); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualChainChangedResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualSelectedParentChainChangedResponse); - } - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentChainChangedNotification) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(VirtualSelectedParentChainChangedNotification); - } - if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockRequest); + if (payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(VirtualChainChangedNotification); } if (payloadCase_ == PayloadOneofCase.GetBlockResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockResponse); } - if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSubnetworkRequest); - } if (payloadCase_ == PayloadOneofCase.GetSubnetworkResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSubnetworkResponse); } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetVirtualSelectedParentChainFromBlockRequest); - } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetVirtualSelectedParentChainFromBlockResponse); - } - if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlocksRequest); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetVirtualChainFromBlockResponse); } if (payloadCase_ == PayloadOneofCase.GetBlocksResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlocksResponse); } - if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockCountRequest); - } if (payloadCase_ == PayloadOneofCase.GetBlockCountResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockCountResponse); } - if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockDagInfoRequest); - } if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBlockDagInfoResponse); } - if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ResolveFinalityConflictRequest); - } if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(ResolveFinalityConflictResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyFinalityConflictsRequest); - } - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyFinalityConflictsResponse); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyFinalityConflictResponse); } if (payloadCase_ == PayloadOneofCase.FinalityConflictNotification) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(FinalityConflictNotification); @@ -3356,141 +4983,117 @@ public int CalculateSize() { if (payloadCase_ == PayloadOneofCase.FinalityConflictResolvedNotification) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(FinalityConflictResolvedNotification); } - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntriesRequest); - } if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntriesResponse); } - if (payloadCase_ == PayloadOneofCase.ShutDownRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShutDownRequest); - } - if (payloadCase_ == PayloadOneofCase.ShutDownResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShutDownResponse); - } - if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetHeadersRequest); + if (payloadCase_ == PayloadOneofCase.ShutdownResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShutdownResponse); } if (payloadCase_ == PayloadOneofCase.GetHeadersResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetHeadersResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyUtxosChangedRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyUtxosChangedResponse); } if (payloadCase_ == PayloadOneofCase.UtxosChangedNotification) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(UtxosChangedNotification); } - if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetUtxosByAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetUtxosByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetVirtualSelectedParentBlueScoreRequest); - } - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetVirtualSelectedParentBlueScoreResponse); - } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualSelectedParentBlueScoreChangedRequest); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSinkBlueScoreResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualSelectedParentBlueScoreChangedResponse); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifySinkBlueScoreChangedResponse); } - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(VirtualSelectedParentBlueScoreChangedNotification); - } - if (payloadCase_ == PayloadOneofCase.BanRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(BanRequest); + if (payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SinkBlueScoreChangedNotification); } if (payloadCase_ == PayloadOneofCase.BanResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(BanResponse); } - if (payloadCase_ == PayloadOneofCase.UnbanRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnbanRequest); - } if (payloadCase_ == PayloadOneofCase.UnbanResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnbanResponse); } - if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetInfoRequest); - } if (payloadCase_ == PayloadOneofCase.GetInfoResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetInfoResponse); } - if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingUtxosChangedRequest); - } if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingUtxosChangedResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyPruningPointUTXOSetOverrideRequest); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyPruningPointUtxoSetOverrideResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyPruningPointUTXOSetOverrideResponse); + if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PruningPointUtxoSetOverrideNotification); } - if (payloadCase_ == PayloadOneofCase.PruningPointUTXOSetOverrideNotification) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PruningPointUTXOSetOverrideNotification); - } - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingPruningPointUTXOSetOverrideRequest); - } - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingPruningPointUTXOSetOverrideResponse); - } - if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(EstimateNetworkHashesPerSecondRequest); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StopNotifyingPruningPointUtxoSetOverrideResponse); } if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(EstimateNetworkHashesPerSecondResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualDaaScoreChangedRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyVirtualDaaScoreChangedResponse); } if (payloadCase_ == PayloadOneofCase.VirtualDaaScoreChangedNotification) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(VirtualDaaScoreChangedNotification); } - if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBalanceByAddressRequest); - } if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBalanceByAddressResponse); } - if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBalancesByAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetBalancesByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyNewBlockTemplateRequest); - } if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(NotifyNewBlockTemplateResponse); } if (payloadCase_ == PayloadOneofCase.NewBlockTemplateNotification) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(NewBlockTemplateNotification); } - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntriesByAddressesRequest); - } if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMempoolEntriesByAddressesResponse); } - if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCoinSupplyRequest); - } if (payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCoinSupplyResponse); } + if (payloadCase_ == PayloadOneofCase.PingResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PingResponse); + } + if (payloadCase_ == PayloadOneofCase.GetMetricsResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetMetricsResponse); + } + if (payloadCase_ == PayloadOneofCase.GetServerInfoResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetServerInfoResponse); + } + if (payloadCase_ == PayloadOneofCase.GetSyncStatusResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSyncStatusResponse); + } + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetDaaScoreTimestampEstimateResponse); + } + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubmitTransactionReplacementResponse); + } + if (payloadCase_ == PayloadOneofCase.GetConnectionsResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetConnectionsResponse); + } + if (payloadCase_ == PayloadOneofCase.GetSystemInfoResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSystemInfoResponse); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetFeeEstimateResponse); + } + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetFeeEstimateExperimentalResponse); + } + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetCurrentBlockColorResponse); + } + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetUtxoReturnAddressResponse); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3498,311 +5101,33 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(KaspadMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(KaspadResponse other) { if (other == null) { return; } + if (other.Id != 0UL) { + Id = other.Id; + } switch (other.PayloadCase) { - case PayloadOneofCase.Addresses: - if (Addresses == null) { - Addresses = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddressesMessage(); - } - Addresses.MergeFrom(other.Addresses); - break; - case PayloadOneofCase.Block: - if (Block == null) { - Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage(); - } - Block.MergeFrom(other.Block); - break; - case PayloadOneofCase.Transaction: - if (Transaction == null) { - Transaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionMessage(); - } - Transaction.MergeFrom(other.Transaction); - break; - case PayloadOneofCase.BlockLocator: - if (BlockLocator == null) { - BlockLocator = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockLocatorMessage(); - } - BlockLocator.MergeFrom(other.BlockLocator); - break; - case PayloadOneofCase.RequestAddresses: - if (RequestAddresses == null) { - RequestAddresses = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAddressesMessage(); - } - RequestAddresses.MergeFrom(other.RequestAddresses); - break; - case PayloadOneofCase.RequestRelayBlocks: - if (RequestRelayBlocks == null) { - RequestRelayBlocks = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestRelayBlocksMessage(); - } - RequestRelayBlocks.MergeFrom(other.RequestRelayBlocks); - break; - case PayloadOneofCase.RequestTransactions: - if (RequestTransactions == null) { - RequestTransactions = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestTransactionsMessage(); - } - RequestTransactions.MergeFrom(other.RequestTransactions); - break; - case PayloadOneofCase.IbdBlock: - if (IbdBlock == null) { - IbdBlock = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage(); - } - IbdBlock.MergeFrom(other.IbdBlock); - break; - case PayloadOneofCase.InvRelayBlock: - if (InvRelayBlock == null) { - InvRelayBlock = new global::Miningcore.Blockchain.Kaspa.Kaspad.InvRelayBlockMessage(); - } - InvRelayBlock.MergeFrom(other.InvRelayBlock); - break; - case PayloadOneofCase.InvTransactions: - if (InvTransactions == null) { - InvTransactions = new global::Miningcore.Blockchain.Kaspa.Kaspad.InvTransactionsMessage(); - } - InvTransactions.MergeFrom(other.InvTransactions); - break; - case PayloadOneofCase.Ping: - if (Ping == null) { - Ping = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingMessage(); - } - Ping.MergeFrom(other.Ping); - break; - case PayloadOneofCase.Pong: - if (Pong == null) { - Pong = new global::Miningcore.Blockchain.Kaspa.Kaspad.PongMessage(); - } - Pong.MergeFrom(other.Pong); - break; - case PayloadOneofCase.Verack: - if (Verack == null) { - Verack = new global::Miningcore.Blockchain.Kaspa.Kaspad.VerackMessage(); - } - Verack.MergeFrom(other.Verack); - break; - case PayloadOneofCase.Version: - if (Version == null) { - Version = new global::Miningcore.Blockchain.Kaspa.Kaspad.VersionMessage(); - } - Version.MergeFrom(other.Version); - break; - case PayloadOneofCase.TransactionNotFound: - if (TransactionNotFound == null) { - TransactionNotFound = new global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionNotFoundMessage(); - } - TransactionNotFound.MergeFrom(other.TransactionNotFound); - break; - case PayloadOneofCase.Reject: - if (Reject == null) { - Reject = new global::Miningcore.Blockchain.Kaspa.Kaspad.RejectMessage(); - } - Reject.MergeFrom(other.Reject); - break; - case PayloadOneofCase.PruningPointUtxoSetChunk: - if (PruningPointUtxoSetChunk == null) { - PruningPointUtxoSetChunk = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetChunkMessage(); - } - PruningPointUtxoSetChunk.MergeFrom(other.PruningPointUtxoSetChunk); - break; - case PayloadOneofCase.RequestIBDBlocks: - if (RequestIBDBlocks == null) { - RequestIBDBlocks = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDBlocksMessage(); - } - RequestIBDBlocks.MergeFrom(other.RequestIBDBlocks); - break; - case PayloadOneofCase.UnexpectedPruningPoint: - if (UnexpectedPruningPoint == null) { - UnexpectedPruningPoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnexpectedPruningPointMessage(); - } - UnexpectedPruningPoint.MergeFrom(other.UnexpectedPruningPoint); - break; - case PayloadOneofCase.IbdBlockLocator: - if (IbdBlockLocator == null) { - IbdBlockLocator = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorMessage(); - } - IbdBlockLocator.MergeFrom(other.IbdBlockLocator); - break; - case PayloadOneofCase.IbdBlockLocatorHighestHash: - if (IbdBlockLocatorHighestHash == null) { - IbdBlockLocatorHighestHash = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashMessage(); - } - IbdBlockLocatorHighestHash.MergeFrom(other.IbdBlockLocatorHighestHash); - break; - case PayloadOneofCase.RequestNextPruningPointUtxoSetChunk: - if (RequestNextPruningPointUtxoSetChunk == null) { - RequestNextPruningPointUtxoSetChunk = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointUtxoSetChunkMessage(); - } - RequestNextPruningPointUtxoSetChunk.MergeFrom(other.RequestNextPruningPointUtxoSetChunk); - break; - case PayloadOneofCase.DonePruningPointUtxoSetChunks: - if (DonePruningPointUtxoSetChunks == null) { - DonePruningPointUtxoSetChunks = new global::Miningcore.Blockchain.Kaspa.Kaspad.DonePruningPointUtxoSetChunksMessage(); - } - DonePruningPointUtxoSetChunks.MergeFrom(other.DonePruningPointUtxoSetChunks); - break; - case PayloadOneofCase.IbdBlockLocatorHighestHashNotFound: - if (IbdBlockLocatorHighestHashNotFound == null) { - IbdBlockLocatorHighestHashNotFound = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashNotFoundMessage(); - } - IbdBlockLocatorHighestHashNotFound.MergeFrom(other.IbdBlockLocatorHighestHashNotFound); - break; - case PayloadOneofCase.BlockWithTrustedData: - if (BlockWithTrustedData == null) { - BlockWithTrustedData = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataMessage(); - } - BlockWithTrustedData.MergeFrom(other.BlockWithTrustedData); - break; - case PayloadOneofCase.DoneBlocksWithTrustedData: - if (DoneBlocksWithTrustedData == null) { - DoneBlocksWithTrustedData = new global::Miningcore.Blockchain.Kaspa.Kaspad.DoneBlocksWithTrustedDataMessage(); - } - DoneBlocksWithTrustedData.MergeFrom(other.DoneBlocksWithTrustedData); - break; - case PayloadOneofCase.RequestPruningPointAndItsAnticone: - if (RequestPruningPointAndItsAnticone == null) { - RequestPruningPointAndItsAnticone = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointAndItsAnticoneMessage(); - } - RequestPruningPointAndItsAnticone.MergeFrom(other.RequestPruningPointAndItsAnticone); - break; - case PayloadOneofCase.BlockHeaders: - if (BlockHeaders == null) { - BlockHeaders = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockHeadersMessage(); - } - BlockHeaders.MergeFrom(other.BlockHeaders); - break; - case PayloadOneofCase.RequestNextHeaders: - if (RequestNextHeaders == null) { - RequestNextHeaders = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextHeadersMessage(); - } - RequestNextHeaders.MergeFrom(other.RequestNextHeaders); - break; - case PayloadOneofCase.DoneHeaders: - if (DoneHeaders == null) { - DoneHeaders = new global::Miningcore.Blockchain.Kaspa.Kaspad.DoneHeadersMessage(); - } - DoneHeaders.MergeFrom(other.DoneHeaders); - break; - case PayloadOneofCase.RequestPruningPointUTXOSet: - if (RequestPruningPointUTXOSet == null) { - RequestPruningPointUTXOSet = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointUTXOSetMessage(); - } - RequestPruningPointUTXOSet.MergeFrom(other.RequestPruningPointUTXOSet); - break; - case PayloadOneofCase.RequestHeaders: - if (RequestHeaders == null) { - RequestHeaders = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestHeadersMessage(); - } - RequestHeaders.MergeFrom(other.RequestHeaders); - break; - case PayloadOneofCase.RequestBlockLocator: - if (RequestBlockLocator == null) { - RequestBlockLocator = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestBlockLocatorMessage(); - } - RequestBlockLocator.MergeFrom(other.RequestBlockLocator); - break; - case PayloadOneofCase.PruningPoints: - if (PruningPoints == null) { - PruningPoints = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointsMessage(); - } - PruningPoints.MergeFrom(other.PruningPoints); - break; - case PayloadOneofCase.RequestPruningPointProof: - if (RequestPruningPointProof == null) { - RequestPruningPointProof = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointProofMessage(); - } - RequestPruningPointProof.MergeFrom(other.RequestPruningPointProof); - break; - case PayloadOneofCase.PruningPointProof: - if (PruningPointProof == null) { - PruningPointProof = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointProofMessage(); - } - PruningPointProof.MergeFrom(other.PruningPointProof); - break; - case PayloadOneofCase.Ready: - if (Ready == null) { - Ready = new global::Miningcore.Blockchain.Kaspa.Kaspad.ReadyMessage(); - } - Ready.MergeFrom(other.Ready); - break; - case PayloadOneofCase.BlockWithTrustedDataV4: - if (BlockWithTrustedDataV4 == null) { - BlockWithTrustedDataV4 = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataV4Message(); - } - BlockWithTrustedDataV4.MergeFrom(other.BlockWithTrustedDataV4); - break; - case PayloadOneofCase.TrustedData: - if (TrustedData == null) { - TrustedData = new global::Miningcore.Blockchain.Kaspa.Kaspad.TrustedDataMessage(); - } - TrustedData.MergeFrom(other.TrustedData); - break; - case PayloadOneofCase.RequestIBDChainBlockLocator: - if (RequestIBDChainBlockLocator == null) { - RequestIBDChainBlockLocator = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDChainBlockLocatorMessage(); - } - RequestIBDChainBlockLocator.MergeFrom(other.RequestIBDChainBlockLocator); - break; - case PayloadOneofCase.IbdChainBlockLocator: - if (IbdChainBlockLocator == null) { - IbdChainBlockLocator = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdChainBlockLocatorMessage(); - } - IbdChainBlockLocator.MergeFrom(other.IbdChainBlockLocator); - break; - case PayloadOneofCase.RequestAnticone: - if (RequestAnticone == null) { - RequestAnticone = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAnticoneMessage(); - } - RequestAnticone.MergeFrom(other.RequestAnticone); - break; - case PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks: - if (RequestNextPruningPointAndItsAnticoneBlocks == null) { - RequestNextPruningPointAndItsAnticoneBlocks = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointAndItsAnticoneBlocksMessage(); - } - RequestNextPruningPointAndItsAnticoneBlocks.MergeFrom(other.RequestNextPruningPointAndItsAnticoneBlocks); - break; - case PayloadOneofCase.GetCurrentNetworkRequest: - if (GetCurrentNetworkRequest == null) { - GetCurrentNetworkRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage(); - } - GetCurrentNetworkRequest.MergeFrom(other.GetCurrentNetworkRequest); - break; case PayloadOneofCase.GetCurrentNetworkResponse: if (GetCurrentNetworkResponse == null) { GetCurrentNetworkResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage(); } GetCurrentNetworkResponse.MergeFrom(other.GetCurrentNetworkResponse); break; - case PayloadOneofCase.SubmitBlockRequest: - if (SubmitBlockRequest == null) { - SubmitBlockRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage(); - } - SubmitBlockRequest.MergeFrom(other.SubmitBlockRequest); - break; case PayloadOneofCase.SubmitBlockResponse: if (SubmitBlockResponse == null) { SubmitBlockResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage(); } SubmitBlockResponse.MergeFrom(other.SubmitBlockResponse); break; - case PayloadOneofCase.GetBlockTemplateRequest: - if (GetBlockTemplateRequest == null) { - GetBlockTemplateRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage(); - } - GetBlockTemplateRequest.MergeFrom(other.GetBlockTemplateRequest); - break; case PayloadOneofCase.GetBlockTemplateResponse: if (GetBlockTemplateResponse == null) { GetBlockTemplateResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage(); } GetBlockTemplateResponse.MergeFrom(other.GetBlockTemplateResponse); break; - case PayloadOneofCase.NotifyBlockAddedRequest: - if (NotifyBlockAddedRequest == null) { - NotifyBlockAddedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage(); - } - NotifyBlockAddedRequest.MergeFrom(other.NotifyBlockAddedRequest); - break; case PayloadOneofCase.NotifyBlockAddedResponse: if (NotifyBlockAddedResponse == null) { NotifyBlockAddedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage(); @@ -3815,35 +5140,17 @@ public void MergeFrom(KaspadMessage other) { } BlockAddedNotification.MergeFrom(other.BlockAddedNotification); break; - case PayloadOneofCase.GetPeerAddressesRequest: - if (GetPeerAddressesRequest == null) { - GetPeerAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage(); - } - GetPeerAddressesRequest.MergeFrom(other.GetPeerAddressesRequest); - break; case PayloadOneofCase.GetPeerAddressesResponse: if (GetPeerAddressesResponse == null) { GetPeerAddressesResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage(); } GetPeerAddressesResponse.MergeFrom(other.GetPeerAddressesResponse); break; - case PayloadOneofCase.GetSelectedTipHashRequest: - if (GetSelectedTipHashRequest == null) { - GetSelectedTipHashRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage(); - } - GetSelectedTipHashRequest.MergeFrom(other.GetSelectedTipHashRequest); - break; - case PayloadOneofCase.GetSelectedTipHashResponse: - if (GetSelectedTipHashResponse == null) { - GetSelectedTipHashResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage(); - } - GetSelectedTipHashResponse.MergeFrom(other.GetSelectedTipHashResponse); - break; - case PayloadOneofCase.GetMempoolEntryRequest: - if (GetMempoolEntryRequest == null) { - GetMempoolEntryRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage(); + case PayloadOneofCase.GetSinkResponse: + if (GetSinkResponse == null) { + GetSinkResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage(); } - GetMempoolEntryRequest.MergeFrom(other.GetMempoolEntryRequest); + GetSinkResponse.MergeFrom(other.GetSinkResponse); break; case PayloadOneofCase.GetMempoolEntryResponse: if (GetMempoolEntryResponse == null) { @@ -3851,65 +5158,35 @@ public void MergeFrom(KaspadMessage other) { } GetMempoolEntryResponse.MergeFrom(other.GetMempoolEntryResponse); break; - case PayloadOneofCase.GetConnectedPeerInfoRequest: - if (GetConnectedPeerInfoRequest == null) { - GetConnectedPeerInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage(); - } - GetConnectedPeerInfoRequest.MergeFrom(other.GetConnectedPeerInfoRequest); - break; case PayloadOneofCase.GetConnectedPeerInfoResponse: if (GetConnectedPeerInfoResponse == null) { GetConnectedPeerInfoResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage(); } GetConnectedPeerInfoResponse.MergeFrom(other.GetConnectedPeerInfoResponse); break; - case PayloadOneofCase.AddPeerRequest: - if (AddPeerRequest == null) { - AddPeerRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage(); - } - AddPeerRequest.MergeFrom(other.AddPeerRequest); - break; case PayloadOneofCase.AddPeerResponse: if (AddPeerResponse == null) { AddPeerResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage(); } AddPeerResponse.MergeFrom(other.AddPeerResponse); break; - case PayloadOneofCase.SubmitTransactionRequest: - if (SubmitTransactionRequest == null) { - SubmitTransactionRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage(); - } - SubmitTransactionRequest.MergeFrom(other.SubmitTransactionRequest); - break; case PayloadOneofCase.SubmitTransactionResponse: if (SubmitTransactionResponse == null) { SubmitTransactionResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage(); } SubmitTransactionResponse.MergeFrom(other.SubmitTransactionResponse); break; - case PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest: - if (NotifyVirtualSelectedParentChainChangedRequest == null) { - NotifyVirtualSelectedParentChainChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage(); - } - NotifyVirtualSelectedParentChainChangedRequest.MergeFrom(other.NotifyVirtualSelectedParentChainChangedRequest); - break; - case PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse: - if (NotifyVirtualSelectedParentChainChangedResponse == null) { - NotifyVirtualSelectedParentChainChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage(); + case PayloadOneofCase.NotifyVirtualChainChangedResponse: + if (NotifyVirtualChainChangedResponse == null) { + NotifyVirtualChainChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage(); } - NotifyVirtualSelectedParentChainChangedResponse.MergeFrom(other.NotifyVirtualSelectedParentChainChangedResponse); + NotifyVirtualChainChangedResponse.MergeFrom(other.NotifyVirtualChainChangedResponse); break; - case PayloadOneofCase.VirtualSelectedParentChainChangedNotification: - if (VirtualSelectedParentChainChangedNotification == null) { - VirtualSelectedParentChainChangedNotification = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage(); + case PayloadOneofCase.VirtualChainChangedNotification: + if (VirtualChainChangedNotification == null) { + VirtualChainChangedNotification = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage(); } - VirtualSelectedParentChainChangedNotification.MergeFrom(other.VirtualSelectedParentChainChangedNotification); - break; - case PayloadOneofCase.GetBlockRequest: - if (GetBlockRequest == null) { - GetBlockRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage(); - } - GetBlockRequest.MergeFrom(other.GetBlockRequest); + VirtualChainChangedNotification.MergeFrom(other.VirtualChainChangedNotification); break; case PayloadOneofCase.GetBlockResponse: if (GetBlockResponse == null) { @@ -3917,35 +5194,17 @@ public void MergeFrom(KaspadMessage other) { } GetBlockResponse.MergeFrom(other.GetBlockResponse); break; - case PayloadOneofCase.GetSubnetworkRequest: - if (GetSubnetworkRequest == null) { - GetSubnetworkRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage(); - } - GetSubnetworkRequest.MergeFrom(other.GetSubnetworkRequest); - break; case PayloadOneofCase.GetSubnetworkResponse: if (GetSubnetworkResponse == null) { GetSubnetworkResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage(); } GetSubnetworkResponse.MergeFrom(other.GetSubnetworkResponse); break; - case PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest: - if (GetVirtualSelectedParentChainFromBlockRequest == null) { - GetVirtualSelectedParentChainFromBlockRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage(); - } - GetVirtualSelectedParentChainFromBlockRequest.MergeFrom(other.GetVirtualSelectedParentChainFromBlockRequest); - break; - case PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse: - if (GetVirtualSelectedParentChainFromBlockResponse == null) { - GetVirtualSelectedParentChainFromBlockResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage(); - } - GetVirtualSelectedParentChainFromBlockResponse.MergeFrom(other.GetVirtualSelectedParentChainFromBlockResponse); - break; - case PayloadOneofCase.GetBlocksRequest: - if (GetBlocksRequest == null) { - GetBlocksRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage(); + case PayloadOneofCase.GetVirtualChainFromBlockResponse: + if (GetVirtualChainFromBlockResponse == null) { + GetVirtualChainFromBlockResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage(); } - GetBlocksRequest.MergeFrom(other.GetBlocksRequest); + GetVirtualChainFromBlockResponse.MergeFrom(other.GetVirtualChainFromBlockResponse); break; case PayloadOneofCase.GetBlocksResponse: if (GetBlocksResponse == null) { @@ -3953,23 +5212,11 @@ public void MergeFrom(KaspadMessage other) { } GetBlocksResponse.MergeFrom(other.GetBlocksResponse); break; - case PayloadOneofCase.GetBlockCountRequest: - if (GetBlockCountRequest == null) { - GetBlockCountRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage(); - } - GetBlockCountRequest.MergeFrom(other.GetBlockCountRequest); - break; case PayloadOneofCase.GetBlockCountResponse: if (GetBlockCountResponse == null) { GetBlockCountResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage(); } - GetBlockCountResponse.MergeFrom(other.GetBlockCountResponse); - break; - case PayloadOneofCase.GetBlockDagInfoRequest: - if (GetBlockDagInfoRequest == null) { - GetBlockDagInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage(); - } - GetBlockDagInfoRequest.MergeFrom(other.GetBlockDagInfoRequest); + GetBlockCountResponse.MergeFrom(other.GetBlockCountResponse); break; case PayloadOneofCase.GetBlockDagInfoResponse: if (GetBlockDagInfoResponse == null) { @@ -3977,29 +5224,17 @@ public void MergeFrom(KaspadMessage other) { } GetBlockDagInfoResponse.MergeFrom(other.GetBlockDagInfoResponse); break; - case PayloadOneofCase.ResolveFinalityConflictRequest: - if (ResolveFinalityConflictRequest == null) { - ResolveFinalityConflictRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage(); - } - ResolveFinalityConflictRequest.MergeFrom(other.ResolveFinalityConflictRequest); - break; case PayloadOneofCase.ResolveFinalityConflictResponse: if (ResolveFinalityConflictResponse == null) { ResolveFinalityConflictResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage(); } ResolveFinalityConflictResponse.MergeFrom(other.ResolveFinalityConflictResponse); break; - case PayloadOneofCase.NotifyFinalityConflictsRequest: - if (NotifyFinalityConflictsRequest == null) { - NotifyFinalityConflictsRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage(); + case PayloadOneofCase.NotifyFinalityConflictResponse: + if (NotifyFinalityConflictResponse == null) { + NotifyFinalityConflictResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage(); } - NotifyFinalityConflictsRequest.MergeFrom(other.NotifyFinalityConflictsRequest); - break; - case PayloadOneofCase.NotifyFinalityConflictsResponse: - if (NotifyFinalityConflictsResponse == null) { - NotifyFinalityConflictsResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage(); - } - NotifyFinalityConflictsResponse.MergeFrom(other.NotifyFinalityConflictsResponse); + NotifyFinalityConflictResponse.MergeFrom(other.NotifyFinalityConflictResponse); break; case PayloadOneofCase.FinalityConflictNotification: if (FinalityConflictNotification == null) { @@ -4013,35 +5248,17 @@ public void MergeFrom(KaspadMessage other) { } FinalityConflictResolvedNotification.MergeFrom(other.FinalityConflictResolvedNotification); break; - case PayloadOneofCase.GetMempoolEntriesRequest: - if (GetMempoolEntriesRequest == null) { - GetMempoolEntriesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage(); - } - GetMempoolEntriesRequest.MergeFrom(other.GetMempoolEntriesRequest); - break; case PayloadOneofCase.GetMempoolEntriesResponse: if (GetMempoolEntriesResponse == null) { GetMempoolEntriesResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage(); } GetMempoolEntriesResponse.MergeFrom(other.GetMempoolEntriesResponse); break; - case PayloadOneofCase.ShutDownRequest: - if (ShutDownRequest == null) { - ShutDownRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage(); + case PayloadOneofCase.ShutdownResponse: + if (ShutdownResponse == null) { + ShutdownResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage(); } - ShutDownRequest.MergeFrom(other.ShutDownRequest); - break; - case PayloadOneofCase.ShutDownResponse: - if (ShutDownResponse == null) { - ShutDownResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage(); - } - ShutDownResponse.MergeFrom(other.ShutDownResponse); - break; - case PayloadOneofCase.GetHeadersRequest: - if (GetHeadersRequest == null) { - GetHeadersRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage(); - } - GetHeadersRequest.MergeFrom(other.GetHeadersRequest); + ShutdownResponse.MergeFrom(other.ShutdownResponse); break; case PayloadOneofCase.GetHeadersResponse: if (GetHeadersResponse == null) { @@ -4049,12 +5266,6 @@ public void MergeFrom(KaspadMessage other) { } GetHeadersResponse.MergeFrom(other.GetHeadersResponse); break; - case PayloadOneofCase.NotifyUtxosChangedRequest: - if (NotifyUtxosChangedRequest == null) { - NotifyUtxosChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage(); - } - NotifyUtxosChangedRequest.MergeFrom(other.NotifyUtxosChangedRequest); - break; case PayloadOneofCase.NotifyUtxosChangedResponse: if (NotifyUtxosChangedResponse == null) { NotifyUtxosChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage(); @@ -4067,53 +5278,29 @@ public void MergeFrom(KaspadMessage other) { } UtxosChangedNotification.MergeFrom(other.UtxosChangedNotification); break; - case PayloadOneofCase.GetUtxosByAddressesRequest: - if (GetUtxosByAddressesRequest == null) { - GetUtxosByAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage(); - } - GetUtxosByAddressesRequest.MergeFrom(other.GetUtxosByAddressesRequest); - break; case PayloadOneofCase.GetUtxosByAddressesResponse: if (GetUtxosByAddressesResponse == null) { GetUtxosByAddressesResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage(); } GetUtxosByAddressesResponse.MergeFrom(other.GetUtxosByAddressesResponse); break; - case PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest: - if (GetVirtualSelectedParentBlueScoreRequest == null) { - GetVirtualSelectedParentBlueScoreRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage(); - } - GetVirtualSelectedParentBlueScoreRequest.MergeFrom(other.GetVirtualSelectedParentBlueScoreRequest); - break; - case PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse: - if (GetVirtualSelectedParentBlueScoreResponse == null) { - GetVirtualSelectedParentBlueScoreResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage(); - } - GetVirtualSelectedParentBlueScoreResponse.MergeFrom(other.GetVirtualSelectedParentBlueScoreResponse); - break; - case PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest: - if (NotifyVirtualSelectedParentBlueScoreChangedRequest == null) { - NotifyVirtualSelectedParentBlueScoreChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage(); + case PayloadOneofCase.GetSinkBlueScoreResponse: + if (GetSinkBlueScoreResponse == null) { + GetSinkBlueScoreResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage(); } - NotifyVirtualSelectedParentBlueScoreChangedRequest.MergeFrom(other.NotifyVirtualSelectedParentBlueScoreChangedRequest); + GetSinkBlueScoreResponse.MergeFrom(other.GetSinkBlueScoreResponse); break; - case PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse: - if (NotifyVirtualSelectedParentBlueScoreChangedResponse == null) { - NotifyVirtualSelectedParentBlueScoreChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage(); + case PayloadOneofCase.NotifySinkBlueScoreChangedResponse: + if (NotifySinkBlueScoreChangedResponse == null) { + NotifySinkBlueScoreChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage(); } - NotifyVirtualSelectedParentBlueScoreChangedResponse.MergeFrom(other.NotifyVirtualSelectedParentBlueScoreChangedResponse); + NotifySinkBlueScoreChangedResponse.MergeFrom(other.NotifySinkBlueScoreChangedResponse); break; - case PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification: - if (VirtualSelectedParentBlueScoreChangedNotification == null) { - VirtualSelectedParentBlueScoreChangedNotification = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage(); + case PayloadOneofCase.SinkBlueScoreChangedNotification: + if (SinkBlueScoreChangedNotification == null) { + SinkBlueScoreChangedNotification = new global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage(); } - VirtualSelectedParentBlueScoreChangedNotification.MergeFrom(other.VirtualSelectedParentBlueScoreChangedNotification); - break; - case PayloadOneofCase.BanRequest: - if (BanRequest == null) { - BanRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage(); - } - BanRequest.MergeFrom(other.BanRequest); + SinkBlueScoreChangedNotification.MergeFrom(other.SinkBlueScoreChangedNotification); break; case PayloadOneofCase.BanResponse: if (BanResponse == null) { @@ -4121,77 +5308,41 @@ public void MergeFrom(KaspadMessage other) { } BanResponse.MergeFrom(other.BanResponse); break; - case PayloadOneofCase.UnbanRequest: - if (UnbanRequest == null) { - UnbanRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage(); - } - UnbanRequest.MergeFrom(other.UnbanRequest); - break; case PayloadOneofCase.UnbanResponse: if (UnbanResponse == null) { UnbanResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage(); } UnbanResponse.MergeFrom(other.UnbanResponse); break; - case PayloadOneofCase.GetInfoRequest: - if (GetInfoRequest == null) { - GetInfoRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage(); - } - GetInfoRequest.MergeFrom(other.GetInfoRequest); - break; case PayloadOneofCase.GetInfoResponse: if (GetInfoResponse == null) { GetInfoResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage(); } GetInfoResponse.MergeFrom(other.GetInfoResponse); break; - case PayloadOneofCase.StopNotifyingUtxosChangedRequest: - if (StopNotifyingUtxosChangedRequest == null) { - StopNotifyingUtxosChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage(); - } - StopNotifyingUtxosChangedRequest.MergeFrom(other.StopNotifyingUtxosChangedRequest); - break; case PayloadOneofCase.StopNotifyingUtxosChangedResponse: if (StopNotifyingUtxosChangedResponse == null) { StopNotifyingUtxosChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage(); } StopNotifyingUtxosChangedResponse.MergeFrom(other.StopNotifyingUtxosChangedResponse); break; - case PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest: - if (NotifyPruningPointUTXOSetOverrideRequest == null) { - NotifyPruningPointUTXOSetOverrideRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage(); + case PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse: + if (NotifyPruningPointUtxoSetOverrideResponse == null) { + NotifyPruningPointUtxoSetOverrideResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage(); } - NotifyPruningPointUTXOSetOverrideRequest.MergeFrom(other.NotifyPruningPointUTXOSetOverrideRequest); + NotifyPruningPointUtxoSetOverrideResponse.MergeFrom(other.NotifyPruningPointUtxoSetOverrideResponse); break; - case PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse: - if (NotifyPruningPointUTXOSetOverrideResponse == null) { - NotifyPruningPointUTXOSetOverrideResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage(); + case PayloadOneofCase.PruningPointUtxoSetOverrideNotification: + if (PruningPointUtxoSetOverrideNotification == null) { + PruningPointUtxoSetOverrideNotification = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage(); } - NotifyPruningPointUTXOSetOverrideResponse.MergeFrom(other.NotifyPruningPointUTXOSetOverrideResponse); + PruningPointUtxoSetOverrideNotification.MergeFrom(other.PruningPointUtxoSetOverrideNotification); break; - case PayloadOneofCase.PruningPointUTXOSetOverrideNotification: - if (PruningPointUTXOSetOverrideNotification == null) { - PruningPointUTXOSetOverrideNotification = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage(); + case PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse: + if (StopNotifyingPruningPointUtxoSetOverrideResponse == null) { + StopNotifyingPruningPointUtxoSetOverrideResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage(); } - PruningPointUTXOSetOverrideNotification.MergeFrom(other.PruningPointUTXOSetOverrideNotification); - break; - case PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest: - if (StopNotifyingPruningPointUTXOSetOverrideRequest == null) { - StopNotifyingPruningPointUTXOSetOverrideRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage(); - } - StopNotifyingPruningPointUTXOSetOverrideRequest.MergeFrom(other.StopNotifyingPruningPointUTXOSetOverrideRequest); - break; - case PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse: - if (StopNotifyingPruningPointUTXOSetOverrideResponse == null) { - StopNotifyingPruningPointUTXOSetOverrideResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage(); - } - StopNotifyingPruningPointUTXOSetOverrideResponse.MergeFrom(other.StopNotifyingPruningPointUTXOSetOverrideResponse); - break; - case PayloadOneofCase.EstimateNetworkHashesPerSecondRequest: - if (EstimateNetworkHashesPerSecondRequest == null) { - EstimateNetworkHashesPerSecondRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage(); - } - EstimateNetworkHashesPerSecondRequest.MergeFrom(other.EstimateNetworkHashesPerSecondRequest); + StopNotifyingPruningPointUtxoSetOverrideResponse.MergeFrom(other.StopNotifyingPruningPointUtxoSetOverrideResponse); break; case PayloadOneofCase.EstimateNetworkHashesPerSecondResponse: if (EstimateNetworkHashesPerSecondResponse == null) { @@ -4199,12 +5350,6 @@ public void MergeFrom(KaspadMessage other) { } EstimateNetworkHashesPerSecondResponse.MergeFrom(other.EstimateNetworkHashesPerSecondResponse); break; - case PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest: - if (NotifyVirtualDaaScoreChangedRequest == null) { - NotifyVirtualDaaScoreChangedRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage(); - } - NotifyVirtualDaaScoreChangedRequest.MergeFrom(other.NotifyVirtualDaaScoreChangedRequest); - break; case PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse: if (NotifyVirtualDaaScoreChangedResponse == null) { NotifyVirtualDaaScoreChangedResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage(); @@ -4217,36 +5362,18 @@ public void MergeFrom(KaspadMessage other) { } VirtualDaaScoreChangedNotification.MergeFrom(other.VirtualDaaScoreChangedNotification); break; - case PayloadOneofCase.GetBalanceByAddressRequest: - if (GetBalanceByAddressRequest == null) { - GetBalanceByAddressRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage(); - } - GetBalanceByAddressRequest.MergeFrom(other.GetBalanceByAddressRequest); - break; case PayloadOneofCase.GetBalanceByAddressResponse: if (GetBalanceByAddressResponse == null) { GetBalanceByAddressResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage(); } GetBalanceByAddressResponse.MergeFrom(other.GetBalanceByAddressResponse); break; - case PayloadOneofCase.GetBalancesByAddressesRequest: - if (GetBalancesByAddressesRequest == null) { - GetBalancesByAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage(); - } - GetBalancesByAddressesRequest.MergeFrom(other.GetBalancesByAddressesRequest); - break; case PayloadOneofCase.GetBalancesByAddressesResponse: if (GetBalancesByAddressesResponse == null) { GetBalancesByAddressesResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage(); } GetBalancesByAddressesResponse.MergeFrom(other.GetBalancesByAddressesResponse); break; - case PayloadOneofCase.NotifyNewBlockTemplateRequest: - if (NotifyNewBlockTemplateRequest == null) { - NotifyNewBlockTemplateRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage(); - } - NotifyNewBlockTemplateRequest.MergeFrom(other.NotifyNewBlockTemplateRequest); - break; case PayloadOneofCase.NotifyNewBlockTemplateResponse: if (NotifyNewBlockTemplateResponse == null) { NotifyNewBlockTemplateResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage(); @@ -4259,437 +5386,676 @@ public void MergeFrom(KaspadMessage other) { } NewBlockTemplateNotification.MergeFrom(other.NewBlockTemplateNotification); break; - case PayloadOneofCase.GetMempoolEntriesByAddressesRequest: - if (GetMempoolEntriesByAddressesRequest == null) { - GetMempoolEntriesByAddressesRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage(); - } - GetMempoolEntriesByAddressesRequest.MergeFrom(other.GetMempoolEntriesByAddressesRequest); - break; case PayloadOneofCase.GetMempoolEntriesByAddressesResponse: if (GetMempoolEntriesByAddressesResponse == null) { GetMempoolEntriesByAddressesResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage(); } GetMempoolEntriesByAddressesResponse.MergeFrom(other.GetMempoolEntriesByAddressesResponse); break; - case PayloadOneofCase.GetCoinSupplyRequest: - if (GetCoinSupplyRequest == null) { - GetCoinSupplyRequest = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage(); - } - GetCoinSupplyRequest.MergeFrom(other.GetCoinSupplyRequest); - break; case PayloadOneofCase.GetCoinSupplyResponse: if (GetCoinSupplyResponse == null) { GetCoinSupplyResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage(); } GetCoinSupplyResponse.MergeFrom(other.GetCoinSupplyResponse); break; + case PayloadOneofCase.PingResponse: + if (PingResponse == null) { + PingResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage(); + } + PingResponse.MergeFrom(other.PingResponse); + break; + case PayloadOneofCase.GetMetricsResponse: + if (GetMetricsResponse == null) { + GetMetricsResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage(); + } + GetMetricsResponse.MergeFrom(other.GetMetricsResponse); + break; + case PayloadOneofCase.GetServerInfoResponse: + if (GetServerInfoResponse == null) { + GetServerInfoResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage(); + } + GetServerInfoResponse.MergeFrom(other.GetServerInfoResponse); + break; + case PayloadOneofCase.GetSyncStatusResponse: + if (GetSyncStatusResponse == null) { + GetSyncStatusResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage(); + } + GetSyncStatusResponse.MergeFrom(other.GetSyncStatusResponse); + break; + case PayloadOneofCase.GetDaaScoreTimestampEstimateResponse: + if (GetDaaScoreTimestampEstimateResponse == null) { + GetDaaScoreTimestampEstimateResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage(); + } + GetDaaScoreTimestampEstimateResponse.MergeFrom(other.GetDaaScoreTimestampEstimateResponse); + break; + case PayloadOneofCase.SubmitTransactionReplacementResponse: + if (SubmitTransactionReplacementResponse == null) { + SubmitTransactionReplacementResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage(); + } + SubmitTransactionReplacementResponse.MergeFrom(other.SubmitTransactionReplacementResponse); + break; + case PayloadOneofCase.GetConnectionsResponse: + if (GetConnectionsResponse == null) { + GetConnectionsResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage(); + } + GetConnectionsResponse.MergeFrom(other.GetConnectionsResponse); + break; + case PayloadOneofCase.GetSystemInfoResponse: + if (GetSystemInfoResponse == null) { + GetSystemInfoResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage(); + } + GetSystemInfoResponse.MergeFrom(other.GetSystemInfoResponse); + break; + case PayloadOneofCase.GetFeeEstimateResponse: + if (GetFeeEstimateResponse == null) { + GetFeeEstimateResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage(); + } + GetFeeEstimateResponse.MergeFrom(other.GetFeeEstimateResponse); + break; + case PayloadOneofCase.GetFeeEstimateExperimentalResponse: + if (GetFeeEstimateExperimentalResponse == null) { + GetFeeEstimateExperimentalResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage(); + } + GetFeeEstimateExperimentalResponse.MergeFrom(other.GetFeeEstimateExperimentalResponse); + break; + case PayloadOneofCase.GetCurrentBlockColorResponse: + if (GetCurrentBlockColorResponse == null) { + GetCurrentBlockColorResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage(); + } + GetCurrentBlockColorResponse.MergeFrom(other.GetCurrentBlockColorResponse); + break; + case PayloadOneofCase.GetUtxoReturnAddressResponse: + if (GetUtxoReturnAddressResponse == null) { + GetUtxoReturnAddressResponse = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage(); + } + GetUtxoReturnAddressResponse.MergeFrom(other.GetUtxoReturnAddressResponse); + break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - global::Miningcore.Blockchain.Kaspa.Kaspad.AddressesMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddressesMessage(); - if (payloadCase_ == PayloadOneofCase.Addresses) { - subBuilder.MergeFrom(Addresses); + case 808: { + Id = input.ReadUInt64(); + break; + } + case 8018: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkResponse) { + subBuilder.MergeFrom(GetCurrentNetworkResponse); + } + input.ReadMessage(subBuilder); + GetCurrentNetworkResponse = subBuilder; + break; + } + case 8034: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitBlockResponse) { + subBuilder.MergeFrom(SubmitBlockResponse); + } + input.ReadMessage(subBuilder); + SubmitBlockResponse = subBuilder; + break; + } + case 8050: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse) { + subBuilder.MergeFrom(GetBlockTemplateResponse); + } + input.ReadMessage(subBuilder); + GetBlockTemplateResponse = subBuilder; + break; + } + case 8066: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse) { + subBuilder.MergeFrom(NotifyBlockAddedResponse); + } + input.ReadMessage(subBuilder); + NotifyBlockAddedResponse = subBuilder; + break; + } + case 8074: { + global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.BlockAddedNotification) { + subBuilder.MergeFrom(BlockAddedNotification); + } + input.ReadMessage(subBuilder); + BlockAddedNotification = subBuilder; + break; + } + case 8090: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse) { + subBuilder.MergeFrom(GetPeerAddressesResponse); + } + input.ReadMessage(subBuilder); + GetPeerAddressesResponse = subBuilder; + break; + } + case 8106: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkResponse) { + subBuilder.MergeFrom(GetSinkResponse); + } + input.ReadMessage(subBuilder); + GetSinkResponse = subBuilder; + break; + } + case 8122: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntryResponse) { + subBuilder.MergeFrom(GetMempoolEntryResponse); + } + input.ReadMessage(subBuilder); + GetMempoolEntryResponse = subBuilder; + break; + } + case 8138: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse) { + subBuilder.MergeFrom(GetConnectedPeerInfoResponse); + } + input.ReadMessage(subBuilder); + GetConnectedPeerInfoResponse = subBuilder; + break; + } + case 8154: { + global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage(); + if (payloadCase_ == PayloadOneofCase.AddPeerResponse) { + subBuilder.MergeFrom(AddPeerResponse); + } + input.ReadMessage(subBuilder); + AddPeerResponse = subBuilder; + break; + } + case 8170: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionResponse) { + subBuilder.MergeFrom(SubmitTransactionResponse); + } + input.ReadMessage(subBuilder); + SubmitTransactionResponse = subBuilder; + break; + } + case 8186: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse) { + subBuilder.MergeFrom(NotifyVirtualChainChangedResponse); + } + input.ReadMessage(subBuilder); + NotifyVirtualChainChangedResponse = subBuilder; + break; + } + case 8194: { + global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification) { + subBuilder.MergeFrom(VirtualChainChangedNotification); + } + input.ReadMessage(subBuilder); + VirtualChainChangedNotification = subBuilder; + break; + } + case 8210: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockResponse) { + subBuilder.MergeFrom(GetBlockResponse); + } + input.ReadMessage(subBuilder); + GetBlockResponse = subBuilder; + break; + } + case 8226: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSubnetworkResponse) { + subBuilder.MergeFrom(GetSubnetworkResponse); + } + input.ReadMessage(subBuilder); + GetSubnetworkResponse = subBuilder; + break; + } + case 8242: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse) { + subBuilder.MergeFrom(GetVirtualChainFromBlockResponse); + } + input.ReadMessage(subBuilder); + GetVirtualChainFromBlockResponse = subBuilder; + break; + } + case 8258: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlocksResponse) { + subBuilder.MergeFrom(GetBlocksResponse); } input.ReadMessage(subBuilder); - Addresses = subBuilder; + GetBlocksResponse = subBuilder; break; } - case 18: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage(); - if (payloadCase_ == PayloadOneofCase.Block) { - subBuilder.MergeFrom(Block); + case 8274: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockCountResponse) { + subBuilder.MergeFrom(GetBlockCountResponse); } input.ReadMessage(subBuilder); - Block = subBuilder; + GetBlockCountResponse = subBuilder; break; } - case 26: { - global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionMessage(); - if (payloadCase_ == PayloadOneofCase.Transaction) { - subBuilder.MergeFrom(Transaction); + case 8290: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse) { + subBuilder.MergeFrom(GetBlockDagInfoResponse); } input.ReadMessage(subBuilder); - Transaction = subBuilder; + GetBlockDagInfoResponse = subBuilder; break; } - case 42: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BlockLocatorMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockLocatorMessage(); - if (payloadCase_ == PayloadOneofCase.BlockLocator) { - subBuilder.MergeFrom(BlockLocator); + case 8306: { + global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage(); + if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse) { + subBuilder.MergeFrom(ResolveFinalityConflictResponse); } input.ReadMessage(subBuilder); - BlockLocator = subBuilder; + ResolveFinalityConflictResponse = subBuilder; break; } - case 50: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAddressesMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAddressesMessage(); - if (payloadCase_ == PayloadOneofCase.RequestAddresses) { - subBuilder.MergeFrom(RequestAddresses); + case 8322: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse) { + subBuilder.MergeFrom(NotifyFinalityConflictResponse); } input.ReadMessage(subBuilder); - RequestAddresses = subBuilder; + NotifyFinalityConflictResponse = subBuilder; break; } - case 82: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestRelayBlocksMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestRelayBlocksMessage(); - if (payloadCase_ == PayloadOneofCase.RequestRelayBlocks) { - subBuilder.MergeFrom(RequestRelayBlocks); + case 8330: { + global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.FinalityConflictNotification) { + subBuilder.MergeFrom(FinalityConflictNotification); } input.ReadMessage(subBuilder); - RequestRelayBlocks = subBuilder; + FinalityConflictNotification = subBuilder; break; } - case 98: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestTransactionsMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestTransactionsMessage(); - if (payloadCase_ == PayloadOneofCase.RequestTransactions) { - subBuilder.MergeFrom(RequestTransactions); + case 8338: { + global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictResolvedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictResolvedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.FinalityConflictResolvedNotification) { + subBuilder.MergeFrom(FinalityConflictResolvedNotification); } input.ReadMessage(subBuilder); - RequestTransactions = subBuilder; + FinalityConflictResolvedNotification = subBuilder; break; } - case 106: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockMessage(); - if (payloadCase_ == PayloadOneofCase.IbdBlock) { - subBuilder.MergeFrom(IbdBlock); + case 8354: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse) { + subBuilder.MergeFrom(GetMempoolEntriesResponse); } input.ReadMessage(subBuilder); - IbdBlock = subBuilder; + GetMempoolEntriesResponse = subBuilder; break; } - case 114: { - global::Miningcore.Blockchain.Kaspa.Kaspad.InvRelayBlockMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.InvRelayBlockMessage(); - if (payloadCase_ == PayloadOneofCase.InvRelayBlock) { - subBuilder.MergeFrom(InvRelayBlock); + case 8370: { + global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage(); + if (payloadCase_ == PayloadOneofCase.ShutdownResponse) { + subBuilder.MergeFrom(ShutdownResponse); } input.ReadMessage(subBuilder); - InvRelayBlock = subBuilder; + ShutdownResponse = subBuilder; break; } - case 122: { - global::Miningcore.Blockchain.Kaspa.Kaspad.InvTransactionsMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.InvTransactionsMessage(); - if (payloadCase_ == PayloadOneofCase.InvTransactions) { - subBuilder.MergeFrom(InvTransactions); + case 8386: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetHeadersResponse) { + subBuilder.MergeFrom(GetHeadersResponse); } input.ReadMessage(subBuilder); - InvTransactions = subBuilder; + GetHeadersResponse = subBuilder; break; } - case 130: { - global::Miningcore.Blockchain.Kaspa.Kaspad.PingMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingMessage(); - if (payloadCase_ == PayloadOneofCase.Ping) { - subBuilder.MergeFrom(Ping); + case 8402: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse) { + subBuilder.MergeFrom(NotifyUtxosChangedResponse); } input.ReadMessage(subBuilder); - Ping = subBuilder; + NotifyUtxosChangedResponse = subBuilder; break; } - case 138: { - global::Miningcore.Blockchain.Kaspa.Kaspad.PongMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PongMessage(); - if (payloadCase_ == PayloadOneofCase.Pong) { - subBuilder.MergeFrom(Pong); + case 8410: { + global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosChangedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.UtxosChangedNotification) { + subBuilder.MergeFrom(UtxosChangedNotification); } input.ReadMessage(subBuilder); - Pong = subBuilder; + UtxosChangedNotification = subBuilder; break; } - case 154: { - global::Miningcore.Blockchain.Kaspa.Kaspad.VerackMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VerackMessage(); - if (payloadCase_ == PayloadOneofCase.Verack) { - subBuilder.MergeFrom(Verack); + case 8426: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse) { + subBuilder.MergeFrom(GetUtxosByAddressesResponse); } input.ReadMessage(subBuilder); - Verack = subBuilder; + GetUtxosByAddressesResponse = subBuilder; break; } - case 162: { - global::Miningcore.Blockchain.Kaspa.Kaspad.VersionMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VersionMessage(); - if (payloadCase_ == PayloadOneofCase.Version) { - subBuilder.MergeFrom(Version); + case 8442: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse) { + subBuilder.MergeFrom(GetSinkBlueScoreResponse); } input.ReadMessage(subBuilder); - Version = subBuilder; + GetSinkBlueScoreResponse = subBuilder; break; } - case 170: { - global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionNotFoundMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.TransactionNotFoundMessage(); - if (payloadCase_ == PayloadOneofCase.TransactionNotFound) { - subBuilder.MergeFrom(TransactionNotFound); + case 8458: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse) { + subBuilder.MergeFrom(NotifySinkBlueScoreChangedResponse); } input.ReadMessage(subBuilder); - TransactionNotFound = subBuilder; + NotifySinkBlueScoreChangedResponse = subBuilder; break; } - case 178: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RejectMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RejectMessage(); - if (payloadCase_ == PayloadOneofCase.Reject) { - subBuilder.MergeFrom(Reject); + case 8466: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification) { + subBuilder.MergeFrom(SinkBlueScoreChangedNotification); } input.ReadMessage(subBuilder); - Reject = subBuilder; + SinkBlueScoreChangedNotification = subBuilder; break; } - case 202: { - global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetChunkMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetChunkMessage(); - if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetChunk) { - subBuilder.MergeFrom(PruningPointUtxoSetChunk); + case 8482: { + global::Miningcore.Blockchain.Kaspa.Kaspad.BanResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BanResponseMessage(); + if (payloadCase_ == PayloadOneofCase.BanResponse) { + subBuilder.MergeFrom(BanResponse); } input.ReadMessage(subBuilder); - PruningPointUtxoSetChunk = subBuilder; + BanResponse = subBuilder; break; } - case 210: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDBlocksMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDBlocksMessage(); - if (payloadCase_ == PayloadOneofCase.RequestIBDBlocks) { - subBuilder.MergeFrom(RequestIBDBlocks); + case 8498: { + global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage(); + if (payloadCase_ == PayloadOneofCase.UnbanResponse) { + subBuilder.MergeFrom(UnbanResponse); } input.ReadMessage(subBuilder); - RequestIBDBlocks = subBuilder; + UnbanResponse = subBuilder; break; } - case 218: { - global::Miningcore.Blockchain.Kaspa.Kaspad.UnexpectedPruningPointMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnexpectedPruningPointMessage(); - if (payloadCase_ == PayloadOneofCase.UnexpectedPruningPoint) { - subBuilder.MergeFrom(UnexpectedPruningPoint); + case 8514: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetInfoResponse) { + subBuilder.MergeFrom(GetInfoResponse); } input.ReadMessage(subBuilder); - UnexpectedPruningPoint = subBuilder; + GetInfoResponse = subBuilder; break; } - case 242: { - global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorMessage(); - if (payloadCase_ == PayloadOneofCase.IbdBlockLocator) { - subBuilder.MergeFrom(IbdBlockLocator); + case 8530: { + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse) { + subBuilder.MergeFrom(StopNotifyingUtxosChangedResponse); } input.ReadMessage(subBuilder); - IbdBlockLocator = subBuilder; + StopNotifyingUtxosChangedResponse = subBuilder; break; } - case 250: { - global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashMessage(); - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHash) { - subBuilder.MergeFrom(IbdBlockLocatorHighestHash); + case 8546: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse) { + subBuilder.MergeFrom(NotifyPruningPointUtxoSetOverrideResponse); } input.ReadMessage(subBuilder); - IbdBlockLocatorHighestHash = subBuilder; + NotifyPruningPointUtxoSetOverrideResponse = subBuilder; break; } - case 266: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointUtxoSetChunkMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointUtxoSetChunkMessage(); - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointUtxoSetChunk) { - subBuilder.MergeFrom(RequestNextPruningPointUtxoSetChunk); + case 8554: { + global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification) { + subBuilder.MergeFrom(PruningPointUtxoSetOverrideNotification); } input.ReadMessage(subBuilder); - RequestNextPruningPointUtxoSetChunk = subBuilder; + PruningPointUtxoSetOverrideNotification = subBuilder; break; } - case 274: { - global::Miningcore.Blockchain.Kaspa.Kaspad.DonePruningPointUtxoSetChunksMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.DonePruningPointUtxoSetChunksMessage(); - if (payloadCase_ == PayloadOneofCase.DonePruningPointUtxoSetChunks) { - subBuilder.MergeFrom(DonePruningPointUtxoSetChunks); + case 8570: { + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse) { + subBuilder.MergeFrom(StopNotifyingPruningPointUtxoSetOverrideResponse); } input.ReadMessage(subBuilder); - DonePruningPointUtxoSetChunks = subBuilder; + StopNotifyingPruningPointUtxoSetOverrideResponse = subBuilder; break; } - case 282: { - global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashNotFoundMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdBlockLocatorHighestHashNotFoundMessage(); - if (payloadCase_ == PayloadOneofCase.IbdBlockLocatorHighestHashNotFound) { - subBuilder.MergeFrom(IbdBlockLocatorHighestHashNotFound); + case 8586: { + global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage(); + if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondResponse) { + subBuilder.MergeFrom(EstimateNetworkHashesPerSecondResponse); } input.ReadMessage(subBuilder); - IbdBlockLocatorHighestHashNotFound = subBuilder; + EstimateNetworkHashesPerSecondResponse = subBuilder; break; } - case 290: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataMessage(); - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedData) { - subBuilder.MergeFrom(BlockWithTrustedData); + case 8602: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse) { + subBuilder.MergeFrom(NotifyVirtualDaaScoreChangedResponse); } input.ReadMessage(subBuilder); - BlockWithTrustedData = subBuilder; + NotifyVirtualDaaScoreChangedResponse = subBuilder; break; } - case 298: { - global::Miningcore.Blockchain.Kaspa.Kaspad.DoneBlocksWithTrustedDataMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.DoneBlocksWithTrustedDataMessage(); - if (payloadCase_ == PayloadOneofCase.DoneBlocksWithTrustedData) { - subBuilder.MergeFrom(DoneBlocksWithTrustedData); + case 8610: { + global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.VirtualDaaScoreChangedNotification) { + subBuilder.MergeFrom(VirtualDaaScoreChangedNotification); } input.ReadMessage(subBuilder); - DoneBlocksWithTrustedData = subBuilder; + VirtualDaaScoreChangedNotification = subBuilder; break; } - case 322: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointAndItsAnticoneMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointAndItsAnticoneMessage(); - if (payloadCase_ == PayloadOneofCase.RequestPruningPointAndItsAnticone) { - subBuilder.MergeFrom(RequestPruningPointAndItsAnticone); + case 8626: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse) { + subBuilder.MergeFrom(GetBalanceByAddressResponse); } input.ReadMessage(subBuilder); - RequestPruningPointAndItsAnticone = subBuilder; + GetBalanceByAddressResponse = subBuilder; break; } - case 330: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BlockHeadersMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockHeadersMessage(); - if (payloadCase_ == PayloadOneofCase.BlockHeaders) { - subBuilder.MergeFrom(BlockHeaders); + case 8642: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse) { + subBuilder.MergeFrom(GetBalancesByAddressesResponse); } input.ReadMessage(subBuilder); - BlockHeaders = subBuilder; + GetBalancesByAddressesResponse = subBuilder; break; } - case 338: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextHeadersMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextHeadersMessage(); - if (payloadCase_ == PayloadOneofCase.RequestNextHeaders) { - subBuilder.MergeFrom(RequestNextHeaders); + case 8658: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse) { + subBuilder.MergeFrom(NotifyNewBlockTemplateResponse); } input.ReadMessage(subBuilder); - RequestNextHeaders = subBuilder; + NotifyNewBlockTemplateResponse = subBuilder; break; } - case 346: { - global::Miningcore.Blockchain.Kaspa.Kaspad.DoneHeadersMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.DoneHeadersMessage(); - if (payloadCase_ == PayloadOneofCase.DoneHeaders) { - subBuilder.MergeFrom(DoneHeaders); + case 8666: { + global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.NewBlockTemplateNotification) { + subBuilder.MergeFrom(NewBlockTemplateNotification); } input.ReadMessage(subBuilder); - DoneHeaders = subBuilder; + NewBlockTemplateNotification = subBuilder; break; } - case 354: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointUTXOSetMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointUTXOSetMessage(); - if (payloadCase_ == PayloadOneofCase.RequestPruningPointUTXOSet) { - subBuilder.MergeFrom(RequestPruningPointUTXOSet); + case 8682: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse) { + subBuilder.MergeFrom(GetMempoolEntriesByAddressesResponse); } input.ReadMessage(subBuilder); - RequestPruningPointUTXOSet = subBuilder; + GetMempoolEntriesByAddressesResponse = subBuilder; break; } - case 362: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestHeadersMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestHeadersMessage(); - if (payloadCase_ == PayloadOneofCase.RequestHeaders) { - subBuilder.MergeFrom(RequestHeaders); + case 8698: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse) { + subBuilder.MergeFrom(GetCoinSupplyResponse); } input.ReadMessage(subBuilder); - RequestHeaders = subBuilder; + GetCoinSupplyResponse = subBuilder; break; } - case 370: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestBlockLocatorMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestBlockLocatorMessage(); - if (payloadCase_ == PayloadOneofCase.RequestBlockLocator) { - subBuilder.MergeFrom(RequestBlockLocator); + case 8714: { + global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage(); + if (payloadCase_ == PayloadOneofCase.PingResponse) { + subBuilder.MergeFrom(PingResponse); } input.ReadMessage(subBuilder); - RequestBlockLocator = subBuilder; + PingResponse = subBuilder; break; } - case 378: { - global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointsMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointsMessage(); - if (payloadCase_ == PayloadOneofCase.PruningPoints) { - subBuilder.MergeFrom(PruningPoints); + case 8730: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetMetricsResponse) { + subBuilder.MergeFrom(GetMetricsResponse); } input.ReadMessage(subBuilder); - PruningPoints = subBuilder; + GetMetricsResponse = subBuilder; break; } - case 386: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointProofMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestPruningPointProofMessage(); - if (payloadCase_ == PayloadOneofCase.RequestPruningPointProof) { - subBuilder.MergeFrom(RequestPruningPointProof); + case 8746: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetServerInfoResponse) { + subBuilder.MergeFrom(GetServerInfoResponse); } input.ReadMessage(subBuilder); - RequestPruningPointProof = subBuilder; + GetServerInfoResponse = subBuilder; break; } - case 394: { - global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointProofMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointProofMessage(); - if (payloadCase_ == PayloadOneofCase.PruningPointProof) { - subBuilder.MergeFrom(PruningPointProof); + case 8762: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusResponse) { + subBuilder.MergeFrom(GetSyncStatusResponse); } input.ReadMessage(subBuilder); - PruningPointProof = subBuilder; + GetSyncStatusResponse = subBuilder; break; } - case 402: { - global::Miningcore.Blockchain.Kaspa.Kaspad.ReadyMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ReadyMessage(); - if (payloadCase_ == PayloadOneofCase.Ready) { - subBuilder.MergeFrom(Ready); + case 8778: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse) { + subBuilder.MergeFrom(GetDaaScoreTimestampEstimateResponse); } input.ReadMessage(subBuilder); - Ready = subBuilder; + GetDaaScoreTimestampEstimateResponse = subBuilder; break; } - case 410: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataV4Message subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BlockWithTrustedDataV4Message(); - if (payloadCase_ == PayloadOneofCase.BlockWithTrustedDataV4) { - subBuilder.MergeFrom(BlockWithTrustedDataV4); + case 8810: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse) { + subBuilder.MergeFrom(SubmitTransactionReplacementResponse); } input.ReadMessage(subBuilder); - BlockWithTrustedDataV4 = subBuilder; + SubmitTransactionReplacementResponse = subBuilder; break; } - case 418: { - global::Miningcore.Blockchain.Kaspa.Kaspad.TrustedDataMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.TrustedDataMessage(); - if (payloadCase_ == PayloadOneofCase.TrustedData) { - subBuilder.MergeFrom(TrustedData); + case 8826: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectionsResponse) { + subBuilder.MergeFrom(GetConnectionsResponse); } input.ReadMessage(subBuilder); - TrustedData = subBuilder; + GetConnectionsResponse = subBuilder; break; } - case 426: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDChainBlockLocatorMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestIBDChainBlockLocatorMessage(); - if (payloadCase_ == PayloadOneofCase.RequestIBDChainBlockLocator) { - subBuilder.MergeFrom(RequestIBDChainBlockLocator); + case 8842: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoResponse) { + subBuilder.MergeFrom(GetSystemInfoResponse); } input.ReadMessage(subBuilder); - RequestIBDChainBlockLocator = subBuilder; + GetSystemInfoResponse = subBuilder; break; } - case 434: { - global::Miningcore.Blockchain.Kaspa.Kaspad.IbdChainBlockLocatorMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.IbdChainBlockLocatorMessage(); - if (payloadCase_ == PayloadOneofCase.IbdChainBlockLocator) { - subBuilder.MergeFrom(IbdChainBlockLocator); + case 8858: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse) { + subBuilder.MergeFrom(GetFeeEstimateResponse); } input.ReadMessage(subBuilder); - IbdChainBlockLocator = subBuilder; + GetFeeEstimateResponse = subBuilder; break; } - case 442: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAnticoneMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestAnticoneMessage(); - if (payloadCase_ == PayloadOneofCase.RequestAnticone) { - subBuilder.MergeFrom(RequestAnticone); + case 8874: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse) { + subBuilder.MergeFrom(GetFeeEstimateExperimentalResponse); } input.ReadMessage(subBuilder); - RequestAnticone = subBuilder; + GetFeeEstimateExperimentalResponse = subBuilder; break; } - case 450: { - global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointAndItsAnticoneBlocksMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.RequestNextPruningPointAndItsAnticoneBlocksMessage(); - if (payloadCase_ == PayloadOneofCase.RequestNextPruningPointAndItsAnticoneBlocks) { - subBuilder.MergeFrom(RequestNextPruningPointAndItsAnticoneBlocks); + case 8890: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse) { + subBuilder.MergeFrom(GetCurrentBlockColorResponse); } input.ReadMessage(subBuilder); - RequestNextPruningPointAndItsAnticoneBlocks = subBuilder; + GetCurrentBlockColorResponse = subBuilder; break; } - case 8010: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetCurrentNetworkRequest) { - subBuilder.MergeFrom(GetCurrentNetworkRequest); + case 8906: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse) { + subBuilder.MergeFrom(GetUtxoReturnAddressResponse); } input.ReadMessage(subBuilder); - GetCurrentNetworkRequest = subBuilder; + GetUtxoReturnAddressResponse = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Id = input.ReadUInt64(); break; } case 8018: { @@ -4701,15 +6067,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetCurrentNetworkResponse = subBuilder; break; } - case 8026: { - global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockRequestMessage(); - if (payloadCase_ == PayloadOneofCase.SubmitBlockRequest) { - subBuilder.MergeFrom(SubmitBlockRequest); - } - input.ReadMessage(subBuilder); - SubmitBlockRequest = subBuilder; - break; - } case 8034: { global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage(); if (payloadCase_ == PayloadOneofCase.SubmitBlockResponse) { @@ -4719,15 +6076,6 @@ public void MergeFrom(pb::CodedInputStream input) { SubmitBlockResponse = subBuilder; break; } - case 8042: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBlockTemplateRequest) { - subBuilder.MergeFrom(GetBlockTemplateRequest); - } - input.ReadMessage(subBuilder); - GetBlockTemplateRequest = subBuilder; - break; - } case 8050: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetBlockTemplateResponse) { @@ -4737,15 +6085,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetBlockTemplateResponse = subBuilder; break; } - case 8058: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedRequest) { - subBuilder.MergeFrom(NotifyBlockAddedRequest); - } - input.ReadMessage(subBuilder); - NotifyBlockAddedRequest = subBuilder; - break; - } case 8066: { global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage(); if (payloadCase_ == PayloadOneofCase.NotifyBlockAddedResponse) { @@ -4764,15 +6103,6 @@ public void MergeFrom(pb::CodedInputStream input) { BlockAddedNotification = subBuilder; break; } - case 8082: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetPeerAddressesRequest) { - subBuilder.MergeFrom(GetPeerAddressesRequest); - } - input.ReadMessage(subBuilder); - GetPeerAddressesRequest = subBuilder; - break; - } case 8090: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetPeerAddressesResponse) { @@ -4782,31 +6112,13 @@ public void MergeFrom(pb::CodedInputStream input) { GetPeerAddressesResponse = subBuilder; break; } - case 8098: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashRequest) { - subBuilder.MergeFrom(GetSelectedTipHashRequest); - } - input.ReadMessage(subBuilder); - GetSelectedTipHashRequest = subBuilder; - break; - } case 8106: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage(); - if (payloadCase_ == PayloadOneofCase.GetSelectedTipHashResponse) { - subBuilder.MergeFrom(GetSelectedTipHashResponse); - } - input.ReadMessage(subBuilder); - GetSelectedTipHashResponse = subBuilder; - break; - } - case 8114: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetMempoolEntryRequest) { - subBuilder.MergeFrom(GetMempoolEntryRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkResponse) { + subBuilder.MergeFrom(GetSinkResponse); } input.ReadMessage(subBuilder); - GetMempoolEntryRequest = subBuilder; + GetSinkResponse = subBuilder; break; } case 8122: { @@ -4818,15 +6130,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetMempoolEntryResponse = subBuilder; break; } - case 8130: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoRequest) { - subBuilder.MergeFrom(GetConnectedPeerInfoRequest); - } - input.ReadMessage(subBuilder); - GetConnectedPeerInfoRequest = subBuilder; - break; - } case 8138: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetConnectedPeerInfoResponse) { @@ -4836,15 +6139,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetConnectedPeerInfoResponse = subBuilder; break; } - case 8146: { - global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerRequestMessage(); - if (payloadCase_ == PayloadOneofCase.AddPeerRequest) { - subBuilder.MergeFrom(AddPeerRequest); - } - input.ReadMessage(subBuilder); - AddPeerRequest = subBuilder; - break; - } case 8154: { global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage(); if (payloadCase_ == PayloadOneofCase.AddPeerResponse) { @@ -4854,15 +6148,6 @@ public void MergeFrom(pb::CodedInputStream input) { AddPeerResponse = subBuilder; break; } - case 8162: { - global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage(); - if (payloadCase_ == PayloadOneofCase.SubmitTransactionRequest) { - subBuilder.MergeFrom(SubmitTransactionRequest); - } - input.ReadMessage(subBuilder); - SubmitTransactionRequest = subBuilder; - break; - } case 8170: { global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage(); if (payloadCase_ == PayloadOneofCase.SubmitTransactionResponse) { @@ -4872,40 +6157,22 @@ public void MergeFrom(pb::CodedInputStream input) { SubmitTransactionResponse = subBuilder; break; } - case 8178: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedRequest) { - subBuilder.MergeFrom(NotifyVirtualSelectedParentChainChangedRequest); - } - input.ReadMessage(subBuilder); - NotifyVirtualSelectedParentChainChangedRequest = subBuilder; - break; - } case 8186: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentChainChangedResponse) { - subBuilder.MergeFrom(NotifyVirtualSelectedParentChainChangedResponse); + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyVirtualChainChangedResponse) { + subBuilder.MergeFrom(NotifyVirtualChainChangedResponse); } input.ReadMessage(subBuilder); - NotifyVirtualSelectedParentChainChangedResponse = subBuilder; + NotifyVirtualChainChangedResponse = subBuilder; break; } case 8194: { - global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage(); - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentChainChangedNotification) { - subBuilder.MergeFrom(VirtualSelectedParentChainChangedNotification); - } - input.ReadMessage(subBuilder); - VirtualSelectedParentChainChangedNotification = subBuilder; - break; - } - case 8202: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBlockRequest) { - subBuilder.MergeFrom(GetBlockRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.VirtualChainChangedNotification) { + subBuilder.MergeFrom(VirtualChainChangedNotification); } input.ReadMessage(subBuilder); - GetBlockRequest = subBuilder; + VirtualChainChangedNotification = subBuilder; break; } case 8210: { @@ -4914,16 +6181,7 @@ public void MergeFrom(pb::CodedInputStream input) { subBuilder.MergeFrom(GetBlockResponse); } input.ReadMessage(subBuilder); - GetBlockResponse = subBuilder; - break; - } - case 8218: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetSubnetworkRequest) { - subBuilder.MergeFrom(GetSubnetworkRequest); - } - input.ReadMessage(subBuilder); - GetSubnetworkRequest = subBuilder; + GetBlockResponse = subBuilder; break; } case 8226: { @@ -4935,31 +6193,13 @@ public void MergeFrom(pb::CodedInputStream input) { GetSubnetworkResponse = subBuilder; break; } - case 8234: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockRequest) { - subBuilder.MergeFrom(GetVirtualSelectedParentChainFromBlockRequest); - } - input.ReadMessage(subBuilder); - GetVirtualSelectedParentChainFromBlockRequest = subBuilder; - break; - } case 8242: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentChainFromBlockResponse) { - subBuilder.MergeFrom(GetVirtualSelectedParentChainFromBlockResponse); - } - input.ReadMessage(subBuilder); - GetVirtualSelectedParentChainFromBlockResponse = subBuilder; - break; - } - case 8250: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBlocksRequest) { - subBuilder.MergeFrom(GetBlocksRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetVirtualChainFromBlockResponse) { + subBuilder.MergeFrom(GetVirtualChainFromBlockResponse); } input.ReadMessage(subBuilder); - GetBlocksRequest = subBuilder; + GetVirtualChainFromBlockResponse = subBuilder; break; } case 8258: { @@ -4971,15 +6211,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetBlocksResponse = subBuilder; break; } - case 8266: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBlockCountRequest) { - subBuilder.MergeFrom(GetBlockCountRequest); - } - input.ReadMessage(subBuilder); - GetBlockCountRequest = subBuilder; - break; - } case 8274: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetBlockCountResponse) { @@ -4989,15 +6220,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetBlockCountResponse = subBuilder; break; } - case 8282: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoRequest) { - subBuilder.MergeFrom(GetBlockDagInfoRequest); - } - input.ReadMessage(subBuilder); - GetBlockDagInfoRequest = subBuilder; - break; - } case 8290: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetBlockDagInfoResponse) { @@ -5007,15 +6229,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetBlockDagInfoResponse = subBuilder; break; } - case 8298: { - global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage(); - if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictRequest) { - subBuilder.MergeFrom(ResolveFinalityConflictRequest); - } - input.ReadMessage(subBuilder); - ResolveFinalityConflictRequest = subBuilder; - break; - } case 8306: { global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage(); if (payloadCase_ == PayloadOneofCase.ResolveFinalityConflictResponse) { @@ -5025,22 +6238,13 @@ public void MergeFrom(pb::CodedInputStream input) { ResolveFinalityConflictResponse = subBuilder; break; } - case 8314: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsRequest) { - subBuilder.MergeFrom(NotifyFinalityConflictsRequest); - } - input.ReadMessage(subBuilder); - NotifyFinalityConflictsRequest = subBuilder; - break; - } case 8322: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictsResponse) { - subBuilder.MergeFrom(NotifyFinalityConflictsResponse); + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyFinalityConflictResponse) { + subBuilder.MergeFrom(NotifyFinalityConflictResponse); } input.ReadMessage(subBuilder); - NotifyFinalityConflictsResponse = subBuilder; + NotifyFinalityConflictResponse = subBuilder; break; } case 8330: { @@ -5061,15 +6265,6 @@ public void MergeFrom(pb::CodedInputStream input) { FinalityConflictResolvedNotification = subBuilder; break; } - case 8346: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesRequest) { - subBuilder.MergeFrom(GetMempoolEntriesRequest); - } - input.ReadMessage(subBuilder); - GetMempoolEntriesRequest = subBuilder; - break; - } case 8354: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesResponse) { @@ -5079,31 +6274,13 @@ public void MergeFrom(pb::CodedInputStream input) { GetMempoolEntriesResponse = subBuilder; break; } - case 8362: { - global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage(); - if (payloadCase_ == PayloadOneofCase.ShutDownRequest) { - subBuilder.MergeFrom(ShutDownRequest); - } - input.ReadMessage(subBuilder); - ShutDownRequest = subBuilder; - break; - } case 8370: { - global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage(); - if (payloadCase_ == PayloadOneofCase.ShutDownResponse) { - subBuilder.MergeFrom(ShutDownResponse); - } - input.ReadMessage(subBuilder); - ShutDownResponse = subBuilder; - break; - } - case 8378: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetHeadersRequest) { - subBuilder.MergeFrom(GetHeadersRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage(); + if (payloadCase_ == PayloadOneofCase.ShutdownResponse) { + subBuilder.MergeFrom(ShutdownResponse); } input.ReadMessage(subBuilder); - GetHeadersRequest = subBuilder; + ShutdownResponse = subBuilder; break; } case 8386: { @@ -5115,15 +6292,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetHeadersResponse = subBuilder; break; } - case 8394: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedRequest) { - subBuilder.MergeFrom(NotifyUtxosChangedRequest); - } - input.ReadMessage(subBuilder); - NotifyUtxosChangedRequest = subBuilder; - break; - } case 8402: { global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage(); if (payloadCase_ == PayloadOneofCase.NotifyUtxosChangedResponse) { @@ -5142,15 +6310,6 @@ public void MergeFrom(pb::CodedInputStream input) { UtxosChangedNotification = subBuilder; break; } - case 8418: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesRequest) { - subBuilder.MergeFrom(GetUtxosByAddressesRequest); - } - input.ReadMessage(subBuilder); - GetUtxosByAddressesRequest = subBuilder; - break; - } case 8426: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetUtxosByAddressesResponse) { @@ -5160,58 +6319,31 @@ public void MergeFrom(pb::CodedInputStream input) { GetUtxosByAddressesResponse = subBuilder; break; } - case 8434: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreRequest) { - subBuilder.MergeFrom(GetVirtualSelectedParentBlueScoreRequest); - } - input.ReadMessage(subBuilder); - GetVirtualSelectedParentBlueScoreRequest = subBuilder; - break; - } case 8442: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage(); - if (payloadCase_ == PayloadOneofCase.GetVirtualSelectedParentBlueScoreResponse) { - subBuilder.MergeFrom(GetVirtualSelectedParentBlueScoreResponse); - } - input.ReadMessage(subBuilder); - GetVirtualSelectedParentBlueScoreResponse = subBuilder; - break; - } - case 8450: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedRequest) { - subBuilder.MergeFrom(NotifyVirtualSelectedParentBlueScoreChangedRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSinkBlueScoreResponse) { + subBuilder.MergeFrom(GetSinkBlueScoreResponse); } input.ReadMessage(subBuilder); - NotifyVirtualSelectedParentBlueScoreChangedRequest = subBuilder; + GetSinkBlueScoreResponse = subBuilder; break; } case 8458: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualSelectedParentBlueScoreChangedResponse) { - subBuilder.MergeFrom(NotifyVirtualSelectedParentBlueScoreChangedResponse); + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifySinkBlueScoreChangedResponse) { + subBuilder.MergeFrom(NotifySinkBlueScoreChangedResponse); } input.ReadMessage(subBuilder); - NotifyVirtualSelectedParentBlueScoreChangedResponse = subBuilder; + NotifySinkBlueScoreChangedResponse = subBuilder; break; } case 8466: { - global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage(); - if (payloadCase_ == PayloadOneofCase.VirtualSelectedParentBlueScoreChangedNotification) { - subBuilder.MergeFrom(VirtualSelectedParentBlueScoreChangedNotification); - } - input.ReadMessage(subBuilder); - VirtualSelectedParentBlueScoreChangedNotification = subBuilder; - break; - } - case 8474: { - global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage(); - if (payloadCase_ == PayloadOneofCase.BanRequest) { - subBuilder.MergeFrom(BanRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.SinkBlueScoreChangedNotification) { + subBuilder.MergeFrom(SinkBlueScoreChangedNotification); } input.ReadMessage(subBuilder); - BanRequest = subBuilder; + SinkBlueScoreChangedNotification = subBuilder; break; } case 8482: { @@ -5223,15 +6355,6 @@ public void MergeFrom(pb::CodedInputStream input) { BanResponse = subBuilder; break; } - case 8490: { - global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage(); - if (payloadCase_ == PayloadOneofCase.UnbanRequest) { - subBuilder.MergeFrom(UnbanRequest); - } - input.ReadMessage(subBuilder); - UnbanRequest = subBuilder; - break; - } case 8498: { global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage(); if (payloadCase_ == PayloadOneofCase.UnbanResponse) { @@ -5241,15 +6364,6 @@ public void MergeFrom(pb::CodedInputStream input) { UnbanResponse = subBuilder; break; } - case 8506: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetInfoRequest) { - subBuilder.MergeFrom(GetInfoRequest); - } - input.ReadMessage(subBuilder); - GetInfoRequest = subBuilder; - break; - } case 8514: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetInfoResponse) { @@ -5259,15 +6373,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetInfoResponse = subBuilder; break; } - case 8522: { - global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage(); - if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedRequest) { - subBuilder.MergeFrom(StopNotifyingUtxosChangedRequest); - } - input.ReadMessage(subBuilder); - StopNotifyingUtxosChangedRequest = subBuilder; - break; - } case 8530: { global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage(); if (payloadCase_ == PayloadOneofCase.StopNotifyingUtxosChangedResponse) { @@ -5277,58 +6382,31 @@ public void MergeFrom(pb::CodedInputStream input) { StopNotifyingUtxosChangedResponse = subBuilder; break; } - case 8538: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideRequest) { - subBuilder.MergeFrom(NotifyPruningPointUTXOSetOverrideRequest); - } - input.ReadMessage(subBuilder); - NotifyPruningPointUTXOSetOverrideRequest = subBuilder; - break; - } case 8546: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUTXOSetOverrideResponse) { - subBuilder.MergeFrom(NotifyPruningPointUTXOSetOverrideResponse); + global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage(); + if (payloadCase_ == PayloadOneofCase.NotifyPruningPointUtxoSetOverrideResponse) { + subBuilder.MergeFrom(NotifyPruningPointUtxoSetOverrideResponse); } input.ReadMessage(subBuilder); - NotifyPruningPointUTXOSetOverrideResponse = subBuilder; + NotifyPruningPointUtxoSetOverrideResponse = subBuilder; break; } case 8554: { - global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage(); - if (payloadCase_ == PayloadOneofCase.PruningPointUTXOSetOverrideNotification) { - subBuilder.MergeFrom(PruningPointUTXOSetOverrideNotification); - } - input.ReadMessage(subBuilder); - PruningPointUTXOSetOverrideNotification = subBuilder; - break; - } - case 8562: { - global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage(); - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideRequest) { - subBuilder.MergeFrom(StopNotifyingPruningPointUTXOSetOverrideRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage(); + if (payloadCase_ == PayloadOneofCase.PruningPointUtxoSetOverrideNotification) { + subBuilder.MergeFrom(PruningPointUtxoSetOverrideNotification); } input.ReadMessage(subBuilder); - StopNotifyingPruningPointUTXOSetOverrideRequest = subBuilder; + PruningPointUtxoSetOverrideNotification = subBuilder; break; } case 8570: { - global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage(); - if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUTXOSetOverrideResponse) { - subBuilder.MergeFrom(StopNotifyingPruningPointUTXOSetOverrideResponse); - } - input.ReadMessage(subBuilder); - StopNotifyingPruningPointUTXOSetOverrideResponse = subBuilder; - break; - } - case 8578: { - global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage(); - if (payloadCase_ == PayloadOneofCase.EstimateNetworkHashesPerSecondRequest) { - subBuilder.MergeFrom(EstimateNetworkHashesPerSecondRequest); + global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage(); + if (payloadCase_ == PayloadOneofCase.StopNotifyingPruningPointUtxoSetOverrideResponse) { + subBuilder.MergeFrom(StopNotifyingPruningPointUtxoSetOverrideResponse); } input.ReadMessage(subBuilder); - EstimateNetworkHashesPerSecondRequest = subBuilder; + StopNotifyingPruningPointUtxoSetOverrideResponse = subBuilder; break; } case 8586: { @@ -5340,15 +6418,6 @@ public void MergeFrom(pb::CodedInputStream input) { EstimateNetworkHashesPerSecondResponse = subBuilder; break; } - case 8594: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedRequest) { - subBuilder.MergeFrom(NotifyVirtualDaaScoreChangedRequest); - } - input.ReadMessage(subBuilder); - NotifyVirtualDaaScoreChangedRequest = subBuilder; - break; - } case 8602: { global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage(); if (payloadCase_ == PayloadOneofCase.NotifyVirtualDaaScoreChangedResponse) { @@ -5367,15 +6436,6 @@ public void MergeFrom(pb::CodedInputStream input) { VirtualDaaScoreChangedNotification = subBuilder; break; } - case 8618: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressRequest) { - subBuilder.MergeFrom(GetBalanceByAddressRequest); - } - input.ReadMessage(subBuilder); - GetBalanceByAddressRequest = subBuilder; - break; - } case 8626: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetBalanceByAddressResponse) { @@ -5385,15 +6445,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetBalanceByAddressResponse = subBuilder; break; } - case 8634: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesRequest) { - subBuilder.MergeFrom(GetBalancesByAddressesRequest); - } - input.ReadMessage(subBuilder); - GetBalancesByAddressesRequest = subBuilder; - break; - } case 8642: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetBalancesByAddressesResponse) { @@ -5403,15 +6454,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetBalancesByAddressesResponse = subBuilder; break; } - case 8650: { - global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage(); - if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateRequest) { - subBuilder.MergeFrom(NotifyNewBlockTemplateRequest); - } - input.ReadMessage(subBuilder); - NotifyNewBlockTemplateRequest = subBuilder; - break; - } case 8658: { global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage(); if (payloadCase_ == PayloadOneofCase.NotifyNewBlockTemplateResponse) { @@ -5430,15 +6472,6 @@ public void MergeFrom(pb::CodedInputStream input) { NewBlockTemplateNotification = subBuilder; break; } - case 8674: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesRequest) { - subBuilder.MergeFrom(GetMempoolEntriesByAddressesRequest); - } - input.ReadMessage(subBuilder); - GetMempoolEntriesByAddressesRequest = subBuilder; - break; - } case 8682: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetMempoolEntriesByAddressesResponse) { @@ -5448,15 +6481,6 @@ public void MergeFrom(pb::CodedInputStream input) { GetMempoolEntriesByAddressesResponse = subBuilder; break; } - case 8690: { - global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage(); - if (payloadCase_ == PayloadOneofCase.GetCoinSupplyRequest) { - subBuilder.MergeFrom(GetCoinSupplyRequest); - } - input.ReadMessage(subBuilder); - GetCoinSupplyRequest = subBuilder; - break; - } case 8698: { global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage(); if (payloadCase_ == PayloadOneofCase.GetCoinSupplyResponse) { @@ -5466,9 +6490,118 @@ public void MergeFrom(pb::CodedInputStream input) { GetCoinSupplyResponse = subBuilder; break; } + case 8714: { + global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage(); + if (payloadCase_ == PayloadOneofCase.PingResponse) { + subBuilder.MergeFrom(PingResponse); + } + input.ReadMessage(subBuilder); + PingResponse = subBuilder; + break; + } + case 8730: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetMetricsResponse) { + subBuilder.MergeFrom(GetMetricsResponse); + } + input.ReadMessage(subBuilder); + GetMetricsResponse = subBuilder; + break; + } + case 8746: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetServerInfoResponse) { + subBuilder.MergeFrom(GetServerInfoResponse); + } + input.ReadMessage(subBuilder); + GetServerInfoResponse = subBuilder; + break; + } + case 8762: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSyncStatusResponse) { + subBuilder.MergeFrom(GetSyncStatusResponse); + } + input.ReadMessage(subBuilder); + GetSyncStatusResponse = subBuilder; + break; + } + case 8778: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetDaaScoreTimestampEstimateResponse) { + subBuilder.MergeFrom(GetDaaScoreTimestampEstimateResponse); + } + input.ReadMessage(subBuilder); + GetDaaScoreTimestampEstimateResponse = subBuilder; + break; + } + case 8810: { + global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage(); + if (payloadCase_ == PayloadOneofCase.SubmitTransactionReplacementResponse) { + subBuilder.MergeFrom(SubmitTransactionReplacementResponse); + } + input.ReadMessage(subBuilder); + SubmitTransactionReplacementResponse = subBuilder; + break; + } + case 8826: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetConnectionsResponse) { + subBuilder.MergeFrom(GetConnectionsResponse); + } + input.ReadMessage(subBuilder); + GetConnectionsResponse = subBuilder; + break; + } + case 8842: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetSystemInfoResponse) { + subBuilder.MergeFrom(GetSystemInfoResponse); + } + input.ReadMessage(subBuilder); + GetSystemInfoResponse = subBuilder; + break; + } + case 8858: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateResponse) { + subBuilder.MergeFrom(GetFeeEstimateResponse); + } + input.ReadMessage(subBuilder); + GetFeeEstimateResponse = subBuilder; + break; + } + case 8874: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetFeeEstimateExperimentalResponse) { + subBuilder.MergeFrom(GetFeeEstimateExperimentalResponse); + } + input.ReadMessage(subBuilder); + GetFeeEstimateExperimentalResponse = subBuilder; + break; + } + case 8890: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetCurrentBlockColorResponse) { + subBuilder.MergeFrom(GetCurrentBlockColorResponse); + } + input.ReadMessage(subBuilder); + GetCurrentBlockColorResponse = subBuilder; + break; + } + case 8906: { + global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage subBuilder = new global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage(); + if (payloadCase_ == PayloadOneofCase.GetUtxoReturnAddressResponse) { + subBuilder.MergeFrom(GetUtxoReturnAddressResponse); + } + input.ReadMessage(subBuilder); + GetUtxoReturnAddressResponse = subBuilder; + break; + } } } } + #endif } diff --git a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/MessagesGrpc.cs b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/MessagesGrpc.cs index a435679f9..f00b0047e 100644 --- a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/MessagesGrpc.cs +++ b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/MessagesGrpc.cs @@ -1,36 +1,16 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RPC/Kaspad/messages.proto +// source: messages.proto // -// Original file comments: -// https://raw.githubusercontent.com/kaspanet/kaspad/master/infrastructure/network/netadapter/server/grpcserver/protowire/messages.proto -// RPC-related types. Request messages, response messages, and dependant types. -// -// Clients are expected to build RequestMessages and wrap them in KaspadMessage. (see messages.proto) -// -// Having received a RequestMessage, (wrapped in a KaspadMessage) the RPC server will respond with a -// ResponseMessage (likewise wrapped in a KaspadMessage) respective to the original RequestMessage. -// -// **IMPORTANT:** This API is a work in progress and is subject to break between versions. -// #pragma warning disable 0414, 1591, 8981, 0612 #region Designer generated code -namespace Miningcore.Blockchain.Kaspa.Kaspad { - - using grpc = global::Grpc.Core; +using grpc = global::Grpc.Core; - public partial class KaspadP2P +namespace Miningcore.Blockchain.Kaspa.Kaspad { + public static partial class RPC { - public KaspadP2P(string __ServiceName) - { - this.__Method_MessageStream = new grpc::Method( - grpc::MethodType.DuplexStreaming, - __ServiceName, - "MessageStream", - __Marshaller_protowire_KaspadMessage, - __Marshaller_protowire_KaspadMessage); - } + static readonly string __ServiceName = "protowire.RPC"; [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) @@ -66,10 +46,17 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static readonly grpc::Marshaller __Marshaller_protowire_KaspadMessage = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadMessage.Parser)); + static readonly grpc::Marshaller __Marshaller_protowire_KaspadRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_protowire_KaspadResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public grpc::Method __Method_MessageStream { get; private set; } + static readonly grpc::Method __Method_MessageStream = new grpc::Method( + grpc::MethodType.DuplexStreaming, + __ServiceName, + "MessageStream", + __Marshaller_protowire_KaspadRequest, + __Marshaller_protowire_KaspadResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor @@ -77,158 +64,80 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl get { return global::Miningcore.Blockchain.Kaspa.Kaspad.MessagesReflection.Descriptor.Services[0]; } } - /// Client for KaspadP2P - public partial class KaspadP2PClient : grpc::ClientBase + /// Base class for server-side implementations of RPC + [grpc::BindServiceMethod(typeof(RPC), "BindService")] + public abstract partial class RPCBase { - public KaspadP2P __KaspadP2P { get; private set; } + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task MessageStream(grpc::IAsyncStreamReader requestStream, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } - /// Creates a new client for KaspadP2P + } + + /// Client for RPC + public partial class RPCClient : grpc::ClientBase + { + /// Creates a new client for RPC /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public KaspadP2PClient(KaspadP2P __KaspadP2P, grpc::ChannelBase channel) : base(channel) + public RPCClient(grpc::ChannelBase channel) : base(channel) { - this.__KaspadP2P = __KaspadP2P; } - /// Creates a new client for KaspadP2P that uses a custom CallInvoker. + /// Creates a new client for RPC that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public KaspadP2PClient(grpc::CallInvoker callInvoker) : base(callInvoker) + public RPCClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - protected KaspadP2PClient() : base() + protected RPCClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - protected KaspadP2PClient(ClientBaseConfiguration configuration) : base(configuration) + protected RPCClient(ClientBaseConfiguration configuration) : base(configuration) { } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public virtual grpc::AsyncDuplexStreamingCall MessageStream(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public virtual grpc::AsyncDuplexStreamingCall MessageStream(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return MessageStream(new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public virtual grpc::AsyncDuplexStreamingCall MessageStream(grpc::CallOptions options) + public virtual grpc::AsyncDuplexStreamingCall MessageStream(grpc::CallOptions options) { - return CallInvoker.AsyncDuplexStreamingCall(__KaspadP2P.__Method_MessageStream, null, options); + return CallInvoker.AsyncDuplexStreamingCall(__Method_MessageStream, null, options); } - /// Creates a new instance of client from given KaspadP2P, ClientBaseConfiguration. + /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - protected override KaspadP2PClient NewInstance(ClientBaseConfiguration configuration) + protected override RPCClient NewInstance(ClientBaseConfiguration configuration) { - return new KaspadP2PClient(configuration); + return new RPCClient(configuration); } } - } - public partial class KaspadRPC - { - public KaspadRPC(string __ServiceName) - { - this.__Method_MessageStream = new grpc::Method( - grpc::MethodType.DuplexStreaming, - __ServiceName, - "MessageStream", - __Marshaller_protowire_KaspadMessage, - __Marshaller_protowire_KaspadMessage); - } - - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) - { - #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION - if (message is global::Google.Protobuf.IBufferMessage) - { - context.SetPayloadLength(message.CalculateSize()); - global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); - context.Complete(); - return; - } - #endif - context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); - } - - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static class __Helper_MessageCache - { - public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); - } - + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + public static grpc::ServerServiceDefinition BindService(RPCBase serviceImpl) { - #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION - if (__Helper_MessageCache.IsBufferMessage) - { - return parser.ParseFrom(context.PayloadAsReadOnlySequence()); - } - #endif - return parser.ParseFrom(context.PayloadAsNewBuffer()); + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_MessageStream, serviceImpl.MessageStream).Build(); } + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static readonly grpc::Marshaller __Marshaller_protowire_KaspadMessage = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Miningcore.Blockchain.Kaspa.Kaspad.KaspadMessage.Parser)); - - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public grpc::Method __Method_MessageStream { get; private set; } - - /// Service descriptor - public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor - { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.MessagesReflection.Descriptor.Services[1]; } - } - - /// Client for KaspadRPC - public partial class KaspadRPCClient : grpc::ClientBase + public static void BindService(grpc::ServiceBinderBase serviceBinder, RPCBase serviceImpl) { - public KaspadRPC __KaspadRPC { get; private set; } - - /// Creates a new client for KaspadRPC - /// The channel to use to make remote calls. - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public KaspadRPCClient(KaspadRPC __KaspadRPC, grpc::ChannelBase channel) : base(channel) - { - this.__KaspadRPC = __KaspadRPC; - } - /// Creates a new client for KaspadRPC that uses a custom CallInvoker. - /// The callInvoker to use to make remote calls. - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public KaspadRPCClient(grpc::CallInvoker callInvoker) : base(callInvoker) - { - } - /// Protected parameterless constructor to allow creation of test doubles. - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - protected KaspadRPCClient() : base() - { - } - /// Protected constructor to allow creation of configured clients. - /// The client configuration. - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - protected KaspadRPCClient(ClientBaseConfiguration configuration) : base(configuration) - { - } - - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public virtual grpc::AsyncDuplexStreamingCall MessageStream(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) - { - return MessageStream(new grpc::CallOptions(headers, deadline, cancellationToken)); - } - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - public virtual grpc::AsyncDuplexStreamingCall MessageStream(grpc::CallOptions options) - { - return CallInvoker.AsyncDuplexStreamingCall(__KaspadRPC.__Method_MessageStream, null, options); - } - /// Creates a new instance of client from given ClientBaseConfiguration. - [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - protected override KaspadRPCClient NewInstance(ClientBaseConfiguration configuration) - { - return new KaspadRPCClient(configuration); - } + serviceBinder.AddMethod(__Method_MessageStream, serviceImpl == null ? null : new grpc::DuplexStreamingServerMethod(serviceImpl.MessageStream)); } } diff --git a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Rpc.cs b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Rpc.cs index 219093eed..1756147c6 100644 --- a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Rpc.cs +++ b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/Rpc.cs @@ -2,16 +2,15 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rpc.proto // -#pragma warning disable 1591, 0612, 3021 +#pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; namespace Miningcore.Blockchain.Kaspa.Kaspad { - using pb = global::Google.Protobuf; - using pbc = global::Google.Protobuf.Collections; - using pbr = global::Google.Protobuf.Reflection; - using scg = global::System.Collections.Generic; - /// Holder for reflection information generated from rpc.proto public static partial class RpcReflection { @@ -42,233 +41,336 @@ static RpcReflection() { "EhYKDnRyYW5zYWN0aW9uSWRzGA4gAygJEhQKDGlzSGVhZGVyT25seRgPIAEo", "CBIRCglibHVlU2NvcmUYECABKAQSFgoOY2hpbGRyZW5IYXNoZXMYESADKAkS", "GwoTbWVyZ2VTZXRCbHVlc0hhc2hlcxgSIAMoCRIaChJtZXJnZVNldFJlZHNI", - "YXNoZXMYEyADKAkSFAoMaXNDaGFpbkJsb2NrGBQgASgIIoQCCg5ScGNUcmFu", + "YXNoZXMYEyADKAkSFAoMaXNDaGFpbkJsb2NrGBQgASgIIpICCg5ScGNUcmFu", "c2FjdGlvbhIPCgd2ZXJzaW9uGAEgASgNEi4KBmlucHV0cxgCIAMoCzIeLnBy", "b3Rvd2lyZS5ScGNUcmFuc2FjdGlvbklucHV0EjAKB291dHB1dHMYAyADKAsy", "Hy5wcm90b3dpcmUuUnBjVHJhbnNhY3Rpb25PdXRwdXQSEAoIbG9ja1RpbWUY", "BCABKAQSFAoMc3VibmV0d29ya0lkGAUgASgJEgsKA2dhcxgGIAEoBBIPCgdw", "YXlsb2FkGAggASgJEjkKC3ZlcmJvc2VEYXRhGAkgASgLMiQucHJvdG93aXJl", - "LlJwY1RyYW5zYWN0aW9uVmVyYm9zZURhdGEixgEKE1JwY1RyYW5zYWN0aW9u", - "SW5wdXQSMAoQcHJldmlvdXNPdXRwb2ludBgBIAEoCzIWLnByb3Rvd2lyZS5S", - "cGNPdXRwb2ludBIXCg9zaWduYXR1cmVTY3JpcHQYAiABKAkSEAoIc2VxdWVu", - "Y2UYAyABKAQSEgoKc2lnT3BDb3VudBgFIAEoDRI+Cgt2ZXJib3NlRGF0YRgE", - "IAEoCzIpLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbklucHV0VmVyYm9zZURh", - "dGEiPgoSUnBjU2NyaXB0UHVibGljS2V5Eg8KB3ZlcnNpb24YASABKA0SFwoP", - "c2NyaXB0UHVibGljS2V5GAIgASgJIp8BChRScGNUcmFuc2FjdGlvbk91dHB1", - "dBIOCgZhbW91bnQYASABKAQSNgoPc2NyaXB0UHVibGljS2V5GAIgASgLMh0u", - "cHJvdG93aXJlLlJwY1NjcmlwdFB1YmxpY0tleRI/Cgt2ZXJib3NlRGF0YRgD", - "IAEoCzIqLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbk91dHB1dFZlcmJvc2VE", - "YXRhIjMKC1JwY091dHBvaW50EhUKDXRyYW5zYWN0aW9uSWQYASABKAkSDQoF", - "aW5kZXgYAiABKA0igQEKDFJwY1V0eG9FbnRyeRIOCgZhbW91bnQYASABKAQS", - "NgoPc2NyaXB0UHVibGljS2V5GAIgASgLMh0ucHJvdG93aXJlLlJwY1Njcmlw", - "dFB1YmxpY0tleRIVCg1ibG9ja0RhYVNjb3JlGAMgASgEEhIKCmlzQ29pbmJh", - "c2UYBCABKAgidAoZUnBjVHJhbnNhY3Rpb25WZXJib3NlRGF0YRIVCg10cmFu", - "c2FjdGlvbklkGAEgASgJEgwKBGhhc2gYAiABKAkSDAoEbWFzcxgEIAEoBBIR", - "CglibG9ja0hhc2gYDCABKAkSEQoJYmxvY2tUaW1lGA4gASgEIiAKHlJwY1Ry", - "YW5zYWN0aW9uSW5wdXRWZXJib3NlRGF0YSJeCh9ScGNUcmFuc2FjdGlvbk91", - "dHB1dFZlcmJvc2VEYXRhEhsKE3NjcmlwdFB1YmxpY0tleVR5cGUYBSABKAkS", - "HgoWc2NyaXB0UHVibGljS2V5QWRkcmVzcxgGIAEoCSIhCh9HZXRDdXJyZW50", - "TmV0d29ya1JlcXVlc3RNZXNzYWdlIl8KIEdldEN1cnJlbnROZXR3b3JrUmVz", - "cG9uc2VNZXNzYWdlEhYKDmN1cnJlbnROZXR3b3JrGAEgASgJEiMKBWVycm9y", - "GOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciJaChlTdWJtaXRCbG9ja1Jl", - "cXVlc3RNZXNzYWdlEiIKBWJsb2NrGAIgASgLMhMucHJvdG93aXJlLlJwY0Js", - "b2NrEhkKEWFsbG93Tm9uREFBQmxvY2tzGAMgASgIIscBChpTdWJtaXRCbG9j", - "a1Jlc3BvbnNlTWVzc2FnZRJICgxyZWplY3RSZWFzb24YASABKA4yMi5wcm90", - "b3dpcmUuU3VibWl0QmxvY2tSZXNwb25zZU1lc3NhZ2UuUmVqZWN0UmVhc29u", - "EiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciI6CgxSZWpl", - "Y3RSZWFzb24SCAoETk9ORRAAEhEKDUJMT0NLX0lOVkFMSUQQARINCglJU19J", - "Tl9JQkQQAiJHCh5HZXRCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2USEgoK", - "cGF5QWRkcmVzcxgBIAEoCRIRCglleHRyYURhdGEYAiABKAkifAofR2V0Qmxv", - "Y2tUZW1wbGF0ZVJlc3BvbnNlTWVzc2FnZRIiCgVibG9jaxgDIAEoCzITLnBy", - "b3Rvd2lyZS5ScGNCbG9jaxIQCghpc1N5bmNlZBgCIAEoCBIjCgVlcnJvchjo", - "ByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IiIAoeTm90aWZ5QmxvY2tBZGRl", - "ZFJlcXVlc3RNZXNzYWdlIkYKH05vdGlmeUJsb2NrQWRkZWRSZXNwb25zZU1l", - "c3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIkMK", - "HUJsb2NrQWRkZWROb3RpZmljYXRpb25NZXNzYWdlEiIKBWJsb2NrGAMgASgL", - "MhMucHJvdG93aXJlLlJwY0Jsb2NrIiAKHkdldFBlZXJBZGRyZXNzZXNSZXF1", - "ZXN0TWVzc2FnZSLSAQofR2V0UGVlckFkZHJlc3Nlc1Jlc3BvbnNlTWVzc2Fn", - "ZRJBCglhZGRyZXNzZXMYASADKAsyLi5wcm90b3dpcmUuR2V0UGVlckFkZHJl", - "c3Nlc0tub3duQWRkcmVzc01lc3NhZ2USRwoPYmFubmVkQWRkcmVzc2VzGAIg", - "AygLMi4ucHJvdG93aXJlLkdldFBlZXJBZGRyZXNzZXNLbm93bkFkZHJlc3NN", - "ZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIz", - "CiNHZXRQZWVyQWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZRIMCgRBZGRy", - "GAEgASgJIiIKIEdldFNlbGVjdGVkVGlwSGFzaFJlcXVlc3RNZXNzYWdlImEK", - "IUdldFNlbGVjdGVkVGlwSGFzaFJlc3BvbnNlTWVzc2FnZRIXCg9zZWxlY3Rl", - "ZFRpcEhhc2gYASABKAkSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQ", - "Q0Vycm9yImcKHUdldE1lbXBvb2xFbnRyeVJlcXVlc3RNZXNzYWdlEgwKBHR4", - "SWQYASABKAkSGQoRaW5jbHVkZU9ycGhhblBvb2wYAiABKAgSHQoVZmlsdGVy", - "VHJhbnNhY3Rpb25Qb29sGAMgASgIIm0KHkdldE1lbXBvb2xFbnRyeVJlc3Bv", - "bnNlTWVzc2FnZRImCgVlbnRyeRgBIAEoCzIXLnByb3Rvd2lyZS5NZW1wb29s", - "RW50cnkSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIlsK", - "H0dldE1lbXBvb2xFbnRyaWVzUmVxdWVzdE1lc3NhZ2USGQoRaW5jbHVkZU9y", - "cGhhblBvb2wYASABKAgSHQoVZmlsdGVyVHJhbnNhY3Rpb25Qb29sGAIgASgI", - "InEKIEdldE1lbXBvb2xFbnRyaWVzUmVzcG9uc2VNZXNzYWdlEigKB2VudHJp", - "ZXMYASADKAsyFy5wcm90b3dpcmUuTWVtcG9vbEVudHJ5EiMKBWVycm9yGOgH", - "IAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciJdCgxNZW1wb29sRW50cnkSCwoD", - "ZmVlGAEgASgEEi4KC3RyYW5zYWN0aW9uGAMgASgLMhkucHJvdG93aXJlLlJw", - "Y1RyYW5zYWN0aW9uEhAKCGlzT3JwaGFuGAQgASgIIiQKIkdldENvbm5lY3Rl", - "ZFBlZXJJbmZvUmVxdWVzdE1lc3NhZ2UigQEKI0dldENvbm5lY3RlZFBlZXJJ", - "bmZvUmVzcG9uc2VNZXNzYWdlEjUKBWluZm9zGAEgAygLMiYucHJvdG93aXJl", - "LkdldENvbm5lY3RlZFBlZXJJbmZvTWVzc2FnZRIjCgVlcnJvchjoByABKAsy", - "Ey5wcm90b3dpcmUuUlBDRXJyb3Ii3AEKG0dldENvbm5lY3RlZFBlZXJJbmZv", - "TWVzc2FnZRIKCgJpZBgBIAEoCRIPCgdhZGRyZXNzGAIgASgJEhgKEGxhc3RQ", - "aW5nRHVyYXRpb24YAyABKAMSEgoKaXNPdXRib3VuZBgGIAEoCBISCgp0aW1l", - "T2Zmc2V0GAcgASgDEhEKCXVzZXJBZ2VudBgIIAEoCRIhChlhZHZlcnRpc2Vk", - "UHJvdG9jb2xWZXJzaW9uGAkgASgNEhUKDXRpbWVDb25uZWN0ZWQYCiABKAMS", - "EQoJaXNJYmRQZWVyGAsgASgIIj0KFUFkZFBlZXJSZXF1ZXN0TWVzc2FnZRIP", - "CgdhZGRyZXNzGAEgASgJEhMKC2lzUGVybWFuZW50GAIgASgIIj0KFkFkZFBl", - "ZXJSZXNwb25zZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJl", - "LlJQQ0Vycm9yImYKH1N1Ym1pdFRyYW5zYWN0aW9uUmVxdWVzdE1lc3NhZ2US", - "LgoLdHJhbnNhY3Rpb24YASABKAsyGS5wcm90b3dpcmUuUnBjVHJhbnNhY3Rp", - "b24SEwoLYWxsb3dPcnBoYW4YAiABKAgiXgogU3VibWl0VHJhbnNhY3Rpb25S", - "ZXNwb25zZU1lc3NhZ2USFQoNdHJhbnNhY3Rpb25JZBgBIAEoCRIjCgVlcnJv", - "chjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IiXgo1Tm90aWZ5VmlydHVh", - "bFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVxdWVzdE1lc3NhZ2USJQod", - "aW5jbHVkZUFjY2VwdGVkVHJhbnNhY3Rpb25JZHMYASABKAgiXQo2Tm90aWZ5", - "VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkUmVzcG9uc2VNZXNz", - "YWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciK5AQo0", - "VmlydHVhbFNlbGVjdGVkUGFyZW50Q2hhaW5DaGFuZ2VkTm90aWZpY2F0aW9u", - "TWVzc2FnZRIfChdyZW1vdmVkQ2hhaW5CbG9ja0hhc2hlcxgBIAMoCRIdChVh", - "ZGRlZENoYWluQmxvY2tIYXNoZXMYAyADKAkSQQoWYWNjZXB0ZWRUcmFuc2Fj", - "dGlvbklkcxgCIAMoCzIhLnByb3Rvd2lyZS5BY2NlcHRlZFRyYW5zYWN0aW9u", - "SWRzIkMKFkdldEJsb2NrUmVxdWVzdE1lc3NhZ2USDAoEaGFzaBgBIAEoCRIb", - "ChNpbmNsdWRlVHJhbnNhY3Rpb25zGAMgASgIImIKF0dldEJsb2NrUmVzcG9u", - "c2VNZXNzYWdlEiIKBWJsb2NrGAMgASgLMhMucHJvdG93aXJlLlJwY0Jsb2Nr", - "EiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIzChtHZXRT", - "dWJuZXR3b3JrUmVxdWVzdE1lc3NhZ2USFAoMc3VibmV0d29ya0lkGAEgASgJ", - "IlUKHEdldFN1Ym5ldHdvcmtSZXNwb25zZU1lc3NhZ2USEAoIZ2FzTGltaXQY", - "ASABKAQSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yInAK", - "NEdldFZpcnR1YWxTZWxlY3RlZFBhcmVudENoYWluRnJvbUJsb2NrUmVxdWVz", - "dE1lc3NhZ2USEQoJc3RhcnRIYXNoGAEgASgJEiUKHWluY2x1ZGVBY2NlcHRl", - "ZFRyYW5zYWN0aW9uSWRzGAIgASgIIlQKFkFjY2VwdGVkVHJhbnNhY3Rpb25J", - "ZHMSGgoSYWNjZXB0aW5nQmxvY2tIYXNoGAEgASgJEh4KFmFjY2VwdGVkVHJh", - "bnNhY3Rpb25JZHMYAiADKAki3wEKNUdldFZpcnR1YWxTZWxlY3RlZFBhcmVu", - "dENoYWluRnJvbUJsb2NrUmVzcG9uc2VNZXNzYWdlEh8KF3JlbW92ZWRDaGFp", - "bkJsb2NrSGFzaGVzGAEgAygJEh0KFWFkZGVkQ2hhaW5CbG9ja0hhc2hlcxgD", - "IAMoCRJBChZhY2NlcHRlZFRyYW5zYWN0aW9uSWRzGAIgAygLMiEucHJvdG93", - "aXJlLkFjY2VwdGVkVHJhbnNhY3Rpb25JZHMSIwoFZXJyb3IY6AcgASgLMhMu", - "cHJvdG93aXJlLlJQQ0Vycm9yIl4KF0dldEJsb2Nrc1JlcXVlc3RNZXNzYWdl", - "Eg8KB2xvd0hhc2gYASABKAkSFQoNaW5jbHVkZUJsb2NrcxgCIAEoCBIbChNp", - "bmNsdWRlVHJhbnNhY3Rpb25zGAMgASgIInkKGEdldEJsb2Nrc1Jlc3BvbnNl", - "TWVzc2FnZRITCgtibG9ja0hhc2hlcxgEIAMoCRIjCgZibG9ja3MYAyADKAsy", - "Ey5wcm90b3dpcmUuUnBjQmxvY2sSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93", - "aXJlLlJQQ0Vycm9yIh0KG0dldEJsb2NrQ291bnRSZXF1ZXN0TWVzc2FnZSJs", - "ChxHZXRCbG9ja0NvdW50UmVzcG9uc2VNZXNzYWdlEhIKCmJsb2NrQ291bnQY", - "ASABKAQSEwoLaGVhZGVyQ291bnQYAiABKAQSIwoFZXJyb3IY6AcgASgLMhMu", - "cHJvdG93aXJlLlJQQ0Vycm9yIh8KHUdldEJsb2NrRGFnSW5mb1JlcXVlc3RN", - "ZXNzYWdlIpICCh5HZXRCbG9ja0RhZ0luZm9SZXNwb25zZU1lc3NhZ2USEwoL", - "bmV0d29ya05hbWUYASABKAkSEgoKYmxvY2tDb3VudBgCIAEoBBITCgtoZWFk", - "ZXJDb3VudBgDIAEoBBIRCgl0aXBIYXNoZXMYBCADKAkSEgoKZGlmZmljdWx0", - "eRgFIAEoARIWCg5wYXN0TWVkaWFuVGltZRgGIAEoAxIbChN2aXJ0dWFsUGFy", - "ZW50SGFzaGVzGAcgAygJEhgKEHBydW5pbmdQb2ludEhhc2gYCCABKAkSFwoP", - "dmlydHVhbERhYVNjb3JlGAkgASgEEiMKBWVycm9yGOgHIAEoCzITLnByb3Rv", - "d2lyZS5SUENFcnJvciJCCiVSZXNvbHZlRmluYWxpdHlDb25mbGljdFJlcXVl", - "c3RNZXNzYWdlEhkKEWZpbmFsaXR5QmxvY2tIYXNoGAEgASgJIk0KJlJlc29s", - "dmVGaW5hbGl0eUNvbmZsaWN0UmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgH", - "IAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciInCiVOb3RpZnlGaW5hbGl0eUNv", - "bmZsaWN0c1JlcXVlc3RNZXNzYWdlIk0KJk5vdGlmeUZpbmFsaXR5Q29uZmxp", - "Y3RzUmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2ly", + "LlJwY1RyYW5zYWN0aW9uVmVyYm9zZURhdGESDAoEbWFzcxgKIAEoBCLGAQoT", + "UnBjVHJhbnNhY3Rpb25JbnB1dBIwChBwcmV2aW91c091dHBvaW50GAEgASgL", + "MhYucHJvdG93aXJlLlJwY091dHBvaW50EhcKD3NpZ25hdHVyZVNjcmlwdBgC", + "IAEoCRIQCghzZXF1ZW5jZRgDIAEoBBISCgpzaWdPcENvdW50GAUgASgNEj4K", + "C3ZlcmJvc2VEYXRhGAQgASgLMikucHJvdG93aXJlLlJwY1RyYW5zYWN0aW9u", + "SW5wdXRWZXJib3NlRGF0YSI+ChJScGNTY3JpcHRQdWJsaWNLZXkSDwoHdmVy", + "c2lvbhgBIAEoDRIXCg9zY3JpcHRQdWJsaWNLZXkYAiABKAkinwEKFFJwY1Ry", + "YW5zYWN0aW9uT3V0cHV0Eg4KBmFtb3VudBgBIAEoBBI2Cg9zY3JpcHRQdWJs", + "aWNLZXkYAiABKAsyHS5wcm90b3dpcmUuUnBjU2NyaXB0UHVibGljS2V5Ej8K", + "C3ZlcmJvc2VEYXRhGAMgASgLMioucHJvdG93aXJlLlJwY1RyYW5zYWN0aW9u", + "T3V0cHV0VmVyYm9zZURhdGEiMwoLUnBjT3V0cG9pbnQSFQoNdHJhbnNhY3Rp", + "b25JZBgBIAEoCRINCgVpbmRleBgCIAEoDSKBAQoMUnBjVXR4b0VudHJ5Eg4K", + "BmFtb3VudBgBIAEoBBI2Cg9zY3JpcHRQdWJsaWNLZXkYAiABKAsyHS5wcm90", + "b3dpcmUuUnBjU2NyaXB0UHVibGljS2V5EhUKDWJsb2NrRGFhU2NvcmUYAyAB", + "KAQSEgoKaXNDb2luYmFzZRgEIAEoCCJ7ChlScGNUcmFuc2FjdGlvblZlcmJv", + "c2VEYXRhEhUKDXRyYW5zYWN0aW9uSWQYASABKAkSDAoEaGFzaBgCIAEoCRIT", + "Cgtjb21wdXRlTWFzcxgEIAEoBBIRCglibG9ja0hhc2gYDCABKAkSEQoJYmxv", + "Y2tUaW1lGA4gASgEIiAKHlJwY1RyYW5zYWN0aW9uSW5wdXRWZXJib3NlRGF0", + "YSJeCh9ScGNUcmFuc2FjdGlvbk91dHB1dFZlcmJvc2VEYXRhEhsKE3Njcmlw", + "dFB1YmxpY0tleVR5cGUYBSABKAkSHgoWc2NyaXB0UHVibGljS2V5QWRkcmVz", + "cxgGIAEoCSIhCh9HZXRDdXJyZW50TmV0d29ya1JlcXVlc3RNZXNzYWdlIl8K", + "IEdldEN1cnJlbnROZXR3b3JrUmVzcG9uc2VNZXNzYWdlEhYKDmN1cnJlbnRO", + "ZXR3b3JrGAEgASgJEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENF", + "cnJvciJaChlTdWJtaXRCbG9ja1JlcXVlc3RNZXNzYWdlEiIKBWJsb2NrGAIg", + "ASgLMhMucHJvdG93aXJlLlJwY0Jsb2NrEhkKEWFsbG93Tm9uREFBQmxvY2tz", + "GAMgASgIIscBChpTdWJtaXRCbG9ja1Jlc3BvbnNlTWVzc2FnZRJICgxyZWpl", + "Y3RSZWFzb24YASABKA4yMi5wcm90b3dpcmUuU3VibWl0QmxvY2tSZXNwb25z", + "ZU1lc3NhZ2UuUmVqZWN0UmVhc29uEiMKBWVycm9yGOgHIAEoCzITLnByb3Rv", + "d2lyZS5SUENFcnJvciI6CgxSZWplY3RSZWFzb24SCAoETk9ORRAAEhEKDUJM", + "T0NLX0lOVkFMSUQQARINCglJU19JTl9JQkQQAiJHCh5HZXRCbG9ja1RlbXBs", + "YXRlUmVxdWVzdE1lc3NhZ2USEgoKcGF5QWRkcmVzcxgBIAEoCRIRCglleHRy", + "YURhdGEYAiABKAkifAofR2V0QmxvY2tUZW1wbGF0ZVJlc3BvbnNlTWVzc2Fn", + "ZRIiCgVibG9jaxgDIAEoCzITLnByb3Rvd2lyZS5ScGNCbG9jaxIQCghpc1N5", + "bmNlZBgCIAEoCBIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJy", + "b3IiTgoeTm90aWZ5QmxvY2tBZGRlZFJlcXVlc3RNZXNzYWdlEiwKB2NvbW1h", + "bmQYZSABKA4yGy5wcm90b3dpcmUuUnBjTm90aWZ5Q29tbWFuZCJGCh9Ob3Rp", + "ZnlCbG9ja0FkZGVkUmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzIT", + "LnByb3Rvd2lyZS5SUENFcnJvciJDCh1CbG9ja0FkZGVkTm90aWZpY2F0aW9u", + "TWVzc2FnZRIiCgVibG9jaxgDIAEoCzITLnByb3Rvd2lyZS5ScGNCbG9jayIg", + "Ch5HZXRQZWVyQWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2Ui0gEKH0dldFBlZXJB", + "ZGRyZXNzZXNSZXNwb25zZU1lc3NhZ2USQQoJYWRkcmVzc2VzGAEgAygLMi4u", + "cHJvdG93aXJlLkdldFBlZXJBZGRyZXNzZXNLbm93bkFkZHJlc3NNZXNzYWdl", + "EkcKD2Jhbm5lZEFkZHJlc3NlcxgCIAMoCzIuLnByb3Rvd2lyZS5HZXRQZWVy", + "QWRkcmVzc2VzS25vd25BZGRyZXNzTWVzc2FnZRIjCgVlcnJvchjoByABKAsy", + "Ey5wcm90b3dpcmUuUlBDRXJyb3IiMwojR2V0UGVlckFkZHJlc3Nlc0tub3du", + "QWRkcmVzc01lc3NhZ2USDAoEQWRkchgBIAEoCSIXChVHZXRTaW5rUmVxdWVz", + "dE1lc3NhZ2UiSwoWR2V0U2lua1Jlc3BvbnNlTWVzc2FnZRIMCgRzaW5rGAEg", + "ASgJEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciJnCh1H", + "ZXRNZW1wb29sRW50cnlSZXF1ZXN0TWVzc2FnZRIMCgR0eElkGAEgASgJEhkK", + "EWluY2x1ZGVPcnBoYW5Qb29sGAIgASgIEh0KFWZpbHRlclRyYW5zYWN0aW9u", + "UG9vbBgDIAEoCCJwCh5HZXRNZW1wb29sRW50cnlSZXNwb25zZU1lc3NhZ2US", + "KQoFZW50cnkYASABKAsyGi5wcm90b3dpcmUuUnBjTWVtcG9vbEVudHJ5EiMK", + "BWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciJbCh9HZXRNZW1w", + "b29sRW50cmllc1JlcXVlc3RNZXNzYWdlEhkKEWluY2x1ZGVPcnBoYW5Qb29s", + "GAEgASgIEh0KFWZpbHRlclRyYW5zYWN0aW9uUG9vbBgCIAEoCCJ0CiBHZXRN", + "ZW1wb29sRW50cmllc1Jlc3BvbnNlTWVzc2FnZRIrCgdlbnRyaWVzGAEgAygL", + "MhoucHJvdG93aXJlLlJwY01lbXBvb2xFbnRyeRIjCgVlcnJvchjoByABKAsy", + "Ey5wcm90b3dpcmUuUlBDRXJyb3IiYAoPUnBjTWVtcG9vbEVudHJ5EgsKA2Zl", + "ZRgBIAEoBBIuCgt0cmFuc2FjdGlvbhgDIAEoCzIZLnByb3Rvd2lyZS5ScGNU", + "cmFuc2FjdGlvbhIQCghpc09ycGhhbhgEIAEoCCIkCiJHZXRDb25uZWN0ZWRQ", + "ZWVySW5mb1JlcXVlc3RNZXNzYWdlIoEBCiNHZXRDb25uZWN0ZWRQZWVySW5m", + "b1Jlc3BvbnNlTWVzc2FnZRI1CgVpbmZvcxgBIAMoCzImLnByb3Rvd2lyZS5H", + "ZXRDb25uZWN0ZWRQZWVySW5mb01lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMu", + "cHJvdG93aXJlLlJQQ0Vycm9yItwBChtHZXRDb25uZWN0ZWRQZWVySW5mb01l", + "c3NhZ2USCgoCaWQYASABKAkSDwoHYWRkcmVzcxgCIAEoCRIYChBsYXN0UGlu", + "Z0R1cmF0aW9uGAMgASgDEhIKCmlzT3V0Ym91bmQYBiABKAgSEgoKdGltZU9m", + "ZnNldBgHIAEoAxIRCgl1c2VyQWdlbnQYCCABKAkSIQoZYWR2ZXJ0aXNlZFBy", + "b3RvY29sVmVyc2lvbhgJIAEoDRIVCg10aW1lQ29ubmVjdGVkGAogASgDEhEK", + "CWlzSWJkUGVlchgLIAEoCCI9ChVBZGRQZWVyUmVxdWVzdE1lc3NhZ2USDwoH", + "YWRkcmVzcxgBIAEoCRITCgtpc1Blcm1hbmVudBgCIAEoCCI9ChZBZGRQZWVy", + "UmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5S", + "UENFcnJvciJmCh9TdWJtaXRUcmFuc2FjdGlvblJlcXVlc3RNZXNzYWdlEi4K", + "C3RyYW5zYWN0aW9uGAEgASgLMhkucHJvdG93aXJlLlJwY1RyYW5zYWN0aW9u", + "EhMKC2FsbG93T3JwaGFuGAIgASgIIl4KIFN1Ym1pdFRyYW5zYWN0aW9uUmVz", + "cG9uc2VNZXNzYWdlEhUKDXRyYW5zYWN0aW9uSWQYASABKAkSIwoFZXJyb3IY", + "6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIlwKKlN1Ym1pdFRyYW5zYWN0", + "aW9uUmVwbGFjZW1lbnRSZXF1ZXN0TWVzc2FnZRIuCgt0cmFuc2FjdGlvbhgB", + "IAEoCzIZLnByb3Rvd2lyZS5ScGNUcmFuc2FjdGlvbiKhAQorU3VibWl0VHJh", + "bnNhY3Rpb25SZXBsYWNlbWVudFJlc3BvbnNlTWVzc2FnZRIVCg10cmFuc2Fj", + "dGlvbklkGAEgASgJEjYKE3JlcGxhY2VkVHJhbnNhY3Rpb24YAiABKAsyGS5w", + "cm90b3dpcmUuUnBjVHJhbnNhY3Rpb24SIwoFZXJyb3IY6AcgASgLMhMucHJv", + "dG93aXJlLlJQQ0Vycm9yIn4KJ05vdGlmeVZpcnR1YWxDaGFpbkNoYW5nZWRS", + "ZXF1ZXN0TWVzc2FnZRIlCh1pbmNsdWRlQWNjZXB0ZWRUcmFuc2FjdGlvbklk", + "cxgBIAEoCBIsCgdjb21tYW5kGGUgASgOMhsucHJvdG93aXJlLlJwY05vdGlm", + "eUNvbW1hbmQiTwooTm90aWZ5VmlydHVhbENoYWluQ2hhbmdlZFJlc3BvbnNl", + "TWVzc2FnZRIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3Ii", + "rgEKJlZpcnR1YWxDaGFpbkNoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlEh8K", + "F3JlbW92ZWRDaGFpbkJsb2NrSGFzaGVzGAEgAygJEh0KFWFkZGVkQ2hhaW5C", + "bG9ja0hhc2hlcxgDIAMoCRJEChZhY2NlcHRlZFRyYW5zYWN0aW9uSWRzGAIg", + "AygLMiQucHJvdG93aXJlLlJwY0FjY2VwdGVkVHJhbnNhY3Rpb25JZHMiQwoW", + "R2V0QmxvY2tSZXF1ZXN0TWVzc2FnZRIMCgRoYXNoGAEgASgJEhsKE2luY2x1", + "ZGVUcmFuc2FjdGlvbnMYAyABKAgiYgoXR2V0QmxvY2tSZXNwb25zZU1lc3Nh", + "Z2USIgoFYmxvY2sYAyABKAsyEy5wcm90b3dpcmUuUnBjQmxvY2sSIwoFZXJy", + "b3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIjMKG0dldFN1Ym5ldHdv", + "cmtSZXF1ZXN0TWVzc2FnZRIUCgxzdWJuZXR3b3JrSWQYASABKAkiVQocR2V0", + "U3VibmV0d29ya1Jlc3BvbnNlTWVzc2FnZRIQCghnYXNMaW1pdBgBIAEoBBIj", + "CgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IingEKJkdldFZp", + "cnR1YWxDaGFpbkZyb21CbG9ja1JlcXVlc3RNZXNzYWdlEhEKCXN0YXJ0SGFz", + "aBgBIAEoCRIlCh1pbmNsdWRlQWNjZXB0ZWRUcmFuc2FjdGlvbklkcxgCIAEo", + "CBIhChRtaW5Db25maXJtYXRpb25Db3VudBgDIAEoBEgAiAEBQhcKFV9taW5D", + "b25maXJtYXRpb25Db3VudCJXChlScGNBY2NlcHRlZFRyYW5zYWN0aW9uSWRz", + "EhoKEmFjY2VwdGluZ0Jsb2NrSGFzaBgBIAEoCRIeChZhY2NlcHRlZFRyYW5z", + "YWN0aW9uSWRzGAIgAygJItQBCidHZXRWaXJ0dWFsQ2hhaW5Gcm9tQmxvY2tS", + "ZXNwb25zZU1lc3NhZ2USHwoXcmVtb3ZlZENoYWluQmxvY2tIYXNoZXMYASAD", + "KAkSHQoVYWRkZWRDaGFpbkJsb2NrSGFzaGVzGAMgAygJEkQKFmFjY2VwdGVk", + "VHJhbnNhY3Rpb25JZHMYAiADKAsyJC5wcm90b3dpcmUuUnBjQWNjZXB0ZWRU", + "cmFuc2FjdGlvbklkcxIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBD", + "RXJyb3IiXgoXR2V0QmxvY2tzUmVxdWVzdE1lc3NhZ2USDwoHbG93SGFzaBgB", + "IAEoCRIVCg1pbmNsdWRlQmxvY2tzGAIgASgIEhsKE2luY2x1ZGVUcmFuc2Fj", + "dGlvbnMYAyABKAgieQoYR2V0QmxvY2tzUmVzcG9uc2VNZXNzYWdlEhMKC2Js", + "b2NrSGFzaGVzGAQgAygJEiMKBmJsb2NrcxgDIAMoCzITLnByb3Rvd2lyZS5S", + "cGNCbG9jaxIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3Ii", + "HQobR2V0QmxvY2tDb3VudFJlcXVlc3RNZXNzYWdlImwKHEdldEJsb2NrQ291", + "bnRSZXNwb25zZU1lc3NhZ2USEgoKYmxvY2tDb3VudBgBIAEoBBITCgtoZWFk", + "ZXJDb3VudBgCIAEoBBIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBD", + "RXJyb3IiHwodR2V0QmxvY2tEYWdJbmZvUmVxdWVzdE1lc3NhZ2UioAIKHkdl", + "dEJsb2NrRGFnSW5mb1Jlc3BvbnNlTWVzc2FnZRITCgtuZXR3b3JrTmFtZRgB", + "IAEoCRISCgpibG9ja0NvdW50GAIgASgEEhMKC2hlYWRlckNvdW50GAMgASgE", + "EhEKCXRpcEhhc2hlcxgEIAMoCRISCgpkaWZmaWN1bHR5GAUgASgBEhYKDnBh", + "c3RNZWRpYW5UaW1lGAYgASgDEhsKE3ZpcnR1YWxQYXJlbnRIYXNoZXMYByAD", + "KAkSGAoQcHJ1bmluZ1BvaW50SGFzaBgIIAEoCRIXCg92aXJ0dWFsRGFhU2Nv", + "cmUYCSABKAQSDAoEc2luaxgKIAEoCRIjCgVlcnJvchjoByABKAsyEy5wcm90", + "b3dpcmUuUlBDRXJyb3IiQgolUmVzb2x2ZUZpbmFsaXR5Q29uZmxpY3RSZXF1", + "ZXN0TWVzc2FnZRIZChFmaW5hbGl0eUJsb2NrSGFzaBgBIAEoCSJNCiZSZXNv", + "bHZlRmluYWxpdHlDb25mbGljdFJlc3BvbnNlTWVzc2FnZRIjCgVlcnJvchjo", + "ByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IiVAokTm90aWZ5RmluYWxpdHlD", + "b25mbGljdFJlcXVlc3RNZXNzYWdlEiwKB2NvbW1hbmQYZSABKA4yGy5wcm90", + "b3dpcmUuUnBjTm90aWZ5Q29tbWFuZCJMCiVOb3RpZnlGaW5hbGl0eUNvbmZs", + "aWN0UmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2ly", "ZS5SUENFcnJvciJBCiNGaW5hbGl0eUNvbmZsaWN0Tm90aWZpY2F0aW9uTWVz", "c2FnZRIaChJ2aW9sYXRpbmdCbG9ja0hhc2gYASABKAkiSAorRmluYWxpdHlD", "b25mbGljdFJlc29sdmVkTm90aWZpY2F0aW9uTWVzc2FnZRIZChFmaW5hbGl0", - "eUJsb2NrSGFzaBgBIAEoCSIYChZTaHV0RG93blJlcXVlc3RNZXNzYWdlIj4K", - "F1NodXREb3duUmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnBy", + "eUJsb2NrSGFzaBgBIAEoCSIYChZTaHV0ZG93blJlcXVlc3RNZXNzYWdlIj4K", + "F1NodXRkb3duUmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnBy", "b3Rvd2lyZS5SUENFcnJvciJRChhHZXRIZWFkZXJzUmVxdWVzdE1lc3NhZ2US", "EQoJc3RhcnRIYXNoGAEgASgJEg0KBWxpbWl0GAIgASgEEhMKC2lzQXNjZW5k", "aW5nGAMgASgIIlEKGUdldEhlYWRlcnNSZXNwb25zZU1lc3NhZ2USDwoHaGVh", "ZGVycxgBIAMoCRIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJy", - "b3IiNQogTm90aWZ5VXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2USEQoJYWRk", - "cmVzc2VzGAEgAygJIkgKIU5vdGlmeVV0eG9zQ2hhbmdlZFJlc3BvbnNlTWVz", - "c2FnZRIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IihQEK", - "H1V0eG9zQ2hhbmdlZE5vdGlmaWNhdGlvbk1lc3NhZ2USLwoFYWRkZWQYASAD", - "KAsyIC5wcm90b3dpcmUuVXR4b3NCeUFkZHJlc3Nlc0VudHJ5EjEKB3JlbW92", - "ZWQYAiADKAsyIC5wcm90b3dpcmUuVXR4b3NCeUFkZHJlc3Nlc0VudHJ5In4K", - "FVV0eG9zQnlBZGRyZXNzZXNFbnRyeRIPCgdhZGRyZXNzGAEgASgJEigKCG91", - "dHBvaW50GAIgASgLMhYucHJvdG93aXJlLlJwY091dHBvaW50EioKCXV0eG9F", - "bnRyeRgDIAEoCzIXLnByb3Rvd2lyZS5ScGNVdHhvRW50cnkiPAonU3RvcE5v", - "dGlmeWluZ1V0eG9zQ2hhbmdlZFJlcXVlc3RNZXNzYWdlEhEKCWFkZHJlc3Nl", - "cxgBIAMoCSJPCihTdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVzcG9uc2VN", - "ZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciI2", - "CiFHZXRVdHhvc0J5QWRkcmVzc2VzUmVxdWVzdE1lc3NhZ2USEQoJYWRkcmVz", - "c2VzGAEgAygJInwKIkdldFV0eG9zQnlBZGRyZXNzZXNSZXNwb25zZU1lc3Nh", - "Z2USMQoHZW50cmllcxgBIAMoCzIgLnByb3Rvd2lyZS5VdHhvc0J5QWRkcmVz", - "c2VzRW50cnkSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9y", - "IjQKIUdldEJhbGFuY2VCeUFkZHJlc3NSZXF1ZXN0TWVzc2FnZRIPCgdhZGRy", - "ZXNzGAEgASgJIloKIkdldEJhbGFuY2VCeUFkZHJlc3NSZXNwb25zZU1lc3Nh", - "Z2USDwoHYmFsYW5jZRgBIAEoBBIjCgVlcnJvchjoByABKAsyEy5wcm90b3dp", - "cmUuUlBDRXJyb3IiOQokR2V0QmFsYW5jZXNCeUFkZHJlc3Nlc1JlcXVlc3RN", - "ZXNzYWdlEhEKCWFkZHJlc3NlcxgBIAMoCSJfChZCYWxhbmNlc0J5QWRkcmVz", - "c0VudHJ5Eg8KB2FkZHJlc3MYASABKAkSDwoHYmFsYW5jZRgCIAEoBBIjCgVl", - "cnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IigAEKJUdldEJhbGFu", - "Y2VzQnlBZGRyZXNzZXNSZXNwb25zZU1lc3NhZ2USMgoHZW50cmllcxgBIAMo", - "CzIhLnByb3Rvd2lyZS5CYWxhbmNlc0J5QWRkcmVzc0VudHJ5EiMKBWVycm9y", - "GOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIxCi9HZXRWaXJ0dWFsU2Vs", - "ZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXF1ZXN0TWVzc2FnZSJqCjBHZXRWaXJ0", - "dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2NvcmVSZXNwb25zZU1lc3NhZ2USEQoJ", - "Ymx1ZVNjb3JlGAEgASgEEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5S", - "UENFcnJvciI7CjlOb3RpZnlWaXJ0dWFsU2VsZWN0ZWRQYXJlbnRCbHVlU2Nv", - "cmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2UiYQo6Tm90aWZ5VmlydHVhbFNlbGVj", - "dGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZFJlc3BvbnNlTWVzc2FnZRIjCgVl", - "cnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IiYgo4VmlydHVhbFNl", - "bGVjdGVkUGFyZW50Qmx1ZVNjb3JlQ2hhbmdlZE5vdGlmaWNhdGlvbk1lc3Nh", - "Z2USJgoedmlydHVhbFNlbGVjdGVkUGFyZW50Qmx1ZVNjb3JlGAEgASgEIiwK", - "Kk5vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRSZXF1ZXN0TWVzc2FnZSJS", - "CitOb3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVzcG9uc2VNZXNzYWdl", - "EiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciJECilWaXJ0", - "dWFsRGFhU2NvcmVDaGFuZ2VkTm90aWZpY2F0aW9uTWVzc2FnZRIXCg92aXJ0", - "dWFsRGFhU2NvcmUYASABKAQiMQovTm90aWZ5UHJ1bmluZ1BvaW50VVRYT1Nl", - "dE92ZXJyaWRlUmVxdWVzdE1lc3NhZ2UiVwowTm90aWZ5UHJ1bmluZ1BvaW50", - "VVRYT1NldE92ZXJyaWRlUmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEo", - "CzITLnByb3Rvd2lyZS5SUENFcnJvciIwCi5QcnVuaW5nUG9pbnRVVFhPU2V0", - "T3ZlcnJpZGVOb3RpZmljYXRpb25NZXNzYWdlIjgKNlN0b3BOb3RpZnlpbmdQ", - "cnVuaW5nUG9pbnRVVFhPU2V0T3ZlcnJpZGVSZXF1ZXN0TWVzc2FnZSJeCjdT", - "dG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VVRYT1NldE92ZXJyaWRlUmVzcG9u", - "c2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJv", - "ciIfChFCYW5SZXF1ZXN0TWVzc2FnZRIKCgJpcBgBIAEoCSI5ChJCYW5SZXNw", - "b25zZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vy", - "cm9yIiEKE1VuYmFuUmVxdWVzdE1lc3NhZ2USCgoCaXAYASABKAkiOwoUVW5i", - "YW5SZXNwb25zZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJl", - "LlJQQ0Vycm9yIhcKFUdldEluZm9SZXF1ZXN0TWVzc2FnZSKhAQoWR2V0SW5m", - "b1Jlc3BvbnNlTWVzc2FnZRINCgVwMnBJZBgBIAEoCRITCgttZW1wb29sU2l6", - "ZRgCIAEoBBIVCg1zZXJ2ZXJWZXJzaW9uGAMgASgJEhUKDWlzVXR4b0luZGV4", - "ZWQYBCABKAgSEAoIaXNTeW5jZWQYBSABKAgSIwoFZXJyb3IY6AcgASgLMhMu", - "cHJvdG93aXJlLlJQQ0Vycm9yIlUKLEVzdGltYXRlTmV0d29ya0hhc2hlc1Bl", - "clNlY29uZFJlcXVlc3RNZXNzYWdlEhIKCndpbmRvd1NpemUYASABKA0SEQoJ", - "c3RhcnRIYXNoGAIgASgJInQKLUVzdGltYXRlTmV0d29ya0hhc2hlc1BlclNl", - "Y29uZFJlc3BvbnNlTWVzc2FnZRIeChZuZXR3b3JrSGFzaGVzUGVyU2Vjb25k", - "GAEgASgEEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIm", - "CiROb3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVxdWVzdE1lc3NhZ2UiTAolTm90", - "aWZ5TmV3QmxvY2tUZW1wbGF0ZVJlc3BvbnNlTWVzc2FnZRIjCgVlcnJvchjo", - "ByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IiJQojTmV3QmxvY2tUZW1wbGF0", - "ZU5vdGlmaWNhdGlvbk1lc3NhZ2UifgoVTWVtcG9vbEVudHJ5QnlBZGRyZXNz", - "Eg8KB2FkZHJlc3MYASABKAkSKAoHc2VuZGluZxgCIAMoCzIXLnByb3Rvd2ly", - "ZS5NZW1wb29sRW50cnkSKgoJcmVjZWl2aW5nGAMgAygLMhcucHJvdG93aXJl", - "Lk1lbXBvb2xFbnRyeSJ5CipHZXRNZW1wb29sRW50cmllc0J5QWRkcmVzc2Vz", - "UmVxdWVzdE1lc3NhZ2USEQoJYWRkcmVzc2VzGAEgAygJEhkKEWluY2x1ZGVP", - "cnBoYW5Qb29sGAIgASgIEh0KFWZpbHRlclRyYW5zYWN0aW9uUG9vbBgDIAEo", - "CCKFAQorR2V0TWVtcG9vbEVudHJpZXNCeUFkZHJlc3Nlc1Jlc3BvbnNlTWVz", - "c2FnZRIxCgdlbnRyaWVzGAEgAygLMiAucHJvdG93aXJlLk1lbXBvb2xFbnRy", - "eUJ5QWRkcmVzcxIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJy", - "b3IiHQobR2V0Q29pblN1cHBseVJlcXVlc3RNZXNzYWdlIm8KHEdldENvaW5T", - "dXBwbHlSZXNwb25zZU1lc3NhZ2USEAoIbWF4U29tcGkYASABKAQSGAoQY2ly", - "Y3VsYXRpbmdTb21waRgCIAEoBBIjCgVlcnJvchjoByABKAsyEy5wcm90b3dp", - "cmUuUlBDRXJyb3JCJaoCIk1pbmluZ2NvcmUuQmxvY2tjaGFpbi5LYXNwYS5L", - "YXNwYWRiBnByb3RvMw==")); + "b3IiYwogTm90aWZ5VXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2USEQoJYWRk", + "cmVzc2VzGAEgAygJEiwKB2NvbW1hbmQYZSABKA4yGy5wcm90b3dpcmUuUnBj", + "Tm90aWZ5Q29tbWFuZCJICiFOb3RpZnlVdHhvc0NoYW5nZWRSZXNwb25zZU1l", + "c3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIosB", + "Ch9VdHhvc0NoYW5nZWROb3RpZmljYXRpb25NZXNzYWdlEjIKBWFkZGVkGAEg", + "AygLMiMucHJvdG93aXJlLlJwY1V0eG9zQnlBZGRyZXNzZXNFbnRyeRI0Cgdy", + "ZW1vdmVkGAIgAygLMiMucHJvdG93aXJlLlJwY1V0eG9zQnlBZGRyZXNzZXNF", + "bnRyeSKBAQoYUnBjVXR4b3NCeUFkZHJlc3Nlc0VudHJ5Eg8KB2FkZHJlc3MY", + "ASABKAkSKAoIb3V0cG9pbnQYAiABKAsyFi5wcm90b3dpcmUuUnBjT3V0cG9p", + "bnQSKgoJdXR4b0VudHJ5GAMgASgLMhcucHJvdG93aXJlLlJwY1V0eG9FbnRy", + "eSI8CidTdG9wTm90aWZ5aW5nVXR4b3NDaGFuZ2VkUmVxdWVzdE1lc3NhZ2US", + "EQoJYWRkcmVzc2VzGAEgAygJIk8KKFN0b3BOb3RpZnlpbmdVdHhvc0NoYW5n", + "ZWRSZXNwb25zZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJl", + "LlJQQ0Vycm9yIjYKIUdldFV0eG9zQnlBZGRyZXNzZXNSZXF1ZXN0TWVzc2Fn", + "ZRIRCglhZGRyZXNzZXMYASADKAkifwoiR2V0VXR4b3NCeUFkZHJlc3Nlc1Jl", + "c3BvbnNlTWVzc2FnZRI0CgdlbnRyaWVzGAEgAygLMiMucHJvdG93aXJlLlJw", + "Y1V0eG9zQnlBZGRyZXNzZXNFbnRyeRIjCgVlcnJvchjoByABKAsyEy5wcm90", + "b3dpcmUuUlBDRXJyb3IiNAohR2V0QmFsYW5jZUJ5QWRkcmVzc1JlcXVlc3RN", + "ZXNzYWdlEg8KB2FkZHJlc3MYASABKAkiWgoiR2V0QmFsYW5jZUJ5QWRkcmVz", + "c1Jlc3BvbnNlTWVzc2FnZRIPCgdiYWxhbmNlGAEgASgEEiMKBWVycm9yGOgH", + "IAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciI5CiRHZXRCYWxhbmNlc0J5QWRk", + "cmVzc2VzUmVxdWVzdE1lc3NhZ2USEQoJYWRkcmVzc2VzGAEgAygJImQKG1Jw", + "Y0JhbGFuY2VzQnlBZGRyZXNzZXNFbnRyeRIPCgdhZGRyZXNzGAEgASgJEg8K", + "B2JhbGFuY2UYAiABKAQSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQ", + "Q0Vycm9yIoUBCiVHZXRCYWxhbmNlc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNz", + "YWdlEjcKB2VudHJpZXMYASADKAsyJi5wcm90b3dpcmUuUnBjQmFsYW5jZXNC", + "eUFkZHJlc3Nlc0VudHJ5EiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5S", + "UENFcnJvciIgCh5HZXRTaW5rQmx1ZVNjb3JlUmVxdWVzdE1lc3NhZ2UiWQof", + "R2V0U2lua0JsdWVTY29yZVJlc3BvbnNlTWVzc2FnZRIRCglibHVlU2NvcmUY", + "ASABKAQSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIlgK", + "KE5vdGlmeVNpbmtCbHVlU2NvcmVDaGFuZ2VkUmVxdWVzdE1lc3NhZ2USLAoH", + "Y29tbWFuZBhlIAEoDjIbLnByb3Rvd2lyZS5ScGNOb3RpZnlDb21tYW5kIlAK", + "KU5vdGlmeVNpbmtCbHVlU2NvcmVDaGFuZ2VkUmVzcG9uc2VNZXNzYWdlEiMK", + "BWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciJACidTaW5rQmx1", + "ZVNjb3JlQ2hhbmdlZE5vdGlmaWNhdGlvbk1lc3NhZ2USFQoNc2lua0JsdWVT", + "Y29yZRgBIAEoBCJaCipOb3RpZnlWaXJ0dWFsRGFhU2NvcmVDaGFuZ2VkUmVx", + "dWVzdE1lc3NhZ2USLAoHY29tbWFuZBhlIAEoDjIbLnByb3Rvd2lyZS5ScGNO", + "b3RpZnlDb21tYW5kIlIKK05vdGlmeVZpcnR1YWxEYWFTY29yZUNoYW5nZWRS", + "ZXNwb25zZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQ", + "Q0Vycm9yIkQKKVZpcnR1YWxEYWFTY29yZUNoYW5nZWROb3RpZmljYXRpb25N", + "ZXNzYWdlEhcKD3ZpcnR1YWxEYWFTY29yZRgBIAEoBCJfCi9Ob3RpZnlQcnVu", + "aW5nUG9pbnRVdHhvU2V0T3ZlcnJpZGVSZXF1ZXN0TWVzc2FnZRIsCgdjb21t", + "YW5kGGUgASgOMhsucHJvdG93aXJlLlJwY05vdGlmeUNvbW1hbmQiVwowTm90", + "aWZ5UHJ1bmluZ1BvaW50VXR4b1NldE92ZXJyaWRlUmVzcG9uc2VNZXNzYWdl", + "EiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIwCi5QcnVu", + "aW5nUG9pbnRVdHhvU2V0T3ZlcnJpZGVOb3RpZmljYXRpb25NZXNzYWdlIjgK", + "NlN0b3BOb3RpZnlpbmdQcnVuaW5nUG9pbnRVdHhvU2V0T3ZlcnJpZGVSZXF1", + "ZXN0TWVzc2FnZSJeCjdTdG9wTm90aWZ5aW5nUHJ1bmluZ1BvaW50VXR4b1Nl", + "dE92ZXJyaWRlUmVzcG9uc2VNZXNzYWdlEiMKBWVycm9yGOgHIAEoCzITLnBy", + "b3Rvd2lyZS5SUENFcnJvciIfChFCYW5SZXF1ZXN0TWVzc2FnZRIKCgJpcBgB", + "IAEoCSI5ChJCYW5SZXNwb25zZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMu", + "cHJvdG93aXJlLlJQQ0Vycm9yIiEKE1VuYmFuUmVxdWVzdE1lc3NhZ2USCgoC", + "aXAYASABKAkiOwoUVW5iYW5SZXNwb25zZU1lc3NhZ2USIwoFZXJyb3IY6Acg", + "ASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIhcKFUdldEluZm9SZXF1ZXN0TWVz", + "c2FnZSLRAQoWR2V0SW5mb1Jlc3BvbnNlTWVzc2FnZRINCgVwMnBJZBgBIAEo", + "CRITCgttZW1wb29sU2l6ZRgCIAEoBBIVCg1zZXJ2ZXJWZXJzaW9uGAMgASgJ", + "EhUKDWlzVXR4b0luZGV4ZWQYBCABKAgSEAoIaXNTeW5jZWQYBSABKAgSGAoQ", + "aGFzTm90aWZ5Q29tbWFuZBgLIAEoCBIUCgxoYXNNZXNzYWdlSWQYDCABKAgS", + "IwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIlUKLEVzdGlt", + "YXRlTmV0d29ya0hhc2hlc1BlclNlY29uZFJlcXVlc3RNZXNzYWdlEhIKCndp", + "bmRvd1NpemUYASABKA0SEQoJc3RhcnRIYXNoGAIgASgJInQKLUVzdGltYXRl", + "TmV0d29ya0hhc2hlc1BlclNlY29uZFJlc3BvbnNlTWVzc2FnZRIeChZuZXR3", + "b3JrSGFzaGVzUGVyU2Vjb25kGAEgASgEEiMKBWVycm9yGOgHIAEoCzITLnBy", + "b3Rvd2lyZS5SUENFcnJvciJUCiROb3RpZnlOZXdCbG9ja1RlbXBsYXRlUmVx", + "dWVzdE1lc3NhZ2USLAoHY29tbWFuZBhlIAEoDjIbLnByb3Rvd2lyZS5ScGNO", + "b3RpZnlDb21tYW5kIkwKJU5vdGlmeU5ld0Jsb2NrVGVtcGxhdGVSZXNwb25z", + "ZU1lc3NhZ2USIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9y", + "IiUKI05ld0Jsb2NrVGVtcGxhdGVOb3RpZmljYXRpb25NZXNzYWdlIocBChhS", + "cGNNZW1wb29sRW50cnlCeUFkZHJlc3MSDwoHYWRkcmVzcxgBIAEoCRIrCgdz", + "ZW5kaW5nGAIgAygLMhoucHJvdG93aXJlLlJwY01lbXBvb2xFbnRyeRItCgly", + "ZWNlaXZpbmcYAyADKAsyGi5wcm90b3dpcmUuUnBjTWVtcG9vbEVudHJ5InkK", + "KkdldE1lbXBvb2xFbnRyaWVzQnlBZGRyZXNzZXNSZXF1ZXN0TWVzc2FnZRIR", + "CglhZGRyZXNzZXMYASADKAkSGQoRaW5jbHVkZU9ycGhhblBvb2wYAiABKAgS", + "HQoVZmlsdGVyVHJhbnNhY3Rpb25Qb29sGAMgASgIIogBCitHZXRNZW1wb29s", + "RW50cmllc0J5QWRkcmVzc2VzUmVzcG9uc2VNZXNzYWdlEjQKB2VudHJpZXMY", + "ASADKAsyIy5wcm90b3dpcmUuUnBjTWVtcG9vbEVudHJ5QnlBZGRyZXNzEiMK", + "BWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIdChtHZXRDb2lu", + "U3VwcGx5UmVxdWVzdE1lc3NhZ2UibwocR2V0Q29pblN1cHBseVJlc3BvbnNl", + "TWVzc2FnZRIQCghtYXhTb21waRgBIAEoBBIYChBjaXJjdWxhdGluZ1NvbXBp", + "GAIgASgEEiMKBWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIU", + "ChJQaW5nUmVxdWVzdE1lc3NhZ2UiOgoTUGluZ1Jlc3BvbnNlTWVzc2FnZRIj", + "CgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3Ii3gEKDlByb2Nl", + "c3NNZXRyaWNzEhcKD3Jlc2lkZW50U2V0U2l6ZRgBIAEoBBIZChF2aXJ0dWFs", + "TWVtb3J5U2l6ZRgCIAEoBBIPCgdjb3JlTnVtGAMgASgNEhAKCGNwdVVzYWdl", + "GAQgASgCEg0KBWZkTnVtGAUgASgNEhcKD2Rpc2tJb1JlYWRCeXRlcxgGIAEo", + "BBIYChBkaXNrSW9Xcml0ZUJ5dGVzGAcgASgEEhgKEGRpc2tJb1JlYWRQZXJT", + "ZWMYCCABKAISGQoRZGlza0lvV3JpdGVQZXJTZWMYCSABKAIi4wEKEUNvbm5l", + "Y3Rpb25NZXRyaWNzEhwKFGJvcnNoTGl2ZUNvbm5lY3Rpb25zGB8gASgNEh8K", + "F2JvcnNoQ29ubmVjdGlvbkF0dGVtcHRzGCAgASgEEh4KFmJvcnNoSGFuZHNo", + "YWtlRmFpbHVyZXMYISABKAQSGwoTanNvbkxpdmVDb25uZWN0aW9ucxgpIAEo", + "DRIeChZqc29uQ29ubmVjdGlvbkF0dGVtcHRzGCogASgEEh0KFWpzb25IYW5k", + "c2hha2VGYWlsdXJlcxgrIAEoBBITCgthY3RpdmVQZWVycxgzIAEoDSLKAQoQ", + "QmFuZHdpZHRoTWV0cmljcxIUCgxib3JzaEJ5dGVzVHgYPSABKAQSFAoMYm9y", + "c2hCeXRlc1J4GD4gASgEEhMKC2pzb25CeXRlc1R4GD8gASgEEhMKC2pzb25C", + "eXRlc1J4GEAgASgEEhYKDmdycGNQMnBCeXRlc1R4GEEgASgEEhYKDmdycGNQ", + "MnBCeXRlc1J4GEIgASgEEhcKD2dycGNVc2VyQnl0ZXNUeBhDIAEoBBIXCg9n", + "cnBjVXNlckJ5dGVzUngYRCABKAQi5gIKEENvbnNlbnN1c01ldHJpY3MSFwoP", + "YmxvY2tzU3VibWl0dGVkGAEgASgEEhQKDGhlYWRlckNvdW50cxgCIAEoBBIR", + "CglkZXBDb3VudHMYAyABKAQSEgoKYm9keUNvdW50cxgEIAEoBBIRCgl0eHND", + "b3VudHMYBSABKAQSGAoQY2hhaW5CbG9ja0NvdW50cxgGIAEoBBISCgptYXNz", + "Q291bnRzGAcgASgEEhIKCmJsb2NrQ291bnQYCyABKAQSEwoLaGVhZGVyQ291", + "bnQYDCABKAQSEwoLbWVtcG9vbFNpemUYDSABKAQSFgoOdGlwSGFzaGVzQ291", + "bnQYDiABKA0SEgoKZGlmZmljdWx0eRgPIAEoARIWCg5wYXN0TWVkaWFuVGlt", + "ZRgQIAEoBBIgChh2aXJ0dWFsUGFyZW50SGFzaGVzQ291bnQYESABKA0SFwoP", + "dmlydHVhbERhYVNjb3JlGBIgASgEIioKDlN0b3JhZ2VNZXRyaWNzEhgKEHN0", + "b3JhZ2VTaXplQnl0ZXMYASABKAQiOgocR2V0Q29ubmVjdGlvbnNSZXF1ZXN0", + "TWVzc2FnZRIaChJpbmNsdWRlUHJvZmlsZURhdGEYASABKAgiPwoWQ29ubmVj", + "dGlvbnNQcm9maWxlRGF0YRIQCghjcHVVc2FnZRgBIAEoARITCgttZW1vcnlV", + "c2FnZRgCIAEoBCKcAQodR2V0Q29ubmVjdGlvbnNSZXNwb25zZU1lc3NhZ2US", + "DwoHY2xpZW50cxgBIAEoDRINCgVwZWVycxgCIAEoDRI2Cgtwcm9maWxlRGF0", + "YRgDIAEoCzIhLnByb3Rvd2lyZS5Db25uZWN0aW9uc1Byb2ZpbGVEYXRhEiMK", + "BWVycm9yGOgHIAEoCzITLnByb3Rvd2lyZS5SUENFcnJvciIdChtHZXRTeXN0", + "ZW1JbmZvUmVxdWVzdE1lc3NhZ2Ui0gEKHEdldFN5c3RlbUluZm9SZXNwb25z", + "ZU1lc3NhZ2USDwoHdmVyc2lvbhgBIAEoCRIQCghzeXN0ZW1JZBgCIAEoCRIP", + "CgdnaXRIYXNoGAMgASgJEg8KB2NvcmVOdW0YBCABKA0SEwoLdG90YWxNZW1v", + "cnkYBSABKAQSDwoHZmRMaW1pdBgGIAEoDRIiChpwcm94eVNvY2tldExpbWl0", + "UGVyQ3B1Q29yZRgHIAEoDRIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUu", + "UlBDRXJyb3IisAEKGEdldE1ldHJpY3NSZXF1ZXN0TWVzc2FnZRIWCg5wcm9j", + "ZXNzTWV0cmljcxgBIAEoCBIZChFjb25uZWN0aW9uTWV0cmljcxgCIAEoCBIY", + "ChBiYW5kd2lkdGhNZXRyaWNzGAMgASgIEhgKEGNvbnNlbnN1c01ldHJpY3MY", + "BCABKAgSFgoOc3RvcmFnZU1ldHJpY3MYBSABKAgSFQoNY3VzdG9tTWV0cmlj", + "cxgGIAEoCCLhAgoZR2V0TWV0cmljc1Jlc3BvbnNlTWVzc2FnZRISCgpzZXJ2", + "ZXJUaW1lGAEgASgEEjEKDnByb2Nlc3NNZXRyaWNzGAsgASgLMhkucHJvdG93", + "aXJlLlByb2Nlc3NNZXRyaWNzEjcKEWNvbm5lY3Rpb25NZXRyaWNzGAwgASgL", + "MhwucHJvdG93aXJlLkNvbm5lY3Rpb25NZXRyaWNzEjUKEGJhbmR3aWR0aE1l", + "dHJpY3MYDSABKAsyGy5wcm90b3dpcmUuQmFuZHdpZHRoTWV0cmljcxI1ChBj", + "b25zZW5zdXNNZXRyaWNzGA4gASgLMhsucHJvdG93aXJlLkNvbnNlbnN1c01l", + "dHJpY3MSMQoOc3RvcmFnZU1ldHJpY3MYDyABKAsyGS5wcm90b3dpcmUuU3Rv", + "cmFnZU1ldHJpY3MSIwoFZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vy", + "cm9yIh0KG0dldFNlcnZlckluZm9SZXF1ZXN0TWVzc2FnZSLdAQocR2V0U2Vy", + "dmVySW5mb1Jlc3BvbnNlTWVzc2FnZRIVCg1ycGNBcGlWZXJzaW9uGAEgASgN", + "EhYKDnJwY0FwaVJldmlzaW9uGAIgASgNEhUKDXNlcnZlclZlcnNpb24YAyAB", + "KAkSEQoJbmV0d29ya0lkGAQgASgJEhQKDGhhc1V0eG9JbmRleBgFIAEoCBIQ", + "Cghpc1N5bmNlZBgGIAEoCBIXCg92aXJ0dWFsRGFhU2NvcmUYByABKAQSIwoF", + "ZXJyb3IY6AcgASgLMhMucHJvdG93aXJlLlJQQ0Vycm9yIh0KG0dldFN5bmNT", + "dGF0dXNSZXF1ZXN0TWVzc2FnZSJVChxHZXRTeW5jU3RhdHVzUmVzcG9uc2VN", + "ZXNzYWdlEhAKCGlzU3luY2VkGAEgASgIEiMKBWVycm9yGOgHIAEoCzITLnBy", + "b3Rvd2lyZS5SUENFcnJvciI/CipHZXREYWFTY29yZVRpbWVzdGFtcEVzdGlt", + "YXRlUmVxdWVzdE1lc3NhZ2USEQoJZGFhU2NvcmVzGAEgAygEImYKK0dldERh", + "YVNjb3JlVGltZXN0YW1wRXN0aW1hdGVSZXNwb25zZU1lc3NhZ2USEgoKdGlt", + "ZXN0YW1wcxgBIAMoBBIjCgVlcnJvchjoByABKAsyEy5wcm90b3dpcmUuUlBD", + "RXJyb3IiPQoQUnBjRmVlcmF0ZUJ1Y2tldBIPCgdmZWVyYXRlGAEgASgBEhgK", + "EGVzdGltYXRlZFNlY29uZHMYAiABKAEiqgEKDlJwY0ZlZUVzdGltYXRlEjMK", + "DnByaW9yaXR5QnVja2V0GAEgASgLMhsucHJvdG93aXJlLlJwY0ZlZXJhdGVC", + "dWNrZXQSMgoNbm9ybWFsQnVja2V0cxgCIAMoCzIbLnByb3Rvd2lyZS5ScGNG", + "ZWVyYXRlQnVja2V0Ei8KCmxvd0J1Y2tldHMYAyADKAsyGy5wcm90b3dpcmUu", + "UnBjRmVlcmF0ZUJ1Y2tldCKJAgolUnBjRmVlRXN0aW1hdGVWZXJib3NlRXhw", + "ZXJpbWVudGFsRGF0YRIlCh1tZW1wb29sUmVhZHlUcmFuc2FjdGlvbnNDb3Vu", + "dBgBIAEoBBIpCiFtZW1wb29sUmVhZHlUcmFuc2FjdGlvbnNUb3RhbE1hc3MY", + "AiABKAQSHAoUbmV0d29ya01hc3NQZXJTZWNvbmQYAyABKAQSIwobbmV4dEJs", + "b2NrVGVtcGxhdGVGZWVyYXRlTWluGAsgASgBEiYKHm5leHRCbG9ja1RlbXBs", + "YXRlRmVlcmF0ZU1lZGlhbhgMIAEoARIjChtuZXh0QmxvY2tUZW1wbGF0ZUZl", + "ZXJhdGVNYXgYDSABKAEiHgocR2V0RmVlRXN0aW1hdGVSZXF1ZXN0TWVzc2Fn", + "ZSJxCh1HZXRGZWVFc3RpbWF0ZVJlc3BvbnNlTWVzc2FnZRIrCghlc3RpbWF0", + "ZRgBIAEoCzIZLnByb3Rvd2lyZS5ScGNGZWVFc3RpbWF0ZRIjCgVlcnJvchjo", + "ByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IiOwooR2V0RmVlRXN0aW1hdGVF", + "eHBlcmltZW50YWxSZXF1ZXN0TWVzc2FnZRIPCgd2ZXJib3NlGAEgASgIIsAB", + "CilHZXRGZWVFc3RpbWF0ZUV4cGVyaW1lbnRhbFJlc3BvbnNlTWVzc2FnZRIr", + "Cghlc3RpbWF0ZRgBIAEoCzIZLnByb3Rvd2lyZS5ScGNGZWVFc3RpbWF0ZRJB", + "Cgd2ZXJib3NlGAIgASgLMjAucHJvdG93aXJlLlJwY0ZlZUVzdGltYXRlVmVy", + "Ym9zZUV4cGVyaW1lbnRhbERhdGESIwoFZXJyb3IY6AcgASgLMhMucHJvdG93", + "aXJlLlJQQ0Vycm9yIjIKIkdldEN1cnJlbnRCbG9ja0NvbG9yUmVxdWVzdE1l", + "c3NhZ2USDAoEaGFzaBgBIAEoCSJYCiNHZXRDdXJyZW50QmxvY2tDb2xvclJl", + "c3BvbnNlTWVzc2FnZRIMCgRibHVlGAEgASgIEiMKBWVycm9yGOgHIAEoCzIT", + "LnByb3Rvd2lyZS5SUENFcnJvciJVCiJHZXRVdHhvUmV0dXJuQWRkcmVzc1Jl", + "cXVlc3RNZXNzYWdlEgwKBHR4aWQYASABKAkSIQoZYWNjZXB0aW5nX2Jsb2Nr", + "X2RhYV9zY29yZRgCIAEoBCJiCiNHZXRVdHhvUmV0dXJuQWRkcmVzc1Jlc3Bv", + "bnNlTWVzc2FnZRIWCg5yZXR1cm5fYWRkcmVzcxgBIAEoCRIjCgVlcnJvchjo", + "ByABKAsyEy5wcm90b3dpcmUuUlBDRXJyb3IqNQoQUnBjTm90aWZ5Q29tbWFu", + "ZBIQCgxOT1RJRllfU1RBUlQQABIPCgtOT1RJRllfU1RPUBABQiWqAiJNaW5p", + "bmdjb3JlLkJsb2NrY2hhaW4uS2FzcGEuS2FzcGFkYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError), global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError.Parser, new[]{ "Message" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock.Parser, new[]{ "Header", "Transactions", "VerboseData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockHeader), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockHeader.Parser, new[]{ "Version", "Parents", "HashMerkleRoot", "AcceptedIdMerkleRoot", "UtxoCommitment", "Timestamp", "Bits", "Nonce", "DaaScore", "BlueWork", "PruningPoint", "BlueScore" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockLevelParents), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockLevelParents.Parser, new[]{ "ParentHashes" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockVerboseData), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockVerboseData.Parser, new[]{ "Hash", "Difficulty", "SelectedParentHash", "TransactionIds", "IsHeaderOnly", "BlueScore", "ChildrenHashes", "MergeSetBluesHashes", "MergeSetRedsHashes", "IsChainBlock" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction.Parser, new[]{ "Version", "Inputs", "Outputs", "LockTime", "SubnetworkId", "Gas", "Payload", "VerboseData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction.Parser, new[]{ "Version", "Inputs", "Outputs", "LockTime", "SubnetworkId", "Gas", "Payload", "VerboseData", "Mass" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInput), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInput.Parser, new[]{ "PreviousOutpoint", "SignatureScript", "Sequence", "SigOpCount", "VerboseData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey.Parser, new[]{ "Version", "ScriptPublicKey" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutput), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutput.Parser, new[]{ "Amount", "ScriptPublicKey", "VerboseData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint.Parser, new[]{ "TransactionId", "Index" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry.Parser, new[]{ "Amount", "ScriptPublicKey", "BlockDaaScore", "IsCoinbase" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData.Parser, new[]{ "TransactionId", "Hash", "Mass", "BlockHash", "BlockTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData.Parser, new[]{ "TransactionId", "Hash", "ComputeMass", "BlockHash", "BlockTime" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInputVerboseData), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInputVerboseData.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutputVerboseData), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutputVerboseData.Parser, new[]{ "ScriptPublicKeyType", "ScriptPublicKeyAddress" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentNetworkRequestMessage.Parser, null, null, null, null, null), @@ -277,19 +379,19 @@ static RpcReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Parser, new[]{ "RejectReason", "Error" }, null, new[]{ typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateRequestMessage.Parser, new[]{ "PayAddress", "ExtraData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockTemplateResponseMessage.Parser, new[]{ "Block", "IsSynced", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedRequestMessage.Parser, new[]{ "Command" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyBlockAddedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.BlockAddedNotificationMessage.Parser, new[]{ "Block" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesRequestMessage.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesResponseMessage.Parser, new[]{ "Addresses", "BannedAddresses", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesKnownAddressMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesKnownAddressMessage.Parser, new[]{ "Addr" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSelectedTipHashResponseMessage.Parser, new[]{ "SelectedTipHash", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkResponseMessage.Parser, new[]{ "Sink", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryRequestMessage.Parser, new[]{ "TxId", "IncludeOrphanPool", "FilterTransactionPool" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntryResponseMessage.Parser, new[]{ "Entry", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesRequestMessage.Parser, new[]{ "IncludeOrphanPool", "FilterTransactionPool" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesResponseMessage.Parser, new[]{ "Entries", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry.Parser, new[]{ "Fee", "Transaction", "IsOrphan" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry.Parser, new[]{ "Fee", "Transaction", "IsOrphan" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoRequestMessage.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoResponseMessage.Parser, new[]{ "Infos", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoMessage.Parser, new[]{ "Id", "Address", "LastPingDuration", "IsOutbound", "TimeOffset", "UserAgent", "AdvertisedProtocolVersion", "TimeConnected", "IsIbdPeer" }, null, null, null, null), @@ -297,36 +399,38 @@ static RpcReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.AddPeerResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionRequestMessage.Parser, new[]{ "Transaction", "AllowOrphan" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionResponseMessage.Parser, new[]{ "TransactionId", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedRequestMessage.Parser, new[]{ "IncludeAcceptedTransactionIds" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentChainChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentChainChangedNotificationMessage.Parser, new[]{ "RemovedChainBlockHashes", "AddedChainBlockHashes", "AcceptedTransactionIds" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementRequestMessage.Parser, new[]{ "Transaction" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitTransactionReplacementResponseMessage.Parser, new[]{ "TransactionId", "ReplacedTransaction", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedRequestMessage.Parser, new[]{ "IncludeAcceptedTransactionIds", "Command" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualChainChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualChainChangedNotificationMessage.Parser, new[]{ "RemovedChainBlockHashes", "AddedChainBlockHashes", "AcceptedTransactionIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockRequestMessage.Parser, new[]{ "Hash", "IncludeTransactions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockResponseMessage.Parser, new[]{ "Block", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkRequestMessage.Parser, new[]{ "SubnetworkId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSubnetworkResponseMessage.Parser, new[]{ "GasLimit", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockRequestMessage.Parser, new[]{ "StartHash", "IncludeAcceptedTransactionIds" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.AcceptedTransactionIds), global::Miningcore.Blockchain.Kaspa.Kaspad.AcceptedTransactionIds.Parser, new[]{ "AcceptingBlockHash", "AcceptedTransactionIds_" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentChainFromBlockResponseMessage.Parser, new[]{ "RemovedChainBlockHashes", "AddedChainBlockHashes", "AcceptedTransactionIds", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockRequestMessage.Parser, new[]{ "StartHash", "IncludeAcceptedTransactionIds", "MinConfirmationCount" }, new[]{ "MinConfirmationCount" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcAcceptedTransactionIds), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcAcceptedTransactionIds.Parser, new[]{ "AcceptingBlockHash", "AcceptedTransactionIds" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualChainFromBlockResponseMessage.Parser, new[]{ "RemovedChainBlockHashes", "AddedChainBlockHashes", "AcceptedTransactionIds", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksRequestMessage.Parser, new[]{ "LowHash", "IncludeBlocks", "IncludeTransactions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlocksResponseMessage.Parser, new[]{ "BlockHashes", "Blocks", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountRequestMessage.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockCountResponseMessage.Parser, new[]{ "BlockCount", "HeaderCount", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage.Parser, new[]{ "NetworkName", "BlockCount", "HeaderCount", "TipHashes", "Difficulty", "PastMedianTime", "VirtualParentHashes", "PruningPointHash", "VirtualDaaScore", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBlockDagInfoResponseMessage.Parser, new[]{ "NetworkName", "BlockCount", "HeaderCount", "TipHashes", "Difficulty", "PastMedianTime", "VirtualParentHashes", "PruningPointHash", "VirtualDaaScore", "Sink", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictRequestMessage.Parser, new[]{ "FinalityBlockHash" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.ResolveFinalityConflictResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictsResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictRequestMessage.Parser, new[]{ "Command" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyFinalityConflictResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictNotificationMessage.Parser, new[]{ "ViolatingBlockHash" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictResolvedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.FinalityConflictResolvedNotificationMessage.Parser, new[]{ "FinalityBlockHash" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.ShutDownResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.ShutdownResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersRequestMessage.Parser, new[]{ "StartHash", "Limit", "IsAscending" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetHeadersResponseMessage.Parser, new[]{ "Headers", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage.Parser, new[]{ "Addresses" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedRequestMessage.Parser, new[]{ "Addresses", "Command" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyUtxosChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosChangedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosChangedNotificationMessage.Parser, new[]{ "Added", "Removed" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosByAddressesEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosByAddressesEntry.Parser, new[]{ "Address", "Outpoint", "UtxoEntry" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxosByAddressesEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxosByAddressesEntry.Parser, new[]{ "Address", "Outpoint", "UtxoEntry" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedRequestMessage.Parser, new[]{ "Addresses" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingUtxosChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxosByAddressesRequestMessage.Parser, new[]{ "Addresses" }, null, null, null, null), @@ -334,65 +438,113 @@ static RpcReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressRequestMessage.Parser, new[]{ "Address" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalanceByAddressResponseMessage.Parser, new[]{ "Balance", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesRequestMessage.Parser, new[]{ "Addresses" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.BalancesByAddressEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.BalancesByAddressEntry.Parser, new[]{ "Address", "Balance", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBalancesByAddressesEntry), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBalancesByAddressesEntry.Parser, new[]{ "Address", "Balance", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetBalancesByAddressesResponseMessage.Parser, new[]{ "Entries", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetVirtualSelectedParentBlueScoreResponseMessage.Parser, new[]{ "BlueScore", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualSelectedParentBlueScoreChangedNotificationMessage.Parser, new[]{ "VirtualSelectedParentBlueScore" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSinkBlueScoreResponseMessage.Parser, new[]{ "BlueScore", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedRequestMessage.Parser, new[]{ "Command" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifySinkBlueScoreChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.SinkBlueScoreChangedNotificationMessage.Parser, new[]{ "SinkBlueScore" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedRequestMessage.Parser, new[]{ "Command" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyVirtualDaaScoreChangedResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.VirtualDaaScoreChangedNotificationMessage.Parser, new[]{ "VirtualDaaScore" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUTXOSetOverrideResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUTXOSetOverrideNotificationMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUTXOSetOverrideResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideRequestMessage.Parser, new[]{ "Command" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyPruningPointUtxoSetOverrideResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.PruningPointUtxoSetOverrideNotificationMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.StopNotifyingPruningPointUtxoSetOverrideResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.BanRequestMessage.Parser, new[]{ "Ip" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.BanResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.BanResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanRequestMessage.Parser, new[]{ "Ip" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.UnbanResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage.Parser, new[]{ "P2PId", "MempoolSize", "ServerVersion", "IsUtxoIndexed", "IsSynced", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetInfoResponseMessage.Parser, new[]{ "P2PId", "MempoolSize", "ServerVersion", "IsUtxoIndexed", "IsSynced", "HasNotifyCommand", "HasMessageId", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondRequestMessage.Parser, new[]{ "WindowSize", "StartHash" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.EstimateNetworkHashesPerSecondResponseMessage.Parser, new[]{ "NetworkHashesPerSecond", "Error" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateRequestMessage.Parser, new[]{ "Command" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NotifyNewBlockTemplateResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.NewBlockTemplateNotificationMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntryByAddress), global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntryByAddress.Parser, new[]{ "Address", "Sending", "Receiving" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntryByAddress), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntryByAddress.Parser, new[]{ "Address", "Sending", "Receiving" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesRequestMessage.Parser, new[]{ "Addresses", "IncludeOrphanPool", "FilterTransactionPool" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMempoolEntriesByAddressesResponseMessage.Parser, new[]{ "Entries", "Error" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyRequestMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage.Parser, new[]{ "MaxSompi", "CirculatingSompi", "Error" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetCoinSupplyResponseMessage.Parser, new[]{ "MaxSompi", "CirculatingSompi", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.PingRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.PingResponseMessage.Parser, new[]{ "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics), global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics.Parser, new[]{ "ResidentSetSize", "VirtualMemorySize", "CoreNum", "CpuUsage", "FdNum", "DiskIoReadBytes", "DiskIoWriteBytes", "DiskIoReadPerSec", "DiskIoWritePerSec" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics), global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics.Parser, new[]{ "BorshLiveConnections", "BorshConnectionAttempts", "BorshHandshakeFailures", "JsonLiveConnections", "JsonConnectionAttempts", "JsonHandshakeFailures", "ActivePeers" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics), global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics.Parser, new[]{ "BorshBytesTx", "BorshBytesRx", "JsonBytesTx", "JsonBytesRx", "GrpcP2PBytesTx", "GrpcP2PBytesRx", "GrpcUserBytesTx", "GrpcUserBytesRx" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics), global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics.Parser, new[]{ "BlocksSubmitted", "HeaderCounts", "DepCounts", "BodyCounts", "TxsCounts", "ChainBlockCounts", "MassCounts", "BlockCount", "HeaderCount", "MempoolSize", "TipHashesCount", "Difficulty", "PastMedianTime", "VirtualParentHashesCount", "VirtualDaaScore" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics), global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics.Parser, new[]{ "StorageSizeBytes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsRequestMessage.Parser, new[]{ "IncludeProfileData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData), global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData.Parser, new[]{ "CpuUsage", "MemoryUsage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectionsResponseMessage.Parser, new[]{ "Clients", "Peers", "ProfileData", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSystemInfoResponseMessage.Parser, new[]{ "Version", "SystemId", "GitHash", "CoreNum", "TotalMemory", "FdLimit", "ProxySocketLimitPerCpuCore", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsRequestMessage.Parser, new[]{ "ProcessMetrics", "ConnectionMetrics", "BandwidthMetrics", "ConsensusMetrics", "StorageMetrics", "CustomMetrics" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetMetricsResponseMessage.Parser, new[]{ "ServerTime", "ProcessMetrics", "ConnectionMetrics", "BandwidthMetrics", "ConsensusMetrics", "StorageMetrics", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetServerInfoResponseMessage.Parser, new[]{ "RpcApiVersion", "RpcApiRevision", "ServerVersion", "NetworkId", "HasUtxoIndex", "IsSynced", "VirtualDaaScore", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetSyncStatusResponseMessage.Parser, new[]{ "IsSynced", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateRequestMessage.Parser, new[]{ "DaaScores" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetDaaScoreTimestampEstimateResponseMessage.Parser, new[]{ "Timestamps", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket.Parser, new[]{ "Feerate", "EstimatedSeconds" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate.Parser, new[]{ "PriorityBucket", "NormalBuckets", "LowBuckets" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData), global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData.Parser, new[]{ "MempoolReadyTransactionsCount", "MempoolReadyTransactionsTotalMass", "NetworkMassPerSecond", "NextBlockTemplateFeerateMin", "NextBlockTemplateFeerateMedian", "NextBlockTemplateFeerateMax" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateRequestMessage.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateResponseMessage.Parser, new[]{ "Estimate", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalRequestMessage.Parser, new[]{ "Verbose" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetFeeEstimateExperimentalResponseMessage.Parser, new[]{ "Estimate", "Verbose", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorRequestMessage.Parser, new[]{ "Hash" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetCurrentBlockColorResponseMessage.Parser, new[]{ "Blue", "Error" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressRequestMessage.Parser, new[]{ "Txid", "AcceptingBlockDaaScore" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage), global::Miningcore.Blockchain.Kaspa.Kaspad.GetUtxoReturnAddressResponseMessage.Parser, new[]{ "ReturnAddress", "Error" }, null, null, null, null) })); } #endregion } + #region Enums + public enum RpcNotifyCommand { + [pbr::OriginalName("NOTIFY_START")] NotifyStart = 0, + [pbr::OriginalName("NOTIFY_STOP")] NotifyStop = 1, + } + + #endregion + #region Messages /// /// RPCError represents a generic non-internal error. /// /// Receivers of any ResponseMessage are expected to check whether its error field is not null. /// - public sealed partial class RPCError : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RPCError : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RPCError()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RPCError() { OnConstruction(); } @@ -400,12 +552,14 @@ public RPCError() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RPCError(RPCError other) : this() { message_ = other.message_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RPCError Clone() { return new RPCError(this); } @@ -414,6 +568,7 @@ public RPCError Clone() { public const int MessageFieldNumber = 1; private string message_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Message { get { return message_; } set { @@ -422,11 +577,13 @@ public string Message { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RPCError); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RPCError other) { if (ReferenceEquals(other, null)) { return false; @@ -439,6 +596,7 @@ public bool Equals(RPCError other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Message.Length != 0) hash ^= Message.GetHashCode(); @@ -449,12 +607,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Message.Length != 0) { output.WriteRawTag(10); output.WriteString(Message); @@ -462,9 +625,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Message.Length != 0) { @@ -477,6 +656,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RPCError other) { if (other == null) { return; @@ -488,10 +668,18 @@ public void MergeFrom(RPCError other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -501,27 +689,60 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Message = input.ReadString(); + break; + } + } + } + } + #endif + } - public sealed partial class RpcBlock : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcBlock : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcBlock()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlock() { OnConstruction(); } @@ -529,6 +750,7 @@ public RpcBlock() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlock(RpcBlock other) : this() { header_ = other.header_ != null ? other.header_.Clone() : null; transactions_ = other.transactions_.Clone(); @@ -537,6 +759,7 @@ public RpcBlock(RpcBlock other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlock Clone() { return new RpcBlock(this); } @@ -545,6 +768,7 @@ public RpcBlock Clone() { public const int HeaderFieldNumber = 1; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockHeader header_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockHeader Header { get { return header_; } set { @@ -558,6 +782,7 @@ public RpcBlock Clone() { = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction.Parser); private readonly pbc::RepeatedField transactions_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Transactions { get { return transactions_; } } @@ -566,6 +791,7 @@ public RpcBlock Clone() { public const int VerboseDataFieldNumber = 3; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockVerboseData verboseData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockVerboseData VerboseData { get { return verboseData_; } set { @@ -574,11 +800,13 @@ public RpcBlock Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcBlock); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcBlock other) { if (ReferenceEquals(other, null)) { return false; @@ -593,6 +821,7 @@ public bool Equals(RpcBlock other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (header_ != null) hash ^= Header.GetHashCode(); @@ -605,12 +834,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (header_ != null) { output.WriteRawTag(10); output.WriteMessage(Header); @@ -623,9 +857,30 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (header_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Header); + } + transactions_.WriteTo(ref output, _repeated_transactions_codec); + if (verboseData_ != null) { + output.WriteRawTag(26); + output.WriteMessage(VerboseData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (header_ != null) { @@ -642,6 +897,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcBlock other) { if (other == null) { return; @@ -663,10 +919,18 @@ public void MergeFrom(RpcBlock other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -690,27 +954,74 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (header_ == null) { + Header = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockHeader(); + } + input.ReadMessage(Header); + break; + } + case 18: { + transactions_.AddEntriesFrom(ref input, _repeated_transactions_codec); + break; + } + case 26: { + if (verboseData_ == null) { + VerboseData = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockVerboseData(); + } + input.ReadMessage(VerboseData); + break; + } + } + } } + #endif } - public sealed partial class RpcBlockHeader : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcBlockHeader : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcBlockHeader()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockHeader() { OnConstruction(); } @@ -718,6 +1029,7 @@ public RpcBlockHeader() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockHeader(RpcBlockHeader other) : this() { version_ = other.version_; parents_ = other.parents_.Clone(); @@ -735,6 +1047,7 @@ public RpcBlockHeader(RpcBlockHeader other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockHeader Clone() { return new RpcBlockHeader(this); } @@ -743,6 +1056,7 @@ public RpcBlockHeader Clone() { public const int VersionFieldNumber = 1; private uint version_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Version { get { return version_; } set { @@ -756,6 +1070,7 @@ public uint Version { = pb::FieldCodec.ForMessage(98, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlockLevelParents.Parser); private readonly pbc::RepeatedField parents_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Parents { get { return parents_; } } @@ -764,6 +1079,7 @@ public uint Version { public const int HashMerkleRootFieldNumber = 3; private string hashMerkleRoot_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string HashMerkleRoot { get { return hashMerkleRoot_; } set { @@ -775,6 +1091,7 @@ public string HashMerkleRoot { public const int AcceptedIdMerkleRootFieldNumber = 4; private string acceptedIdMerkleRoot_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AcceptedIdMerkleRoot { get { return acceptedIdMerkleRoot_; } set { @@ -786,6 +1103,7 @@ public string AcceptedIdMerkleRoot { public const int UtxoCommitmentFieldNumber = 5; private string utxoCommitment_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UtxoCommitment { get { return utxoCommitment_; } set { @@ -797,6 +1115,7 @@ public string UtxoCommitment { public const int TimestampFieldNumber = 6; private long timestamp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Timestamp { get { return timestamp_; } set { @@ -808,6 +1127,7 @@ public long Timestamp { public const int BitsFieldNumber = 7; private uint bits_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Bits { get { return bits_; } set { @@ -819,6 +1139,7 @@ public uint Bits { public const int NonceFieldNumber = 8; private ulong nonce_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Nonce { get { return nonce_; } set { @@ -830,6 +1151,7 @@ public ulong Nonce { public const int DaaScoreFieldNumber = 9; private ulong daaScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong DaaScore { get { return daaScore_; } set { @@ -841,6 +1163,7 @@ public ulong DaaScore { public const int BlueWorkFieldNumber = 10; private string blueWork_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BlueWork { get { return blueWork_; } set { @@ -852,6 +1175,7 @@ public string BlueWork { public const int PruningPointFieldNumber = 14; private string pruningPoint_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PruningPoint { get { return pruningPoint_; } set { @@ -863,6 +1187,7 @@ public string PruningPoint { public const int BlueScoreFieldNumber = 13; private ulong blueScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong BlueScore { get { return blueScore_; } set { @@ -871,11 +1196,13 @@ public ulong BlueScore { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcBlockHeader); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcBlockHeader other) { if (ReferenceEquals(other, null)) { return false; @@ -899,6 +1226,7 @@ public bool Equals(RpcBlockHeader other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Version != 0) hash ^= Version.GetHashCode(); @@ -920,12 +1248,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Version != 0) { output.WriteRawTag(8); output.WriteUInt32(Version); @@ -974,9 +1307,66 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Version != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Version); + } + if (HashMerkleRoot.Length != 0) { + output.WriteRawTag(26); + output.WriteString(HashMerkleRoot); + } + if (AcceptedIdMerkleRoot.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AcceptedIdMerkleRoot); + } + if (UtxoCommitment.Length != 0) { + output.WriteRawTag(42); + output.WriteString(UtxoCommitment); + } + if (Timestamp != 0L) { + output.WriteRawTag(48); + output.WriteInt64(Timestamp); + } + if (Bits != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Bits); + } + if (Nonce != 0UL) { + output.WriteRawTag(64); + output.WriteUInt64(Nonce); + } + if (DaaScore != 0UL) { + output.WriteRawTag(72); + output.WriteUInt64(DaaScore); + } + if (BlueWork.Length != 0) { + output.WriteRawTag(82); + output.WriteString(BlueWork); + } + parents_.WriteTo(ref output, _repeated_parents_codec); + if (BlueScore != 0UL) { + output.WriteRawTag(104); + output.WriteUInt64(BlueScore); + } + if (PruningPoint.Length != 0) { + output.WriteRawTag(114); + output.WriteString(PruningPoint); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Version != 0) { @@ -1020,6 +1410,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcBlockHeader other) { if (other == null) { return; @@ -1062,10 +1453,18 @@ public void MergeFrom(RpcBlockHeader other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1119,27 +1518,104 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Version = input.ReadUInt32(); + break; + } + case 26: { + HashMerkleRoot = input.ReadString(); + break; + } + case 34: { + AcceptedIdMerkleRoot = input.ReadString(); + break; + } + case 42: { + UtxoCommitment = input.ReadString(); + break; + } + case 48: { + Timestamp = input.ReadInt64(); + break; + } + case 56: { + Bits = input.ReadUInt32(); + break; + } + case 64: { + Nonce = input.ReadUInt64(); + break; + } + case 72: { + DaaScore = input.ReadUInt64(); + break; + } + case 82: { + BlueWork = input.ReadString(); + break; + } + case 98: { + parents_.AddEntriesFrom(ref input, _repeated_parents_codec); + break; + } + case 104: { + BlueScore = input.ReadUInt64(); + break; + } + case 114: { + PruningPoint = input.ReadString(); + break; + } + } + } } + #endif } - public sealed partial class RpcBlockLevelParents : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcBlockLevelParents : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcBlockLevelParents()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockLevelParents() { OnConstruction(); } @@ -1147,12 +1623,14 @@ public RpcBlockLevelParents() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockLevelParents(RpcBlockLevelParents other) : this() { parentHashes_ = other.parentHashes_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockLevelParents Clone() { return new RpcBlockLevelParents(this); } @@ -1163,16 +1641,19 @@ public RpcBlockLevelParents Clone() { = pb::FieldCodec.ForString(10); private readonly pbc::RepeatedField parentHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ParentHashes { get { return parentHashes_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcBlockLevelParents); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcBlockLevelParents other) { if (ReferenceEquals(other, null)) { return false; @@ -1185,6 +1666,7 @@ public bool Equals(RpcBlockLevelParents other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= parentHashes_.GetHashCode(); @@ -1195,19 +1677,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else parentHashes_.WriteTo(output, _repeated_parentHashes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + parentHashes_.WriteTo(ref output, _repeated_parentHashes_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += parentHashes_.CalculateSize(_repeated_parentHashes_codec); @@ -1218,6 +1718,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcBlockLevelParents other) { if (other == null) { return; @@ -1227,10 +1728,18 @@ public void MergeFrom(RpcBlockLevelParents other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1240,27 +1749,60 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + parentHashes_.AddEntriesFrom(ref input, _repeated_parentHashes_codec); + break; + } + } + } } + #endif } - public sealed partial class RpcBlockVerboseData : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcBlockVerboseData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcBlockVerboseData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockVerboseData() { OnConstruction(); } @@ -1268,6 +1810,7 @@ public RpcBlockVerboseData() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockVerboseData(RpcBlockVerboseData other) : this() { hash_ = other.hash_; difficulty_ = other.difficulty_; @@ -1283,6 +1826,7 @@ public RpcBlockVerboseData(RpcBlockVerboseData other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcBlockVerboseData Clone() { return new RpcBlockVerboseData(this); } @@ -1291,6 +1835,7 @@ public RpcBlockVerboseData Clone() { public const int HashFieldNumber = 1; private string hash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Hash { get { return hash_; } set { @@ -1302,6 +1847,7 @@ public string Hash { public const int DifficultyFieldNumber = 11; private double difficulty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public double Difficulty { get { return difficulty_; } set { @@ -1313,6 +1859,7 @@ public double Difficulty { public const int SelectedParentHashFieldNumber = 13; private string selectedParentHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SelectedParentHash { get { return selectedParentHash_; } set { @@ -1326,6 +1873,7 @@ public string SelectedParentHash { = pb::FieldCodec.ForString(114); private readonly pbc::RepeatedField transactionIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TransactionIds { get { return transactionIds_; } } @@ -1334,6 +1882,7 @@ public string SelectedParentHash { public const int IsHeaderOnlyFieldNumber = 15; private bool isHeaderOnly_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsHeaderOnly { get { return isHeaderOnly_; } set { @@ -1345,6 +1894,7 @@ public bool IsHeaderOnly { public const int BlueScoreFieldNumber = 16; private ulong blueScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong BlueScore { get { return blueScore_; } set { @@ -1358,6 +1908,7 @@ public ulong BlueScore { = pb::FieldCodec.ForString(138); private readonly pbc::RepeatedField childrenHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ChildrenHashes { get { return childrenHashes_; } } @@ -1368,6 +1919,7 @@ public ulong BlueScore { = pb::FieldCodec.ForString(146); private readonly pbc::RepeatedField mergeSetBluesHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MergeSetBluesHashes { get { return mergeSetBluesHashes_; } } @@ -1378,6 +1930,7 @@ public ulong BlueScore { = pb::FieldCodec.ForString(154); private readonly pbc::RepeatedField mergeSetRedsHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MergeSetRedsHashes { get { return mergeSetRedsHashes_; } } @@ -1386,6 +1939,7 @@ public ulong BlueScore { public const int IsChainBlockFieldNumber = 20; private bool isChainBlock_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsChainBlock { get { return isChainBlock_; } set { @@ -1394,11 +1948,13 @@ public bool IsChainBlock { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcBlockVerboseData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcBlockVerboseData other) { if (ReferenceEquals(other, null)) { return false; @@ -1420,6 +1976,7 @@ public bool Equals(RpcBlockVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Hash.Length != 0) hash ^= Hash.GetHashCode(); @@ -1439,12 +1996,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Hash.Length != 0) { output.WriteRawTag(10); output.WriteString(Hash); @@ -1476,9 +2038,49 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Hash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Hash); + } + if (Difficulty != 0D) { + output.WriteRawTag(89); + output.WriteDouble(Difficulty); + } + if (SelectedParentHash.Length != 0) { + output.WriteRawTag(106); + output.WriteString(SelectedParentHash); + } + transactionIds_.WriteTo(ref output, _repeated_transactionIds_codec); + if (IsHeaderOnly != false) { + output.WriteRawTag(120); + output.WriteBool(IsHeaderOnly); + } + if (BlueScore != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(BlueScore); + } + childrenHashes_.WriteTo(ref output, _repeated_childrenHashes_codec); + mergeSetBluesHashes_.WriteTo(ref output, _repeated_mergeSetBluesHashes_codec); + mergeSetRedsHashes_.WriteTo(ref output, _repeated_mergeSetRedsHashes_codec); + if (IsChainBlock != false) { + output.WriteRawTag(160, 1); + output.WriteBool(IsChainBlock); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Hash.Length != 0) { @@ -1510,6 +2112,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcBlockVerboseData other) { if (other == null) { return; @@ -1540,10 +2143,18 @@ public void MergeFrom(RpcBlockVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1589,34 +2200,104 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - public sealed partial class RpcTransaction : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransaction()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[5]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RpcTransaction() { - OnConstruction(); - } - + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Hash = input.ReadString(); + break; + } + case 89: { + Difficulty = input.ReadDouble(); + break; + } + case 106: { + SelectedParentHash = input.ReadString(); + break; + } + case 114: { + transactionIds_.AddEntriesFrom(ref input, _repeated_transactionIds_codec); + break; + } + case 120: { + IsHeaderOnly = input.ReadBool(); + break; + } + case 128: { + BlueScore = input.ReadUInt64(); + break; + } + case 138: { + childrenHashes_.AddEntriesFrom(ref input, _repeated_childrenHashes_codec); + break; + } + case 146: { + mergeSetBluesHashes_.AddEntriesFrom(ref input, _repeated_mergeSetBluesHashes_codec); + break; + } + case 154: { + mergeSetRedsHashes_.AddEntriesFrom(ref input, _repeated_mergeSetRedsHashes_codec); + break; + } + case 160: { + IsChainBlock = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcTransaction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransaction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcTransaction() { + OnConstruction(); + } + partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransaction(RpcTransaction other) : this() { version_ = other.version_; inputs_ = other.inputs_.Clone(); @@ -1626,10 +2307,12 @@ public RpcTransaction(RpcTransaction other) : this() { gas_ = other.gas_; payload_ = other.payload_; verboseData_ = other.verboseData_ != null ? other.verboseData_.Clone() : null; + mass_ = other.mass_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransaction Clone() { return new RpcTransaction(this); } @@ -1638,6 +2321,7 @@ public RpcTransaction Clone() { public const int VersionFieldNumber = 1; private uint version_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Version { get { return version_; } set { @@ -1651,6 +2335,7 @@ public uint Version { = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInput.Parser); private readonly pbc::RepeatedField inputs_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Inputs { get { return inputs_; } } @@ -1661,6 +2346,7 @@ public uint Version { = pb::FieldCodec.ForMessage(26, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutput.Parser); private readonly pbc::RepeatedField outputs_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Outputs { get { return outputs_; } } @@ -1669,6 +2355,7 @@ public uint Version { public const int LockTimeFieldNumber = 4; private ulong lockTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong LockTime { get { return lockTime_; } set { @@ -1680,6 +2367,7 @@ public ulong LockTime { public const int SubnetworkIdFieldNumber = 5; private string subnetworkId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SubnetworkId { get { return subnetworkId_; } set { @@ -1691,6 +2379,7 @@ public string SubnetworkId { public const int GasFieldNumber = 6; private ulong gas_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Gas { get { return gas_; } set { @@ -1702,6 +2391,7 @@ public ulong Gas { public const int PayloadFieldNumber = 8; private string payload_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Payload { get { return payload_; } set { @@ -1713,6 +2403,7 @@ public string Payload { public const int VerboseDataFieldNumber = 9; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData verboseData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData VerboseData { get { return verboseData_; } set { @@ -1720,12 +2411,26 @@ public string Payload { } } + /// Field number for the "mass" field. + public const int MassFieldNumber = 10; + private ulong mass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Mass { + get { return mass_; } + set { + mass_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcTransaction); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcTransaction other) { if (ReferenceEquals(other, null)) { return false; @@ -1741,10 +2446,12 @@ public bool Equals(RpcTransaction other) { if (Gas != other.Gas) return false; if (Payload != other.Payload) return false; if (!object.Equals(VerboseData, other.VerboseData)) return false; + if (Mass != other.Mass) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Version != 0) hash ^= Version.GetHashCode(); @@ -1755,6 +2462,7 @@ public override int GetHashCode() { if (Gas != 0UL) hash ^= Gas.GetHashCode(); if (Payload.Length != 0) hash ^= Payload.GetHashCode(); if (verboseData_ != null) hash ^= VerboseData.GetHashCode(); + if (Mass != 0UL) hash ^= Mass.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1762,12 +2470,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Version != 0) { output.WriteRawTag(8); output.WriteUInt32(Version); @@ -1794,12 +2507,58 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteMessage(VerboseData); } + if (Mass != 0UL) { + output.WriteRawTag(80); + output.WriteUInt64(Mass); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Version != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Version); + } + inputs_.WriteTo(ref output, _repeated_inputs_codec); + outputs_.WriteTo(ref output, _repeated_outputs_codec); + if (LockTime != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(LockTime); + } + if (SubnetworkId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(SubnetworkId); + } + if (Gas != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(Gas); + } + if (Payload.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Payload); + } + if (verboseData_ != null) { + output.WriteRawTag(74); + output.WriteMessage(VerboseData); + } + if (Mass != 0UL) { + output.WriteRawTag(80); + output.WriteUInt64(Mass); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Version != 0) { @@ -1822,6 +2581,9 @@ public int CalculateSize() { if (verboseData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(VerboseData); } + if (Mass != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Mass); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1829,6 +2591,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcTransaction other) { if (other == null) { return; @@ -1856,14 +2619,25 @@ public void MergeFrom(RpcTransaction other) { } VerboseData.MergeFrom(other.VerboseData); } + if (other.Mass != 0UL) { + Mass = other.Mass; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -1902,29 +2676,101 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(VerboseData); break; } + case 80: { + Mass = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Version = input.ReadUInt32(); + break; + } + case 18: { + inputs_.AddEntriesFrom(ref input, _repeated_inputs_codec); + break; + } + case 26: { + outputs_.AddEntriesFrom(ref input, _repeated_outputs_codec); + break; + } + case 32: { + LockTime = input.ReadUInt64(); + break; + } + case 42: { + SubnetworkId = input.ReadString(); + break; + } + case 48: { + Gas = input.ReadUInt64(); + break; + } + case 66: { + Payload = input.ReadString(); + break; + } + case 74: { + if (verboseData_ == null) { + VerboseData = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionVerboseData(); + } + input.ReadMessage(VerboseData); + break; + } + case 80: { + Mass = input.ReadUInt64(); + break; + } } } } + #endif } - public sealed partial class RpcTransactionInput : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcTransactionInput : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransactionInput()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionInput() { OnConstruction(); } @@ -1932,6 +2778,7 @@ public RpcTransactionInput() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionInput(RpcTransactionInput other) : this() { previousOutpoint_ = other.previousOutpoint_ != null ? other.previousOutpoint_.Clone() : null; signatureScript_ = other.signatureScript_; @@ -1942,6 +2789,7 @@ public RpcTransactionInput(RpcTransactionInput other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionInput Clone() { return new RpcTransactionInput(this); } @@ -1950,6 +2798,7 @@ public RpcTransactionInput Clone() { public const int PreviousOutpointFieldNumber = 1; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint previousOutpoint_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint PreviousOutpoint { get { return previousOutpoint_; } set { @@ -1961,6 +2810,7 @@ public RpcTransactionInput Clone() { public const int SignatureScriptFieldNumber = 2; private string signatureScript_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string SignatureScript { get { return signatureScript_; } set { @@ -1972,6 +2822,7 @@ public string SignatureScript { public const int SequenceFieldNumber = 3; private ulong sequence_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Sequence { get { return sequence_; } set { @@ -1983,6 +2834,7 @@ public ulong Sequence { public const int SigOpCountFieldNumber = 5; private uint sigOpCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SigOpCount { get { return sigOpCount_; } set { @@ -1994,6 +2846,7 @@ public uint SigOpCount { public const int VerboseDataFieldNumber = 4; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInputVerboseData verboseData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInputVerboseData VerboseData { get { return verboseData_; } set { @@ -2002,11 +2855,13 @@ public uint SigOpCount { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcTransactionInput); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcTransactionInput other) { if (ReferenceEquals(other, null)) { return false; @@ -2023,6 +2878,7 @@ public bool Equals(RpcTransactionInput other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (previousOutpoint_ != null) hash ^= PreviousOutpoint.GetHashCode(); @@ -2037,12 +2893,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (previousOutpoint_ != null) { output.WriteRawTag(10); output.WriteMessage(PreviousOutpoint); @@ -2066,9 +2927,41 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (previousOutpoint_ != null) { + output.WriteRawTag(10); + output.WriteMessage(PreviousOutpoint); + } + if (SignatureScript.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SignatureScript); + } + if (Sequence != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(Sequence); + } + if (verboseData_ != null) { + output.WriteRawTag(34); + output.WriteMessage(VerboseData); + } + if (SigOpCount != 0) { + output.WriteRawTag(40); + output.WriteUInt32(SigOpCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (previousOutpoint_ != null) { @@ -2093,6 +2986,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcTransactionInput other) { if (other == null) { return; @@ -2122,10 +3016,18 @@ public void MergeFrom(RpcTransactionInput other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2157,27 +3059,82 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (previousOutpoint_ == null) { + PreviousOutpoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint(); + } + input.ReadMessage(PreviousOutpoint); + break; + } + case 18: { + SignatureScript = input.ReadString(); + break; + } + case 24: { + Sequence = input.ReadUInt64(); + break; + } + case 34: { + if (verboseData_ == null) { + VerboseData = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionInputVerboseData(); + } + input.ReadMessage(VerboseData); + break; + } + case 40: { + SigOpCount = input.ReadUInt32(); + break; + } + } + } } + #endif } - public sealed partial class RpcScriptPublicKey : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcScriptPublicKey : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcScriptPublicKey()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[7]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcScriptPublicKey() { OnConstruction(); } @@ -2185,6 +3142,7 @@ public RpcScriptPublicKey() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcScriptPublicKey(RpcScriptPublicKey other) : this() { version_ = other.version_; scriptPublicKey_ = other.scriptPublicKey_; @@ -2192,6 +3150,7 @@ public RpcScriptPublicKey(RpcScriptPublicKey other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcScriptPublicKey Clone() { return new RpcScriptPublicKey(this); } @@ -2200,6 +3159,7 @@ public RpcScriptPublicKey Clone() { public const int VersionFieldNumber = 1; private uint version_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Version { get { return version_; } set { @@ -2211,6 +3171,7 @@ public uint Version { public const int ScriptPublicKeyFieldNumber = 2; private string scriptPublicKey_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ScriptPublicKey { get { return scriptPublicKey_; } set { @@ -2219,11 +3180,13 @@ public string ScriptPublicKey { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcScriptPublicKey); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcScriptPublicKey other) { if (ReferenceEquals(other, null)) { return false; @@ -2237,6 +3200,7 @@ public bool Equals(RpcScriptPublicKey other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Version != 0) hash ^= Version.GetHashCode(); @@ -2248,12 +3212,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Version != 0) { output.WriteRawTag(8); output.WriteUInt32(Version); @@ -2265,9 +3234,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Version != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Version); + } + if (ScriptPublicKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ScriptPublicKey); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Version != 0) { @@ -2283,6 +3272,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcScriptPublicKey other) { if (other == null) { return; @@ -2297,11 +3287,19 @@ public void MergeFrom(RpcScriptPublicKey other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { @@ -2314,27 +3312,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Version = input.ReadUInt32(); + break; + } + case 18: { + ScriptPublicKey = input.ReadString(); + break; + } + } + } } + #endif } - public sealed partial class RpcTransactionOutput : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcTransactionOutput : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransactionOutput()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[8]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionOutput() { OnConstruction(); } @@ -2342,6 +3377,7 @@ public RpcTransactionOutput() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionOutput(RpcTransactionOutput other) : this() { amount_ = other.amount_; scriptPublicKey_ = other.scriptPublicKey_ != null ? other.scriptPublicKey_.Clone() : null; @@ -2350,6 +3386,7 @@ public RpcTransactionOutput(RpcTransactionOutput other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionOutput Clone() { return new RpcTransactionOutput(this); } @@ -2358,6 +3395,7 @@ public RpcTransactionOutput Clone() { public const int AmountFieldNumber = 1; private ulong amount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Amount { get { return amount_; } set { @@ -2369,6 +3407,7 @@ public ulong Amount { public const int ScriptPublicKeyFieldNumber = 2; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey scriptPublicKey_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey ScriptPublicKey { get { return scriptPublicKey_; } set { @@ -2380,6 +3419,7 @@ public ulong Amount { public const int VerboseDataFieldNumber = 3; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutputVerboseData verboseData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutputVerboseData VerboseData { get { return verboseData_; } set { @@ -2388,11 +3428,13 @@ public ulong Amount { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcTransactionOutput); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcTransactionOutput other) { if (ReferenceEquals(other, null)) { return false; @@ -2407,6 +3449,7 @@ public bool Equals(RpcTransactionOutput other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Amount != 0UL) hash ^= Amount.GetHashCode(); @@ -2419,12 +3462,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Amount != 0UL) { output.WriteRawTag(8); output.WriteUInt64(Amount); @@ -2440,9 +3488,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Amount != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Amount); + } + if (scriptPublicKey_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ScriptPublicKey); + } + if (verboseData_ != null) { + output.WriteRawTag(26); + output.WriteMessage(VerboseData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Amount != 0UL) { @@ -2461,6 +3533,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcTransactionOutput other) { if (other == null) { return; @@ -2484,10 +3557,18 @@ public void MergeFrom(RpcTransactionOutput other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2511,27 +3592,74 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Amount = input.ReadUInt64(); + break; + } + case 18: { + if (scriptPublicKey_ == null) { + ScriptPublicKey = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey(); + } + input.ReadMessage(ScriptPublicKey); + break; + } + case 26: { + if (verboseData_ == null) { + VerboseData = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransactionOutputVerboseData(); + } + input.ReadMessage(VerboseData); + break; + } + } + } } + #endif } - public sealed partial class RpcOutpoint : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcOutpoint : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcOutpoint()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcOutpoint() { OnConstruction(); } @@ -2539,6 +3667,7 @@ public RpcOutpoint() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcOutpoint(RpcOutpoint other) : this() { transactionId_ = other.transactionId_; index_ = other.index_; @@ -2546,6 +3675,7 @@ public RpcOutpoint(RpcOutpoint other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcOutpoint Clone() { return new RpcOutpoint(this); } @@ -2554,6 +3684,7 @@ public RpcOutpoint Clone() { public const int TransactionIdFieldNumber = 1; private string transactionId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TransactionId { get { return transactionId_; } set { @@ -2565,6 +3696,7 @@ public string TransactionId { public const int IndexFieldNumber = 2; private uint index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Index { get { return index_; } set { @@ -2573,11 +3705,13 @@ public uint Index { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcOutpoint); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcOutpoint other) { if (ReferenceEquals(other, null)) { return false; @@ -2591,6 +3725,7 @@ public bool Equals(RpcOutpoint other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (TransactionId.Length != 0) hash ^= TransactionId.GetHashCode(); @@ -2602,12 +3737,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (TransactionId.Length != 0) { output.WriteRawTag(10); output.WriteString(TransactionId); @@ -2619,9 +3759,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TransactionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TransactionId); + } + if (Index != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Index); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (TransactionId.Length != 0) { @@ -2637,6 +3797,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcOutpoint other) { if (other == null) { return; @@ -2651,10 +3812,18 @@ public void MergeFrom(RpcOutpoint other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2668,27 +3837,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TransactionId = input.ReadString(); + break; + } + case 16: { + Index = input.ReadUInt32(); + break; + } + } + } } + #endif } - public sealed partial class RpcUtxoEntry : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcUtxoEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcUtxoEntry()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[10]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcUtxoEntry() { OnConstruction(); } @@ -2696,6 +3902,7 @@ public RpcUtxoEntry() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcUtxoEntry(RpcUtxoEntry other) : this() { amount_ = other.amount_; scriptPublicKey_ = other.scriptPublicKey_ != null ? other.scriptPublicKey_.Clone() : null; @@ -2705,6 +3912,7 @@ public RpcUtxoEntry(RpcUtxoEntry other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcUtxoEntry Clone() { return new RpcUtxoEntry(this); } @@ -2713,6 +3921,7 @@ public RpcUtxoEntry Clone() { public const int AmountFieldNumber = 1; private ulong amount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Amount { get { return amount_; } set { @@ -2724,6 +3933,7 @@ public ulong Amount { public const int ScriptPublicKeyFieldNumber = 2; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey scriptPublicKey_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey ScriptPublicKey { get { return scriptPublicKey_; } set { @@ -2735,6 +3945,7 @@ public ulong Amount { public const int BlockDaaScoreFieldNumber = 3; private ulong blockDaaScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong BlockDaaScore { get { return blockDaaScore_; } set { @@ -2746,6 +3957,7 @@ public ulong BlockDaaScore { public const int IsCoinbaseFieldNumber = 4; private bool isCoinbase_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsCoinbase { get { return isCoinbase_; } set { @@ -2754,11 +3966,13 @@ public bool IsCoinbase { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcUtxoEntry); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcUtxoEntry other) { if (ReferenceEquals(other, null)) { return false; @@ -2774,6 +3988,7 @@ public bool Equals(RpcUtxoEntry other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Amount != 0UL) hash ^= Amount.GetHashCode(); @@ -2787,12 +4002,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Amount != 0UL) { output.WriteRawTag(8); output.WriteUInt64(Amount); @@ -2812,9 +4032,37 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Amount != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Amount); + } + if (scriptPublicKey_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ScriptPublicKey); + } + if (BlockDaaScore != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BlockDaaScore); + } + if (IsCoinbase != false) { + output.WriteRawTag(32); + output.WriteBool(IsCoinbase); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Amount != 0UL) { @@ -2836,6 +4084,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcUtxoEntry other) { if (other == null) { return; @@ -2859,10 +4108,18 @@ public void MergeFrom(RpcUtxoEntry other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -2887,27 +4144,75 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Amount = input.ReadUInt64(); + break; + } + case 18: { + if (scriptPublicKey_ == null) { + ScriptPublicKey = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcScriptPublicKey(); + } + input.ReadMessage(ScriptPublicKey); + break; + } + case 24: { + BlockDaaScore = input.ReadUInt64(); + break; + } + case 32: { + IsCoinbase = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class RpcTransactionVerboseData : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcTransactionVerboseData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransactionVerboseData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionVerboseData() { OnConstruction(); } @@ -2915,16 +4220,18 @@ public RpcTransactionVerboseData() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionVerboseData(RpcTransactionVerboseData other) : this() { transactionId_ = other.transactionId_; hash_ = other.hash_; - mass_ = other.mass_; + computeMass_ = other.computeMass_; blockHash_ = other.blockHash_; blockTime_ = other.blockTime_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionVerboseData Clone() { return new RpcTransactionVerboseData(this); } @@ -2933,6 +4240,7 @@ public RpcTransactionVerboseData Clone() { public const int TransactionIdFieldNumber = 1; private string transactionId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TransactionId { get { return transactionId_; } set { @@ -2944,6 +4252,7 @@ public string TransactionId { public const int HashFieldNumber = 2; private string hash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Hash { get { return hash_; } set { @@ -2951,14 +4260,15 @@ public string Hash { } } - /// Field number for the "mass" field. - public const int MassFieldNumber = 4; - private ulong mass_; + /// Field number for the "computeMass" field. + public const int ComputeMassFieldNumber = 4; + private ulong computeMass_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong Mass { - get { return mass_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ComputeMass { + get { return computeMass_; } set { - mass_ = value; + computeMass_ = value; } } @@ -2966,6 +4276,7 @@ public ulong Mass { public const int BlockHashFieldNumber = 12; private string blockHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string BlockHash { get { return blockHash_; } set { @@ -2977,6 +4288,7 @@ public string BlockHash { public const int BlockTimeFieldNumber = 14; private ulong blockTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong BlockTime { get { return blockTime_; } set { @@ -2985,11 +4297,13 @@ public ulong BlockTime { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcTransactionVerboseData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcTransactionVerboseData other) { if (ReferenceEquals(other, null)) { return false; @@ -2999,18 +4313,19 @@ public bool Equals(RpcTransactionVerboseData other) { } if (TransactionId != other.TransactionId) return false; if (Hash != other.Hash) return false; - if (Mass != other.Mass) return false; + if (ComputeMass != other.ComputeMass) return false; if (BlockHash != other.BlockHash) return false; if (BlockTime != other.BlockTime) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (TransactionId.Length != 0) hash ^= TransactionId.GetHashCode(); if (Hash.Length != 0) hash ^= Hash.GetHashCode(); - if (Mass != 0UL) hash ^= Mass.GetHashCode(); + if (ComputeMass != 0UL) hash ^= ComputeMass.GetHashCode(); if (BlockHash.Length != 0) hash ^= BlockHash.GetHashCode(); if (BlockTime != 0UL) hash ^= BlockTime.GetHashCode(); if (_unknownFields != null) { @@ -3020,12 +4335,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (TransactionId.Length != 0) { output.WriteRawTag(10); output.WriteString(TransactionId); @@ -3034,9 +4354,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteString(Hash); } - if (Mass != 0UL) { + if (ComputeMass != 0UL) { output.WriteRawTag(32); - output.WriteUInt64(Mass); + output.WriteUInt64(ComputeMass); } if (BlockHash.Length != 0) { output.WriteRawTag(98); @@ -3049,9 +4369,41 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TransactionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TransactionId); + } + if (Hash.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Hash); + } + if (ComputeMass != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(ComputeMass); + } + if (BlockHash.Length != 0) { + output.WriteRawTag(98); + output.WriteString(BlockHash); + } + if (BlockTime != 0UL) { + output.WriteRawTag(112); + output.WriteUInt64(BlockTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (TransactionId.Length != 0) { @@ -3060,8 +4412,8 @@ public int CalculateSize() { if (Hash.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash); } - if (Mass != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Mass); + if (ComputeMass != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ComputeMass); } if (BlockHash.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(BlockHash); @@ -3076,6 +4428,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcTransactionVerboseData other) { if (other == null) { return; @@ -3086,8 +4439,8 @@ public void MergeFrom(RpcTransactionVerboseData other) { if (other.Hash.Length != 0) { Hash = other.Hash; } - if (other.Mass != 0UL) { - Mass = other.Mass; + if (other.ComputeMass != 0UL) { + ComputeMass = other.ComputeMass; } if (other.BlockHash.Length != 0) { BlockHash = other.BlockHash; @@ -3099,10 +4452,18 @@ public void MergeFrom(RpcTransactionVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3115,7 +4476,46 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - Mass = input.ReadUInt64(); + ComputeMass = input.ReadUInt64(); + break; + } + case 98: { + BlockHash = input.ReadString(); + break; + } + case 112: { + BlockTime = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TransactionId = input.ReadString(); + break; + } + case 18: { + Hash = input.ReadString(); + break; + } + case 32: { + ComputeMass = input.ReadUInt64(); break; } case 98: { @@ -3129,26 +4529,36 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class RpcTransactionInputVerboseData : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcTransactionInputVerboseData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransactionInputVerboseData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionInputVerboseData() { OnConstruction(); } @@ -3156,21 +4566,25 @@ public RpcTransactionInputVerboseData() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionInputVerboseData(RpcTransactionInputVerboseData other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionInputVerboseData Clone() { return new RpcTransactionInputVerboseData(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcTransactionInputVerboseData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcTransactionInputVerboseData other) { if (ReferenceEquals(other, null)) { return false; @@ -3182,6 +4596,7 @@ public bool Equals(RpcTransactionInputVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -3191,18 +4606,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -3212,6 +4644,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RpcTransactionInputVerboseData other) { if (other == null) { return; @@ -3220,36 +4653,73 @@ public void MergeFrom(RpcTransactionInputVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class RpcTransactionOutputVerboseData : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcTransactionOutputVerboseData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcTransactionOutputVerboseData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[13]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionOutputVerboseData() { OnConstruction(); } @@ -3257,6 +4727,7 @@ public RpcTransactionOutputVerboseData() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionOutputVerboseData(RpcTransactionOutputVerboseData other) : this() { scriptPublicKeyType_ = other.scriptPublicKeyType_; scriptPublicKeyAddress_ = other.scriptPublicKeyAddress_; @@ -3264,6 +4735,7 @@ public RpcTransactionOutputVerboseData(RpcTransactionOutputVerboseData other) : } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RpcTransactionOutputVerboseData Clone() { return new RpcTransactionOutputVerboseData(this); } @@ -3272,6 +4744,7 @@ public RpcTransactionOutputVerboseData Clone() { public const int ScriptPublicKeyTypeFieldNumber = 5; private string scriptPublicKeyType_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ScriptPublicKeyType { get { return scriptPublicKeyType_; } set { @@ -3283,6 +4756,7 @@ public string ScriptPublicKeyType { public const int ScriptPublicKeyAddressFieldNumber = 6; private string scriptPublicKeyAddress_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ScriptPublicKeyAddress { get { return scriptPublicKeyAddress_; } set { @@ -3291,11 +4765,13 @@ public string ScriptPublicKeyAddress { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RpcTransactionOutputVerboseData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RpcTransactionOutputVerboseData other) { if (ReferenceEquals(other, null)) { return false; @@ -3309,6 +4785,7 @@ public bool Equals(RpcTransactionOutputVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (ScriptPublicKeyType.Length != 0) hash ^= ScriptPublicKeyType.GetHashCode(); @@ -3320,12 +4797,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (ScriptPublicKeyType.Length != 0) { output.WriteRawTag(42); output.WriteString(ScriptPublicKeyType); @@ -3337,25 +4819,46 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (ScriptPublicKeyType.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ScriptPublicKeyType); + output.WriteRawTag(42); + output.WriteString(ScriptPublicKeyType); } if (ScriptPublicKeyAddress.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ScriptPublicKeyAddress); + output.WriteRawTag(50); + output.WriteString(ScriptPublicKeyAddress); } if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + _unknownFields.WriteTo(ref output); } - return size; } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RpcTransactionOutputVerboseData other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ScriptPublicKeyType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ScriptPublicKeyType); + } + if (ScriptPublicKeyAddress.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ScriptPublicKeyAddress); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcTransactionOutputVerboseData other) { if (other == null) { return; } @@ -3369,10 +4872,18 @@ public void MergeFrom(RpcTransactionOutputVerboseData other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3386,7 +4897,35 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 42: { + ScriptPublicKeyType = input.ReadString(); + break; + } + case 50: { + ScriptPublicKeyAddress = input.ReadString(); + break; + } + } + } } + #endif } @@ -3395,23 +4934,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// /// Possible networks are: Mainnet, Testnet, Simnet, Devnet /// - public sealed partial class GetCurrentNetworkRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCurrentNetworkRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCurrentNetworkRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[14]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCurrentNetworkRequestMessage() { OnConstruction(); } @@ -3419,21 +4967,25 @@ public GetCurrentNetworkRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCurrentNetworkRequestMessage(GetCurrentNetworkRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCurrentNetworkRequestMessage Clone() { return new GetCurrentNetworkRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetCurrentNetworkRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetCurrentNetworkRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -3445,6 +4997,7 @@ public bool Equals(GetCurrentNetworkRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -3454,18 +5007,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -3475,6 +5045,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetCurrentNetworkRequestMessage other) { if (other == null) { return; @@ -3483,36 +5054,73 @@ public void MergeFrom(GetCurrentNetworkRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class GetCurrentNetworkResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCurrentNetworkResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCurrentNetworkResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[15]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCurrentNetworkResponseMessage() { OnConstruction(); } @@ -3520,6 +5128,7 @@ public GetCurrentNetworkResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCurrentNetworkResponseMessage(GetCurrentNetworkResponseMessage other) : this() { currentNetwork_ = other.currentNetwork_; error_ = other.error_ != null ? other.error_.Clone() : null; @@ -3527,6 +5136,7 @@ public GetCurrentNetworkResponseMessage(GetCurrentNetworkResponseMessage other) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetCurrentNetworkResponseMessage Clone() { return new GetCurrentNetworkResponseMessage(this); } @@ -3535,6 +5145,7 @@ public GetCurrentNetworkResponseMessage Clone() { public const int CurrentNetworkFieldNumber = 1; private string currentNetwork_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string CurrentNetwork { get { return currentNetwork_; } set { @@ -3546,6 +5157,7 @@ public string CurrentNetwork { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -3554,11 +5166,13 @@ public string CurrentNetwork { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetCurrentNetworkResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetCurrentNetworkResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -3572,6 +5186,7 @@ public bool Equals(GetCurrentNetworkResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (CurrentNetwork.Length != 0) hash ^= CurrentNetwork.GetHashCode(); @@ -3583,12 +5198,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (CurrentNetwork.Length != 0) { output.WriteRawTag(10); output.WriteString(CurrentNetwork); @@ -3600,9 +5220,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CurrentNetwork.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CurrentNetwork); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (CurrentNetwork.Length != 0) { @@ -3618,6 +5258,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetCurrentNetworkResponseMessage other) { if (other == null) { return; @@ -3635,10 +5276,18 @@ public void MergeFrom(GetCurrentNetworkResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3655,7 +5304,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + CurrentNetwork = input.ReadString(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } @@ -3665,23 +5345,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// /// See: GetBlockTemplateRequestMessage /// - public sealed partial class SubmitBlockRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitBlockRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitBlockRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[16]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitBlockRequestMessage() { OnConstruction(); } @@ -3689,6 +5378,7 @@ public SubmitBlockRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitBlockRequestMessage(SubmitBlockRequestMessage other) : this() { block_ = other.block_ != null ? other.block_.Clone() : null; allowNonDAABlocks_ = other.allowNonDAABlocks_; @@ -3696,6 +5386,7 @@ public SubmitBlockRequestMessage(SubmitBlockRequestMessage other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitBlockRequestMessage Clone() { return new SubmitBlockRequestMessage(this); } @@ -3704,6 +5395,7 @@ public SubmitBlockRequestMessage Clone() { public const int BlockFieldNumber = 2; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock block_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock Block { get { return block_; } set { @@ -3715,6 +5407,7 @@ public SubmitBlockRequestMessage Clone() { public const int AllowNonDAABlocksFieldNumber = 3; private bool allowNonDAABlocks_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool AllowNonDAABlocks { get { return allowNonDAABlocks_; } set { @@ -3723,11 +5416,13 @@ public bool AllowNonDAABlocks { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SubmitBlockRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SubmitBlockRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -3741,6 +5436,7 @@ public bool Equals(SubmitBlockRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (block_ != null) hash ^= Block.GetHashCode(); @@ -3752,12 +5448,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (block_ != null) { output.WriteRawTag(18); output.WriteMessage(Block); @@ -3769,9 +5470,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (block_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Block); + } + if (AllowNonDAABlocks != false) { + output.WriteRawTag(24); + output.WriteBool(AllowNonDAABlocks); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (block_ != null) { @@ -3787,6 +5508,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SubmitBlockRequestMessage other) { if (other == null) { return; @@ -3804,10 +5526,18 @@ public void MergeFrom(SubmitBlockRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3824,27 +5554,67 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + if (block_ == null) { + Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); + } + input.ReadMessage(Block); + break; + } + case 24: { + AllowNonDAABlocks = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class SubmitBlockResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitBlockResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitBlockResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[17]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitBlockResponseMessage() { OnConstruction(); } @@ -3852,6 +5622,7 @@ public SubmitBlockResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitBlockResponseMessage(SubmitBlockResponseMessage other) : this() { rejectReason_ = other.rejectReason_; error_ = other.error_ != null ? other.error_.Clone() : null; @@ -3859,6 +5630,7 @@ public SubmitBlockResponseMessage(SubmitBlockResponseMessage other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitBlockResponseMessage Clone() { return new SubmitBlockResponseMessage(this); } @@ -3867,6 +5639,7 @@ public SubmitBlockResponseMessage Clone() { public const int RejectReasonFieldNumber = 1; private global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason rejectReason_ = global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason RejectReason { get { return rejectReason_; } set { @@ -3878,6 +5651,7 @@ public SubmitBlockResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -3886,11 +5660,13 @@ public SubmitBlockResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SubmitBlockResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SubmitBlockResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -3904,6 +5680,7 @@ public bool Equals(SubmitBlockResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (RejectReason != global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason.None) hash ^= RejectReason.GetHashCode(); @@ -3915,12 +5692,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (RejectReason != global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason.None) { output.WriteRawTag(8); output.WriteEnum((int) RejectReason); @@ -3932,9 +5714,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (RejectReason != global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason.None) { + output.WriteRawTag(8); + output.WriteEnum((int) RejectReason); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (RejectReason != global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason.None) { @@ -3950,6 +5752,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SubmitBlockResponseMessage other) { if (other == null) { return; @@ -3967,10 +5770,18 @@ public void MergeFrom(SubmitBlockResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -3987,11 +5798,43 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RejectReason = (global::Miningcore.Blockchain.Kaspa.Kaspad.SubmitBlockResponseMessage.Types.RejectReason) input.ReadEnum(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif #region Nested types /// Container for nested types declared in the SubmitBlockResponseMessage message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { public enum RejectReason { [pbr::OriginalName("NONE")] None = 0, @@ -4010,23 +5853,32 @@ public enum RejectReason { /// /// See: SubmitBlockRequestMessage /// - public sealed partial class GetBlockTemplateRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockTemplateRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockTemplateRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[18]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBlockTemplateRequestMessage() { OnConstruction(); } @@ -4034,6 +5886,7 @@ public GetBlockTemplateRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBlockTemplateRequestMessage(GetBlockTemplateRequestMessage other) : this() { payAddress_ = other.payAddress_; extraData_ = other.extraData_; @@ -4041,6 +5894,7 @@ public GetBlockTemplateRequestMessage(GetBlockTemplateRequestMessage other) : th } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBlockTemplateRequestMessage Clone() { return new GetBlockTemplateRequestMessage(this); } @@ -4052,6 +5906,7 @@ public GetBlockTemplateRequestMessage Clone() { /// Which kaspa address should the coinbase block reward transaction pay into /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PayAddress { get { return payAddress_; } set { @@ -4063,6 +5918,7 @@ public string PayAddress { public const int ExtraDataFieldNumber = 2; private string extraData_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ExtraData { get { return extraData_; } set { @@ -4071,11 +5927,13 @@ public string ExtraData { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBlockTemplateRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBlockTemplateRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4089,6 +5947,7 @@ public bool Equals(GetBlockTemplateRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (PayAddress.Length != 0) hash ^= PayAddress.GetHashCode(); @@ -4100,12 +5959,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PayAddress.Length != 0) { output.WriteRawTag(10); output.WriteString(PayAddress); @@ -4117,9 +5981,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PayAddress.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PayAddress); + } + if (ExtraData.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ExtraData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (PayAddress.Length != 0) { @@ -4135,6 +6019,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBlockTemplateRequestMessage other) { if (other == null) { return; @@ -4149,10 +6034,18 @@ public void MergeFrom(GetBlockTemplateRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4166,27 +6059,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PayAddress = input.ReadString(); + break; + } + case 18: { + ExtraData = input.ReadString(); + break; + } + } + } } + #endif } - public sealed partial class GetBlockTemplateResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockTemplateResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockTemplateResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[19]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBlockTemplateResponseMessage() { OnConstruction(); } @@ -4194,6 +6124,7 @@ public GetBlockTemplateResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBlockTemplateResponseMessage(GetBlockTemplateResponseMessage other) : this() { block_ = other.block_ != null ? other.block_.Clone() : null; isSynced_ = other.isSynced_; @@ -4202,6 +6133,7 @@ public GetBlockTemplateResponseMessage(GetBlockTemplateResponseMessage other) : } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBlockTemplateResponseMessage Clone() { return new GetBlockTemplateResponseMessage(this); } @@ -4210,6 +6142,7 @@ public GetBlockTemplateResponseMessage Clone() { public const int BlockFieldNumber = 3; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock block_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock Block { get { return block_; } set { @@ -4227,6 +6160,7 @@ public GetBlockTemplateResponseMessage Clone() { /// chance the block will never be accepted, thus the solving effort would have been wasted. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsSynced { get { return isSynced_; } set { @@ -4238,6 +6172,7 @@ public bool IsSynced { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -4246,11 +6181,13 @@ public bool IsSynced { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBlockTemplateResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBlockTemplateResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4265,6 +6202,7 @@ public bool Equals(GetBlockTemplateResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (block_ != null) hash ^= Block.GetHashCode(); @@ -4277,12 +6215,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (IsSynced != false) { output.WriteRawTag(16); output.WriteBool(IsSynced); @@ -4298,9 +6241,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IsSynced != false) { + output.WriteRawTag(16); + output.WriteBool(IsSynced); + } + if (block_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Block); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (block_ != null) { @@ -4319,6 +6286,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBlockTemplateResponseMessage other) { if (other == null) { return; @@ -4342,10 +6310,18 @@ public void MergeFrom(GetBlockTemplateResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4369,7 +6345,45 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 16: { + IsSynced = input.ReadBool(); + break; + } + case 26: { + if (block_ == null) { + Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); + } + input.ReadMessage(Block); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } @@ -4378,23 +6392,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// /// See: BlockAddedNotificationMessage /// - public sealed partial class NotifyBlockAddedRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyBlockAddedRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyBlockAddedRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[20]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NotifyBlockAddedRequestMessage() { OnConstruction(); } @@ -4402,21 +6425,38 @@ public NotifyBlockAddedRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NotifyBlockAddedRequestMessage(NotifyBlockAddedRequestMessage other) : this() { + command_ = other.command_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NotifyBlockAddedRequestMessage Clone() { return new NotifyBlockAddedRequestMessage(this); } + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as NotifyBlockAddedRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(NotifyBlockAddedRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4424,12 +6464,15 @@ public bool Equals(NotifyBlockAddedRequestMessage other) { if (ReferenceEquals(other, this)) { return true; } + if (Command != other.Command) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4437,20 +6480,48 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4458,44 +6529,93 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(NotifyBlockAddedRequestMessage other) { if (other == null) { return; } + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } } } } + #endif } - public sealed partial class NotifyBlockAddedResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyBlockAddedResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyBlockAddedResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[21]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NotifyBlockAddedResponseMessage() { OnConstruction(); } @@ -4503,12 +6623,14 @@ public NotifyBlockAddedResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NotifyBlockAddedResponseMessage(NotifyBlockAddedResponseMessage other) : this() { error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public NotifyBlockAddedResponseMessage Clone() { return new NotifyBlockAddedResponseMessage(this); } @@ -4517,6 +6639,7 @@ public NotifyBlockAddedResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -4525,11 +6648,13 @@ public NotifyBlockAddedResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as NotifyBlockAddedResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(NotifyBlockAddedResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4542,6 +6667,7 @@ public bool Equals(NotifyBlockAddedResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (error_ != null) hash ^= Error.GetHashCode(); @@ -4552,12 +6678,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -4565,9 +6696,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (error_ != null) { @@ -4580,6 +6727,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(NotifyBlockAddedResponseMessage other) { if (other == null) { return; @@ -4594,10 +6742,18 @@ public void MergeFrom(NotifyBlockAddedResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4610,7 +6766,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } @@ -4620,23 +6803,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// /// See: NotifyBlockAddedRequestMessage /// - public sealed partial class BlockAddedNotificationMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BlockAddedNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlockAddedNotificationMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[22]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BlockAddedNotificationMessage() { OnConstruction(); } @@ -4644,12 +6836,14 @@ public BlockAddedNotificationMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BlockAddedNotificationMessage(BlockAddedNotificationMessage other) : this() { block_ = other.block_ != null ? other.block_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BlockAddedNotificationMessage Clone() { return new BlockAddedNotificationMessage(this); } @@ -4658,6 +6852,7 @@ public BlockAddedNotificationMessage Clone() { public const int BlockFieldNumber = 3; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock block_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock Block { get { return block_; } set { @@ -4666,11 +6861,13 @@ public BlockAddedNotificationMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BlockAddedNotificationMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BlockAddedNotificationMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4683,6 +6880,7 @@ public bool Equals(BlockAddedNotificationMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (block_ != null) hash ^= Block.GetHashCode(); @@ -4693,12 +6891,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (block_ != null) { output.WriteRawTag(26); output.WriteMessage(Block); @@ -4706,9 +6909,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (block_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Block); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (block_ != null) { @@ -4721,6 +6940,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BlockAddedNotificationMessage other) { if (other == null) { return; @@ -4735,10 +6955,18 @@ public void MergeFrom(BlockAddedNotificationMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -4751,7 +6979,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + if (block_ == null) { + Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); + } + input.ReadMessage(Block); + break; + } + } + } } + #endif } @@ -4759,23 +7014,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// GetPeerAddressesRequestMessage requests the list of known kaspad addresses in the /// current network. (mainnet, testnet, etc.) /// - public sealed partial class GetPeerAddressesRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetPeerAddressesRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetPeerAddressesRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesRequestMessage() { OnConstruction(); } @@ -4783,21 +7047,25 @@ public GetPeerAddressesRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesRequestMessage(GetPeerAddressesRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesRequestMessage Clone() { return new GetPeerAddressesRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetPeerAddressesRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetPeerAddressesRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4809,6 +7077,7 @@ public bool Equals(GetPeerAddressesRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -4818,18 +7087,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -4839,6 +7125,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetPeerAddressesRequestMessage other) { if (other == null) { return; @@ -4847,36 +7134,73 @@ public void MergeFrom(GetPeerAddressesRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class GetPeerAddressesResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetPeerAddressesResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetPeerAddressesResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesResponseMessage() { OnConstruction(); } @@ -4884,6 +7208,7 @@ public GetPeerAddressesResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesResponseMessage(GetPeerAddressesResponseMessage other) : this() { addresses_ = other.addresses_.Clone(); bannedAddresses_ = other.bannedAddresses_.Clone(); @@ -4892,6 +7217,7 @@ public GetPeerAddressesResponseMessage(GetPeerAddressesResponseMessage other) : } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesResponseMessage Clone() { return new GetPeerAddressesResponseMessage(this); } @@ -4902,6 +7228,7 @@ public GetPeerAddressesResponseMessage Clone() { = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesKnownAddressMessage.Parser); private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Addresses { get { return addresses_; } } @@ -4912,6 +7239,7 @@ public GetPeerAddressesResponseMessage Clone() { = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.GetPeerAddressesKnownAddressMessage.Parser); private readonly pbc::RepeatedField bannedAddresses_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BannedAddresses { get { return bannedAddresses_; } } @@ -4920,6 +7248,7 @@ public GetPeerAddressesResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -4928,11 +7257,13 @@ public GetPeerAddressesResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetPeerAddressesResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetPeerAddressesResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -4947,6 +7278,7 @@ public bool Equals(GetPeerAddressesResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= addresses_.GetHashCode(); @@ -4959,12 +7291,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else addresses_.WriteTo(output, _repeated_addresses_codec); bannedAddresses_.WriteTo(output, _repeated_bannedAddresses_codec); if (error_ != null) { @@ -4974,9 +7311,27 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + addresses_.WriteTo(ref output, _repeated_addresses_codec); + bannedAddresses_.WriteTo(ref output, _repeated_bannedAddresses_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += addresses_.CalculateSize(_repeated_addresses_codec); @@ -4991,6 +7346,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetPeerAddressesResponseMessage other) { if (other == null) { return; @@ -5007,10 +7363,18 @@ public void MergeFrom(GetPeerAddressesResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5031,27 +7395,71 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + break; + } + case 18: { + bannedAddresses_.AddEntriesFrom(ref input, _repeated_bannedAddresses_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } - public sealed partial class GetPeerAddressesKnownAddressMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetPeerAddressesKnownAddressMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetPeerAddressesKnownAddressMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesKnownAddressMessage() { OnConstruction(); } @@ -5059,12 +7467,14 @@ public GetPeerAddressesKnownAddressMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesKnownAddressMessage(GetPeerAddressesKnownAddressMessage other) : this() { addr_ = other.addr_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetPeerAddressesKnownAddressMessage Clone() { return new GetPeerAddressesKnownAddressMessage(this); } @@ -5073,6 +7483,7 @@ public GetPeerAddressesKnownAddressMessage Clone() { public const int AddrFieldNumber = 1; private string addr_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Addr { get { return addr_; } set { @@ -5081,11 +7492,13 @@ public string Addr { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetPeerAddressesKnownAddressMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetPeerAddressesKnownAddressMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -5098,6 +7511,7 @@ public bool Equals(GetPeerAddressesKnownAddressMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Addr.Length != 0) hash ^= Addr.GetHashCode(); @@ -5108,12 +7522,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Addr.Length != 0) { output.WriteRawTag(10); output.WriteString(Addr); @@ -5121,9 +7540,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Addr.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Addr); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Addr.Length != 0) { @@ -5136,6 +7571,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetPeerAddressesKnownAddressMessage other) { if (other == null) { return; @@ -5147,10 +7583,18 @@ public void MergeFrom(GetPeerAddressesKnownAddressMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5160,54 +7604,91 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Addr = input.ReadString(); + break; + } + } + } } + #endif } /// - /// GetSelectedTipHashRequestMessage requests the hash of the current virtual's + /// GetSinkRequestMessage requests the hash of the current virtual's /// selected parent. /// - public sealed partial class GetSelectedTipHashRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSelectedTipHashRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSinkRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSinkRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSelectedTipHashRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSelectedTipHashRequestMessage(GetSelectedTipHashRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkRequestMessage(GetSinkRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSelectedTipHashRequestMessage Clone() { - return new GetSelectedTipHashRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkRequestMessage Clone() { + return new GetSinkRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSelectedTipHashRequestMessage); + return Equals(other as GetSinkRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetSelectedTipHashRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSinkRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -5218,6 +7699,7 @@ public bool Equals(GetSelectedTipHashRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -5227,18 +7709,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -5248,7 +7747,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetSelectedTipHashRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSinkRequestMessage other) { if (other == null) { return; } @@ -5256,62 +7756,102 @@ public void MergeFrom(GetSelectedTipHashRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class GetSelectedTipHashResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSelectedTipHashResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSinkResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSinkResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[27]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSelectedTipHashResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSelectedTipHashResponseMessage(GetSelectedTipHashResponseMessage other) : this() { - selectedTipHash_ = other.selectedTipHash_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkResponseMessage(GetSinkResponseMessage other) : this() { + sink_ = other.sink_; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSelectedTipHashResponseMessage Clone() { - return new GetSelectedTipHashResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkResponseMessage Clone() { + return new GetSinkResponseMessage(this); } - /// Field number for the "selectedTipHash" field. - public const int SelectedTipHashFieldNumber = 1; - private string selectedTipHash_ = ""; + /// Field number for the "sink" field. + public const int SinkFieldNumber = 1; + private string sink_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string SelectedTipHash { - get { return selectedTipHash_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sink { + get { return sink_; } set { - selectedTipHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + sink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } @@ -5319,6 +7859,7 @@ public string SelectedTipHash { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -5327,27 +7868,30 @@ public string SelectedTipHash { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSelectedTipHashResponseMessage); + return Equals(other as GetSinkResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetSelectedTipHashResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSinkResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (SelectedTipHash != other.SelectedTipHash) return false; + if (Sink != other.Sink) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (SelectedTipHash.Length != 0) hash ^= SelectedTipHash.GetHashCode(); + if (Sink.Length != 0) hash ^= Sink.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -5356,15 +7900,20 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (SelectedTipHash.Length != 0) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Sink.Length != 0) { output.WriteRawTag(10); - output.WriteString(SelectedTipHash); + output.WriteString(Sink); } if (error_ != null) { output.WriteRawTag(194, 62); @@ -5373,13 +7922,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Sink.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Sink); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (SelectedTipHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectedTipHash); + if (Sink.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sink); } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); @@ -5391,12 +7960,13 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetSelectedTipHashResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSinkResponseMessage other) { if (other == null) { return; } - if (other.SelectedTipHash.Length != 0) { - SelectedTipHash = other.SelectedTipHash; + if (other.Sink.Length != 0) { + Sink = other.Sink; } if (other.error_ != null) { if (error_ == null) { @@ -5408,15 +7978,53 @@ public void MergeFrom(GetSelectedTipHashResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - SelectedTipHash = input.ReadString(); + Sink = input.ReadString(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Sink = input.ReadString(); break; } case 8002: { @@ -5429,6 +8037,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } @@ -5436,23 +8045,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// GetMempoolEntryRequestMessage requests information about a specific transaction /// in the mempool. /// - public sealed partial class GetMempoolEntryRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMempoolEntryRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntryRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntryRequestMessage() { OnConstruction(); } @@ -5460,6 +8078,7 @@ public GetMempoolEntryRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntryRequestMessage(GetMempoolEntryRequestMessage other) : this() { txId_ = other.txId_; includeOrphanPool_ = other.includeOrphanPool_; @@ -5468,6 +8087,7 @@ public GetMempoolEntryRequestMessage(GetMempoolEntryRequestMessage other) : this } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntryRequestMessage Clone() { return new GetMempoolEntryRequestMessage(this); } @@ -5479,6 +8099,7 @@ public GetMempoolEntryRequestMessage Clone() { /// The transaction's TransactionID. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TxId { get { return txId_; } set { @@ -5490,6 +8111,7 @@ public string TxId { public const int IncludeOrphanPoolFieldNumber = 2; private bool includeOrphanPool_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IncludeOrphanPool { get { return includeOrphanPool_; } set { @@ -5501,6 +8123,7 @@ public bool IncludeOrphanPool { public const int FilterTransactionPoolFieldNumber = 3; private bool filterTransactionPool_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FilterTransactionPool { get { return filterTransactionPool_; } set { @@ -5509,11 +8132,13 @@ public bool FilterTransactionPool { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetMempoolEntryRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetMempoolEntryRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -5528,6 +8153,7 @@ public bool Equals(GetMempoolEntryRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (TxId.Length != 0) hash ^= TxId.GetHashCode(); @@ -5540,12 +8166,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (TxId.Length != 0) { output.WriteRawTag(10); output.WriteString(TxId); @@ -5561,9 +8192,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TxId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TxId); + } + if (IncludeOrphanPool != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeOrphanPool); + } + if (FilterTransactionPool != false) { + output.WriteRawTag(24); + output.WriteBool(FilterTransactionPool); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (TxId.Length != 0) { @@ -5582,6 +8237,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetMempoolEntryRequestMessage other) { if (other == null) { return; @@ -5599,10 +8255,18 @@ public void MergeFrom(GetMempoolEntryRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5620,34 +8284,76 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - public sealed partial class GetMempoolEntryResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntryResponseMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[29]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntryResponseMessage() { - OnConstruction(); - } - + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TxId = input.ReadString(); + break; + } + case 16: { + IncludeOrphanPool = input.ReadBool(); + break; + } + case 24: { + FilterTransactionPool = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMempoolEntryResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntryResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[29]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntryResponseMessage() { + OnConstruction(); + } + partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntryResponseMessage(GetMempoolEntryResponseMessage other) : this() { entry_ = other.entry_ != null ? other.entry_.Clone() : null; error_ = other.error_ != null ? other.error_.Clone() : null; @@ -5655,15 +8361,17 @@ public GetMempoolEntryResponseMessage(GetMempoolEntryResponseMessage other) : th } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntryResponseMessage Clone() { return new GetMempoolEntryResponseMessage(this); } /// Field number for the "entry" field. public const int EntryFieldNumber = 1; - private global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry entry_; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry entry_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry Entry { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry Entry { get { return entry_; } set { entry_ = value; @@ -5674,6 +8382,7 @@ public GetMempoolEntryResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -5682,11 +8391,13 @@ public GetMempoolEntryResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetMempoolEntryResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetMempoolEntryResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -5700,6 +8411,7 @@ public bool Equals(GetMempoolEntryResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (entry_ != null) hash ^= Entry.GetHashCode(); @@ -5711,12 +8423,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (entry_ != null) { output.WriteRawTag(10); output.WriteMessage(Entry); @@ -5728,9 +8445,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (entry_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Entry); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (entry_ != null) { @@ -5746,13 +8483,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetMempoolEntryResponseMessage other) { if (other == null) { return; } if (other.entry_ != null) { if (entry_ == null) { - Entry = new global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry(); + Entry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry(); } Entry.MergeFrom(other.Entry); } @@ -5766,16 +8504,57 @@ public void MergeFrom(GetMempoolEntryResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (entry_ == null) { - Entry = new global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry(); + Entry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry(); + } + input.ReadMessage(Entry); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (entry_ == null) { + Entry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry(); } input.ReadMessage(Entry); break; @@ -5790,6 +8569,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } @@ -5797,23 +8577,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// GetMempoolEntriesRequestMessage requests information about all the transactions /// currently in the mempool. /// - public sealed partial class GetMempoolEntriesRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMempoolEntriesRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntriesRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntriesRequestMessage() { OnConstruction(); } @@ -5821,6 +8610,7 @@ public GetMempoolEntriesRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntriesRequestMessage(GetMempoolEntriesRequestMessage other) : this() { includeOrphanPool_ = other.includeOrphanPool_; filterTransactionPool_ = other.filterTransactionPool_; @@ -5828,6 +8618,7 @@ public GetMempoolEntriesRequestMessage(GetMempoolEntriesRequestMessage other) : } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntriesRequestMessage Clone() { return new GetMempoolEntriesRequestMessage(this); } @@ -5836,6 +8627,7 @@ public GetMempoolEntriesRequestMessage Clone() { public const int IncludeOrphanPoolFieldNumber = 1; private bool includeOrphanPool_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IncludeOrphanPool { get { return includeOrphanPool_; } set { @@ -5847,6 +8639,7 @@ public bool IncludeOrphanPool { public const int FilterTransactionPoolFieldNumber = 2; private bool filterTransactionPool_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FilterTransactionPool { get { return filterTransactionPool_; } set { @@ -5855,11 +8648,13 @@ public bool FilterTransactionPool { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetMempoolEntriesRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetMempoolEntriesRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -5873,6 +8668,7 @@ public bool Equals(GetMempoolEntriesRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (IncludeOrphanPool != false) hash ^= IncludeOrphanPool.GetHashCode(); @@ -5884,12 +8680,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (IncludeOrphanPool != false) { output.WriteRawTag(8); output.WriteBool(IncludeOrphanPool); @@ -5901,9 +8702,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IncludeOrphanPool != false) { + output.WriteRawTag(8); + output.WriteBool(IncludeOrphanPool); + } + if (FilterTransactionPool != false) { + output.WriteRawTag(16); + output.WriteBool(FilterTransactionPool); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (IncludeOrphanPool != false) { @@ -5919,6 +8740,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetMempoolEntriesRequestMessage other) { if (other == null) { return; @@ -5933,10 +8755,18 @@ public void MergeFrom(GetMempoolEntriesRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -5950,27 +8780,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IncludeOrphanPool = input.ReadBool(); + break; + } + case 16: { + FilterTransactionPool = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class GetMempoolEntriesResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMempoolEntriesResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntriesResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[31]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntriesResponseMessage() { OnConstruction(); } @@ -5978,6 +8845,7 @@ public GetMempoolEntriesResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntriesResponseMessage(GetMempoolEntriesResponseMessage other) : this() { entries_ = other.entries_.Clone(); error_ = other.error_ != null ? other.error_.Clone() : null; @@ -5985,17 +8853,19 @@ public GetMempoolEntriesResponseMessage(GetMempoolEntriesResponseMessage other) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetMempoolEntriesResponseMessage Clone() { return new GetMempoolEntriesResponseMessage(this); } /// Field number for the "entries" field. public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_entries_codec + = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry.Parser); + private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Entries { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Entries { get { return entries_; } } @@ -6003,6 +8873,7 @@ public GetMempoolEntriesResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -6011,11 +8882,13 @@ public GetMempoolEntriesResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetMempoolEntriesResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetMempoolEntriesResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -6029,6 +8902,7 @@ public bool Equals(GetMempoolEntriesResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= entries_.GetHashCode(); @@ -6040,12 +8914,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else entries_.WriteTo(output, _repeated_entries_codec); if (error_ != null) { output.WriteRawTag(194, 62); @@ -6054,9 +8933,26 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + entries_.WriteTo(ref output, _repeated_entries_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += entries_.CalculateSize(_repeated_entries_codec); @@ -6070,6 +8966,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetMempoolEntriesResponseMessage other) { if (other == null) { return; @@ -6085,10 +8982,18 @@ public void MergeFrom(GetMempoolEntriesResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6105,35 +9010,76 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + entries_.AddEntriesFrom(ref input, _repeated_entries_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + } - public sealed partial class MempoolEntry : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MempoolEntry()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcMempoolEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcMempoolEntry()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[32]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MempoolEntry() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcMempoolEntry() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MempoolEntry(MempoolEntry other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcMempoolEntry(RpcMempoolEntry other) : this() { fee_ = other.fee_; transaction_ = other.transaction_ != null ? other.transaction_.Clone() : null; isOrphan_ = other.isOrphan_; @@ -6141,14 +9087,16 @@ public MempoolEntry(MempoolEntry other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MempoolEntry Clone() { - return new MempoolEntry(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcMempoolEntry Clone() { + return new RpcMempoolEntry(this); } /// Field number for the "fee" field. public const int FeeFieldNumber = 1; private ulong fee_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Fee { get { return fee_; } set { @@ -6160,6 +9108,7 @@ public ulong Fee { public const int TransactionFieldNumber = 3; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction transaction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction Transaction { get { return transaction_; } set { @@ -6171,6 +9120,7 @@ public ulong Fee { public const int IsOrphanFieldNumber = 4; private bool isOrphan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsOrphan { get { return isOrphan_; } set { @@ -6179,12 +9129,14 @@ public bool IsOrphan { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as MempoolEntry); + return Equals(other as RpcMempoolEntry); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(MempoolEntry other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcMempoolEntry other) { if (ReferenceEquals(other, null)) { return false; } @@ -6198,6 +9150,7 @@ public bool Equals(MempoolEntry other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Fee != 0UL) hash ^= Fee.GetHashCode(); @@ -6210,12 +9163,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Fee != 0UL) { output.WriteRawTag(8); output.WriteUInt64(Fee); @@ -6231,9 +9189,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Fee != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Fee); + } + if (transaction_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Transaction); + } + if (IsOrphan != false) { + output.WriteRawTag(32); + output.WriteBool(IsOrphan); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Fee != 0UL) { @@ -6252,7 +9234,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(MempoolEntry other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcMempoolEntry other) { if (other == null) { return; } @@ -6272,10 +9255,18 @@ public void MergeFrom(MempoolEntry other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6296,7 +9287,42 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Fee = input.ReadUInt64(); + break; + } + case 26: { + if (transaction_ == null) { + Transaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + input.ReadMessage(Transaction); + break; + } + case 32: { + IsOrphan = input.ReadBool(); + break; + } + } + } } + #endif } @@ -6304,23 +9330,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// GetConnectedPeerInfoRequestMessage requests information about all the p2p peers /// currently connected to this kaspad. /// - public sealed partial class GetConnectedPeerInfoRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetConnectedPeerInfoRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetConnectedPeerInfoRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[33]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoRequestMessage() { OnConstruction(); } @@ -6328,21 +9363,25 @@ public GetConnectedPeerInfoRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoRequestMessage(GetConnectedPeerInfoRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoRequestMessage Clone() { return new GetConnectedPeerInfoRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetConnectedPeerInfoRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetConnectedPeerInfoRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -6354,6 +9393,7 @@ public bool Equals(GetConnectedPeerInfoRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -6363,18 +9403,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -6384,6 +9441,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetConnectedPeerInfoRequestMessage other) { if (other == null) { return; @@ -6392,36 +9450,73 @@ public void MergeFrom(GetConnectedPeerInfoRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class GetConnectedPeerInfoResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetConnectedPeerInfoResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetConnectedPeerInfoResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoResponseMessage() { OnConstruction(); } @@ -6429,6 +9524,7 @@ public GetConnectedPeerInfoResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoResponseMessage(GetConnectedPeerInfoResponseMessage other) : this() { infos_ = other.infos_.Clone(); error_ = other.error_ != null ? other.error_.Clone() : null; @@ -6436,6 +9532,7 @@ public GetConnectedPeerInfoResponseMessage(GetConnectedPeerInfoResponseMessage o } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoResponseMessage Clone() { return new GetConnectedPeerInfoResponseMessage(this); } @@ -6446,6 +9543,7 @@ public GetConnectedPeerInfoResponseMessage Clone() { = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.GetConnectedPeerInfoMessage.Parser); private readonly pbc::RepeatedField infos_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Infos { get { return infos_; } } @@ -6454,6 +9552,7 @@ public GetConnectedPeerInfoResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -6462,11 +9561,13 @@ public GetConnectedPeerInfoResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetConnectedPeerInfoResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetConnectedPeerInfoResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -6480,6 +9581,7 @@ public bool Equals(GetConnectedPeerInfoResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= infos_.GetHashCode(); @@ -6491,12 +9593,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else infos_.WriteTo(output, _repeated_infos_codec); if (error_ != null) { output.WriteRawTag(194, 62); @@ -6505,9 +9612,26 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + infos_.WriteTo(ref output, _repeated_infos_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += infos_.CalculateSize(_repeated_infos_codec); @@ -6521,6 +9645,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetConnectedPeerInfoResponseMessage other) { if (other == null) { return; @@ -6536,10 +9661,18 @@ public void MergeFrom(GetConnectedPeerInfoResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6556,27 +9689,67 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } - public sealed partial class GetConnectedPeerInfoMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetConnectedPeerInfoMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetConnectedPeerInfoMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoMessage() { OnConstruction(); } @@ -6584,6 +9757,7 @@ public GetConnectedPeerInfoMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoMessage(GetConnectedPeerInfoMessage other) : this() { id_ = other.id_; address_ = other.address_; @@ -6598,6 +9772,7 @@ public GetConnectedPeerInfoMessage(GetConnectedPeerInfoMessage other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetConnectedPeerInfoMessage Clone() { return new GetConnectedPeerInfoMessage(this); } @@ -6606,6 +9781,7 @@ public GetConnectedPeerInfoMessage Clone() { public const int IdFieldNumber = 1; private string id_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { @@ -6617,6 +9793,7 @@ public string Id { public const int AddressFieldNumber = 2; private string address_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Address { get { return address_; } set { @@ -6631,6 +9808,7 @@ public string Address { /// How long did the last ping/pong exchange take /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long LastPingDuration { get { return lastPingDuration_; } set { @@ -6645,6 +9823,7 @@ public long LastPingDuration { /// Whether this kaspad initiated the connection /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsOutbound { get { return isOutbound_; } set { @@ -6656,6 +9835,7 @@ public bool IsOutbound { public const int TimeOffsetFieldNumber = 7; private long timeOffset_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TimeOffset { get { return timeOffset_; } set { @@ -6667,6 +9847,7 @@ public long TimeOffset { public const int UserAgentFieldNumber = 8; private string userAgent_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string UserAgent { get { return userAgent_; } set { @@ -6681,6 +9862,7 @@ public string UserAgent { /// The protocol version that this peer claims to support /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint AdvertisedProtocolVersion { get { return advertisedProtocolVersion_; } set { @@ -6695,6 +9877,7 @@ public uint AdvertisedProtocolVersion { /// The timestamp of when this peer connected to this kaspad /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long TimeConnected { get { return timeConnected_; } set { @@ -6709,6 +9892,7 @@ public long TimeConnected { /// Whether this peer is the IBD peer (if IBD is running) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsIbdPeer { get { return isIbdPeer_; } set { @@ -6717,11 +9901,13 @@ public bool IsIbdPeer { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetConnectedPeerInfoMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetConnectedPeerInfoMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -6742,6 +9928,7 @@ public bool Equals(GetConnectedPeerInfoMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Id.Length != 0) hash ^= Id.GetHashCode(); @@ -6760,12 +9947,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); @@ -6805,22 +9997,70 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + output.WriteRawTag(10); + output.WriteString(Id); } if (Address.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + output.WriteRawTag(18); + output.WriteString(Address); } if (LastPingDuration != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastPingDuration); + output.WriteRawTag(24); + output.WriteInt64(LastPingDuration); } if (IsOutbound != false) { - size += 1 + 1; + output.WriteRawTag(48); + output.WriteBool(IsOutbound); + } + if (TimeOffset != 0L) { + output.WriteRawTag(56); + output.WriteInt64(TimeOffset); + } + if (UserAgent.Length != 0) { + output.WriteRawTag(66); + output.WriteString(UserAgent); + } + if (AdvertisedProtocolVersion != 0) { + output.WriteRawTag(72); + output.WriteUInt32(AdvertisedProtocolVersion); + } + if (TimeConnected != 0L) { + output.WriteRawTag(80); + output.WriteInt64(TimeConnected); + } + if (IsIbdPeer != false) { + output.WriteRawTag(88); + output.WriteBool(IsIbdPeer); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Address.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + } + if (LastPingDuration != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastPingDuration); + } + if (IsOutbound != false) { + size += 1 + 1; } if (TimeOffset != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeOffset); @@ -6844,6 +10084,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetConnectedPeerInfoMessage other) { if (other == null) { return; @@ -6879,10 +10120,18 @@ public void MergeFrom(GetConnectedPeerInfoMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -6924,7 +10173,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + Address = input.ReadString(); + break; + } + case 24: { + LastPingDuration = input.ReadInt64(); + break; + } + case 48: { + IsOutbound = input.ReadBool(); + break; + } + case 56: { + TimeOffset = input.ReadInt64(); + break; + } + case 66: { + UserAgent = input.ReadString(); + break; + } + case 72: { + AdvertisedProtocolVersion = input.ReadUInt32(); + break; + } + case 80: { + TimeConnected = input.ReadInt64(); + break; + } + case 88: { + IsIbdPeer = input.ReadBool(); + break; + } + } + } } + #endif } @@ -6932,23 +10237,32 @@ public void MergeFrom(pb::CodedInputStream input) { /// AddPeerRequestMessage adds a peer to kaspad's outgoing connection list. /// This will, in most cases, result in kaspad connecting to said peer. /// - public sealed partial class AddPeerRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddPeerRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddPeerRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AddPeerRequestMessage() { OnConstruction(); } @@ -6956,6 +10270,7 @@ public AddPeerRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AddPeerRequestMessage(AddPeerRequestMessage other) : this() { address_ = other.address_; isPermanent_ = other.isPermanent_; @@ -6963,6 +10278,7 @@ public AddPeerRequestMessage(AddPeerRequestMessage other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AddPeerRequestMessage Clone() { return new AddPeerRequestMessage(this); } @@ -6971,6 +10287,7 @@ public AddPeerRequestMessage Clone() { public const int AddressFieldNumber = 1; private string address_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Address { get { return address_; } set { @@ -6985,6 +10302,7 @@ public string Address { /// Whether to keep attempting to connect to this peer after disconnection /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsPermanent { get { return isPermanent_; } set { @@ -6993,11 +10311,13 @@ public bool IsPermanent { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AddPeerRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AddPeerRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -7011,6 +10331,7 @@ public bool Equals(AddPeerRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Address.Length != 0) hash ^= Address.GetHashCode(); @@ -7022,12 +10343,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Address.Length != 0) { output.WriteRawTag(10); output.WriteString(Address); @@ -7039,9 +10365,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + if (IsPermanent != false) { + output.WriteRawTag(16); + output.WriteBool(IsPermanent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Address.Length != 0) { @@ -7057,6 +10403,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AddPeerRequestMessage other) { if (other == null) { return; @@ -7071,10 +10418,18 @@ public void MergeFrom(AddPeerRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7088,27 +10443,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Address = input.ReadString(); + break; + } + case 16: { + IsPermanent = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class AddPeerResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddPeerResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddPeerResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[37]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AddPeerResponseMessage() { OnConstruction(); } @@ -7116,12 +10508,14 @@ public AddPeerResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AddPeerResponseMessage(AddPeerResponseMessage other) : this() { error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AddPeerResponseMessage Clone() { return new AddPeerResponseMessage(this); } @@ -7130,6 +10524,7 @@ public AddPeerResponseMessage Clone() { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -7138,11 +10533,13 @@ public AddPeerResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AddPeerResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AddPeerResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -7155,6 +10552,7 @@ public bool Equals(AddPeerResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (error_ != null) hash ^= Error.GetHashCode(); @@ -7165,12 +10563,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -7178,9 +10581,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (error_ != null) { @@ -7193,6 +10612,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AddPeerResponseMessage other) { if (other == null) { return; @@ -7207,10 +10627,18 @@ public void MergeFrom(AddPeerResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7223,30 +10651,66 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } /// /// SubmitTransactionRequestMessage submits a transaction to the mempool /// - public sealed partial class SubmitTransactionRequestMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitTransactionRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitTransactionRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitTransactionRequestMessage() { OnConstruction(); } @@ -7254,6 +10718,7 @@ public SubmitTransactionRequestMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitTransactionRequestMessage(SubmitTransactionRequestMessage other) : this() { transaction_ = other.transaction_ != null ? other.transaction_.Clone() : null; allowOrphan_ = other.allowOrphan_; @@ -7261,6 +10726,7 @@ public SubmitTransactionRequestMessage(SubmitTransactionRequestMessage other) : } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitTransactionRequestMessage Clone() { return new SubmitTransactionRequestMessage(this); } @@ -7269,6 +10735,7 @@ public SubmitTransactionRequestMessage Clone() { public const int TransactionFieldNumber = 1; private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction transaction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction Transaction { get { return transaction_; } set { @@ -7280,6 +10747,7 @@ public SubmitTransactionRequestMessage Clone() { public const int AllowOrphanFieldNumber = 2; private bool allowOrphan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool AllowOrphan { get { return allowOrphan_; } set { @@ -7288,11 +10756,13 @@ public bool AllowOrphan { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SubmitTransactionRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SubmitTransactionRequestMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -7306,6 +10776,7 @@ public bool Equals(SubmitTransactionRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (transaction_ != null) hash ^= Transaction.GetHashCode(); @@ -7317,12 +10788,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (transaction_ != null) { output.WriteRawTag(10); output.WriteMessage(Transaction); @@ -7334,9 +10810,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (transaction_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Transaction); + } + if (AllowOrphan != false) { + output.WriteRawTag(16); + output.WriteBool(AllowOrphan); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (transaction_ != null) { @@ -7352,6 +10848,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SubmitTransactionRequestMessage other) { if (other == null) { return; @@ -7369,10 +10866,18 @@ public void MergeFrom(SubmitTransactionRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7389,27 +10894,67 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (transaction_ == null) { + Transaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + input.ReadMessage(Transaction); + break; + } + case 16: { + AllowOrphan = input.ReadBool(); + break; + } + } + } } + #endif } - public sealed partial class SubmitTransactionResponseMessage : pb::IMessage { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitTransactionResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitTransactionResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitTransactionResponseMessage() { OnConstruction(); } @@ -7417,6 +10962,7 @@ public SubmitTransactionResponseMessage() { partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitTransactionResponseMessage(SubmitTransactionResponseMessage other) : this() { transactionId_ = other.transactionId_; error_ = other.error_ != null ? other.error_.Clone() : null; @@ -7424,6 +10970,7 @@ public SubmitTransactionResponseMessage(SubmitTransactionResponseMessage other) } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SubmitTransactionResponseMessage Clone() { return new SubmitTransactionResponseMessage(this); } @@ -7435,6 +10982,7 @@ public SubmitTransactionResponseMessage Clone() { /// The transaction ID of the submitted transaction /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TransactionId { get { return transactionId_; } set { @@ -7446,6 +10994,7 @@ public string TransactionId { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -7454,11 +11003,13 @@ public string TransactionId { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SubmitTransactionResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SubmitTransactionResponseMessage other) { if (ReferenceEquals(other, null)) { return false; @@ -7472,6 +11023,7 @@ public bool Equals(SubmitTransactionResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (TransactionId.Length != 0) hash ^= TransactionId.GetHashCode(); @@ -7483,12 +11035,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (TransactionId.Length != 0) { output.WriteRawTag(10); output.WriteString(TransactionId); @@ -7500,9 +11057,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TransactionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TransactionId); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (TransactionId.Length != 0) { @@ -7518,6 +11095,7 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SubmitTransactionResponseMessage other) { if (other == null) { return; @@ -7535,10 +11113,18 @@ public void MergeFrom(SubmitTransactionResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -7555,81 +11141,125 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TransactionId = input.ReadString(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } /// - /// NotifyVirtualSelectedParentChainChangedRequestMessage registers this connection for virtualSelectedParentChainChanged notifications. - /// - /// See: VirtualSelectedParentChainChangedNotificationMessage + /// SubmitTransactionReplacementRequestMessage submits a transaction to the mempool, applying a mandatory Replace by Fee policy /// - public sealed partial class NotifyVirtualSelectedParentChainChangedRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualSelectedParentChainChangedRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitTransactionReplacementRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitTransactionReplacementRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentChainChangedRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitTransactionReplacementRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentChainChangedRequestMessage(NotifyVirtualSelectedParentChainChangedRequestMessage other) : this() { - includeAcceptedTransactionIds_ = other.includeAcceptedTransactionIds_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitTransactionReplacementRequestMessage(SubmitTransactionReplacementRequestMessage other) : this() { + transaction_ = other.transaction_ != null ? other.transaction_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentChainChangedRequestMessage Clone() { - return new NotifyVirtualSelectedParentChainChangedRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitTransactionReplacementRequestMessage Clone() { + return new SubmitTransactionReplacementRequestMessage(this); } - /// Field number for the "includeAcceptedTransactionIds" field. - public const int IncludeAcceptedTransactionIdsFieldNumber = 1; - private bool includeAcceptedTransactionIds_; + /// Field number for the "transaction" field. + public const int TransactionFieldNumber = 1; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction transaction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IncludeAcceptedTransactionIds { - get { return includeAcceptedTransactionIds_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction Transaction { + get { return transaction_; } set { - includeAcceptedTransactionIds_ = value; + transaction_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyVirtualSelectedParentChainChangedRequestMessage); + return Equals(other as SubmitTransactionReplacementRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyVirtualSelectedParentChainChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubmitTransactionReplacementRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (IncludeAcceptedTransactionIds != other.IncludeAcceptedTransactionIds) return false; + if (!object.Equals(Transaction, other.Transaction)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (IncludeAcceptedTransactionIds != false) hash ^= IncludeAcceptedTransactionIds.GetHashCode(); + if (transaction_ != null) hash ^= Transaction.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7637,26 +11267,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (IncludeAcceptedTransactionIds != false) { - output.WriteRawTag(8); - output.WriteBool(IncludeAcceptedTransactionIds); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (transaction_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Transaction); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (IncludeAcceptedTransactionIds != false) { - size += 1 + 1; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (transaction_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Transaction); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (transaction_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Transaction); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -7665,72 +11316,158 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyVirtualSelectedParentChainChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubmitTransactionReplacementRequestMessage other) { if (other == null) { return; } - if (other.IncludeAcceptedTransactionIds != false) { - IncludeAcceptedTransactionIds = other.IncludeAcceptedTransactionIds; + if (other.transaction_ != null) { + if (transaction_ == null) { + Transaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + Transaction.MergeFrom(other.Transaction); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - IncludeAcceptedTransactionIds = input.ReadBool(); + case 10: { + if (transaction_ == null) { + Transaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + input.ReadMessage(Transaction); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (transaction_ == null) { + Transaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + input.ReadMessage(Transaction); break; } } } } + #endif } - public sealed partial class NotifyVirtualSelectedParentChainChangedResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualSelectedParentChainChangedResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SubmitTransactionReplacementResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubmitTransactionReplacementResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentChainChangedResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitTransactionReplacementResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentChainChangedResponseMessage(NotifyVirtualSelectedParentChainChangedResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitTransactionReplacementResponseMessage(SubmitTransactionReplacementResponseMessage other) : this() { + transactionId_ = other.transactionId_; + replacedTransaction_ = other.replacedTransaction_ != null ? other.replacedTransaction_.Clone() : null; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentChainChangedResponseMessage Clone() { - return new NotifyVirtualSelectedParentChainChangedResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SubmitTransactionReplacementResponseMessage Clone() { + return new SubmitTransactionReplacementResponseMessage(this); + } + + /// Field number for the "transactionId" field. + public const int TransactionIdFieldNumber = 1; + private string transactionId_ = ""; + /// + /// The transaction ID of the submitted transaction + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TransactionId { + get { return transactionId_; } + set { + transactionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "replacedTransaction" field. + public const int ReplacedTransactionFieldNumber = 2; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction replacedTransaction_; + /// + /// The previous transaction replaced in the mempool by the newly submitted one + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction ReplacedTransaction { + get { return replacedTransaction_; } + set { + replacedTransaction_ = value; + } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -7739,25 +11476,32 @@ public NotifyVirtualSelectedParentChainChangedResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyVirtualSelectedParentChainChangedResponseMessage); + return Equals(other as SubmitTransactionReplacementResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyVirtualSelectedParentChainChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SubmitTransactionReplacementResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (TransactionId != other.TransactionId) return false; + if (!object.Equals(ReplacedTransaction, other.ReplacedTransaction)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (TransactionId.Length != 0) hash ^= TransactionId.GetHashCode(); + if (replacedTransaction_ != null) hash ^= ReplacedTransaction.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -7766,12 +11510,25 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (TransactionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TransactionId); + } + if (replacedTransaction_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ReplacedTransaction); + } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -7779,11 +11536,41 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TransactionId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TransactionId); + } + if (replacedTransaction_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ReplacedTransaction); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (TransactionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TransactionId); + } + if (replacedTransaction_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReplacedTransaction); + } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -7794,10 +11581,20 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyVirtualSelectedParentChainChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SubmitTransactionReplacementResponseMessage other) { if (other == null) { return; } + if (other.TransactionId.Length != 0) { + TransactionId = other.TransactionId; + } + if (other.replacedTransaction_ != null) { + if (replacedTransaction_ == null) { + ReplacedTransaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + ReplacedTransaction.MergeFrom(other.ReplacedTransaction); + } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -7808,13 +11605,69 @@ public void MergeFrom(NotifyVirtualSelectedParentChainChangedResponseMessage oth } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: { + TransactionId = input.ReadString(); + break; + } + case 18: { + if (replacedTransaction_ == null) { + ReplacedTransaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + input.ReadMessage(ReplacedTransaction); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TransactionId = input.ReadString(); + break; + } + case 18: { + if (replacedTransaction_ == null) { + ReplacedTransaction = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcTransaction(); + } + input.ReadMessage(ReplacedTransaction); + break; + } case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -7825,115 +11678,111 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// - /// VirtualSelectedParentChainChangedNotificationMessage is sent whenever the DAG's selected parent - /// chain had changed. + /// NotifyVirtualChainChangedRequestMessage registers this connection for virtualChainChanged notifications. /// - /// See: NotifyVirtualSelectedParentChainChangedRequestMessage + /// See: VirtualChainChangedNotificationMessage /// - public sealed partial class VirtualSelectedParentChainChangedNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VirtualSelectedParentChainChangedNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyVirtualChainChangedRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualChainChangedRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[42]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualSelectedParentChainChangedNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualChainChangedRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualSelectedParentChainChangedNotificationMessage(VirtualSelectedParentChainChangedNotificationMessage other) : this() { - removedChainBlockHashes_ = other.removedChainBlockHashes_.Clone(); - addedChainBlockHashes_ = other.addedChainBlockHashes_.Clone(); - acceptedTransactionIds_ = other.acceptedTransactionIds_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualChainChangedRequestMessage(NotifyVirtualChainChangedRequestMessage other) : this() { + includeAcceptedTransactionIds_ = other.includeAcceptedTransactionIds_; + command_ = other.command_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualSelectedParentChainChangedNotificationMessage Clone() { - return new VirtualSelectedParentChainChangedNotificationMessage(this); - } - - /// Field number for the "removedChainBlockHashes" field. - public const int RemovedChainBlockHashesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_removedChainBlockHashes_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField removedChainBlockHashes_ = new pbc::RepeatedField(); - /// - /// The chain blocks that were removed, in high-to-low order - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField RemovedChainBlockHashes { - get { return removedChainBlockHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualChainChangedRequestMessage Clone() { + return new NotifyVirtualChainChangedRequestMessage(this); } - /// Field number for the "addedChainBlockHashes" field. - public const int AddedChainBlockHashesFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_addedChainBlockHashes_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField addedChainBlockHashes_ = new pbc::RepeatedField(); - /// - /// The chain blocks that were added, in low-to-high order - /// + /// Field number for the "includeAcceptedTransactionIds" field. + public const int IncludeAcceptedTransactionIdsFieldNumber = 1; + private bool includeAcceptedTransactionIds_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField AddedChainBlockHashes { - get { return addedChainBlockHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeAcceptedTransactionIds { + get { return includeAcceptedTransactionIds_; } + set { + includeAcceptedTransactionIds_ = value; + } } - /// Field number for the "acceptedTransactionIds" field. - public const int AcceptedTransactionIdsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_acceptedTransactionIds_codec - = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.AcceptedTransactionIds.Parser); - private readonly pbc::RepeatedField acceptedTransactionIds_ = new pbc::RepeatedField(); - /// - /// Will be filled only if `includeAcceptedTransactionIds = true` in the notify request. - /// + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField AcceptedTransactionIds { - get { return acceptedTransactionIds_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as VirtualSelectedParentChainChangedNotificationMessage); + return Equals(other as NotifyVirtualChainChangedRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(VirtualSelectedParentChainChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyVirtualChainChangedRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!removedChainBlockHashes_.Equals(other.removedChainBlockHashes_)) return false; - if(!addedChainBlockHashes_.Equals(other.addedChainBlockHashes_)) return false; - if(!acceptedTransactionIds_.Equals(other.acceptedTransactionIds_)) return false; + if (IncludeAcceptedTransactionIds != other.IncludeAcceptedTransactionIds) return false; + if (Command != other.Command) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= removedChainBlockHashes_.GetHashCode(); - hash ^= addedChainBlockHashes_.GetHashCode(); - hash ^= acceptedTransactionIds_.GetHashCode(); + if (IncludeAcceptedTransactionIds != false) hash ^= IncludeAcceptedTransactionIds.GetHashCode(); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7941,26 +11790,59 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - removedChainBlockHashes_.WriteTo(output, _repeated_removedChainBlockHashes_codec); - acceptedTransactionIds_.WriteTo(output, _repeated_acceptedTransactionIds_codec); - addedChainBlockHashes_.WriteTo(output, _repeated_addedChainBlockHashes_codec); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IncludeAcceptedTransactionIds != false) { + output.WriteRawTag(8); + output.WriteBool(IncludeAcceptedTransactionIds); + } + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IncludeAcceptedTransactionIds != false) { + output.WriteRawTag(8); + output.WriteBool(IncludeAcceptedTransactionIds); + } + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += removedChainBlockHashes_.CalculateSize(_repeated_removedChainBlockHashes_codec); - size += addedChainBlockHashes_.CalculateSize(_repeated_addedChainBlockHashes_codec); - size += acceptedTransactionIds_.CalculateSize(_repeated_acceptedTransactionIds_codec); + if (IncludeAcceptedTransactionIds != false) { + size += 1 + 1; + } + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7968,131 +11850,159 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(VirtualSelectedParentChainChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyVirtualChainChangedRequestMessage other) { if (other == null) { return; } - removedChainBlockHashes_.Add(other.removedChainBlockHashes_); - addedChainBlockHashes_.Add(other.addedChainBlockHashes_); - acceptedTransactionIds_.Add(other.acceptedTransactionIds_); + if (other.IncludeAcceptedTransactionIds != false) { + IncludeAcceptedTransactionIds = other.IncludeAcceptedTransactionIds; + } + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - removedChainBlockHashes_.AddEntriesFrom(input, _repeated_removedChainBlockHashes_codec); + case 8: { + IncludeAcceptedTransactionIds = input.ReadBool(); break; } - case 18: { - acceptedTransactionIds_.AddEntriesFrom(input, _repeated_acceptedTransactionIds_codec); + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); break; } - case 26: { - addedChainBlockHashes_.AddEntriesFrom(input, _repeated_addedChainBlockHashes_codec); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IncludeAcceptedTransactionIds = input.ReadBool(); + break; + } + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); break; } } } } + #endif } - /// - /// GetBlockRequestMessage requests information about a specific block - /// - public sealed partial class GetBlockRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyVirtualChainChangedResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualChainChangedResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[43]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualChainChangedResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockRequestMessage(GetBlockRequestMessage other) : this() { - hash_ = other.hash_; - includeTransactions_ = other.includeTransactions_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualChainChangedResponseMessage(NotifyVirtualChainChangedResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockRequestMessage Clone() { - return new GetBlockRequestMessage(this); - } - - /// Field number for the "hash" field. - public const int HashFieldNumber = 1; - private string hash_ = ""; - /// - /// The hash of the requested block - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Hash { - get { return hash_; } - set { - hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualChainChangedResponseMessage Clone() { + return new NotifyVirtualChainChangedResponseMessage(this); } - /// Field number for the "includeTransactions" field. - public const int IncludeTransactionsFieldNumber = 3; - private bool includeTransactions_; - /// - /// Whether to include transaction data in the response - /// + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IncludeTransactions { - get { return includeTransactions_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } set { - includeTransactions_ = value; + error_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlockRequestMessage); + return Equals(other as NotifyVirtualChainChangedResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlockRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyVirtualChainChangedResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Hash != other.Hash) return false; - if (IncludeTransactions != other.IncludeTransactions) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Hash.Length != 0) hash ^= Hash.GetHashCode(); - if (IncludeTransactions != false) hash ^= IncludeTransactions.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8100,33 +12010,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Hash.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Hash); - } - if (IncludeTransactions != false) { - output.WriteRawTag(24); - output.WriteBool(IncludeTransactions); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Hash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash); - } - if (IncludeTransactions != false) { - size += 1 + 1; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8135,121 +12059,199 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlockRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyVirtualChainChangedResponseMessage other) { if (other == null) { return; } - if (other.Hash.Length != 0) { - Hash = other.Hash; - } - if (other.IncludeTransactions != false) { - IncludeTransactions = other.IncludeTransactions; + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - Hash = input.ReadString(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } - case 24: { - IncludeTransactions = input.ReadBool(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } } } } + #endif } - public sealed partial class GetBlockResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockResponseMessage()); + /// + /// VirtualChainChangedNotificationMessage is sent whenever the DAG's selected parent + /// chain had changed. + /// + /// See: NotifyVirtualChainChangedRequestMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VirtualChainChangedNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VirtualChainChangedNotificationMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[44]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VirtualChainChangedNotificationMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockResponseMessage(GetBlockResponseMessage other) : this() { - block_ = other.block_ != null ? other.block_.Clone() : null; - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VirtualChainChangedNotificationMessage(VirtualChainChangedNotificationMessage other) : this() { + removedChainBlockHashes_ = other.removedChainBlockHashes_.Clone(); + addedChainBlockHashes_ = other.addedChainBlockHashes_.Clone(); + acceptedTransactionIds_ = other.acceptedTransactionIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockResponseMessage Clone() { - return new GetBlockResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VirtualChainChangedNotificationMessage Clone() { + return new VirtualChainChangedNotificationMessage(this); } - /// Field number for the "block" field. - public const int BlockFieldNumber = 3; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock block_; + /// Field number for the "removedChainBlockHashes" field. + public const int RemovedChainBlockHashesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_removedChainBlockHashes_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField removedChainBlockHashes_ = new pbc::RepeatedField(); + /// + /// The chain blocks that were removed, in high-to-low order + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock Block { - get { return block_; } - set { - block_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RemovedChainBlockHashes { + get { return removedChainBlockHashes_; } } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "addedChainBlockHashes" field. + public const int AddedChainBlockHashesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_addedChainBlockHashes_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField addedChainBlockHashes_ = new pbc::RepeatedField(); + /// + /// The chain blocks that were added, in low-to-high order + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } - set { - error_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AddedChainBlockHashes { + get { return addedChainBlockHashes_; } + } + + /// Field number for the "acceptedTransactionIds" field. + public const int AcceptedTransactionIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_acceptedTransactionIds_codec + = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcAcceptedTransactionIds.Parser); + private readonly pbc::RepeatedField acceptedTransactionIds_ = new pbc::RepeatedField(); + /// + /// Will be filled only if `includeAcceptedTransactionIds = true` in the notify request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AcceptedTransactionIds { + get { return acceptedTransactionIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlockResponseMessage); + return Equals(other as VirtualChainChangedNotificationMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlockResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VirtualChainChangedNotificationMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Block, other.Block)) return false; - if (!object.Equals(Error, other.Error)) return false; + if(!removedChainBlockHashes_.Equals(other.removedChainBlockHashes_)) return false; + if(!addedChainBlockHashes_.Equals(other.addedChainBlockHashes_)) return false; + if(!acceptedTransactionIds_.Equals(other.acceptedTransactionIds_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (block_ != null) hash ^= Block.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + hash ^= removedChainBlockHashes_.GetHashCode(); + hash ^= addedChainBlockHashes_.GetHashCode(); + hash ^= acceptedTransactionIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8257,34 +12259,46 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (block_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Block); - } - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + removedChainBlockHashes_.WriteTo(output, _repeated_removedChainBlockHashes_codec); + acceptedTransactionIds_.WriteTo(output, _repeated_acceptedTransactionIds_codec); + addedChainBlockHashes_.WriteTo(output, _repeated_addedChainBlockHashes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + removedChainBlockHashes_.WriteTo(ref output, _repeated_removedChainBlockHashes_codec); + acceptedTransactionIds_.WriteTo(ref output, _repeated_acceptedTransactionIds_codec); + addedChainBlockHashes_.WriteTo(ref output, _repeated_addedChainBlockHashes_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (block_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Block); - } - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); - } + size += removedChainBlockHashes_.CalculateSize(_repeated_removedChainBlockHashes_codec); + size += addedChainBlockHashes_.CalculateSize(_repeated_addedChainBlockHashes_codec); + size += acceptedTransactionIds_.CalculateSize(_repeated_acceptedTransactionIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8292,124 +12306,188 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlockResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VirtualChainChangedNotificationMessage other) { if (other == null) { return; } - if (other.block_ != null) { - if (block_ == null) { - Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); - } - Block.MergeFrom(other.Block); - } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); - } + removedChainBlockHashes_.Add(other.removedChainBlockHashes_); + addedChainBlockHashes_.Add(other.addedChainBlockHashes_); + acceptedTransactionIds_.Add(other.acceptedTransactionIds_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: { + removedChainBlockHashes_.AddEntriesFrom(input, _repeated_removedChainBlockHashes_codec); + break; + } + case 18: { + acceptedTransactionIds_.AddEntriesFrom(input, _repeated_acceptedTransactionIds_codec); + break; + } case 26: { - if (block_ == null) { - Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); - } - input.ReadMessage(Block); + addedChainBlockHashes_.AddEntriesFrom(input, _repeated_addedChainBlockHashes_codec); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + removedChainBlockHashes_.AddEntriesFrom(ref input, _repeated_removedChainBlockHashes_codec); + break; + } + case 18: { + acceptedTransactionIds_.AddEntriesFrom(ref input, _repeated_acceptedTransactionIds_codec); + break; + } + case 26: { + addedChainBlockHashes_.AddEntriesFrom(ref input, _repeated_addedChainBlockHashes_codec); break; } } } } + #endif } /// - /// GetSubnetworkRequestMessage requests information about a specific subnetwork - /// - /// Currently unimplemented + /// GetBlockRequestMessage requests information about a specific block /// - public sealed partial class GetSubnetworkRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSubnetworkRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[45]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSubnetworkRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSubnetworkRequestMessage(GetSubnetworkRequestMessage other) : this() { - subnetworkId_ = other.subnetworkId_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockRequestMessage(GetBlockRequestMessage other) : this() { + hash_ = other.hash_; + includeTransactions_ = other.includeTransactions_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSubnetworkRequestMessage Clone() { - return new GetSubnetworkRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockRequestMessage Clone() { + return new GetBlockRequestMessage(this); } - /// Field number for the "subnetworkId" field. - public const int SubnetworkIdFieldNumber = 1; - private string subnetworkId_ = ""; + /// Field number for the "hash" field. + public const int HashFieldNumber = 1; + private string hash_ = ""; + /// + /// The hash of the requested block + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string SubnetworkId { - get { return subnetworkId_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Hash { + get { return hash_; } set { - subnetworkId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "includeTransactions" field. + public const int IncludeTransactionsFieldNumber = 3; + private bool includeTransactions_; + /// + /// Whether to include transaction data in the response + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeTransactions { + get { return includeTransactions_; } + set { + includeTransactions_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSubnetworkRequestMessage); + return Equals(other as GetBlockRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetSubnetworkRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlockRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (SubnetworkId != other.SubnetworkId) return false; + if (Hash != other.Hash) return false; + if (IncludeTransactions != other.IncludeTransactions) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (SubnetworkId.Length != 0) hash ^= SubnetworkId.GetHashCode(); + if (Hash.Length != 0) hash ^= Hash.GetHashCode(); + if (IncludeTransactions != false) hash ^= IncludeTransactions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8417,26 +12495,58 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (SubnetworkId.Length != 0) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Hash.Length != 0) { output.WriteRawTag(10); - output.WriteString(SubnetworkId); + output.WriteString(Hash); + } + if (IncludeTransactions != false) { + output.WriteRawTag(24); + output.WriteBool(IncludeTransactions); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Hash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Hash); + } + if (IncludeTransactions != false) { + output.WriteRawTag(24); + output.WriteBool(IncludeTransactions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (SubnetworkId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SubnetworkId); + if (Hash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash); + } + if (IncludeTransactions != false) { + size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8445,77 +12555,133 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetSubnetworkRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlockRequestMessage other) { if (other == null) { return; } - if (other.SubnetworkId.Length != 0) { - SubnetworkId = other.SubnetworkId; + if (other.Hash.Length != 0) { + Hash = other.Hash; + } + if (other.IncludeTransactions != false) { + IncludeTransactions = other.IncludeTransactions; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - SubnetworkId = input.ReadString(); + Hash = input.ReadString(); + break; + } + case 24: { + IncludeTransactions = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Hash = input.ReadString(); + break; + } + case 24: { + IncludeTransactions = input.ReadBool(); break; } } } } + #endif } - public sealed partial class GetSubnetworkResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSubnetworkResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSubnetworkResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSubnetworkResponseMessage(GetSubnetworkResponseMessage other) : this() { - gasLimit_ = other.gasLimit_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockResponseMessage(GetBlockResponseMessage other) : this() { + block_ = other.block_ != null ? other.block_.Clone() : null; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetSubnetworkResponseMessage Clone() { - return new GetSubnetworkResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockResponseMessage Clone() { + return new GetBlockResponseMessage(this); } - /// Field number for the "gasLimit" field. - public const int GasLimitFieldNumber = 1; - private ulong gasLimit_; + /// Field number for the "block" field. + public const int BlockFieldNumber = 3; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock block_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong GasLimit { - get { return gasLimit_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock Block { + get { return block_; } set { - gasLimit_ = value; + block_ = value; } } @@ -8523,6 +12689,7 @@ public ulong GasLimit { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -8531,27 +12698,30 @@ public ulong GasLimit { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetSubnetworkResponseMessage); + return Equals(other as GetBlockResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetSubnetworkResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlockResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (GasLimit != other.GasLimit) return false; + if (!object.Equals(Block, other.Block)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (GasLimit != 0UL) hash ^= GasLimit.GetHashCode(); + if (block_ != null) hash ^= Block.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -8560,15 +12730,20 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (GasLimit != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(GasLimit); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (block_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Block); } if (error_ != null) { output.WriteRawTag(194, 62); @@ -8577,13 +12752,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (block_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Block); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (GasLimit != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(GasLimit); + if (block_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Block); } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); @@ -8595,12 +12790,16 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetSubnetworkResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlockResponseMessage other) { if (other == null) { return; } - if (other.GasLimit != 0UL) { - GasLimit = other.GasLimit; + if (other.block_ != null) { + if (block_ == null) { + Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); + } + Block.MergeFrom(other.Block); } if (other.error_ != null) { if (error_ == null) { @@ -8612,15 +12811,59 @@ public void MergeFrom(GetSubnetworkResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - GasLimit = input.ReadUInt64(); + case 26: { + if (block_ == null) { + Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); + } + input.ReadMessage(Block); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + if (block_ == null) { + Block = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock(); + } + input.ReadMessage(Block); break; } case 8002: { @@ -8633,93 +12876,96 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// - /// GetVirtualSelectedParentChainFromBlockRequestMessage requests the virtual selected - /// parent chain from some startHash to this kaspad's current virtual + /// GetSubnetworkRequestMessage requests information about a specific subnetwork + /// + /// Currently unimplemented /// - public sealed partial class GetVirtualSelectedParentChainFromBlockRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVirtualSelectedParentChainFromBlockRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSubnetworkRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSubnetworkRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentChainFromBlockRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSubnetworkRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentChainFromBlockRequestMessage(GetVirtualSelectedParentChainFromBlockRequestMessage other) : this() { - startHash_ = other.startHash_; - includeAcceptedTransactionIds_ = other.includeAcceptedTransactionIds_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSubnetworkRequestMessage(GetSubnetworkRequestMessage other) : this() { + subnetworkId_ = other.subnetworkId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentChainFromBlockRequestMessage Clone() { - return new GetVirtualSelectedParentChainFromBlockRequestMessage(this); - } - - /// Field number for the "startHash" field. - public const int StartHashFieldNumber = 1; - private string startHash_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string StartHash { - get { return startHash_; } - set { - startHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSubnetworkRequestMessage Clone() { + return new GetSubnetworkRequestMessage(this); } - /// Field number for the "includeAcceptedTransactionIds" field. - public const int IncludeAcceptedTransactionIdsFieldNumber = 2; - private bool includeAcceptedTransactionIds_; + /// Field number for the "subnetworkId" field. + public const int SubnetworkIdFieldNumber = 1; + private string subnetworkId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IncludeAcceptedTransactionIds { - get { return includeAcceptedTransactionIds_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SubnetworkId { + get { return subnetworkId_; } set { - includeAcceptedTransactionIds_ = value; + subnetworkId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetVirtualSelectedParentChainFromBlockRequestMessage); + return Equals(other as GetSubnetworkRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetVirtualSelectedParentChainFromBlockRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSubnetworkRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (StartHash != other.StartHash) return false; - if (IncludeAcceptedTransactionIds != other.IncludeAcceptedTransactionIds) return false; + if (SubnetworkId != other.SubnetworkId) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (StartHash.Length != 0) hash ^= StartHash.GetHashCode(); - if (IncludeAcceptedTransactionIds != false) hash ^= IncludeAcceptedTransactionIds.GetHashCode(); + if (SubnetworkId.Length != 0) hash ^= SubnetworkId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8727,33 +12973,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (StartHash.Length != 0) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SubnetworkId.Length != 0) { output.WriteRawTag(10); - output.WriteString(StartHash); - } - if (IncludeAcceptedTransactionIds != false) { - output.WriteRawTag(16); - output.WriteBool(IncludeAcceptedTransactionIds); + output.WriteString(SubnetworkId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SubnetworkId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SubnetworkId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (StartHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StartHash); - } - if (IncludeAcceptedTransactionIds != false) { - size += 1 + 1; + if (SubnetworkId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SubnetworkId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8762,120 +13022,163 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetVirtualSelectedParentChainFromBlockRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSubnetworkRequestMessage other) { if (other == null) { return; } - if (other.StartHash.Length != 0) { - StartHash = other.StartHash; - } - if (other.IncludeAcceptedTransactionIds != false) { - IncludeAcceptedTransactionIds = other.IncludeAcceptedTransactionIds; + if (other.SubnetworkId.Length != 0) { + SubnetworkId = other.SubnetworkId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - StartHash = input.ReadString(); + SubnetworkId = input.ReadString(); break; } - case 16: { - IncludeAcceptedTransactionIds = input.ReadBool(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SubnetworkId = input.ReadString(); break; } } } } + #endif } - public sealed partial class AcceptedTransactionIds : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptedTransactionIds()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSubnetworkResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSubnetworkResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AcceptedTransactionIds() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSubnetworkResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AcceptedTransactionIds(AcceptedTransactionIds other) : this() { - acceptingBlockHash_ = other.acceptingBlockHash_; - acceptedTransactionIds_ = other.acceptedTransactionIds_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSubnetworkResponseMessage(GetSubnetworkResponseMessage other) : this() { + gasLimit_ = other.gasLimit_; + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AcceptedTransactionIds Clone() { - return new AcceptedTransactionIds(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSubnetworkResponseMessage Clone() { + return new GetSubnetworkResponseMessage(this); } - /// Field number for the "acceptingBlockHash" field. - public const int AcceptingBlockHashFieldNumber = 1; - private string acceptingBlockHash_ = ""; + /// Field number for the "gasLimit" field. + public const int GasLimitFieldNumber = 1; + private ulong gasLimit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string AcceptingBlockHash { - get { return acceptingBlockHash_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong GasLimit { + get { return gasLimit_; } set { - acceptingBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + gasLimit_ = value; } } - /// Field number for the "acceptedTransactionIds" field. - public const int AcceptedTransactionIds_FieldNumber = 2; - private static readonly pb::FieldCodec _repeated_acceptedTransactionIds_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField acceptedTransactionIds_ = new pbc::RepeatedField(); + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField AcceptedTransactionIds_ { - get { return acceptedTransactionIds_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as AcceptedTransactionIds); + return Equals(other as GetSubnetworkResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(AcceptedTransactionIds other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSubnetworkResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AcceptingBlockHash != other.AcceptingBlockHash) return false; - if(!acceptedTransactionIds_.Equals(other.acceptedTransactionIds_)) return false; + if (GasLimit != other.GasLimit) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AcceptingBlockHash.Length != 0) hash ^= AcceptingBlockHash.GetHashCode(); - hash ^= acceptedTransactionIds_.GetHashCode(); + if (GasLimit != 0UL) hash ^= GasLimit.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8883,29 +13186,59 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (AcceptingBlockHash.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AcceptingBlockHash); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (GasLimit != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(GasLimit); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } - acceptedTransactionIds_.WriteTo(output, _repeated_acceptedTransactionIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (GasLimit != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(GasLimit); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AcceptingBlockHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptingBlockHash); + if (GasLimit != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(GasLimit); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } - size += acceptedTransactionIds_.CalculateSize(_repeated_acceptedTransactionIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8913,187 +13246,294 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(AcceptedTransactionIds other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSubnetworkResponseMessage other) { if (other == null) { return; } - if (other.AcceptingBlockHash.Length != 0) { - AcceptingBlockHash = other.AcceptingBlockHash; + if (other.GasLimit != 0UL) { + GasLimit = other.GasLimit; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); } - acceptedTransactionIds_.Add(other.acceptedTransactionIds_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - AcceptingBlockHash = input.ReadString(); + case 8: { + GasLimit = input.ReadUInt64(); break; } - case 18: { - acceptedTransactionIds_.AddEntriesFrom(input, _repeated_acceptedTransactionIds_codec); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + GasLimit = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + } - public sealed partial class GetVirtualSelectedParentChainFromBlockResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVirtualSelectedParentChainFromBlockResponseMessage()); + /// + //// GetVirtualChainFromBlockRequestMessage requests the virtual selected + //// parent chain from some startHash to this kaspad's current virtual + //// Note: + //// this call batches the response to: + //// a. the network's `mergeset size limit * 10` amount of added chain blocks, if `includeAcceptedTransactionIds = false` + //// b. or `mergeset size limit * 10` amount of merged blocks, if `includeAcceptedTransactionIds = true` + //// c. it does not batch the removed chain blocks, only the added ones. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetVirtualChainFromBlockRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVirtualChainFromBlockRequestMessage()); private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[49]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentChainFromBlockResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVirtualChainFromBlockRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentChainFromBlockResponseMessage(GetVirtualSelectedParentChainFromBlockResponseMessage other) : this() { - removedChainBlockHashes_ = other.removedChainBlockHashes_.Clone(); - addedChainBlockHashes_ = other.addedChainBlockHashes_.Clone(); - acceptedTransactionIds_ = other.acceptedTransactionIds_.Clone(); - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVirtualChainFromBlockRequestMessage(GetVirtualChainFromBlockRequestMessage other) : this() { + _hasBits0 = other._hasBits0; + startHash_ = other.startHash_; + includeAcceptedTransactionIds_ = other.includeAcceptedTransactionIds_; + minConfirmationCount_ = other.minConfirmationCount_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentChainFromBlockResponseMessage Clone() { - return new GetVirtualSelectedParentChainFromBlockResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVirtualChainFromBlockRequestMessage Clone() { + return new GetVirtualChainFromBlockRequestMessage(this); } - /// Field number for the "removedChainBlockHashes" field. - public const int RemovedChainBlockHashesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_removedChainBlockHashes_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField removedChainBlockHashes_ = new pbc::RepeatedField(); - /// - /// The chain blocks that were removed, in high-to-low order - /// + /// Field number for the "startHash" field. + public const int StartHashFieldNumber = 1; + private string startHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField RemovedChainBlockHashes { - get { return removedChainBlockHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StartHash { + get { return startHash_; } + set { + startHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } - /// Field number for the "addedChainBlockHashes" field. - public const int AddedChainBlockHashesFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_addedChainBlockHashes_codec - = pb::FieldCodec.ForString(26); - private readonly pbc::RepeatedField addedChainBlockHashes_ = new pbc::RepeatedField(); - /// - /// The chain blocks that were added, in low-to-high order - /// + /// Field number for the "includeAcceptedTransactionIds" field. + public const int IncludeAcceptedTransactionIdsFieldNumber = 2; + private bool includeAcceptedTransactionIds_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField AddedChainBlockHashes { - get { return addedChainBlockHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeAcceptedTransactionIds { + get { return includeAcceptedTransactionIds_; } + set { + includeAcceptedTransactionIds_ = value; + } } - /// Field number for the "acceptedTransactionIds" field. - public const int AcceptedTransactionIdsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_acceptedTransactionIds_codec - = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.AcceptedTransactionIds.Parser); - private readonly pbc::RepeatedField acceptedTransactionIds_ = new pbc::RepeatedField(); - /// - /// The transactions accepted by each block in addedChainBlockHashes. - /// Will be filled only if `includeAcceptedTransactionIds = true` in the request. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField AcceptedTransactionIds { - get { return acceptedTransactionIds_; } - } + /// Field number for the "minConfirmationCount" field. + public const int MinConfirmationCountFieldNumber = 3; + private readonly static ulong MinConfirmationCountDefaultValue = 0UL; - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + private ulong minConfirmationCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MinConfirmationCount { + get { if ((_hasBits0 & 1) != 0) { return minConfirmationCount_; } else { return MinConfirmationCountDefaultValue; } } set { - error_ = value; + _hasBits0 |= 1; + minConfirmationCount_ = value; } } + /// Gets whether the "minConfirmationCount" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinConfirmationCount { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "minConfirmationCount" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinConfirmationCount() { + _hasBits0 &= ~1; + } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetVirtualSelectedParentChainFromBlockResponseMessage); + return Equals(other as GetVirtualChainFromBlockRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetVirtualSelectedParentChainFromBlockResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetVirtualChainFromBlockRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!removedChainBlockHashes_.Equals(other.removedChainBlockHashes_)) return false; - if(!addedChainBlockHashes_.Equals(other.addedChainBlockHashes_)) return false; - if(!acceptedTransactionIds_.Equals(other.acceptedTransactionIds_)) return false; - if (!object.Equals(Error, other.Error)) return false; + if (StartHash != other.StartHash) return false; + if (IncludeAcceptedTransactionIds != other.IncludeAcceptedTransactionIds) return false; + if (MinConfirmationCount != other.MinConfirmationCount) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= removedChainBlockHashes_.GetHashCode(); - hash ^= addedChainBlockHashes_.GetHashCode(); - hash ^= acceptedTransactionIds_.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); - if (_unknownFields != null) { + if (StartHash.Length != 0) hash ^= StartHash.GetHashCode(); + if (IncludeAcceptedTransactionIds != false) hash ^= IncludeAcceptedTransactionIds.GetHashCode(); + if (HasMinConfirmationCount) hash ^= MinConfirmationCount.GetHashCode(); + if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - removedChainBlockHashes_.WriteTo(output, _repeated_removedChainBlockHashes_codec); - acceptedTransactionIds_.WriteTo(output, _repeated_acceptedTransactionIds_codec); - addedChainBlockHashes_.WriteTo(output, _repeated_addedChainBlockHashes_codec); - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (StartHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StartHash); + } + if (IncludeAcceptedTransactionIds != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeAcceptedTransactionIds); + } + if (HasMinConfirmationCount) { + output.WriteRawTag(24); + output.WriteUInt64(MinConfirmationCount); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StartHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StartHash); + } + if (IncludeAcceptedTransactionIds != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeAcceptedTransactionIds); + } + if (HasMinConfirmationCount) { + output.WriteRawTag(24); + output.WriteUInt64(MinConfirmationCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += removedChainBlockHashes_.CalculateSize(_repeated_removedChainBlockHashes_codec); - size += addedChainBlockHashes_.CalculateSize(_repeated_addedChainBlockHashes_codec); - size += acceptedTransactionIds_.CalculateSize(_repeated_acceptedTransactionIds_codec); - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (StartHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StartHash); + } + if (IncludeAcceptedTransactionIds != false) { + size += 1 + 1; + } + if (HasMinConfirmationCount) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MinConfirmationCount); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -9102,153 +13542,184 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetVirtualSelectedParentChainFromBlockResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetVirtualChainFromBlockRequestMessage other) { if (other == null) { return; } - removedChainBlockHashes_.Add(other.removedChainBlockHashes_); - addedChainBlockHashes_.Add(other.addedChainBlockHashes_); - acceptedTransactionIds_.Add(other.acceptedTransactionIds_); - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.StartHash.Length != 0) { + StartHash = other.StartHash; + } + if (other.IncludeAcceptedTransactionIds != false) { + IncludeAcceptedTransactionIds = other.IncludeAcceptedTransactionIds; + } + if (other.HasMinConfirmationCount) { + MinConfirmationCount = other.MinConfirmationCount; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - removedChainBlockHashes_.AddEntriesFrom(input, _repeated_removedChainBlockHashes_codec); + StartHash = input.ReadString(); break; } - case 18: { - acceptedTransactionIds_.AddEntriesFrom(input, _repeated_acceptedTransactionIds_codec); + case 16: { + IncludeAcceptedTransactionIds = input.ReadBool(); break; } - case 26: { - addedChainBlockHashes_.AddEntriesFrom(input, _repeated_addedChainBlockHashes_codec); + case 24: { + MinConfirmationCount = input.ReadUInt64(); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + StartHash = input.ReadString(); + break; + } + case 16: { + IncludeAcceptedTransactionIds = input.ReadBool(); + break; + } + case 24: { + MinConfirmationCount = input.ReadUInt64(); break; } } } } + #endif } - /// - /// GetBlocksRequestMessage requests blocks between a certain block lowHash up to this - /// kaspad's current virtual. - /// - public sealed partial class GetBlocksRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlocksRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcAcceptedTransactionIds : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcAcceptedTransactionIds()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[50]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlocksRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcAcceptedTransactionIds() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlocksRequestMessage(GetBlocksRequestMessage other) : this() { - lowHash_ = other.lowHash_; - includeBlocks_ = other.includeBlocks_; - includeTransactions_ = other.includeTransactions_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcAcceptedTransactionIds(RpcAcceptedTransactionIds other) : this() { + acceptingBlockHash_ = other.acceptingBlockHash_; + acceptedTransactionIds_ = other.acceptedTransactionIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlocksRequestMessage Clone() { - return new GetBlocksRequestMessage(this); - } - - /// Field number for the "lowHash" field. - public const int LowHashFieldNumber = 1; - private string lowHash_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string LowHash { - get { return lowHash_; } - set { - lowHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcAcceptedTransactionIds Clone() { + return new RpcAcceptedTransactionIds(this); } - /// Field number for the "includeBlocks" field. - public const int IncludeBlocksFieldNumber = 2; - private bool includeBlocks_; + /// Field number for the "acceptingBlockHash" field. + public const int AcceptingBlockHashFieldNumber = 1; + private string acceptingBlockHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IncludeBlocks { - get { return includeBlocks_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AcceptingBlockHash { + get { return acceptingBlockHash_; } set { - includeBlocks_ = value; + acceptingBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "includeTransactions" field. - public const int IncludeTransactionsFieldNumber = 3; - private bool includeTransactions_; + /// Field number for the "acceptedTransactionIds" field. + public const int AcceptedTransactionIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_acceptedTransactionIds_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField acceptedTransactionIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IncludeTransactions { - get { return includeTransactions_; } - set { - includeTransactions_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AcceptedTransactionIds { + get { return acceptedTransactionIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlocksRequestMessage); + return Equals(other as RpcAcceptedTransactionIds); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlocksRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcAcceptedTransactionIds other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (LowHash != other.LowHash) return false; - if (IncludeBlocks != other.IncludeBlocks) return false; - if (IncludeTransactions != other.IncludeTransactions) return false; + if (AcceptingBlockHash != other.AcceptingBlockHash) return false; + if(!acceptedTransactionIds_.Equals(other.acceptedTransactionIds_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (LowHash.Length != 0) hash ^= LowHash.GetHashCode(); - if (IncludeBlocks != false) hash ^= IncludeBlocks.GetHashCode(); - if (IncludeTransactions != false) hash ^= IncludeTransactions.GetHashCode(); + if (AcceptingBlockHash.Length != 0) hash ^= AcceptingBlockHash.GetHashCode(); + hash ^= acceptedTransactionIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9256,41 +13727,51 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (LowHash.Length != 0) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AcceptingBlockHash.Length != 0) { output.WriteRawTag(10); - output.WriteString(LowHash); + output.WriteString(AcceptingBlockHash); } - if (IncludeBlocks != false) { - output.WriteRawTag(16); - output.WriteBool(IncludeBlocks); + acceptedTransactionIds_.WriteTo(output, _repeated_acceptedTransactionIds_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - if (IncludeTransactions != false) { - output.WriteRawTag(24); - output.WriteBool(IncludeTransactions); + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AcceptingBlockHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AcceptingBlockHash); } + acceptedTransactionIds_.WriteTo(ref output, _repeated_acceptedTransactionIds_codec); if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (LowHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LowHash); - } - if (IncludeBlocks != false) { - size += 1 + 1; - } - if (IncludeTransactions != false) { - size += 1 + 1; + if (AcceptingBlockHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptingBlockHash); } + size += acceptedTransactionIds_.CalculateSize(_repeated_acceptedTransactionIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9298,108 +13779,172 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlocksRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcAcceptedTransactionIds other) { if (other == null) { return; } - if (other.LowHash.Length != 0) { - LowHash = other.LowHash; - } - if (other.IncludeBlocks != false) { - IncludeBlocks = other.IncludeBlocks; - } - if (other.IncludeTransactions != false) { - IncludeTransactions = other.IncludeTransactions; + if (other.AcceptingBlockHash.Length != 0) { + AcceptingBlockHash = other.AcceptingBlockHash; } + acceptedTransactionIds_.Add(other.acceptedTransactionIds_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - LowHash = input.ReadString(); + AcceptingBlockHash = input.ReadString(); break; } - case 16: { - IncludeBlocks = input.ReadBool(); + case 18: { + acceptedTransactionIds_.AddEntriesFrom(input, _repeated_acceptedTransactionIds_codec); break; } - case 24: { - IncludeTransactions = input.ReadBool(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AcceptingBlockHash = input.ReadString(); + break; + } + case 18: { + acceptedTransactionIds_.AddEntriesFrom(ref input, _repeated_acceptedTransactionIds_codec); break; } } } } + #endif } - public sealed partial class GetBlocksResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlocksResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetVirtualChainFromBlockResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVirtualChainFromBlockResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[51]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlocksResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVirtualChainFromBlockResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlocksResponseMessage(GetBlocksResponseMessage other) : this() { - blockHashes_ = other.blockHashes_.Clone(); - blocks_ = other.blocks_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVirtualChainFromBlockResponseMessage(GetVirtualChainFromBlockResponseMessage other) : this() { + removedChainBlockHashes_ = other.removedChainBlockHashes_.Clone(); + addedChainBlockHashes_ = other.addedChainBlockHashes_.Clone(); + acceptedTransactionIds_ = other.acceptedTransactionIds_.Clone(); error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlocksResponseMessage Clone() { - return new GetBlocksResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetVirtualChainFromBlockResponseMessage Clone() { + return new GetVirtualChainFromBlockResponseMessage(this); } - /// Field number for the "blockHashes" field. - public const int BlockHashesFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_blockHashes_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField blockHashes_ = new pbc::RepeatedField(); + /// Field number for the "removedChainBlockHashes" field. + public const int RemovedChainBlockHashesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_removedChainBlockHashes_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField removedChainBlockHashes_ = new pbc::RepeatedField(); + /// + /// The chain blocks that were removed, in high-to-low order + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField BlockHashes { - get { return blockHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RemovedChainBlockHashes { + get { return removedChainBlockHashes_; } } - /// Field number for the "blocks" field. - public const int BlocksFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_blocks_codec - = pb::FieldCodec.ForMessage(26, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock.Parser); - private readonly pbc::RepeatedField blocks_ = new pbc::RepeatedField(); + /// Field number for the "addedChainBlockHashes" field. + public const int AddedChainBlockHashesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_addedChainBlockHashes_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField addedChainBlockHashes_ = new pbc::RepeatedField(); + /// + /// The chain blocks that were added, in low-to-high order + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Blocks { - get { return blocks_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AddedChainBlockHashes { + get { return addedChainBlockHashes_; } + } + + /// Field number for the "acceptedTransactionIds" field. + public const int AcceptedTransactionIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_acceptedTransactionIds_codec + = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcAcceptedTransactionIds.Parser); + private readonly pbc::RepeatedField acceptedTransactionIds_ = new pbc::RepeatedField(); + /// + /// The transactions accepted by each block in addedChainBlockHashes. + /// Will be filled only if `includeAcceptedTransactionIds = true` in the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AcceptedTransactionIds { + get { return acceptedTransactionIds_; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -9408,29 +13953,34 @@ public GetBlocksResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlocksResponseMessage); + return Equals(other as GetVirtualChainFromBlockResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlocksResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetVirtualChainFromBlockResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!blockHashes_.Equals(other.blockHashes_)) return false; - if(!blocks_.Equals(other.blocks_)) return false; + if(!removedChainBlockHashes_.Equals(other.removedChainBlockHashes_)) return false; + if(!addedChainBlockHashes_.Equals(other.addedChainBlockHashes_)) return false; + if(!acceptedTransactionIds_.Equals(other.acceptedTransactionIds_)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= blockHashes_.GetHashCode(); - hash ^= blocks_.GetHashCode(); + hash ^= removedChainBlockHashes_.GetHashCode(); + hash ^= addedChainBlockHashes_.GetHashCode(); + hash ^= acceptedTransactionIds_.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -9439,14 +13989,20 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - blocks_.WriteTo(output, _repeated_blocks_codec); - blockHashes_.WriteTo(output, _repeated_blockHashes_codec); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + removedChainBlockHashes_.WriteTo(output, _repeated_removedChainBlockHashes_codec); + acceptedTransactionIds_.WriteTo(output, _repeated_acceptedTransactionIds_codec); + addedChainBlockHashes_.WriteTo(output, _repeated_addedChainBlockHashes_codec); if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -9454,13 +14010,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + removedChainBlockHashes_.WriteTo(ref output, _repeated_removedChainBlockHashes_codec); + acceptedTransactionIds_.WriteTo(ref output, _repeated_acceptedTransactionIds_codec); + addedChainBlockHashes_.WriteTo(ref output, _repeated_addedChainBlockHashes_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += blockHashes_.CalculateSize(_repeated_blockHashes_codec); - size += blocks_.CalculateSize(_repeated_blocks_codec); + size += removedChainBlockHashes_.CalculateSize(_repeated_removedChainBlockHashes_codec); + size += addedChainBlockHashes_.CalculateSize(_repeated_addedChainBlockHashes_codec); + size += acceptedTransactionIds_.CalculateSize(_repeated_acceptedTransactionIds_codec); if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -9471,12 +14047,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlocksResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetVirtualChainFromBlockResponseMessage other) { if (other == null) { return; } - blockHashes_.Add(other.blockHashes_); - blocks_.Add(other.blocks_); + removedChainBlockHashes_.Add(other.removedChainBlockHashes_); + addedChainBlockHashes_.Add(other.addedChainBlockHashes_); + acceptedTransactionIds_.Add(other.acceptedTransactionIds_); if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -9487,19 +14065,69 @@ public void MergeFrom(GetBlocksResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: { + removedChainBlockHashes_.AddEntriesFrom(input, _repeated_removedChainBlockHashes_codec); + break; + } + case 18: { + acceptedTransactionIds_.AddEntriesFrom(input, _repeated_acceptedTransactionIds_codec); + break; + } case 26: { - blocks_.AddEntriesFrom(input, _repeated_blocks_codec); + addedChainBlockHashes_.AddEntriesFrom(input, _repeated_addedChainBlockHashes_codec); break; } - case 34: { - blockHashes_.AddEntriesFrom(input, _repeated_blockHashes_codec); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + removedChainBlockHashes_.AddEntriesFrom(ref input, _repeated_removedChainBlockHashes_codec); + break; + } + case 18: { + acceptedTransactionIds_.AddEntriesFrom(ref input, _repeated_acceptedTransactionIds_codec); + break; + } + case 26: { + addedChainBlockHashes_.AddEntriesFrom(ref input, _repeated_addedChainBlockHashes_codec); break; } case 8002: { @@ -9512,65 +14140,125 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// - /// GetBlockCountRequestMessage requests the current number of blocks in this kaspad. - /// Note that this number may decrease as pruning occurs. + /// GetBlocksRequestMessage requests blocks between a certain block lowHash up to this + /// kaspad's current virtual. /// - public sealed partial class GetBlockCountRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockCountRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlocksRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlocksRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[52]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockCountRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlocksRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockCountRequestMessage(GetBlockCountRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlocksRequestMessage(GetBlocksRequestMessage other) : this() { + lowHash_ = other.lowHash_; + includeBlocks_ = other.includeBlocks_; + includeTransactions_ = other.includeTransactions_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockCountRequestMessage Clone() { - return new GetBlockCountRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlocksRequestMessage Clone() { + return new GetBlocksRequestMessage(this); + } + + /// Field number for the "lowHash" field. + public const int LowHashFieldNumber = 1; + private string lowHash_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LowHash { + get { return lowHash_; } + set { + lowHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "includeBlocks" field. + public const int IncludeBlocksFieldNumber = 2; + private bool includeBlocks_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeBlocks { + get { return includeBlocks_; } + set { + includeBlocks_ = value; + } + } + + /// Field number for the "includeTransactions" field. + public const int IncludeTransactionsFieldNumber = 3; + private bool includeTransactions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeTransactions { + get { return includeTransactions_; } + set { + includeTransactions_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlockCountRequestMessage); + return Equals(other as GetBlocksRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlockCountRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlocksRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (LowHash != other.LowHash) return false; + if (IncludeBlocks != other.IncludeBlocks) return false; + if (IncludeTransactions != other.IncludeTransactions) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (LowHash.Length != 0) hash ^= LowHash.GetHashCode(); + if (IncludeBlocks != false) hash ^= IncludeBlocks.GetHashCode(); + if (IncludeTransactions != false) hash ^= IncludeTransactions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9578,20 +14266,70 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (LowHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(LowHash); + } + if (IncludeBlocks != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeBlocks); + } + if (IncludeTransactions != false) { + output.WriteRawTag(24); + output.WriteBool(IncludeTransactions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (LowHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(LowHash); + } + if (IncludeBlocks != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeBlocks); + } + if (IncludeTransactions != false) { + output.WriteRawTag(24); + output.WriteBool(IncludeTransactions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (LowHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LowHash); + } + if (IncludeBlocks != false) { + size += 1 + 1; + } + if (IncludeTransactions != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9599,89 +14337,163 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlockCountRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlocksRequestMessage other) { if (other == null) { return; } + if (other.LowHash.Length != 0) { + LowHash = other.LowHash; + } + if (other.IncludeBlocks != false) { + IncludeBlocks = other.IncludeBlocks; + } + if (other.IncludeTransactions != false) { + IncludeTransactions = other.IncludeTransactions; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: { + LowHash = input.ReadString(); + break; + } + case 16: { + IncludeBlocks = input.ReadBool(); + break; + } + case 24: { + IncludeTransactions = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + LowHash = input.ReadString(); + break; + } + case 16: { + IncludeBlocks = input.ReadBool(); + break; + } + case 24: { + IncludeTransactions = input.ReadBool(); + break; + } } } } + #endif } - public sealed partial class GetBlockCountResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockCountResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlocksResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlocksResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[53]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockCountResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlocksResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockCountResponseMessage(GetBlockCountResponseMessage other) : this() { - blockCount_ = other.blockCount_; - headerCount_ = other.headerCount_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlocksResponseMessage(GetBlocksResponseMessage other) : this() { + blockHashes_ = other.blockHashes_.Clone(); + blocks_ = other.blocks_.Clone(); error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockCountResponseMessage Clone() { - return new GetBlockCountResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlocksResponseMessage Clone() { + return new GetBlocksResponseMessage(this); } - /// Field number for the "blockCount" field. - public const int BlockCountFieldNumber = 1; - private ulong blockCount_; + /// Field number for the "blockHashes" field. + public const int BlockHashesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_blockHashes_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField blockHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong BlockCount { - get { return blockCount_; } - set { - blockCount_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlockHashes { + get { return blockHashes_; } } - /// Field number for the "headerCount" field. - public const int HeaderCountFieldNumber = 2; - private ulong headerCount_; + /// Field number for the "blocks" field. + public const int BlocksFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_blocks_codec + = pb::FieldCodec.ForMessage(26, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBlock.Parser); + private readonly pbc::RepeatedField blocks_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong HeaderCount { - get { return headerCount_; } - set { - headerCount_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Blocks { + get { return blocks_; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -9690,29 +14502,32 @@ public ulong HeaderCount { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlockCountResponseMessage); + return Equals(other as GetBlocksResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlockCountResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlocksResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (BlockCount != other.BlockCount) return false; - if (HeaderCount != other.HeaderCount) return false; + if(!blockHashes_.Equals(other.blockHashes_)) return false; + if(!blocks_.Equals(other.blocks_)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (BlockCount != 0UL) hash ^= BlockCount.GetHashCode(); - if (HeaderCount != 0UL) hash ^= HeaderCount.GetHashCode(); + hash ^= blockHashes_.GetHashCode(); + hash ^= blocks_.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -9721,38 +14536,51 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (BlockCount != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(BlockCount); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + blocks_.WriteTo(output, _repeated_blocks_codec); + blockHashes_.WriteTo(output, _repeated_blockHashes_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } - if (HeaderCount != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(HeaderCount); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + blocks_.WriteTo(ref output, _repeated_blocks_codec); + blockHashes_.WriteTo(ref output, _repeated_blockHashes_codec); if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (BlockCount != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlockCount); - } - if (HeaderCount != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(HeaderCount); - } + size += blockHashes_.CalculateSize(_repeated_blockHashes_codec); + size += blocks_.CalculateSize(_repeated_blocks_codec); if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -9763,16 +14591,13 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlockCountResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlocksResponseMessage other) { if (other == null) { return; } - if (other.BlockCount != 0UL) { - BlockCount = other.BlockCount; - } - if (other.HeaderCount != 0UL) { - HeaderCount = other.HeaderCount; - } + blockHashes_.Add(other.blockHashes_); + blocks_.Add(other.blocks_); if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -9783,19 +14608,61 @@ public void MergeFrom(GetBlockCountResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - BlockCount = input.ReadUInt64(); + case 26: { + blocks_.AddEntriesFrom(input, _repeated_blocks_codec); break; } - case 16: { - HeaderCount = input.ReadUInt64(); + case 34: { + blockHashes_.AddEntriesFrom(input, _repeated_blockHashes_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + blocks_.AddEntriesFrom(ref input, _repeated_blocks_codec); + break; + } + case 34: { + blockHashes_.AddEntriesFrom(ref input, _repeated_blockHashes_codec); break; } case 8002: { @@ -9808,53 +14675,67 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } /// - /// GetBlockDagInfoRequestMessage requests general information about the current state - /// of this kaspad's DAG. + /// GetBlockCountRequestMessage requests the current number of blocks in this kaspad. + /// Note that this number may decrease as pruning occurs. /// - public sealed partial class GetBlockDagInfoRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockDagInfoRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockCountRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockCountRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[54]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockDagInfoRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockCountRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockDagInfoRequestMessage(GetBlockDagInfoRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockCountRequestMessage(GetBlockCountRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockDagInfoRequestMessage Clone() { - return new GetBlockDagInfoRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockCountRequestMessage Clone() { + return new GetBlockCountRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBlockDagInfoRequestMessage); + return Equals(other as GetBlockCountRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlockDagInfoRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlockCountRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -9865,6 +14746,7 @@ public bool Equals(GetBlockDagInfoRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -9874,18 +14756,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -9895,7 +14794,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlockDagInfoRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlockCountRequestMessage other) { if (other == null) { return; } @@ -9903,77 +14803,99 @@ public void MergeFrom(GetBlockDagInfoRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class GetBlockDagInfoResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockDagInfoResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockCountResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockCountResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[55]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockDagInfoResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockCountResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockDagInfoResponseMessage(GetBlockDagInfoResponseMessage other) : this() { - networkName_ = other.networkName_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockCountResponseMessage(GetBlockCountResponseMessage other) : this() { blockCount_ = other.blockCount_; headerCount_ = other.headerCount_; - tipHashes_ = other.tipHashes_.Clone(); - difficulty_ = other.difficulty_; - pastMedianTime_ = other.pastMedianTime_; - virtualParentHashes_ = other.virtualParentHashes_.Clone(); - pruningPointHash_ = other.pruningPointHash_; - virtualDaaScore_ = other.virtualDaaScore_; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBlockDagInfoResponseMessage Clone() { - return new GetBlockDagInfoResponseMessage(this); - } - - /// Field number for the "networkName" field. - public const int NetworkNameFieldNumber = 1; - private string networkName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string NetworkName { - get { return networkName_; } - set { - networkName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockCountResponseMessage Clone() { + return new GetBlockCountResponseMessage(this); } /// Field number for the "blockCount" field. - public const int BlockCountFieldNumber = 2; + public const int BlockCountFieldNumber = 1; private ulong blockCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong BlockCount { get { return blockCount_; } set { @@ -9982,9 +14904,10 @@ public ulong BlockCount { } /// Field number for the "headerCount" field. - public const int HeaderCountFieldNumber = 3; + public const int HeaderCountFieldNumber = 2; private ulong headerCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong HeaderCount { get { return headerCount_; } set { @@ -9992,198 +14915,114 @@ public ulong HeaderCount { } } - /// Field number for the "tipHashes" field. - public const int TipHashesFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_tipHashes_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField tipHashes_ = new pbc::RepeatedField(); + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField TipHashes { - get { return tipHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } } - /// Field number for the "difficulty" field. - public const int DifficultyFieldNumber = 5; - private double difficulty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Difficulty { - get { return difficulty_; } - set { - difficulty_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBlockCountResponseMessage); } - /// Field number for the "pastMedianTime" field. - public const int PastMedianTimeFieldNumber = 6; - private long pastMedianTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long PastMedianTime { - get { return pastMedianTime_; } - set { - pastMedianTime_ = value; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlockCountResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; } + if (BlockCount != other.BlockCount) return false; + if (HeaderCount != other.HeaderCount) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); } - /// Field number for the "virtualParentHashes" field. - public const int VirtualParentHashesFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_virtualParentHashes_codec - = pb::FieldCodec.ForString(58); - private readonly pbc::RepeatedField virtualParentHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField VirtualParentHashes { - get { return virtualParentHashes_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BlockCount != 0UL) hash ^= BlockCount.GetHashCode(); + if (HeaderCount != 0UL) hash ^= HeaderCount.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; } - /// Field number for the "pruningPointHash" field. - public const int PruningPointHashFieldNumber = 8; - private string pruningPointHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PruningPointHash { - get { return pruningPointHash_; } - set { - pruningPointHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "virtualDaaScore" field. - public const int VirtualDaaScoreFieldNumber = 9; - private ulong virtualDaaScore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong VirtualDaaScore { - get { return virtualDaaScore_; } - set { - virtualDaaScore_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } - set { - error_ = value; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BlockCount != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BlockCount); } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as GetBlockDagInfoResponseMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBlockDagInfoResponseMessage other) { - if (ReferenceEquals(other, null)) { - return false; + if (HeaderCount != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(HeaderCount); } - if (ReferenceEquals(other, this)) { - return true; + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } - if (NetworkName != other.NetworkName) return false; - if (BlockCount != other.BlockCount) return false; - if (HeaderCount != other.HeaderCount) return false; - if(!tipHashes_.Equals(other.tipHashes_)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Difficulty, other.Difficulty)) return false; - if (PastMedianTime != other.PastMedianTime) return false; - if(!virtualParentHashes_.Equals(other.virtualParentHashes_)) return false; - if (PruningPointHash != other.PruningPointHash) return false; - if (VirtualDaaScore != other.VirtualDaaScore) return false; - if (!object.Equals(Error, other.Error)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (NetworkName.Length != 0) hash ^= NetworkName.GetHashCode(); - if (BlockCount != 0UL) hash ^= BlockCount.GetHashCode(); - if (HeaderCount != 0UL) hash ^= HeaderCount.GetHashCode(); - hash ^= tipHashes_.GetHashCode(); - if (Difficulty != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Difficulty); - if (PastMedianTime != 0L) hash ^= PastMedianTime.GetHashCode(); - hash ^= virtualParentHashes_.GetHashCode(); - if (PruningPointHash.Length != 0) hash ^= PruningPointHash.GetHashCode(); - if (VirtualDaaScore != 0UL) hash ^= VirtualDaaScore.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + _unknownFields.WriteTo(output); } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (NetworkName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(NetworkName); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (BlockCount != 0UL) { - output.WriteRawTag(16); + output.WriteRawTag(8); output.WriteUInt64(BlockCount); } if (HeaderCount != 0UL) { - output.WriteRawTag(24); + output.WriteRawTag(16); output.WriteUInt64(HeaderCount); } - tipHashes_.WriteTo(output, _repeated_tipHashes_codec); - if (Difficulty != 0D) { - output.WriteRawTag(41); - output.WriteDouble(Difficulty); - } - if (PastMedianTime != 0L) { - output.WriteRawTag(48); - output.WriteInt64(PastMedianTime); - } - virtualParentHashes_.WriteTo(output, _repeated_virtualParentHashes_codec); - if (PruningPointHash.Length != 0) { - output.WriteRawTag(66); - output.WriteString(PruningPointHash); - } - if (VirtualDaaScore != 0UL) { - output.WriteRawTag(72); - output.WriteUInt64(VirtualDaaScore); - } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (NetworkName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NetworkName); - } if (BlockCount != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlockCount); } if (HeaderCount != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(HeaderCount); } - size += tipHashes_.CalculateSize(_repeated_tipHashes_codec); - if (Difficulty != 0D) { - size += 1 + 8; - } - if (PastMedianTime != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(PastMedianTime); - } - size += virtualParentHashes_.CalculateSize(_repeated_virtualParentHashes_codec); - if (PruningPointHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PruningPointHash); - } - if (VirtualDaaScore != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualDaaScore); - } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -10194,33 +15033,17 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBlockDagInfoResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlockCountResponseMessage other) { if (other == null) { return; } - if (other.NetworkName.Length != 0) { - NetworkName = other.NetworkName; - } if (other.BlockCount != 0UL) { BlockCount = other.BlockCount; } if (other.HeaderCount != 0UL) { HeaderCount = other.HeaderCount; } - tipHashes_.Add(other.tipHashes_); - if (other.Difficulty != 0D) { - Difficulty = other.Difficulty; - } - if (other.PastMedianTime != 0L) { - PastMedianTime = other.PastMedianTime; - } - virtualParentHashes_.Add(other.virtualParentHashes_); - if (other.PruningPointHash.Length != 0) { - PruningPointHash = other.PruningPointHash; - } - if (other.VirtualDaaScore != 0UL) { - VirtualDaaScore = other.VirtualDaaScore; - } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -10231,47 +15054,61 @@ public void MergeFrom(GetBlockDagInfoResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - NetworkName = input.ReadString(); - break; - } - case 16: { + case 8: { BlockCount = input.ReadUInt64(); break; } - case 24: { + case 16: { HeaderCount = input.ReadUInt64(); break; } - case 34: { - tipHashes_.AddEntriesFrom(input, _repeated_tipHashes_codec); - break; - } - case 41: { - Difficulty = input.ReadDouble(); - break; - } - case 48: { - PastMedianTime = input.ReadInt64(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } - case 58: { - virtualParentHashes_.AddEntriesFrom(input, _repeated_virtualParentHashes_codec); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } - case 66: { - PruningPointHash = input.ReadString(); + case 8: { + BlockCount = input.ReadUInt64(); break; } - case 72: { - VirtualDaaScore = input.ReadUInt64(); + case 16: { + HeaderCount = input.ReadUInt64(); break; } case 8002: { @@ -10284,75 +15121,80 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class ResolveFinalityConflictRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResolveFinalityConflictRequestMessage()); + /// + /// GetBlockDagInfoRequestMessage requests general information about the current state + /// of this kaspad's DAG. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockDagInfoRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockDagInfoRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[56]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ResolveFinalityConflictRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockDagInfoRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ResolveFinalityConflictRequestMessage(ResolveFinalityConflictRequestMessage other) : this() { - finalityBlockHash_ = other.finalityBlockHash_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockDagInfoRequestMessage(GetBlockDagInfoRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ResolveFinalityConflictRequestMessage Clone() { - return new ResolveFinalityConflictRequestMessage(this); - } - - /// Field number for the "finalityBlockHash" field. - public const int FinalityBlockHashFieldNumber = 1; - private string finalityBlockHash_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FinalityBlockHash { - get { return finalityBlockHash_; } - set { - finalityBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockDagInfoRequestMessage Clone() { + return new GetBlockDagInfoRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ResolveFinalityConflictRequestMessage); + return Equals(other as GetBlockDagInfoRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ResolveFinalityConflictRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlockDagInfoRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (FinalityBlockHash != other.FinalityBlockHash) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (FinalityBlockHash.Length != 0) hash ^= FinalityBlockHash.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10360,27 +15202,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (FinalityBlockHash.Length != 0) { - output.WriteRawTag(10); - output.WriteString(FinalityBlockHash); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (FinalityBlockHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FinalityBlockHash); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -10388,221 +15240,285 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ResolveFinalityConflictRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlockDagInfoRequestMessage other) { if (other == null) { return; } - if (other.FinalityBlockHash.Length != 0) { - FinalityBlockHash = other.FinalityBlockHash; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - FinalityBlockHash = input.ReadString(); - break; - } } } + #endif } - } - - public sealed partial class ResolveFinalityConflictResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResolveFinalityConflictResponseMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBlockDagInfoResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBlockDagInfoResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[57]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ResolveFinalityConflictResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockDagInfoResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ResolveFinalityConflictResponseMessage(ResolveFinalityConflictResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockDagInfoResponseMessage(GetBlockDagInfoResponseMessage other) : this() { + networkName_ = other.networkName_; + blockCount_ = other.blockCount_; + headerCount_ = other.headerCount_; + tipHashes_ = other.tipHashes_.Clone(); + difficulty_ = other.difficulty_; + pastMedianTime_ = other.pastMedianTime_; + virtualParentHashes_ = other.virtualParentHashes_.Clone(); + pruningPointHash_ = other.pruningPointHash_; + virtualDaaScore_ = other.virtualDaaScore_; + sink_ = other.sink_; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ResolveFinalityConflictResponseMessage Clone() { - return new ResolveFinalityConflictResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBlockDagInfoResponseMessage Clone() { + return new GetBlockDagInfoResponseMessage(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "networkName" field. + public const int NetworkNameFieldNumber = 1; + private string networkName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NetworkName { + get { return networkName_; } set { - error_ = value; + networkName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } + /// Field number for the "blockCount" field. + public const int BlockCountFieldNumber = 2; + private ulong blockCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as ResolveFinalityConflictResponseMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ResolveFinalityConflictResponseMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BlockCount { + get { return blockCount_; } + set { + blockCount_ = value; } - if (!object.Equals(Error, other.Error)) return false; - return Equals(_unknownFields, other._unknownFields); } + /// Field number for the "headerCount" field. + public const int HeaderCountFieldNumber = 3; + private ulong headerCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (error_ != null) hash ^= Error.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong HeaderCount { + get { return headerCount_; } + set { + headerCount_ = value; } - return hash; } + /// Field number for the "tipHashes" field. + public const int TipHashesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_tipHashes_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField tipHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TipHashes { + get { return tipHashes_; } } + /// Field number for the "difficulty" field. + public const int DifficultyFieldNumber = 5; + private double difficulty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; } } + /// Field number for the "pastMedianTime" field. + public const int PastMedianTimeFieldNumber = 6; + private long pastMedianTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long PastMedianTime { + get { return pastMedianTime_; } + set { + pastMedianTime_ = value; } - return size; } + /// Field number for the "virtualParentHashes" field. + public const int VirtualParentHashesFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_virtualParentHashes_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField virtualParentHashes_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ResolveFinalityConflictResponseMessage other) { - if (other == null) { - return; - } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField VirtualParentHashes { + get { return virtualParentHashes_; } } + /// Field number for the "pruningPointHash" field. + public const int PruningPointHashFieldNumber = 8; + private string pruningPointHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); - break; - } - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PruningPointHash { + get { return pruningPointHash_; } + set { + pruningPointHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - } - - public sealed partial class NotifyFinalityConflictsRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyFinalityConflictsRequestMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[58]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - + /// Field number for the "virtualDaaScore" field. + public const int VirtualDaaScoreFieldNumber = 9; + private ulong virtualDaaScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyFinalityConflictsRequestMessage() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong VirtualDaaScore { + get { return virtualDaaScore_; } + set { + virtualDaaScore_ = value; + } } - partial void OnConstruction(); - + /// Field number for the "sink" field. + public const int SinkFieldNumber = 10; + private string sink_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyFinalityConflictsRequestMessage(NotifyFinalityConflictsRequestMessage other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Sink { + get { return sink_; } + set { + sink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyFinalityConflictsRequestMessage Clone() { - return new NotifyFinalityConflictsRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyFinalityConflictsRequestMessage); + return Equals(other as GetBlockDagInfoResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyFinalityConflictsRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBlockDagInfoResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (NetworkName != other.NetworkName) return false; + if (BlockCount != other.BlockCount) return false; + if (HeaderCount != other.HeaderCount) return false; + if(!tipHashes_.Equals(other.tipHashes_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Difficulty, other.Difficulty)) return false; + if (PastMedianTime != other.PastMedianTime) return false; + if(!virtualParentHashes_.Equals(other.virtualParentHashes_)) return false; + if (PruningPointHash != other.PruningPointHash) return false; + if (VirtualDaaScore != other.VirtualDaaScore) return false; + if (Sink != other.Sink) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (NetworkName.Length != 0) hash ^= NetworkName.GetHashCode(); + if (BlockCount != 0UL) hash ^= BlockCount.GetHashCode(); + if (HeaderCount != 0UL) hash ^= HeaderCount.GetHashCode(); + hash ^= tipHashes_.GetHashCode(); + if (Difficulty != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Difficulty); + if (PastMedianTime != 0L) hash ^= PastMedianTime.GetHashCode(); + hash ^= virtualParentHashes_.GetHashCode(); + if (PruningPointHash.Length != 0) hash ^= PruningPointHash.GetHashCode(); + if (VirtualDaaScore != 0UL) hash ^= VirtualDaaScore.GetHashCode(); + if (Sink.Length != 0) hash ^= Sink.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10610,114 +15526,406 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NetworkName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(NetworkName); + } + if (BlockCount != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BlockCount); + } + if (HeaderCount != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(HeaderCount); + } + tipHashes_.WriteTo(output, _repeated_tipHashes_codec); + if (Difficulty != 0D) { + output.WriteRawTag(41); + output.WriteDouble(Difficulty); + } + if (PastMedianTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(PastMedianTime); + } + virtualParentHashes_.WriteTo(output, _repeated_virtualParentHashes_codec); + if (PruningPointHash.Length != 0) { + output.WriteRawTag(66); + output.WriteString(PruningPointHash); + } + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(72); + output.WriteUInt64(VirtualDaaScore); + } + if (Sink.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Sink); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NetworkName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(NetworkName); + } + if (BlockCount != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BlockCount); + } + if (HeaderCount != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(HeaderCount); + } + tipHashes_.WriteTo(ref output, _repeated_tipHashes_codec); + if (Difficulty != 0D) { + output.WriteRawTag(41); + output.WriteDouble(Difficulty); + } + if (PastMedianTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(PastMedianTime); + } + virtualParentHashes_.WriteTo(ref output, _repeated_virtualParentHashes_codec); + if (PruningPointHash.Length != 0) { + output.WriteRawTag(66); + output.WriteString(PruningPointHash); + } + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(72); + output.WriteUInt64(VirtualDaaScore); + } + if (Sink.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Sink); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NetworkName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NetworkName); + } + if (BlockCount != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlockCount); + } + if (HeaderCount != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(HeaderCount); + } + size += tipHashes_.CalculateSize(_repeated_tipHashes_codec); + if (Difficulty != 0D) { + size += 1 + 8; + } + if (PastMedianTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(PastMedianTime); + } + size += virtualParentHashes_.CalculateSize(_repeated_virtualParentHashes_codec); + if (PruningPointHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PruningPointHash); + } + if (VirtualDaaScore != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualDaaScore); + } + if (Sink.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Sink); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyFinalityConflictsRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBlockDagInfoResponseMessage other) { if (other == null) { return; } + if (other.NetworkName.Length != 0) { + NetworkName = other.NetworkName; + } + if (other.BlockCount != 0UL) { + BlockCount = other.BlockCount; + } + if (other.HeaderCount != 0UL) { + HeaderCount = other.HeaderCount; + } + tipHashes_.Add(other.tipHashes_); + if (other.Difficulty != 0D) { + Difficulty = other.Difficulty; + } + if (other.PastMedianTime != 0L) { + PastMedianTime = other.PastMedianTime; + } + virtualParentHashes_.Add(other.virtualParentHashes_); + if (other.PruningPointHash.Length != 0) { + PruningPointHash = other.PruningPointHash; + } + if (other.VirtualDaaScore != 0UL) { + VirtualDaaScore = other.VirtualDaaScore; + } + if (other.Sink.Length != 0) { + Sink = other.Sink; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: { + NetworkName = input.ReadString(); + break; + } + case 16: { + BlockCount = input.ReadUInt64(); + break; + } + case 24: { + HeaderCount = input.ReadUInt64(); + break; + } + case 34: { + tipHashes_.AddEntriesFrom(input, _repeated_tipHashes_codec); + break; + } + case 41: { + Difficulty = input.ReadDouble(); + break; + } + case 48: { + PastMedianTime = input.ReadInt64(); + break; + } + case 58: { + virtualParentHashes_.AddEntriesFrom(input, _repeated_virtualParentHashes_codec); + break; + } + case 66: { + PruningPointHash = input.ReadString(); + break; + } + case 72: { + VirtualDaaScore = input.ReadUInt64(); + break; + } + case 82: { + Sink = input.ReadString(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NetworkName = input.ReadString(); + break; + } + case 16: { + BlockCount = input.ReadUInt64(); + break; + } + case 24: { + HeaderCount = input.ReadUInt64(); + break; + } + case 34: { + tipHashes_.AddEntriesFrom(ref input, _repeated_tipHashes_codec); + break; + } + case 41: { + Difficulty = input.ReadDouble(); + break; + } + case 48: { + PastMedianTime = input.ReadInt64(); + break; + } + case 58: { + virtualParentHashes_.AddEntriesFrom(ref input, _repeated_virtualParentHashes_codec); + break; + } + case 66: { + PruningPointHash = input.ReadString(); + break; + } + case 72: { + VirtualDaaScore = input.ReadUInt64(); + break; + } + case 82: { + Sink = input.ReadString(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } } } } + #endif } - public sealed partial class NotifyFinalityConflictsResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyFinalityConflictsResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResolveFinalityConflictRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResolveFinalityConflictRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[59]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[58]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyFinalityConflictsResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveFinalityConflictRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyFinalityConflictsResponseMessage(NotifyFinalityConflictsResponseMessage other) : this() { - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveFinalityConflictRequestMessage(ResolveFinalityConflictRequestMessage other) : this() { + finalityBlockHash_ = other.finalityBlockHash_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyFinalityConflictsResponseMessage Clone() { - return new NotifyFinalityConflictsResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveFinalityConflictRequestMessage Clone() { + return new ResolveFinalityConflictRequestMessage(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "finalityBlockHash" field. + public const int FinalityBlockHashFieldNumber = 1; + private string finalityBlockHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FinalityBlockHash { + get { return finalityBlockHash_; } set { - error_ = value; + finalityBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyFinalityConflictsResponseMessage); + return Equals(other as ResolveFinalityConflictRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyFinalityConflictsResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResolveFinalityConflictRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Error, other.Error)) return false; + if (FinalityBlockHash != other.FinalityBlockHash) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (error_ != null) hash ^= Error.GetHashCode(); + if (FinalityBlockHash.Length != 0) hash ^= FinalityBlockHash.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10725,26 +15933,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (FinalityBlockHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FinalityBlockHash); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (FinalityBlockHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FinalityBlockHash); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (FinalityBlockHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FinalityBlockHash); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -10753,106 +15982,148 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyFinalityConflictsResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResolveFinalityConflictRequestMessage other) { if (other == null) { return; } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.FinalityBlockHash.Length != 0) { + FinalityBlockHash = other.FinalityBlockHash; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + case 10: { + FinalityBlockHash = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + FinalityBlockHash = input.ReadString(); break; } } } } + #endif } - public sealed partial class FinalityConflictNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FinalityConflictNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResolveFinalityConflictResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResolveFinalityConflictResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[60]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[59]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FinalityConflictNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveFinalityConflictResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FinalityConflictNotificationMessage(FinalityConflictNotificationMessage other) : this() { - violatingBlockHash_ = other.violatingBlockHash_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveFinalityConflictResponseMessage(ResolveFinalityConflictResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FinalityConflictNotificationMessage Clone() { - return new FinalityConflictNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResolveFinalityConflictResponseMessage Clone() { + return new ResolveFinalityConflictResponseMessage(this); } - /// Field number for the "violatingBlockHash" field. - public const int ViolatingBlockHashFieldNumber = 1; - private string violatingBlockHash_ = ""; + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string ViolatingBlockHash { - get { return violatingBlockHash_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } set { - violatingBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + error_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FinalityConflictNotificationMessage); + return Equals(other as ResolveFinalityConflictResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(FinalityConflictNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResolveFinalityConflictResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (ViolatingBlockHash != other.ViolatingBlockHash) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (ViolatingBlockHash.Length != 0) hash ^= ViolatingBlockHash.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10860,26 +16131,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (ViolatingBlockHash.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ViolatingBlockHash); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (ViolatingBlockHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ViolatingBlockHash); + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -10888,100 +16180,157 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(FinalityConflictNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResolveFinalityConflictResponseMessage other) { if (other == null) { return; } - if (other.ViolatingBlockHash.Length != 0) { - ViolatingBlockHash = other.ViolatingBlockHash; + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - ViolatingBlockHash = input.ReadString(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } } } } + #endif } - public sealed partial class FinalityConflictResolvedNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FinalityConflictResolvedNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyFinalityConflictRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyFinalityConflictRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[61]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[60]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FinalityConflictResolvedNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyFinalityConflictRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FinalityConflictResolvedNotificationMessage(FinalityConflictResolvedNotificationMessage other) : this() { - finalityBlockHash_ = other.finalityBlockHash_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyFinalityConflictRequestMessage(NotifyFinalityConflictRequestMessage other) : this() { + command_ = other.command_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public FinalityConflictResolvedNotificationMessage Clone() { - return new FinalityConflictResolvedNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyFinalityConflictRequestMessage Clone() { + return new NotifyFinalityConflictRequestMessage(this); } - /// Field number for the "finalityBlockHash" field. - public const int FinalityBlockHashFieldNumber = 1; - private string finalityBlockHash_ = ""; + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FinalityBlockHash { - get { return finalityBlockHash_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } set { - finalityBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + command_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FinalityConflictResolvedNotificationMessage); + return Equals(other as NotifyFinalityConflictRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(FinalityConflictResolvedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyFinalityConflictRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (FinalityBlockHash != other.FinalityBlockHash) return false; + if (Command != other.Command) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (FinalityBlockHash.Length != 0) hash ^= FinalityBlockHash.GetHashCode(); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10989,26 +16338,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (FinalityBlockHash.Length != 0) { - output.WriteRawTag(10); - output.WriteString(FinalityBlockHash); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (FinalityBlockHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FinalityBlockHash); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -11017,176 +16387,117 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(FinalityConflictResolvedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyFinalityConflictRequestMessage other) { if (other == null) { return; } - if (other.FinalityBlockHash.Length != 0) { - FinalityBlockHash = other.FinalityBlockHash; + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - FinalityBlockHash = input.ReadString(); + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); break; } } } + #endif } - } - - /// - /// ShutDownRequestMessage shuts down this kaspad. - /// - public sealed partial class ShutDownRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShutDownRequestMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[62]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ShutDownRequestMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ShutDownRequestMessage(ShutDownRequestMessage other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ShutDownRequestMessage Clone() { - return new ShutDownRequestMessage(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as ShutDownRequestMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ShutDownRequestMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ShutDownRequestMessage other) { - if (other == null) { - return; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } } } } + #endif } - public sealed partial class ShutDownResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShutDownResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyFinalityConflictResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyFinalityConflictResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[63]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[61]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ShutDownResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyFinalityConflictResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ShutDownResponseMessage(ShutDownResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyFinalityConflictResponseMessage(NotifyFinalityConflictResponseMessage other) : this() { error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ShutDownResponseMessage Clone() { - return new ShutDownResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyFinalityConflictResponseMessage Clone() { + return new NotifyFinalityConflictResponseMessage(this); } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -11195,12 +16506,14 @@ public ShutDownResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ShutDownResponseMessage); + return Equals(other as NotifyFinalityConflictResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ShutDownResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyFinalityConflictResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -11212,6 +16525,7 @@ public bool Equals(ShutDownResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (error_ != null) hash ^= Error.GetHashCode(); @@ -11222,12 +16536,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -11235,9 +16554,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (error_ != null) { @@ -11250,7 +16585,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ShutDownResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyFinalityConflictResponseMessage other) { if (other == null) { return; } @@ -11264,10 +16600,18 @@ public void MergeFrom(ShutDownResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11280,108 +16624,118 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif - /// - /// GetHeadersRequestMessage requests headers between the given startHash and the - /// current virtual, up to the given limit. - /// - public sealed partial class GetHeadersRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetHeadersRequestMessage()); + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FinalityConflictNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FinalityConflictNotificationMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[64]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[62]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetHeadersRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FinalityConflictNotificationMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetHeadersRequestMessage(GetHeadersRequestMessage other) : this() { - startHash_ = other.startHash_; - limit_ = other.limit_; - isAscending_ = other.isAscending_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FinalityConflictNotificationMessage(FinalityConflictNotificationMessage other) : this() { + violatingBlockHash_ = other.violatingBlockHash_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetHeadersRequestMessage Clone() { - return new GetHeadersRequestMessage(this); - } - - /// Field number for the "startHash" field. - public const int StartHashFieldNumber = 1; - private string startHash_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string StartHash { - get { return startHash_; } - set { - startHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "limit" field. - public const int LimitFieldNumber = 2; - private ulong limit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong Limit { - get { return limit_; } - set { - limit_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FinalityConflictNotificationMessage Clone() { + return new FinalityConflictNotificationMessage(this); } - /// Field number for the "isAscending" field. - public const int IsAscendingFieldNumber = 3; - private bool isAscending_; + /// Field number for the "violatingBlockHash" field. + public const int ViolatingBlockHashFieldNumber = 1; + private string violatingBlockHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IsAscending { - get { return isAscending_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ViolatingBlockHash { + get { return violatingBlockHash_; } set { - isAscending_ = value; + violatingBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetHeadersRequestMessage); + return Equals(other as FinalityConflictNotificationMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetHeadersRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FinalityConflictNotificationMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (StartHash != other.StartHash) return false; - if (Limit != other.Limit) return false; - if (IsAscending != other.IsAscending) return false; + if (ViolatingBlockHash != other.ViolatingBlockHash) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (StartHash.Length != 0) hash ^= StartHash.GetHashCode(); - if (Limit != 0UL) hash ^= Limit.GetHashCode(); - if (IsAscending != false) hash ^= IsAscending.GetHashCode(); + if (ViolatingBlockHash.Length != 0) hash ^= ViolatingBlockHash.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11389,40 +16743,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (StartHash.Length != 0) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ViolatingBlockHash.Length != 0) { output.WriteRawTag(10); - output.WriteString(StartHash); + output.WriteString(ViolatingBlockHash); } - if (Limit != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(Limit); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - if (IsAscending != false) { - output.WriteRawTag(24); - output.WriteBool(IsAscending); + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ViolatingBlockHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ViolatingBlockHash); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (StartHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StartHash); - } - if (Limit != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Limit); - } - if (IsAscending != false) { - size += 1 + 1; + if (ViolatingBlockHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ViolatingBlockHash); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -11431,127 +16792,148 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetHeadersRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FinalityConflictNotificationMessage other) { if (other == null) { return; } - if (other.StartHash.Length != 0) { - StartHash = other.StartHash; - } - if (other.Limit != 0UL) { - Limit = other.Limit; - } - if (other.IsAscending != false) { - IsAscending = other.IsAscending; + if (other.ViolatingBlockHash.Length != 0) { + ViolatingBlockHash = other.ViolatingBlockHash; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - StartHash = input.ReadString(); + ViolatingBlockHash = input.ReadString(); break; } - case 16: { - Limit = input.ReadUInt64(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } - case 24: { - IsAscending = input.ReadBool(); + case 10: { + ViolatingBlockHash = input.ReadString(); break; } } } } + #endif } - public sealed partial class GetHeadersResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetHeadersResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FinalityConflictResolvedNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FinalityConflictResolvedNotificationMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[65]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[63]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetHeadersResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FinalityConflictResolvedNotificationMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetHeadersResponseMessage(GetHeadersResponseMessage other) : this() { - headers_ = other.headers_.Clone(); - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FinalityConflictResolvedNotificationMessage(FinalityConflictResolvedNotificationMessage other) : this() { + finalityBlockHash_ = other.finalityBlockHash_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetHeadersResponseMessage Clone() { - return new GetHeadersResponseMessage(this); - } - - /// Field number for the "headers" field. - public const int HeadersFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_headers_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField headers_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Headers { - get { return headers_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FinalityConflictResolvedNotificationMessage Clone() { + return new FinalityConflictResolvedNotificationMessage(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "finalityBlockHash" field. + public const int FinalityBlockHashFieldNumber = 1; + private string finalityBlockHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FinalityBlockHash { + get { return finalityBlockHash_; } set { - error_ = value; + finalityBlockHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetHeadersResponseMessage); + return Equals(other as FinalityConflictResolvedNotificationMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetHeadersResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FinalityConflictResolvedNotificationMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!headers_.Equals(other.headers_)) return false; - if (!object.Equals(Error, other.Error)) return false; + if (FinalityBlockHash != other.FinalityBlockHash) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= headers_.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + if (FinalityBlockHash.Length != 0) hash ^= FinalityBlockHash.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11559,28 +16941,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - headers_.WriteTo(output, _repeated_headers_codec); - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (FinalityBlockHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FinalityBlockHash); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (FinalityBlockHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FinalityBlockHash); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += headers_.CalculateSize(_repeated_headers_codec); - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (FinalityBlockHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FinalityBlockHash); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -11589,121 +16990,136 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetHeadersResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FinalityConflictResolvedNotificationMessage other) { if (other == null) { return; } - headers_.Add(other.headers_); - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.FinalityBlockHash.Length != 0) { + FinalityBlockHash = other.FinalityBlockHash; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - headers_.AddEntriesFrom(input, _repeated_headers_codec); + FinalityBlockHash = input.ReadString(); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + FinalityBlockHash = input.ReadString(); break; } } } } + #endif } /// - /// NotifyUtxosChangedRequestMessage registers this connection for utxoChanged notifications - /// for the given addresses. - /// - /// This call is only available when this kaspad was started with `--utxoindex` - /// - /// See: UtxosChangedNotificationMessage + /// ShutdownRequestMessage shuts down this kaspad. /// - public sealed partial class NotifyUtxosChangedRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyUtxosChangedRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ShutdownRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShutdownRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[66]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[64]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyUtxosChangedRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShutdownRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyUtxosChangedRequestMessage(NotifyUtxosChangedRequestMessage other) : this() { - addresses_ = other.addresses_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShutdownRequestMessage(ShutdownRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyUtxosChangedRequestMessage Clone() { - return new NotifyUtxosChangedRequestMessage(this); - } - - /// Field number for the "addresses" field. - public const int AddressesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_addresses_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); - /// - /// Leave empty to get all updates - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Addresses { - get { return addresses_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShutdownRequestMessage Clone() { + return new ShutdownRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyUtxosChangedRequestMessage); + return Equals(other as ShutdownRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyUtxosChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ShutdownRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!addresses_.Equals(other.addresses_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= addresses_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11711,22 +17127,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - addresses_.WriteTo(output, _repeated_addresses_codec); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += addresses_.CalculateSize(_repeated_addresses_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -11734,70 +17165,106 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyUtxosChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ShutdownRequestMessage other) { if (other == null) { return; } - addresses_.Add(other.addresses_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } } } } + #endif } - public sealed partial class NotifyUtxosChangedResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyUtxosChangedResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ShutdownResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShutdownResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[67]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[65]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyUtxosChangedResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShutdownResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyUtxosChangedResponseMessage(NotifyUtxosChangedResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShutdownResponseMessage(ShutdownResponseMessage other) : this() { error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyUtxosChangedResponseMessage Clone() { - return new NotifyUtxosChangedResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShutdownResponseMessage Clone() { + return new ShutdownResponseMessage(this); } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -11806,12 +17273,14 @@ public NotifyUtxosChangedResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyUtxosChangedResponseMessage); + return Equals(other as ShutdownResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyUtxosChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ShutdownResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -11823,6 +17292,7 @@ public bool Equals(NotifyUtxosChangedResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (error_ != null) hash ^= Error.GetHashCode(); @@ -11833,12 +17303,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -11846,9 +17321,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (error_ != null) { @@ -11861,7 +17352,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyUtxosChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ShutdownResponseMessage other) { if (other == null) { return; } @@ -11875,10 +17367,18 @@ public void MergeFrom(NotifyUtxosChangedResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -11891,93 +17391,152 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } /// - /// UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated. - /// - /// See: NotifyUtxosChangedRequestMessage + /// GetHeadersRequestMessage requests headers between the given startHash and the + /// current virtual, up to the given limit. /// - public sealed partial class UtxosChangedNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UtxosChangedNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetHeadersRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetHeadersRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[68]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[66]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UtxosChangedNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetHeadersRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UtxosChangedNotificationMessage(UtxosChangedNotificationMessage other) : this() { - added_ = other.added_.Clone(); - removed_ = other.removed_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetHeadersRequestMessage(GetHeadersRequestMessage other) : this() { + startHash_ = other.startHash_; + limit_ = other.limit_; + isAscending_ = other.isAscending_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UtxosChangedNotificationMessage Clone() { - return new UtxosChangedNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetHeadersRequestMessage Clone() { + return new GetHeadersRequestMessage(this); } - /// Field number for the "added" field. - public const int AddedFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_added_codec - = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosByAddressesEntry.Parser); - private readonly pbc::RepeatedField added_ = new pbc::RepeatedField(); + /// Field number for the "startHash" field. + public const int StartHashFieldNumber = 1; + private string startHash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Added { - get { return added_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StartHash { + get { return startHash_; } + set { + startHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } - /// Field number for the "removed" field. - public const int RemovedFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_removed_codec - = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosByAddressesEntry.Parser); - private readonly pbc::RepeatedField removed_ = new pbc::RepeatedField(); + /// Field number for the "limit" field. + public const int LimitFieldNumber = 2; + private ulong limit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Removed { - get { return removed_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Limit { + get { return limit_; } + set { + limit_ = value; + } + } + + /// Field number for the "isAscending" field. + public const int IsAscendingFieldNumber = 3; + private bool isAscending_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsAscending { + get { return isAscending_; } + set { + isAscending_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UtxosChangedNotificationMessage); + return Equals(other as GetHeadersRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UtxosChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetHeadersRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!added_.Equals(other.added_)) return false; - if(!removed_.Equals(other.removed_)) return false; + if (StartHash != other.StartHash) return false; + if (Limit != other.Limit) return false; + if (IsAscending != other.IsAscending) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= added_.GetHashCode(); - hash ^= removed_.GetHashCode(); + if (StartHash.Length != 0) hash ^= StartHash.GetHashCode(); + if (Limit != 0UL) hash ^= Limit.GetHashCode(); + if (IsAscending != false) hash ^= IsAscending.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11985,24 +17544,70 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - added_.WriteTo(output, _repeated_added_codec); - removed_.WriteTo(output, _repeated_removed_codec); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (StartHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StartHash); + } + if (Limit != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Limit); + } + if (IsAscending != false) { + output.WriteRawTag(24); + output.WriteBool(IsAscending); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StartHash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StartHash); + } + if (Limit != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Limit); + } + if (IsAscending != false) { + output.WriteRawTag(24); + output.WriteBool(IsAscending); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += added_.CalculateSize(_repeated_added_codec); - size += removed_.CalculateSize(_repeated_removed_codec); + if (StartHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StartHash); + } + if (Limit != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Limit); + } + if (IsAscending != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12010,131 +17615,184 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UtxosChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetHeadersRequestMessage other) { if (other == null) { return; } - added_.Add(other.added_); - removed_.Add(other.removed_); + if (other.StartHash.Length != 0) { + StartHash = other.StartHash; + } + if (other.Limit != 0UL) { + Limit = other.Limit; + } + if (other.IsAscending != false) { + IsAscending = other.IsAscending; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - added_.AddEntriesFrom(input, _repeated_added_codec); + StartHash = input.ReadString(); break; } - case 18: { - removed_.AddEntriesFrom(input, _repeated_removed_codec); + case 16: { + Limit = input.ReadUInt64(); + break; + } + case 24: { + IsAscending = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + StartHash = input.ReadString(); + break; + } + case 16: { + Limit = input.ReadUInt64(); + break; + } + case 24: { + IsAscending = input.ReadBool(); break; } } } } + #endif } - public sealed partial class UtxosByAddressesEntry : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UtxosByAddressesEntry()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetHeadersResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetHeadersResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[69]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[67]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UtxosByAddressesEntry() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetHeadersResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UtxosByAddressesEntry(UtxosByAddressesEntry other) : this() { - address_ = other.address_; - outpoint_ = other.outpoint_ != null ? other.outpoint_.Clone() : null; - utxoEntry_ = other.utxoEntry_ != null ? other.utxoEntry_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetHeadersResponseMessage(GetHeadersResponseMessage other) : this() { + headers_ = other.headers_.Clone(); + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UtxosByAddressesEntry Clone() { - return new UtxosByAddressesEntry(this); - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private string address_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Address { - get { return address_; } - set { - address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetHeadersResponseMessage Clone() { + return new GetHeadersResponseMessage(this); } - /// Field number for the "outpoint" field. - public const int OutpointFieldNumber = 2; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint outpoint_; + /// Field number for the "headers" field. + public const int HeadersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_headers_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField headers_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint Outpoint { - get { return outpoint_; } - set { - outpoint_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Headers { + get { return headers_; } } - /// Field number for the "utxoEntry" field. - public const int UtxoEntryFieldNumber = 3; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry utxoEntry_; + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry UtxoEntry { - get { return utxoEntry_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } set { - utxoEntry_ = value; + error_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UtxosByAddressesEntry); + return Equals(other as GetHeadersResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UtxosByAddressesEntry other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetHeadersResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Address != other.Address) return false; - if (!object.Equals(Outpoint, other.Outpoint)) return false; - if (!object.Equals(UtxoEntry, other.UtxoEntry)) return false; + if(!headers_.Equals(other.headers_)) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Address.Length != 0) hash ^= Address.GetHashCode(); - if (outpoint_ != null) hash ^= Outpoint.GetHashCode(); - if (utxoEntry_ != null) hash ^= UtxoEntry.GetHashCode(); + hash ^= headers_.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12142,40 +17800,50 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Address.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Address); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + headers_.WriteTo(output, _repeated_headers_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } - if (outpoint_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Outpoint); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - if (utxoEntry_ != null) { - output.WriteRawTag(26); - output.WriteMessage(UtxoEntry); + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + headers_.WriteTo(ref output, _repeated_headers_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Address.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); - } - if (outpoint_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Outpoint); - } - if (utxoEntry_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(UtxoEntry); + size += headers_.CalculateSize(_repeated_headers_codec); + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -12184,100 +17852,137 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UtxosByAddressesEntry other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetHeadersResponseMessage other) { if (other == null) { return; } - if (other.Address.Length != 0) { - Address = other.Address; - } - if (other.outpoint_ != null) { - if (outpoint_ == null) { - Outpoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint(); - } - Outpoint.MergeFrom(other.Outpoint); - } - if (other.utxoEntry_ != null) { - if (utxoEntry_ == null) { - UtxoEntry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry(); + headers_.Add(other.headers_); + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); } - UtxoEntry.MergeFrom(other.UtxoEntry); + Error.MergeFrom(other.Error); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Address = input.ReadString(); + headers_.AddEntriesFrom(input, _repeated_headers_codec); break; } - case 18: { - if (outpoint_ == null) { - Outpoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); } - input.ReadMessage(Outpoint); + input.ReadMessage(Error); break; } - case 26: { - if (utxoEntry_ == null) { - UtxoEntry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + headers_.AddEntriesFrom(ref input, _repeated_headers_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); } - input.ReadMessage(UtxoEntry); + input.ReadMessage(Error); break; } } } } + #endif } /// - /// StopNotifyingUtxosChangedRequestMessage unregisters this connection for utxoChanged notifications + /// NotifyUtxosChangedRequestMessage registers this connection for utxoChanged notifications /// for the given addresses. /// /// This call is only available when this kaspad was started with `--utxoindex` /// /// See: UtxosChangedNotificationMessage /// - public sealed partial class StopNotifyingUtxosChangedRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingUtxosChangedRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyUtxosChangedRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyUtxosChangedRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[70]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[68]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingUtxosChangedRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyUtxosChangedRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingUtxosChangedRequestMessage(StopNotifyingUtxosChangedRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyUtxosChangedRequestMessage(NotifyUtxosChangedRequestMessage other) : this() { addresses_ = other.addresses_.Clone(); + command_ = other.command_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingUtxosChangedRequestMessage Clone() { - return new StopNotifyingUtxosChangedRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyUtxosChangedRequestMessage Clone() { + return new NotifyUtxosChangedRequestMessage(this); } /// Field number for the "addresses" field. @@ -12285,18 +17990,37 @@ public StopNotifyingUtxosChangedRequestMessage Clone() { private static readonly pb::FieldCodec _repeated_addresses_codec = pb::FieldCodec.ForString(10); private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); + /// + /// UTXOs addresses to start/stop getting notified about + /// Leave empty to start/stop all updates + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Addresses { get { return addresses_; } } + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as StopNotifyingUtxosChangedRequestMessage); + return Equals(other as NotifyUtxosChangedRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StopNotifyingUtxosChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyUtxosChangedRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -12304,13 +18028,16 @@ public bool Equals(StopNotifyingUtxosChangedRequestMessage other) { return true; } if(!addresses_.Equals(other.addresses_)) return false; + if (Command != other.Command) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= addresses_.GetHashCode(); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12318,22 +18045,51 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else addresses_.WriteTo(output, _repeated_addresses_codec); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + addresses_.WriteTo(ref output, _repeated_addresses_codec); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += addresses_.CalculateSize(_repeated_addresses_codec); + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12341,19 +18097,31 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StopNotifyingUtxosChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyUtxosChangedRequestMessage other) { if (other == null) { return; } addresses_.Add(other.addresses_); + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -12361,50 +18129,94 @@ public void MergeFrom(pb::CodedInputStream input) { addresses_.AddEntriesFrom(input, _repeated_addresses_codec); break; } + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + break; + } + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } } } } + #endif } - public sealed partial class StopNotifyingUtxosChangedResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingUtxosChangedResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyUtxosChangedResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyUtxosChangedResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[71]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[69]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingUtxosChangedResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyUtxosChangedResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingUtxosChangedResponseMessage(StopNotifyingUtxosChangedResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyUtxosChangedResponseMessage(NotifyUtxosChangedResponseMessage other) : this() { error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingUtxosChangedResponseMessage Clone() { - return new StopNotifyingUtxosChangedResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyUtxosChangedResponseMessage Clone() { + return new NotifyUtxosChangedResponseMessage(this); } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -12413,12 +18225,14 @@ public StopNotifyingUtxosChangedResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as StopNotifyingUtxosChangedResponseMessage); + return Equals(other as NotifyUtxosChangedResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StopNotifyingUtxosChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyUtxosChangedResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -12430,6 +18244,7 @@ public bool Equals(StopNotifyingUtxosChangedResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (error_ != null) hash ^= Error.GetHashCode(); @@ -12440,12 +18255,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -12453,9 +18273,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (error_ != null) { @@ -12468,7 +18304,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StopNotifyingUtxosChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyUtxosChangedResponseMessage other) { if (other == null) { return; } @@ -12482,10 +18319,18 @@ public void MergeFrom(StopNotifyingUtxosChangedResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -12498,80 +18343,136 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } } + #endif } /// - /// GetUtxosByAddressesRequestMessage requests all current UTXOs for the given kaspad addresses + /// UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated. /// - /// This call is only available when this kaspad was started with `--utxoindex` + /// See: NotifyUtxosChangedRequestMessage /// - public sealed partial class GetUtxosByAddressesRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUtxosByAddressesRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UtxosChangedNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UtxosChangedNotificationMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[72]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[70]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetUtxosByAddressesRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UtxosChangedNotificationMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetUtxosByAddressesRequestMessage(GetUtxosByAddressesRequestMessage other) : this() { - addresses_ = other.addresses_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UtxosChangedNotificationMessage(UtxosChangedNotificationMessage other) : this() { + added_ = other.added_.Clone(); + removed_ = other.removed_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetUtxosByAddressesRequestMessage Clone() { - return new GetUtxosByAddressesRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UtxosChangedNotificationMessage Clone() { + return new UtxosChangedNotificationMessage(this); } - /// Field number for the "addresses" field. - public const int AddressesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_addresses_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); + /// Field number for the "added" field. + public const int AddedFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_added_codec + = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxosByAddressesEntry.Parser); + private readonly pbc::RepeatedField added_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Addresses { - get { return addresses_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Added { + get { return added_; } + } + + /// Field number for the "removed" field. + public const int RemovedFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_removed_codec + = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxosByAddressesEntry.Parser); + private readonly pbc::RepeatedField removed_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Removed { + get { return removed_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetUtxosByAddressesRequestMessage); + return Equals(other as UtxosChangedNotificationMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetUtxosByAddressesRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UtxosChangedNotificationMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!addresses_.Equals(other.addresses_)) return false; + if(!added_.Equals(other.added_)) return false; + if(!removed_.Equals(other.removed_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= addresses_.GetHashCode(); + hash ^= added_.GetHashCode(); + hash ^= removed_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12579,22 +18480,43 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - addresses_.WriteTo(output, _repeated_addresses_codec); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + added_.WriteTo(output, _repeated_added_codec); + removed_.WriteTo(output, _repeated_removed_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + added_.WriteTo(ref output, _repeated_added_codec); + removed_.WriteTo(ref output, _repeated_removed_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += addresses_.CalculateSize(_repeated_addresses_codec); + size += added_.CalculateSize(_repeated_added_codec); + size += removed_.CalculateSize(_repeated_removed_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12602,111 +18524,185 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetUtxosByAddressesRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UtxosChangedNotificationMessage other) { if (other == null) { return; } - addresses_.Add(other.addresses_); + added_.Add(other.added_); + removed_.Add(other.removed_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + added_.AddEntriesFrom(input, _repeated_added_codec); + break; + } + case 18: { + removed_.AddEntriesFrom(input, _repeated_removed_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + added_.AddEntriesFrom(ref input, _repeated_added_codec); + break; + } + case 18: { + removed_.AddEntriesFrom(ref input, _repeated_removed_codec); break; } } } } + #endif } - public sealed partial class GetUtxosByAddressesResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUtxosByAddressesResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcUtxosByAddressesEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcUtxosByAddressesEntry()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[73]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[71]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetUtxosByAddressesResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcUtxosByAddressesEntry() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetUtxosByAddressesResponseMessage(GetUtxosByAddressesResponseMessage other) : this() { - entries_ = other.entries_.Clone(); - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcUtxosByAddressesEntry(RpcUtxosByAddressesEntry other) : this() { + address_ = other.address_; + outpoint_ = other.outpoint_ != null ? other.outpoint_.Clone() : null; + utxoEntry_ = other.utxoEntry_ != null ? other.utxoEntry_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetUtxosByAddressesResponseMessage Clone() { - return new GetUtxosByAddressesResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcUtxosByAddressesEntry Clone() { + return new RpcUtxosByAddressesEntry(this); } - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.UtxosByAddressesEntry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); + /// Field number for the "address" field. + public const int AddressFieldNumber = 1; + private string address_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Entries { - get { return entries_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Address { + get { return address_; } + set { + address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "outpoint" field. + public const int OutpointFieldNumber = 2; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint outpoint_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint Outpoint { + get { return outpoint_; } set { - error_ = value; + outpoint_ = value; + } + } + + /// Field number for the "utxoEntry" field. + public const int UtxoEntryFieldNumber = 3; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry utxoEntry_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry UtxoEntry { + get { return utxoEntry_; } + set { + utxoEntry_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetUtxosByAddressesResponseMessage); + return Equals(other as RpcUtxosByAddressesEntry); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetUtxosByAddressesResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcUtxosByAddressesEntry other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!entries_.Equals(other.entries_)) return false; - if (!object.Equals(Error, other.Error)) return false; + if (Address != other.Address) return false; + if (!object.Equals(Outpoint, other.Outpoint)) return false; + if (!object.Equals(UtxoEntry, other.UtxoEntry)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= entries_.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + if (Address.Length != 0) hash ^= Address.GetHashCode(); + if (outpoint_ != null) hash ^= Outpoint.GetHashCode(); + if (utxoEntry_ != null) hash ^= UtxoEntry.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12714,28 +18710,69 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - entries_.WriteTo(output, _repeated_entries_codec); - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + if (outpoint_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Outpoint); + } + if (utxoEntry_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UtxoEntry); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + if (outpoint_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Outpoint); + } + if (utxoEntry_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UtxoEntry); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += entries_.CalculateSize(_repeated_entries_codec); - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (Address.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + } + if (outpoint_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Outpoint); + } + if (utxoEntry_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UtxoEntry); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -12744,116 +18781,198 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetUtxosByAddressesResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcUtxosByAddressesEntry other) { if (other == null) { return; } - entries_.Add(other.entries_); - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + if (other.Address.Length != 0) { + Address = other.Address; + } + if (other.outpoint_ != null) { + if (outpoint_ == null) { + Outpoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint(); } - Error.MergeFrom(other.Error); + Outpoint.MergeFrom(other.Outpoint); + } + if (other.utxoEntry_ != null) { + if (utxoEntry_ == null) { + UtxoEntry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry(); + } + UtxoEntry.MergeFrom(other.UtxoEntry); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); + Address = input.ReadString(); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + case 18: { + if (outpoint_ == null) { + Outpoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint(); } - input.ReadMessage(Error); + input.ReadMessage(Outpoint); + break; + } + case 26: { + if (utxoEntry_ == null) { + UtxoEntry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry(); + } + input.ReadMessage(UtxoEntry); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Address = input.ReadString(); + break; + } + case 18: { + if (outpoint_ == null) { + Outpoint = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcOutpoint(); + } + input.ReadMessage(Outpoint); + break; + } + case 26: { + if (utxoEntry_ == null) { + UtxoEntry = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxoEntry(); + } + input.ReadMessage(UtxoEntry); break; } } } } + #endif } /// - /// GetBalanceByAddressRequest returns the total balance in unspent transactions towards a given address - /// - /// This call is only available when this kaspad was started with `--utxoindex` - /// - public sealed partial class GetBalanceByAddressRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalanceByAddressRequestMessage()); + /// StopNotifyingUtxosChangedRequestMessage unregisters this connection for utxoChanged notifications + /// for the given addresses. + /// + /// This call is only available when this kaspad was started with `--utxoindex` + /// + /// See: UtxosChangedNotificationMessage + /// + /// This message only exists for backward compatibility reason with kaspad and is deprecated. + /// Use instead UtxosChangedNotificationMessage with command = NOTIFY_STOP. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StopNotifyingUtxosChangedRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingUtxosChangedRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[74]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[72]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalanceByAddressRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingUtxosChangedRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalanceByAddressRequestMessage(GetBalanceByAddressRequestMessage other) : this() { - address_ = other.address_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingUtxosChangedRequestMessage(StopNotifyingUtxosChangedRequestMessage other) : this() { + addresses_ = other.addresses_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalanceByAddressRequestMessage Clone() { - return new GetBalanceByAddressRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingUtxosChangedRequestMessage Clone() { + return new StopNotifyingUtxosChangedRequestMessage(this); } - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private string address_ = ""; + /// Field number for the "addresses" field. + public const int AddressesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_addresses_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Address { - get { return address_; } - set { - address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Addresses { + get { return addresses_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBalanceByAddressRequestMessage); + return Equals(other as StopNotifyingUtxosChangedRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBalanceByAddressRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StopNotifyingUtxosChangedRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Address != other.Address) return false; + if(!addresses_.Equals(other.addresses_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Address.Length != 0) hash ^= Address.GetHashCode(); + hash ^= addresses_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12861,27 +18980,40 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Address.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Address); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + addresses_.WriteTo(output, _repeated_addresses_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + addresses_.WriteTo(ref output, _repeated_addresses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Address.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); - } + size += addresses_.CalculateSize(_repeated_addresses_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12889,84 +19021,115 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBalanceByAddressRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StopNotifyingUtxosChangedRequestMessage other) { if (other == null) { return; } - if (other.Address.Length != 0) { - Address = other.Address; - } + addresses_.Add(other.addresses_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Address = input.ReadString(); + addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); break; } } } } + #endif } - public sealed partial class GetBalanceByAddressResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalanceByAddressResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StopNotifyingUtxosChangedResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingUtxosChangedResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[75]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[73]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalanceByAddressResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingUtxosChangedResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalanceByAddressResponseMessage(GetBalanceByAddressResponseMessage other) : this() { - balance_ = other.balance_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingUtxosChangedResponseMessage(StopNotifyingUtxosChangedResponseMessage other) : this() { error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalanceByAddressResponseMessage Clone() { - return new GetBalanceByAddressResponseMessage(this); - } - - /// Field number for the "balance" field. - public const int BalanceFieldNumber = 1; - private ulong balance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong Balance { - get { return balance_; } - set { - balance_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingUtxosChangedResponseMessage Clone() { + return new StopNotifyingUtxosChangedResponseMessage(this); } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -12975,27 +19138,28 @@ public ulong Balance { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBalanceByAddressResponseMessage); + return Equals(other as StopNotifyingUtxosChangedResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBalanceByAddressResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StopNotifyingUtxosChangedResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Balance != other.Balance) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Balance != 0UL) hash ^= Balance.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -13004,16 +19168,17 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Balance != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(Balance); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -13021,14 +19186,27 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Balance != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Balance); - } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -13039,13 +19217,11 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBalanceByAddressResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StopNotifyingUtxosChangedResponseMessage other) { if (other == null) { return; } - if (other.Balance != 0UL) { - Balance = other.Balance; - } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -13056,17 +19232,47 @@ public void MergeFrom(GetBalanceByAddressResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Balance = input.ReadUInt64(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -13077,41 +19283,58 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class GetBalancesByAddressesRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalancesByAddressesRequestMessage()); + /// + /// GetUtxosByAddressesRequestMessage requests all current UTXOs for the given kaspad addresses + /// + /// This call is only available when this kaspad was started with `--utxoindex` + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetUtxosByAddressesRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUtxosByAddressesRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[76]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[74]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalancesByAddressesRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxosByAddressesRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalancesByAddressesRequestMessage(GetBalancesByAddressesRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxosByAddressesRequestMessage(GetUtxosByAddressesRequestMessage other) : this() { addresses_ = other.addresses_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalancesByAddressesRequestMessage Clone() { - return new GetBalancesByAddressesRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxosByAddressesRequestMessage Clone() { + return new GetUtxosByAddressesRequestMessage(this); } /// Field number for the "addresses" field. @@ -13120,17 +19343,20 @@ public GetBalancesByAddressesRequestMessage Clone() { = pb::FieldCodec.ForString(10); private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Addresses { get { return addresses_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBalancesByAddressesRequestMessage); + return Equals(other as GetUtxosByAddressesRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBalancesByAddressesRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetUtxosByAddressesRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -13142,6 +19368,7 @@ public bool Equals(GetBalancesByAddressesRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= addresses_.GetHashCode(); @@ -13152,19 +19379,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else addresses_.WriteTo(output, _repeated_addresses_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + addresses_.WriteTo(ref output, _repeated_addresses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += addresses_.CalculateSize(_repeated_addresses_codec); @@ -13175,7 +19420,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBalancesByAddressesRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetUtxosByAddressesRequestMessage other) { if (other == null) { return; } @@ -13184,10 +19430,18 @@ public void MergeFrom(GetBalancesByAddressesRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; @@ -13197,72 +19451,96 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + break; + } + } + } } + #endif } - public sealed partial class BalancesByAddressEntry : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BalancesByAddressEntry()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetUtxosByAddressesResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUtxosByAddressesResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[77]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[75]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BalancesByAddressEntry() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxosByAddressesResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BalancesByAddressEntry(BalancesByAddressEntry other) : this() { - address_ = other.address_; - balance_ = other.balance_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxosByAddressesResponseMessage(GetUtxosByAddressesResponseMessage other) : this() { + entries_ = other.entries_.Clone(); error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BalancesByAddressEntry Clone() { - return new BalancesByAddressEntry(this); - } - - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private string address_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Address { - get { return address_; } - set { - address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxosByAddressesResponseMessage Clone() { + return new GetUtxosByAddressesResponseMessage(this); } - /// Field number for the "balance" field. - public const int BalanceFieldNumber = 2; - private ulong balance_; + /// Field number for the "entries" field. + public const int EntriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_entries_codec + = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcUtxosByAddressesEntry.Parser); + private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong Balance { - get { return balance_; } - set { - balance_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Entries { + get { return entries_; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -13271,29 +19549,30 @@ public ulong Balance { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as BalancesByAddressEntry); + return Equals(other as GetUtxosByAddressesResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(BalancesByAddressEntry other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetUtxosByAddressesResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Address != other.Address) return false; - if (Balance != other.Balance) return false; + if(!entries_.Equals(other.entries_)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Address.Length != 0) hash ^= Address.GetHashCode(); - if (Balance != 0UL) hash ^= Balance.GetHashCode(); + hash ^= entries_.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -13302,20 +19581,18 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Address.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Address); - } - if (Balance != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(Balance); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + entries_.WriteTo(output, _repeated_entries_codec); if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -13323,17 +19600,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Address.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + entries_.WriteTo(ref output, _repeated_entries_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } - if (Balance != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Balance); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += entries_.CalculateSize(_repeated_entries_codec); if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -13344,16 +19633,12 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(BalancesByAddressEntry other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetUtxosByAddressesResponseMessage other) { if (other == null) { return; } - if (other.Address.Length != 0) { - Address = other.Address; - } - if (other.Balance != 0UL) { - Balance = other.Balance; - } + entries_.Add(other.entries_); if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -13364,19 +19649,53 @@ public void MergeFrom(BalancesByAddressEntry other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Address = input.ReadString(); + entries_.AddEntriesFrom(input, _repeated_entries_codec); break; } - case 16: { - Balance = input.ReadUInt64(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + entries_.AddEntriesFrom(ref input, _repeated_entries_codec); break; } case 8002: { @@ -13389,88 +19708,96 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class GetBalancesByAddressesResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalancesByAddressesResponseMessage()); + /// + /// GetBalanceByAddressRequest returns the total balance in unspent transactions towards a given address + /// + /// This call is only available when this kaspad was started with `--utxoindex` + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBalanceByAddressRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalanceByAddressRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[78]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[76]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalancesByAddressesResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalanceByAddressRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalancesByAddressesResponseMessage(GetBalancesByAddressesResponseMessage other) : this() { - entries_ = other.entries_.Clone(); - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalanceByAddressRequestMessage(GetBalanceByAddressRequestMessage other) : this() { + address_ = other.address_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetBalancesByAddressesResponseMessage Clone() { - return new GetBalancesByAddressesResponseMessage(this); - } - - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.BalancesByAddressEntry.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Entries { - get { return entries_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalanceByAddressRequestMessage Clone() { + return new GetBalanceByAddressRequestMessage(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "address" field. + public const int AddressFieldNumber = 1; + private string address_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Address { + get { return address_; } set { - error_ = value; + address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetBalancesByAddressesResponseMessage); + return Equals(other as GetBalanceByAddressRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetBalancesByAddressesResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBalanceByAddressRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!entries_.Equals(other.entries_)) return false; - if (!object.Equals(Error, other.Error)) return false; + if (Address != other.Address) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= entries_.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + if (Address.Length != 0) hash ^= Address.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13478,28 +19805,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - entries_.WriteTo(output, _repeated_entries_codec); - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += entries_.CalculateSize(_repeated_entries_codec); - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (Address.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -13508,101 +19854,163 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetBalancesByAddressesResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBalanceByAddressRequestMessage other) { if (other == null) { return; } - entries_.Add(other.entries_); - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.Address.Length != 0) { + Address = other.Address; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); + Address = input.ReadString(); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Address = input.ReadString(); break; } } } } + #endif } - /// - /// GetVirtualSelectedParentBlueScoreRequestMessage requests the blue score of the current selected parent - /// of the virtual block. - /// - public sealed partial class GetVirtualSelectedParentBlueScoreRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVirtualSelectedParentBlueScoreRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBalanceByAddressResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalanceByAddressResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[79]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[77]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentBlueScoreRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalanceByAddressResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentBlueScoreRequestMessage(GetVirtualSelectedParentBlueScoreRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalanceByAddressResponseMessage(GetBalanceByAddressResponseMessage other) : this() { + balance_ = other.balance_; + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentBlueScoreRequestMessage Clone() { - return new GetVirtualSelectedParentBlueScoreRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalanceByAddressResponseMessage Clone() { + return new GetBalanceByAddressResponseMessage(this); + } + + /// Field number for the "balance" field. + public const int BalanceFieldNumber = 1; + private ulong balance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Balance { + get { return balance_; } + set { + balance_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetVirtualSelectedParentBlueScoreRequestMessage); + return Equals(other as GetBalanceByAddressResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetVirtualSelectedParentBlueScoreRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBalanceByAddressResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (Balance != other.Balance) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (Balance != 0UL) hash ^= Balance.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13610,20 +20018,59 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Balance != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Balance); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Balance != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Balance); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (Balance != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Balance); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -13631,107 +20078,9614 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetVirtualSelectedParentBlueScoreRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBalanceByAddressResponseMessage other) { if (other == null) { return; } + if (other.Balance != 0UL) { + Balance = other.Balance; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + Balance = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Balance = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBalancesByAddressesRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalancesByAddressesRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[78]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalancesByAddressesRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalancesByAddressesRequestMessage(GetBalancesByAddressesRequestMessage other) : this() { + addresses_ = other.addresses_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalancesByAddressesRequestMessage Clone() { + return new GetBalancesByAddressesRequestMessage(this); + } + + /// Field number for the "addresses" field. + public const int AddressesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_addresses_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Addresses { + get { return addresses_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBalancesByAddressesRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBalancesByAddressesRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!addresses_.Equals(other.addresses_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= addresses_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + addresses_.WriteTo(output, _repeated_addresses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + addresses_.WriteTo(ref output, _repeated_addresses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += addresses_.CalculateSize(_repeated_addresses_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBalancesByAddressesRequestMessage other) { + if (other == null) { + return; + } + addresses_.Add(other.addresses_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcBalancesByAddressesEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcBalancesByAddressesEntry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[79]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcBalancesByAddressesEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcBalancesByAddressesEntry(RpcBalancesByAddressesEntry other) : this() { + address_ = other.address_; + balance_ = other.balance_; + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcBalancesByAddressesEntry Clone() { + return new RpcBalancesByAddressesEntry(this); + } + + /// Field number for the "address" field. + public const int AddressFieldNumber = 1; + private string address_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Address { + get { return address_; } + set { + address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "balance" field. + public const int BalanceFieldNumber = 2; + private ulong balance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Balance { + get { return balance_; } + set { + balance_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RpcBalancesByAddressesEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcBalancesByAddressesEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Address != other.Address) return false; + if (Balance != other.Balance) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Address.Length != 0) hash ^= Address.GetHashCode(); + if (Balance != 0UL) hash ^= Balance.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + if (Balance != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Balance); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + if (Balance != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Balance); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Address.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + } + if (Balance != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Balance); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcBalancesByAddressesEntry other) { + if (other == null) { + return; + } + if (other.Address.Length != 0) { + Address = other.Address; + } + if (other.Balance != 0UL) { + Balance = other.Balance; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Address = input.ReadString(); + break; + } + case 16: { + Balance = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Address = input.ReadString(); + break; + } + case 16: { + Balance = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetBalancesByAddressesResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBalancesByAddressesResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[80]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalancesByAddressesResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalancesByAddressesResponseMessage(GetBalancesByAddressesResponseMessage other) : this() { + entries_ = other.entries_.Clone(); + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetBalancesByAddressesResponseMessage Clone() { + return new GetBalancesByAddressesResponseMessage(this); + } + + /// Field number for the "entries" field. + public const int EntriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_entries_codec + = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcBalancesByAddressesEntry.Parser); + private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Entries { + get { return entries_; } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetBalancesByAddressesResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetBalancesByAddressesResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!entries_.Equals(other.entries_)) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= entries_.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + entries_.WriteTo(output, _repeated_entries_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + entries_.WriteTo(ref output, _repeated_entries_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += entries_.CalculateSize(_repeated_entries_codec); + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetBalancesByAddressesResponseMessage other) { + if (other == null) { + return; + } + entries_.Add(other.entries_); + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + entries_.AddEntriesFrom(input, _repeated_entries_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + entries_.AddEntriesFrom(ref input, _repeated_entries_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// GetSinkBlueScoreRequestMessage requests the blue score of the current selected parent + /// of the virtual block. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSinkBlueScoreRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSinkBlueScoreRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[81]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkBlueScoreRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkBlueScoreRequestMessage(GetSinkBlueScoreRequestMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkBlueScoreRequestMessage Clone() { + return new GetSinkBlueScoreRequestMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSinkBlueScoreRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSinkBlueScoreRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSinkBlueScoreRequestMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSinkBlueScoreResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSinkBlueScoreResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[82]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkBlueScoreResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkBlueScoreResponseMessage(GetSinkBlueScoreResponseMessage other) : this() { + blueScore_ = other.blueScore_; + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSinkBlueScoreResponseMessage Clone() { + return new GetSinkBlueScoreResponseMessage(this); + } + + /// Field number for the "blueScore" field. + public const int BlueScoreFieldNumber = 1; + private ulong blueScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BlueScore { + get { return blueScore_; } + set { + blueScore_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSinkBlueScoreResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSinkBlueScoreResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BlueScore != other.BlueScore) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BlueScore != 0UL) hash ^= BlueScore.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BlueScore != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BlueScore); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BlueScore != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BlueScore); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BlueScore != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlueScore); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSinkBlueScoreResponseMessage other) { + if (other == null) { + return; + } + if (other.BlueScore != 0UL) { + BlueScore = other.BlueScore; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + BlueScore = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + BlueScore = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// NotifySinkBlueScoreChangedRequestMessage registers this connection for + /// sinkBlueScoreChanged notifications. + /// + /// See: SinkBlueScoreChangedNotificationMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifySinkBlueScoreChangedRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifySinkBlueScoreChangedRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[83]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifySinkBlueScoreChangedRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifySinkBlueScoreChangedRequestMessage(NotifySinkBlueScoreChangedRequestMessage other) : this() { + command_ = other.command_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifySinkBlueScoreChangedRequestMessage Clone() { + return new NotifySinkBlueScoreChangedRequestMessage(this); + } + + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifySinkBlueScoreChangedRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifySinkBlueScoreChangedRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Command != other.Command) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifySinkBlueScoreChangedRequestMessage other) { + if (other == null) { + return; + } + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifySinkBlueScoreChangedResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifySinkBlueScoreChangedResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[84]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifySinkBlueScoreChangedResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifySinkBlueScoreChangedResponseMessage(NotifySinkBlueScoreChangedResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifySinkBlueScoreChangedResponseMessage Clone() { + return new NotifySinkBlueScoreChangedResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifySinkBlueScoreChangedResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifySinkBlueScoreChangedResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifySinkBlueScoreChangedResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// SinkBlueScoreChangedNotificationMessage is sent whenever the blue score + /// of the virtual's selected parent changes. + /// + /// See NotifySinkBlueScoreChangedRequestMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SinkBlueScoreChangedNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SinkBlueScoreChangedNotificationMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[85]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SinkBlueScoreChangedNotificationMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SinkBlueScoreChangedNotificationMessage(SinkBlueScoreChangedNotificationMessage other) : this() { + sinkBlueScore_ = other.sinkBlueScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SinkBlueScoreChangedNotificationMessage Clone() { + return new SinkBlueScoreChangedNotificationMessage(this); + } + + /// Field number for the "sinkBlueScore" field. + public const int SinkBlueScoreFieldNumber = 1; + private ulong sinkBlueScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong SinkBlueScore { + get { return sinkBlueScore_; } + set { + sinkBlueScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SinkBlueScoreChangedNotificationMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SinkBlueScoreChangedNotificationMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SinkBlueScore != other.SinkBlueScore) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SinkBlueScore != 0UL) hash ^= SinkBlueScore.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SinkBlueScore != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(SinkBlueScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SinkBlueScore != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(SinkBlueScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SinkBlueScore != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SinkBlueScore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SinkBlueScoreChangedNotificationMessage other) { + if (other == null) { + return; + } + if (other.SinkBlueScore != 0UL) { + SinkBlueScore = other.SinkBlueScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SinkBlueScore = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SinkBlueScore = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + /// + /// NotifyVirtualDaaScoreChangedRequestMessage registers this connection for + /// virtualDaaScoreChanged notifications. + /// + /// See: VirtualDaaScoreChangedNotificationMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyVirtualDaaScoreChangedRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualDaaScoreChangedRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[86]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualDaaScoreChangedRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualDaaScoreChangedRequestMessage(NotifyVirtualDaaScoreChangedRequestMessage other) : this() { + command_ = other.command_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualDaaScoreChangedRequestMessage Clone() { + return new NotifyVirtualDaaScoreChangedRequestMessage(this); + } + + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifyVirtualDaaScoreChangedRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyVirtualDaaScoreChangedRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Command != other.Command) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyVirtualDaaScoreChangedRequestMessage other) { + if (other == null) { + return; + } + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyVirtualDaaScoreChangedResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualDaaScoreChangedResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[87]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualDaaScoreChangedResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualDaaScoreChangedResponseMessage(NotifyVirtualDaaScoreChangedResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyVirtualDaaScoreChangedResponseMessage Clone() { + return new NotifyVirtualDaaScoreChangedResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifyVirtualDaaScoreChangedResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyVirtualDaaScoreChangedResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyVirtualDaaScoreChangedResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// VirtualDaaScoreChangedNotificationMessage is sent whenever the DAA score + /// of the virtual changes. + /// + /// See NotifyVirtualDaaScoreChangedRequestMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VirtualDaaScoreChangedNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VirtualDaaScoreChangedNotificationMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[88]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VirtualDaaScoreChangedNotificationMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VirtualDaaScoreChangedNotificationMessage(VirtualDaaScoreChangedNotificationMessage other) : this() { + virtualDaaScore_ = other.virtualDaaScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VirtualDaaScoreChangedNotificationMessage Clone() { + return new VirtualDaaScoreChangedNotificationMessage(this); + } + + /// Field number for the "virtualDaaScore" field. + public const int VirtualDaaScoreFieldNumber = 1; + private ulong virtualDaaScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong VirtualDaaScore { + get { return virtualDaaScore_; } + set { + virtualDaaScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VirtualDaaScoreChangedNotificationMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VirtualDaaScoreChangedNotificationMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (VirtualDaaScore != other.VirtualDaaScore) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (VirtualDaaScore != 0UL) hash ^= VirtualDaaScore.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(VirtualDaaScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(VirtualDaaScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (VirtualDaaScore != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualDaaScore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VirtualDaaScoreChangedNotificationMessage other) { + if (other == null) { + return; + } + if (other.VirtualDaaScore != 0UL) { + VirtualDaaScore = other.VirtualDaaScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + VirtualDaaScore = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + VirtualDaaScore = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + /// + /// NotifyPruningPointUtxoSetOverrideRequestMessage registers this connection for + /// pruning point UTXO set override notifications. + /// + /// This call is only available when this kaspad was started with `--utxoindex` + /// + /// See: NotifyPruningPointUtxoSetOverrideResponseMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyPruningPointUtxoSetOverrideRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyPruningPointUtxoSetOverrideRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[89]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyPruningPointUtxoSetOverrideRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyPruningPointUtxoSetOverrideRequestMessage(NotifyPruningPointUtxoSetOverrideRequestMessage other) : this() { + command_ = other.command_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyPruningPointUtxoSetOverrideRequestMessage Clone() { + return new NotifyPruningPointUtxoSetOverrideRequestMessage(this); + } + + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifyPruningPointUtxoSetOverrideRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyPruningPointUtxoSetOverrideRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Command != other.Command) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyPruningPointUtxoSetOverrideRequestMessage other) { + if (other == null) { + return; + } + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyPruningPointUtxoSetOverrideResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyPruningPointUtxoSetOverrideResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[90]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyPruningPointUtxoSetOverrideResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyPruningPointUtxoSetOverrideResponseMessage(NotifyPruningPointUtxoSetOverrideResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyPruningPointUtxoSetOverrideResponseMessage Clone() { + return new NotifyPruningPointUtxoSetOverrideResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifyPruningPointUtxoSetOverrideResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyPruningPointUtxoSetOverrideResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyPruningPointUtxoSetOverrideResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// PruningPointUtxoSetOverrideNotificationMessage is sent whenever the UTXO index + /// resets due to pruning point change via IBD. + /// + /// See NotifyPruningPointUtxoSetOverrideRequestMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PruningPointUtxoSetOverrideNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PruningPointUtxoSetOverrideNotificationMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[91]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PruningPointUtxoSetOverrideNotificationMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PruningPointUtxoSetOverrideNotificationMessage(PruningPointUtxoSetOverrideNotificationMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PruningPointUtxoSetOverrideNotificationMessage Clone() { + return new PruningPointUtxoSetOverrideNotificationMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PruningPointUtxoSetOverrideNotificationMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PruningPointUtxoSetOverrideNotificationMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PruningPointUtxoSetOverrideNotificationMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// StopNotifyingPruningPointUtxoSetOverrideRequestMessage unregisters this connection for + /// pruning point UTXO set override notifications. + /// + /// This call is only available when this kaspad was started with `--utxoindex` + /// + /// See: PruningPointUtxoSetOverrideNotificationMessage + /// + /// This message only exists for backward compatibility reason with kaspad and is deprecated. + /// Use instead NotifyPruningPointUtxoSetOverrideRequestMessage with command = NOTIFY_STOP. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StopNotifyingPruningPointUtxoSetOverrideRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingPruningPointUtxoSetOverrideRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[92]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingPruningPointUtxoSetOverrideRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingPruningPointUtxoSetOverrideRequestMessage(StopNotifyingPruningPointUtxoSetOverrideRequestMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingPruningPointUtxoSetOverrideRequestMessage Clone() { + return new StopNotifyingPruningPointUtxoSetOverrideRequestMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StopNotifyingPruningPointUtxoSetOverrideRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StopNotifyingPruningPointUtxoSetOverrideRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StopNotifyingPruningPointUtxoSetOverrideRequestMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StopNotifyingPruningPointUtxoSetOverrideResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingPruningPointUtxoSetOverrideResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[93]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingPruningPointUtxoSetOverrideResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingPruningPointUtxoSetOverrideResponseMessage(StopNotifyingPruningPointUtxoSetOverrideResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StopNotifyingPruningPointUtxoSetOverrideResponseMessage Clone() { + return new StopNotifyingPruningPointUtxoSetOverrideResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StopNotifyingPruningPointUtxoSetOverrideResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StopNotifyingPruningPointUtxoSetOverrideResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StopNotifyingPruningPointUtxoSetOverrideResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// BanRequestMessage bans the given ip. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BanRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BanRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[94]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BanRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BanRequestMessage(BanRequestMessage other) : this() { + ip_ = other.ip_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BanRequestMessage Clone() { + return new BanRequestMessage(this); + } + + /// Field number for the "ip" field. + public const int IpFieldNumber = 1; + private string ip_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ip { + get { return ip_; } + set { + ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BanRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BanRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Ip != other.Ip) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Ip.Length != 0) hash ^= Ip.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Ip.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Ip); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Ip.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Ip); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Ip.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BanRequestMessage other) { + if (other == null) { + return; + } + if (other.Ip.Length != 0) { + Ip = other.Ip; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Ip = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Ip = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BanResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BanResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[95]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BanResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BanResponseMessage(BanResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BanResponseMessage Clone() { + return new BanResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BanResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BanResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BanResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// UnbanRequestMessage unbans the given ip. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnbanRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnbanRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[96]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnbanRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnbanRequestMessage(UnbanRequestMessage other) : this() { + ip_ = other.ip_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnbanRequestMessage Clone() { + return new UnbanRequestMessage(this); + } + + /// Field number for the "ip" field. + public const int IpFieldNumber = 1; + private string ip_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ip { + get { return ip_; } + set { + ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnbanRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnbanRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Ip != other.Ip) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Ip.Length != 0) hash ^= Ip.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Ip.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Ip); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Ip.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Ip); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Ip.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnbanRequestMessage other) { + if (other == null) { + return; + } + if (other.Ip.Length != 0) { + Ip = other.Ip; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Ip = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Ip = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnbanResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnbanResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[97]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnbanResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnbanResponseMessage(UnbanResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnbanResponseMessage Clone() { + return new UnbanResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnbanResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnbanResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnbanResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// GetInfoRequestMessage returns info about the node. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetInfoRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInfoRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[98]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInfoRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInfoRequestMessage(GetInfoRequestMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInfoRequestMessage Clone() { + return new GetInfoRequestMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetInfoRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetInfoRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetInfoRequestMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetInfoResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInfoResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[99]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInfoResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInfoResponseMessage(GetInfoResponseMessage other) : this() { + p2PId_ = other.p2PId_; + mempoolSize_ = other.mempoolSize_; + serverVersion_ = other.serverVersion_; + isUtxoIndexed_ = other.isUtxoIndexed_; + isSynced_ = other.isSynced_; + hasNotifyCommand_ = other.hasNotifyCommand_; + hasMessageId_ = other.hasMessageId_; + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetInfoResponseMessage Clone() { + return new GetInfoResponseMessage(this); + } + + /// Field number for the "p2pId" field. + public const int P2PIdFieldNumber = 1; + private string p2PId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string P2PId { + get { return p2PId_; } + set { + p2PId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "mempoolSize" field. + public const int MempoolSizeFieldNumber = 2; + private ulong mempoolSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MempoolSize { + get { return mempoolSize_; } + set { + mempoolSize_ = value; + } + } + + /// Field number for the "serverVersion" field. + public const int ServerVersionFieldNumber = 3; + private string serverVersion_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServerVersion { + get { return serverVersion_; } + set { + serverVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "isUtxoIndexed" field. + public const int IsUtxoIndexedFieldNumber = 4; + private bool isUtxoIndexed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUtxoIndexed { + get { return isUtxoIndexed_; } + set { + isUtxoIndexed_ = value; + } + } + + /// Field number for the "isSynced" field. + public const int IsSyncedFieldNumber = 5; + private bool isSynced_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSynced { + get { return isSynced_; } + set { + isSynced_ = value; + } + } + + /// Field number for the "hasNotifyCommand" field. + public const int HasNotifyCommandFieldNumber = 11; + private bool hasNotifyCommand_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNotifyCommand { + get { return hasNotifyCommand_; } + set { + hasNotifyCommand_ = value; + } + } + + /// Field number for the "hasMessageId" field. + public const int HasMessageIdFieldNumber = 12; + private bool hasMessageId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMessageId { + get { return hasMessageId_; } + set { + hasMessageId_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetInfoResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetInfoResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (P2PId != other.P2PId) return false; + if (MempoolSize != other.MempoolSize) return false; + if (ServerVersion != other.ServerVersion) return false; + if (IsUtxoIndexed != other.IsUtxoIndexed) return false; + if (IsSynced != other.IsSynced) return false; + if (HasNotifyCommand != other.HasNotifyCommand) return false; + if (HasMessageId != other.HasMessageId) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (P2PId.Length != 0) hash ^= P2PId.GetHashCode(); + if (MempoolSize != 0UL) hash ^= MempoolSize.GetHashCode(); + if (ServerVersion.Length != 0) hash ^= ServerVersion.GetHashCode(); + if (IsUtxoIndexed != false) hash ^= IsUtxoIndexed.GetHashCode(); + if (IsSynced != false) hash ^= IsSynced.GetHashCode(); + if (HasNotifyCommand != false) hash ^= HasNotifyCommand.GetHashCode(); + if (HasMessageId != false) hash ^= HasMessageId.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (P2PId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(P2PId); + } + if (MempoolSize != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(MempoolSize); + } + if (ServerVersion.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ServerVersion); + } + if (IsUtxoIndexed != false) { + output.WriteRawTag(32); + output.WriteBool(IsUtxoIndexed); + } + if (IsSynced != false) { + output.WriteRawTag(40); + output.WriteBool(IsSynced); + } + if (HasNotifyCommand != false) { + output.WriteRawTag(88); + output.WriteBool(HasNotifyCommand); + } + if (HasMessageId != false) { + output.WriteRawTag(96); + output.WriteBool(HasMessageId); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (P2PId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(P2PId); + } + if (MempoolSize != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(MempoolSize); + } + if (ServerVersion.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ServerVersion); + } + if (IsUtxoIndexed != false) { + output.WriteRawTag(32); + output.WriteBool(IsUtxoIndexed); + } + if (IsSynced != false) { + output.WriteRawTag(40); + output.WriteBool(IsSynced); + } + if (HasNotifyCommand != false) { + output.WriteRawTag(88); + output.WriteBool(HasNotifyCommand); + } + if (HasMessageId != false) { + output.WriteRawTag(96); + output.WriteBool(HasMessageId); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (P2PId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(P2PId); + } + if (MempoolSize != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MempoolSize); + } + if (ServerVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServerVersion); + } + if (IsUtxoIndexed != false) { + size += 1 + 1; + } + if (IsSynced != false) { + size += 1 + 1; + } + if (HasNotifyCommand != false) { + size += 1 + 1; + } + if (HasMessageId != false) { + size += 1 + 1; + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetInfoResponseMessage other) { + if (other == null) { + return; + } + if (other.P2PId.Length != 0) { + P2PId = other.P2PId; + } + if (other.MempoolSize != 0UL) { + MempoolSize = other.MempoolSize; + } + if (other.ServerVersion.Length != 0) { + ServerVersion = other.ServerVersion; + } + if (other.IsUtxoIndexed != false) { + IsUtxoIndexed = other.IsUtxoIndexed; + } + if (other.IsSynced != false) { + IsSynced = other.IsSynced; + } + if (other.HasNotifyCommand != false) { + HasNotifyCommand = other.HasNotifyCommand; + } + if (other.HasMessageId != false) { + HasMessageId = other.HasMessageId; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + P2PId = input.ReadString(); + break; + } + case 16: { + MempoolSize = input.ReadUInt64(); + break; + } + case 26: { + ServerVersion = input.ReadString(); + break; + } + case 32: { + IsUtxoIndexed = input.ReadBool(); + break; + } + case 40: { + IsSynced = input.ReadBool(); + break; + } + case 88: { + HasNotifyCommand = input.ReadBool(); + break; + } + case 96: { + HasMessageId = input.ReadBool(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + P2PId = input.ReadString(); + break; + } + case 16: { + MempoolSize = input.ReadUInt64(); + break; + } + case 26: { + ServerVersion = input.ReadString(); + break; + } + case 32: { + IsUtxoIndexed = input.ReadBool(); + break; + } + case 40: { + IsSynced = input.ReadBool(); + break; + } + case 88: { + HasNotifyCommand = input.ReadBool(); + break; + } + case 96: { + HasMessageId = input.ReadBool(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EstimateNetworkHashesPerSecondRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EstimateNetworkHashesPerSecondRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[100]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EstimateNetworkHashesPerSecondRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EstimateNetworkHashesPerSecondRequestMessage(EstimateNetworkHashesPerSecondRequestMessage other) : this() { + windowSize_ = other.windowSize_; + startHash_ = other.startHash_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EstimateNetworkHashesPerSecondRequestMessage Clone() { + return new EstimateNetworkHashesPerSecondRequestMessage(this); + } + + /// Field number for the "windowSize" field. + public const int WindowSizeFieldNumber = 1; + private uint windowSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WindowSize { + get { return windowSize_; } + set { + windowSize_ = value; + } + } + + /// Field number for the "startHash" field. + public const int StartHashFieldNumber = 2; + private string startHash_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StartHash { + get { return startHash_; } + set { + startHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EstimateNetworkHashesPerSecondRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EstimateNetworkHashesPerSecondRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (WindowSize != other.WindowSize) return false; + if (StartHash != other.StartHash) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (WindowSize != 0) hash ^= WindowSize.GetHashCode(); + if (StartHash.Length != 0) hash ^= StartHash.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (WindowSize != 0) { + output.WriteRawTag(8); + output.WriteUInt32(WindowSize); + } + if (StartHash.Length != 0) { + output.WriteRawTag(18); + output.WriteString(StartHash); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (WindowSize != 0) { + output.WriteRawTag(8); + output.WriteUInt32(WindowSize); + } + if (StartHash.Length != 0) { + output.WriteRawTag(18); + output.WriteString(StartHash); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (WindowSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WindowSize); + } + if (StartHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StartHash); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EstimateNetworkHashesPerSecondRequestMessage other) { + if (other == null) { + return; + } + if (other.WindowSize != 0) { + WindowSize = other.WindowSize; + } + if (other.StartHash.Length != 0) { + StartHash = other.StartHash; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + WindowSize = input.ReadUInt32(); + break; + } + case 18: { + StartHash = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + WindowSize = input.ReadUInt32(); + break; + } + case 18: { + StartHash = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EstimateNetworkHashesPerSecondResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EstimateNetworkHashesPerSecondResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[101]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EstimateNetworkHashesPerSecondResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EstimateNetworkHashesPerSecondResponseMessage(EstimateNetworkHashesPerSecondResponseMessage other) : this() { + networkHashesPerSecond_ = other.networkHashesPerSecond_; + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EstimateNetworkHashesPerSecondResponseMessage Clone() { + return new EstimateNetworkHashesPerSecondResponseMessage(this); + } + + /// Field number for the "networkHashesPerSecond" field. + public const int NetworkHashesPerSecondFieldNumber = 1; + private ulong networkHashesPerSecond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong NetworkHashesPerSecond { + get { return networkHashesPerSecond_; } + set { + networkHashesPerSecond_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EstimateNetworkHashesPerSecondResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EstimateNetworkHashesPerSecondResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NetworkHashesPerSecond != other.NetworkHashesPerSecond) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NetworkHashesPerSecond != 0UL) hash ^= NetworkHashesPerSecond.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NetworkHashesPerSecond != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(NetworkHashesPerSecond); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NetworkHashesPerSecond != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(NetworkHashesPerSecond); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NetworkHashesPerSecond != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(NetworkHashesPerSecond); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EstimateNetworkHashesPerSecondResponseMessage other) { + if (other == null) { + return; + } + if (other.NetworkHashesPerSecond != 0UL) { + NetworkHashesPerSecond = other.NetworkHashesPerSecond; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + NetworkHashesPerSecond = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + NetworkHashesPerSecond = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// NotifyNewBlockTemplateRequestMessage registers this connection for + /// NewBlockTemplate notifications. + /// + /// See: NewBlockTemplateNotificationMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyNewBlockTemplateRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyNewBlockTemplateRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[102]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyNewBlockTemplateRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyNewBlockTemplateRequestMessage(NotifyNewBlockTemplateRequestMessage other) : this() { + command_ = other.command_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyNewBlockTemplateRequestMessage Clone() { + return new NotifyNewBlockTemplateRequestMessage(this); + } + + /// Field number for the "command" field. + public const int CommandFieldNumber = 101; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand command_ = global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand Command { + get { return command_; } + set { + command_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifyNewBlockTemplateRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyNewBlockTemplateRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Command != other.Command) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) hash ^= Command.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + output.WriteRawTag(168, 6); + output.WriteEnum((int) Command); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Command); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyNewBlockTemplateRequestMessage other) { + if (other == null) { + return; + } + if (other.Command != global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand.NotifyStart) { + Command = other.Command; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 808: { + Command = (global::Miningcore.Blockchain.Kaspa.Kaspad.RpcNotifyCommand) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotifyNewBlockTemplateResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyNewBlockTemplateResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[103]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyNewBlockTemplateResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyNewBlockTemplateResponseMessage(NotifyNewBlockTemplateResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotifyNewBlockTemplateResponseMessage Clone() { + return new NotifyNewBlockTemplateResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotifyNewBlockTemplateResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotifyNewBlockTemplateResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotifyNewBlockTemplateResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + /// + /// NewBlockTemplateNotificationMessage is sent whenever a new updated block template is + /// available for miners. + /// + /// See NotifyNewBlockTemplateRequestMessage + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NewBlockTemplateNotificationMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NewBlockTemplateNotificationMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[104]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewBlockTemplateNotificationMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewBlockTemplateNotificationMessage(NewBlockTemplateNotificationMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewBlockTemplateNotificationMessage Clone() { + return new NewBlockTemplateNotificationMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NewBlockTemplateNotificationMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NewBlockTemplateNotificationMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NewBlockTemplateNotificationMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcMempoolEntryByAddress : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcMempoolEntryByAddress()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[105]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcMempoolEntryByAddress() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcMempoolEntryByAddress(RpcMempoolEntryByAddress other) : this() { + address_ = other.address_; + sending_ = other.sending_.Clone(); + receiving_ = other.receiving_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcMempoolEntryByAddress Clone() { + return new RpcMempoolEntryByAddress(this); + } + + /// Field number for the "address" field. + public const int AddressFieldNumber = 1; + private string address_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Address { + get { return address_; } + set { + address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sending" field. + public const int SendingFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_sending_codec + = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry.Parser); + private readonly pbc::RepeatedField sending_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Sending { + get { return sending_; } + } + + /// Field number for the "receiving" field. + public const int ReceivingFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_receiving_codec + = pb::FieldCodec.ForMessage(26, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntry.Parser); + private readonly pbc::RepeatedField receiving_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Receiving { + get { return receiving_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RpcMempoolEntryByAddress); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcMempoolEntryByAddress other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Address != other.Address) return false; + if(!sending_.Equals(other.sending_)) return false; + if(!receiving_.Equals(other.receiving_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Address.Length != 0) hash ^= Address.GetHashCode(); + hash ^= sending_.GetHashCode(); + hash ^= receiving_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + sending_.WriteTo(output, _repeated_sending_codec); + receiving_.WriteTo(output, _repeated_receiving_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Address.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Address); + } + sending_.WriteTo(ref output, _repeated_sending_codec); + receiving_.WriteTo(ref output, _repeated_receiving_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Address.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + } + size += sending_.CalculateSize(_repeated_sending_codec); + size += receiving_.CalculateSize(_repeated_receiving_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcMempoolEntryByAddress other) { + if (other == null) { + return; + } + if (other.Address.Length != 0) { + Address = other.Address; + } + sending_.Add(other.sending_); + receiving_.Add(other.receiving_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Address = input.ReadString(); + break; + } + case 18: { + sending_.AddEntriesFrom(input, _repeated_sending_codec); + break; + } + case 26: { + receiving_.AddEntriesFrom(input, _repeated_receiving_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Address = input.ReadString(); + break; + } + case 18: { + sending_.AddEntriesFrom(ref input, _repeated_sending_codec); + break; + } + case 26: { + receiving_.AddEntriesFrom(ref input, _repeated_receiving_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMempoolEntriesByAddressesRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntriesByAddressesRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[106]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntriesByAddressesRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntriesByAddressesRequestMessage(GetMempoolEntriesByAddressesRequestMessage other) : this() { + addresses_ = other.addresses_.Clone(); + includeOrphanPool_ = other.includeOrphanPool_; + filterTransactionPool_ = other.filterTransactionPool_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntriesByAddressesRequestMessage Clone() { + return new GetMempoolEntriesByAddressesRequestMessage(this); + } + + /// Field number for the "addresses" field. + public const int AddressesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_addresses_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Addresses { + get { return addresses_; } + } + + /// Field number for the "includeOrphanPool" field. + public const int IncludeOrphanPoolFieldNumber = 2; + private bool includeOrphanPool_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeOrphanPool { + get { return includeOrphanPool_; } + set { + includeOrphanPool_ = value; + } + } + + /// Field number for the "filterTransactionPool" field. + public const int FilterTransactionPoolFieldNumber = 3; + private bool filterTransactionPool_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FilterTransactionPool { + get { return filterTransactionPool_; } + set { + filterTransactionPool_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetMempoolEntriesByAddressesRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMempoolEntriesByAddressesRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!addresses_.Equals(other.addresses_)) return false; + if (IncludeOrphanPool != other.IncludeOrphanPool) return false; + if (FilterTransactionPool != other.FilterTransactionPool) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= addresses_.GetHashCode(); + if (IncludeOrphanPool != false) hash ^= IncludeOrphanPool.GetHashCode(); + if (FilterTransactionPool != false) hash ^= FilterTransactionPool.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + addresses_.WriteTo(output, _repeated_addresses_codec); + if (IncludeOrphanPool != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeOrphanPool); + } + if (FilterTransactionPool != false) { + output.WriteRawTag(24); + output.WriteBool(FilterTransactionPool); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + addresses_.WriteTo(ref output, _repeated_addresses_codec); + if (IncludeOrphanPool != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeOrphanPool); + } + if (FilterTransactionPool != false) { + output.WriteRawTag(24); + output.WriteBool(FilterTransactionPool); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += addresses_.CalculateSize(_repeated_addresses_codec); + if (IncludeOrphanPool != false) { + size += 1 + 1; + } + if (FilterTransactionPool != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMempoolEntriesByAddressesRequestMessage other) { + if (other == null) { + return; + } + addresses_.Add(other.addresses_); + if (other.IncludeOrphanPool != false) { + IncludeOrphanPool = other.IncludeOrphanPool; + } + if (other.FilterTransactionPool != false) { + FilterTransactionPool = other.FilterTransactionPool; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + break; + } + case 16: { + IncludeOrphanPool = input.ReadBool(); + break; + } + case 24: { + FilterTransactionPool = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + addresses_.AddEntriesFrom(ref input, _repeated_addresses_codec); + break; + } + case 16: { + IncludeOrphanPool = input.ReadBool(); + break; + } + case 24: { + FilterTransactionPool = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMempoolEntriesByAddressesResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntriesByAddressesResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[107]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntriesByAddressesResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntriesByAddressesResponseMessage(GetMempoolEntriesByAddressesResponseMessage other) : this() { + entries_ = other.entries_.Clone(); + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMempoolEntriesByAddressesResponseMessage Clone() { + return new GetMempoolEntriesByAddressesResponseMessage(this); + } + + /// Field number for the "entries" field. + public const int EntriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_entries_codec + = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcMempoolEntryByAddress.Parser); + private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Entries { + get { return entries_; } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetMempoolEntriesByAddressesResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMempoolEntriesByAddressesResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!entries_.Equals(other.entries_)) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= entries_.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + entries_.WriteTo(output, _repeated_entries_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + entries_.WriteTo(ref output, _repeated_entries_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += entries_.CalculateSize(_repeated_entries_codec); + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMempoolEntriesByAddressesResponseMessage other) { + if (other == null) { + return; + } + entries_.Add(other.entries_); + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + entries_.AddEntriesFrom(input, _repeated_entries_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + entries_.AddEntriesFrom(ref input, _repeated_entries_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCoinSupplyRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCoinSupplyRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[108]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCoinSupplyRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCoinSupplyRequestMessage(GetCoinSupplyRequestMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCoinSupplyRequestMessage Clone() { + return new GetCoinSupplyRequestMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetCoinSupplyRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCoinSupplyRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCoinSupplyRequestMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCoinSupplyResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCoinSupplyResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[109]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCoinSupplyResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCoinSupplyResponseMessage(GetCoinSupplyResponseMessage other) : this() { + maxSompi_ = other.maxSompi_; + circulatingSompi_ = other.circulatingSompi_; + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCoinSupplyResponseMessage Clone() { + return new GetCoinSupplyResponseMessage(this); + } + + /// Field number for the "maxSompi" field. + public const int MaxSompiFieldNumber = 1; + private ulong maxSompi_; + /// + /// note: this is a hard coded maxSupply, actual maxSupply is expected to deviate by upto -5%, but cannot be measured exactly. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MaxSompi { + get { return maxSompi_; } + set { + maxSompi_ = value; + } + } + + /// Field number for the "circulatingSompi" field. + public const int CirculatingSompiFieldNumber = 2; + private ulong circulatingSompi_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong CirculatingSompi { + get { return circulatingSompi_; } + set { + circulatingSompi_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetCoinSupplyResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCoinSupplyResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MaxSompi != other.MaxSompi) return false; + if (CirculatingSompi != other.CirculatingSompi) return false; + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (MaxSompi != 0UL) hash ^= MaxSompi.GetHashCode(); + if (CirculatingSompi != 0UL) hash ^= CirculatingSompi.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (MaxSompi != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(MaxSompi); + } + if (CirculatingSompi != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(CirculatingSompi); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MaxSompi != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(MaxSompi); + } + if (CirculatingSompi != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(CirculatingSompi); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (MaxSompi != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxSompi); + } + if (CirculatingSompi != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CirculatingSompi); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCoinSupplyResponseMessage other) { + if (other == null) { + return; + } + if (other.MaxSompi != 0UL) { + MaxSompi = other.MaxSompi; + } + if (other.CirculatingSompi != 0UL) { + CirculatingSompi = other.CirculatingSompi; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + MaxSompi = input.ReadUInt64(); + break; + } + case 16: { + CirculatingSompi = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + MaxSompi = input.ReadUInt64(); + break; + } + case 16: { + CirculatingSompi = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PingRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PingRequestMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[110]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingRequestMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingRequestMessage(PingRequestMessage other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingRequestMessage Clone() { + return new PingRequestMessage(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PingRequestMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PingRequestMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PingRequestMessage other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PingResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PingResponseMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[111]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingResponseMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingResponseMessage(PingResponseMessage other) : this() { + error_ = other.error_ != null ? other.error_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PingResponseMessage Clone() { + return new PingResponseMessage(this); + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PingResponseMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PingResponseMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Error, other.Error)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (error_ != null) hash ^= Error.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PingResponseMessage other) { + if (other == null) { + return; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProcessMetrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessMetrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[112]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessMetrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessMetrics(ProcessMetrics other) : this() { + residentSetSize_ = other.residentSetSize_; + virtualMemorySize_ = other.virtualMemorySize_; + coreNum_ = other.coreNum_; + cpuUsage_ = other.cpuUsage_; + fdNum_ = other.fdNum_; + diskIoReadBytes_ = other.diskIoReadBytes_; + diskIoWriteBytes_ = other.diskIoWriteBytes_; + diskIoReadPerSec_ = other.diskIoReadPerSec_; + diskIoWritePerSec_ = other.diskIoWritePerSec_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessMetrics Clone() { + return new ProcessMetrics(this); + } + + /// Field number for the "residentSetSize" field. + public const int ResidentSetSizeFieldNumber = 1; + private ulong residentSetSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ResidentSetSize { + get { return residentSetSize_; } + set { + residentSetSize_ = value; + } + } + + /// Field number for the "virtualMemorySize" field. + public const int VirtualMemorySizeFieldNumber = 2; + private ulong virtualMemorySize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong VirtualMemorySize { + get { return virtualMemorySize_; } + set { + virtualMemorySize_ = value; + } + } + + /// Field number for the "coreNum" field. + public const int CoreNumFieldNumber = 3; + private uint coreNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CoreNum { + get { return coreNum_; } + set { + coreNum_ = value; + } + } + + /// Field number for the "cpuUsage" field. + public const int CpuUsageFieldNumber = 4; + private float cpuUsage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float CpuUsage { + get { return cpuUsage_; } + set { + cpuUsage_ = value; + } + } + + /// Field number for the "fdNum" field. + public const int FdNumFieldNumber = 5; + private uint fdNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FdNum { + get { return fdNum_; } + set { + fdNum_ = value; + } + } + + /// Field number for the "diskIoReadBytes" field. + public const int DiskIoReadBytesFieldNumber = 6; + private ulong diskIoReadBytes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong DiskIoReadBytes { + get { return diskIoReadBytes_; } + set { + diskIoReadBytes_ = value; + } + } + + /// Field number for the "diskIoWriteBytes" field. + public const int DiskIoWriteBytesFieldNumber = 7; + private ulong diskIoWriteBytes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong DiskIoWriteBytes { + get { return diskIoWriteBytes_; } + set { + diskIoWriteBytes_ = value; + } + } + + /// Field number for the "diskIoReadPerSec" field. + public const int DiskIoReadPerSecFieldNumber = 8; + private float diskIoReadPerSec_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DiskIoReadPerSec { + get { return diskIoReadPerSec_; } + set { + diskIoReadPerSec_ = value; + } + } + + /// Field number for the "diskIoWritePerSec" field. + public const int DiskIoWritePerSecFieldNumber = 9; + private float diskIoWritePerSec_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DiskIoWritePerSec { + get { return diskIoWritePerSec_; } + set { + diskIoWritePerSec_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProcessMetrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProcessMetrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ResidentSetSize != other.ResidentSetSize) return false; + if (VirtualMemorySize != other.VirtualMemorySize) return false; + if (CoreNum != other.CoreNum) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CpuUsage, other.CpuUsage)) return false; + if (FdNum != other.FdNum) return false; + if (DiskIoReadBytes != other.DiskIoReadBytes) return false; + if (DiskIoWriteBytes != other.DiskIoWriteBytes) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DiskIoReadPerSec, other.DiskIoReadPerSec)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DiskIoWritePerSec, other.DiskIoWritePerSec)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ResidentSetSize != 0UL) hash ^= ResidentSetSize.GetHashCode(); + if (VirtualMemorySize != 0UL) hash ^= VirtualMemorySize.GetHashCode(); + if (CoreNum != 0) hash ^= CoreNum.GetHashCode(); + if (CpuUsage != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CpuUsage); + if (FdNum != 0) hash ^= FdNum.GetHashCode(); + if (DiskIoReadBytes != 0UL) hash ^= DiskIoReadBytes.GetHashCode(); + if (DiskIoWriteBytes != 0UL) hash ^= DiskIoWriteBytes.GetHashCode(); + if (DiskIoReadPerSec != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DiskIoReadPerSec); + if (DiskIoWritePerSec != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DiskIoWritePerSec); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ResidentSetSize != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(ResidentSetSize); + } + if (VirtualMemorySize != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(VirtualMemorySize); + } + if (CoreNum != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CoreNum); + } + if (CpuUsage != 0F) { + output.WriteRawTag(37); + output.WriteFloat(CpuUsage); + } + if (FdNum != 0) { + output.WriteRawTag(40); + output.WriteUInt32(FdNum); + } + if (DiskIoReadBytes != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(DiskIoReadBytes); + } + if (DiskIoWriteBytes != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(DiskIoWriteBytes); + } + if (DiskIoReadPerSec != 0F) { + output.WriteRawTag(69); + output.WriteFloat(DiskIoReadPerSec); + } + if (DiskIoWritePerSec != 0F) { + output.WriteRawTag(77); + output.WriteFloat(DiskIoWritePerSec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ResidentSetSize != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(ResidentSetSize); + } + if (VirtualMemorySize != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(VirtualMemorySize); + } + if (CoreNum != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CoreNum); + } + if (CpuUsage != 0F) { + output.WriteRawTag(37); + output.WriteFloat(CpuUsage); + } + if (FdNum != 0) { + output.WriteRawTag(40); + output.WriteUInt32(FdNum); + } + if (DiskIoReadBytes != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(DiskIoReadBytes); + } + if (DiskIoWriteBytes != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(DiskIoWriteBytes); + } + if (DiskIoReadPerSec != 0F) { + output.WriteRawTag(69); + output.WriteFloat(DiskIoReadPerSec); + } + if (DiskIoWritePerSec != 0F) { + output.WriteRawTag(77); + output.WriteFloat(DiskIoWritePerSec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ResidentSetSize != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ResidentSetSize); + } + if (VirtualMemorySize != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualMemorySize); + } + if (CoreNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoreNum); + } + if (CpuUsage != 0F) { + size += 1 + 4; + } + if (FdNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FdNum); + } + if (DiskIoReadBytes != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DiskIoReadBytes); + } + if (DiskIoWriteBytes != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DiskIoWriteBytes); + } + if (DiskIoReadPerSec != 0F) { + size += 1 + 4; + } + if (DiskIoWritePerSec != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProcessMetrics other) { + if (other == null) { + return; + } + if (other.ResidentSetSize != 0UL) { + ResidentSetSize = other.ResidentSetSize; + } + if (other.VirtualMemorySize != 0UL) { + VirtualMemorySize = other.VirtualMemorySize; + } + if (other.CoreNum != 0) { + CoreNum = other.CoreNum; + } + if (other.CpuUsage != 0F) { + CpuUsage = other.CpuUsage; + } + if (other.FdNum != 0) { + FdNum = other.FdNum; + } + if (other.DiskIoReadBytes != 0UL) { + DiskIoReadBytes = other.DiskIoReadBytes; + } + if (other.DiskIoWriteBytes != 0UL) { + DiskIoWriteBytes = other.DiskIoWriteBytes; + } + if (other.DiskIoReadPerSec != 0F) { + DiskIoReadPerSec = other.DiskIoReadPerSec; + } + if (other.DiskIoWritePerSec != 0F) { + DiskIoWritePerSec = other.DiskIoWritePerSec; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ResidentSetSize = input.ReadUInt64(); + break; + } + case 16: { + VirtualMemorySize = input.ReadUInt64(); + break; + } + case 24: { + CoreNum = input.ReadUInt32(); + break; + } + case 37: { + CpuUsage = input.ReadFloat(); + break; + } + case 40: { + FdNum = input.ReadUInt32(); + break; + } + case 48: { + DiskIoReadBytes = input.ReadUInt64(); + break; + } + case 56: { + DiskIoWriteBytes = input.ReadUInt64(); + break; + } + case 69: { + DiskIoReadPerSec = input.ReadFloat(); + break; + } + case 77: { + DiskIoWritePerSec = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ResidentSetSize = input.ReadUInt64(); + break; + } + case 16: { + VirtualMemorySize = input.ReadUInt64(); + break; + } + case 24: { + CoreNum = input.ReadUInt32(); + break; + } + case 37: { + CpuUsage = input.ReadFloat(); + break; + } + case 40: { + FdNum = input.ReadUInt32(); + break; + } + case 48: { + DiskIoReadBytes = input.ReadUInt64(); + break; + } + case 56: { + DiskIoWriteBytes = input.ReadUInt64(); + break; + } + case 69: { + DiskIoReadPerSec = input.ReadFloat(); + break; + } + case 77: { + DiskIoWritePerSec = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConnectionMetrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionMetrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[113]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionMetrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionMetrics(ConnectionMetrics other) : this() { + borshLiveConnections_ = other.borshLiveConnections_; + borshConnectionAttempts_ = other.borshConnectionAttempts_; + borshHandshakeFailures_ = other.borshHandshakeFailures_; + jsonLiveConnections_ = other.jsonLiveConnections_; + jsonConnectionAttempts_ = other.jsonConnectionAttempts_; + jsonHandshakeFailures_ = other.jsonHandshakeFailures_; + activePeers_ = other.activePeers_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionMetrics Clone() { + return new ConnectionMetrics(this); + } + + /// Field number for the "borshLiveConnections" field. + public const int BorshLiveConnectionsFieldNumber = 31; + private uint borshLiveConnections_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BorshLiveConnections { + get { return borshLiveConnections_; } + set { + borshLiveConnections_ = value; + } + } + + /// Field number for the "borshConnectionAttempts" field. + public const int BorshConnectionAttemptsFieldNumber = 32; + private ulong borshConnectionAttempts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BorshConnectionAttempts { + get { return borshConnectionAttempts_; } + set { + borshConnectionAttempts_ = value; + } + } + + /// Field number for the "borshHandshakeFailures" field. + public const int BorshHandshakeFailuresFieldNumber = 33; + private ulong borshHandshakeFailures_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BorshHandshakeFailures { + get { return borshHandshakeFailures_; } + set { + borshHandshakeFailures_ = value; + } + } + + /// Field number for the "jsonLiveConnections" field. + public const int JsonLiveConnectionsFieldNumber = 41; + private uint jsonLiveConnections_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint JsonLiveConnections { + get { return jsonLiveConnections_; } + set { + jsonLiveConnections_ = value; + } + } + + /// Field number for the "jsonConnectionAttempts" field. + public const int JsonConnectionAttemptsFieldNumber = 42; + private ulong jsonConnectionAttempts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong JsonConnectionAttempts { + get { return jsonConnectionAttempts_; } + set { + jsonConnectionAttempts_ = value; + } + } + + /// Field number for the "jsonHandshakeFailures" field. + public const int JsonHandshakeFailuresFieldNumber = 43; + private ulong jsonHandshakeFailures_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong JsonHandshakeFailures { + get { return jsonHandshakeFailures_; } + set { + jsonHandshakeFailures_ = value; + } + } + + /// Field number for the "activePeers" field. + public const int ActivePeersFieldNumber = 51; + private uint activePeers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ActivePeers { + get { return activePeers_; } + set { + activePeers_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConnectionMetrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectionMetrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BorshLiveConnections != other.BorshLiveConnections) return false; + if (BorshConnectionAttempts != other.BorshConnectionAttempts) return false; + if (BorshHandshakeFailures != other.BorshHandshakeFailures) return false; + if (JsonLiveConnections != other.JsonLiveConnections) return false; + if (JsonConnectionAttempts != other.JsonConnectionAttempts) return false; + if (JsonHandshakeFailures != other.JsonHandshakeFailures) return false; + if (ActivePeers != other.ActivePeers) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BorshLiveConnections != 0) hash ^= BorshLiveConnections.GetHashCode(); + if (BorshConnectionAttempts != 0UL) hash ^= BorshConnectionAttempts.GetHashCode(); + if (BorshHandshakeFailures != 0UL) hash ^= BorshHandshakeFailures.GetHashCode(); + if (JsonLiveConnections != 0) hash ^= JsonLiveConnections.GetHashCode(); + if (JsonConnectionAttempts != 0UL) hash ^= JsonConnectionAttempts.GetHashCode(); + if (JsonHandshakeFailures != 0UL) hash ^= JsonHandshakeFailures.GetHashCode(); + if (ActivePeers != 0) hash ^= ActivePeers.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BorshLiveConnections != 0) { + output.WriteRawTag(248, 1); + output.WriteUInt32(BorshLiveConnections); + } + if (BorshConnectionAttempts != 0UL) { + output.WriteRawTag(128, 2); + output.WriteUInt64(BorshConnectionAttempts); + } + if (BorshHandshakeFailures != 0UL) { + output.WriteRawTag(136, 2); + output.WriteUInt64(BorshHandshakeFailures); + } + if (JsonLiveConnections != 0) { + output.WriteRawTag(200, 2); + output.WriteUInt32(JsonLiveConnections); + } + if (JsonConnectionAttempts != 0UL) { + output.WriteRawTag(208, 2); + output.WriteUInt64(JsonConnectionAttempts); + } + if (JsonHandshakeFailures != 0UL) { + output.WriteRawTag(216, 2); + output.WriteUInt64(JsonHandshakeFailures); + } + if (ActivePeers != 0) { + output.WriteRawTag(152, 3); + output.WriteUInt32(ActivePeers); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BorshLiveConnections != 0) { + output.WriteRawTag(248, 1); + output.WriteUInt32(BorshLiveConnections); + } + if (BorshConnectionAttempts != 0UL) { + output.WriteRawTag(128, 2); + output.WriteUInt64(BorshConnectionAttempts); + } + if (BorshHandshakeFailures != 0UL) { + output.WriteRawTag(136, 2); + output.WriteUInt64(BorshHandshakeFailures); + } + if (JsonLiveConnections != 0) { + output.WriteRawTag(200, 2); + output.WriteUInt32(JsonLiveConnections); + } + if (JsonConnectionAttempts != 0UL) { + output.WriteRawTag(208, 2); + output.WriteUInt64(JsonConnectionAttempts); + } + if (JsonHandshakeFailures != 0UL) { + output.WriteRawTag(216, 2); + output.WriteUInt64(JsonHandshakeFailures); + } + if (ActivePeers != 0) { + output.WriteRawTag(152, 3); + output.WriteUInt32(ActivePeers); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BorshLiveConnections != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(BorshLiveConnections); + } + if (BorshConnectionAttempts != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(BorshConnectionAttempts); + } + if (BorshHandshakeFailures != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(BorshHandshakeFailures); + } + if (JsonLiveConnections != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(JsonLiveConnections); + } + if (JsonConnectionAttempts != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(JsonConnectionAttempts); + } + if (JsonHandshakeFailures != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(JsonHandshakeFailures); + } + if (ActivePeers != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ActivePeers); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectionMetrics other) { + if (other == null) { + return; + } + if (other.BorshLiveConnections != 0) { + BorshLiveConnections = other.BorshLiveConnections; + } + if (other.BorshConnectionAttempts != 0UL) { + BorshConnectionAttempts = other.BorshConnectionAttempts; + } + if (other.BorshHandshakeFailures != 0UL) { + BorshHandshakeFailures = other.BorshHandshakeFailures; + } + if (other.JsonLiveConnections != 0) { + JsonLiveConnections = other.JsonLiveConnections; + } + if (other.JsonConnectionAttempts != 0UL) { + JsonConnectionAttempts = other.JsonConnectionAttempts; + } + if (other.JsonHandshakeFailures != 0UL) { + JsonHandshakeFailures = other.JsonHandshakeFailures; + } + if (other.ActivePeers != 0) { + ActivePeers = other.ActivePeers; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 248: { + BorshLiveConnections = input.ReadUInt32(); + break; + } + case 256: { + BorshConnectionAttempts = input.ReadUInt64(); + break; + } + case 264: { + BorshHandshakeFailures = input.ReadUInt64(); + break; + } + case 328: { + JsonLiveConnections = input.ReadUInt32(); + break; + } + case 336: { + JsonConnectionAttempts = input.ReadUInt64(); + break; + } + case 344: { + JsonHandshakeFailures = input.ReadUInt64(); + break; + } + case 408: { + ActivePeers = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 248: { + BorshLiveConnections = input.ReadUInt32(); + break; + } + case 256: { + BorshConnectionAttempts = input.ReadUInt64(); + break; + } + case 264: { + BorshHandshakeFailures = input.ReadUInt64(); + break; + } + case 328: { + JsonLiveConnections = input.ReadUInt32(); + break; + } + case 336: { + JsonConnectionAttempts = input.ReadUInt64(); + break; + } + case 344: { + JsonHandshakeFailures = input.ReadUInt64(); + break; + } + case 408: { + ActivePeers = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BandwidthMetrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BandwidthMetrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[114]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BandwidthMetrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BandwidthMetrics(BandwidthMetrics other) : this() { + borshBytesTx_ = other.borshBytesTx_; + borshBytesRx_ = other.borshBytesRx_; + jsonBytesTx_ = other.jsonBytesTx_; + jsonBytesRx_ = other.jsonBytesRx_; + grpcP2PBytesTx_ = other.grpcP2PBytesTx_; + grpcP2PBytesRx_ = other.grpcP2PBytesRx_; + grpcUserBytesTx_ = other.grpcUserBytesTx_; + grpcUserBytesRx_ = other.grpcUserBytesRx_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BandwidthMetrics Clone() { + return new BandwidthMetrics(this); + } + + /// Field number for the "borshBytesTx" field. + public const int BorshBytesTxFieldNumber = 61; + private ulong borshBytesTx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BorshBytesTx { + get { return borshBytesTx_; } + set { + borshBytesTx_ = value; + } + } + + /// Field number for the "borshBytesRx" field. + public const int BorshBytesRxFieldNumber = 62; + private ulong borshBytesRx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BorshBytesRx { + get { return borshBytesRx_; } + set { + borshBytesRx_ = value; + } + } + + /// Field number for the "jsonBytesTx" field. + public const int JsonBytesTxFieldNumber = 63; + private ulong jsonBytesTx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong JsonBytesTx { + get { return jsonBytesTx_; } + set { + jsonBytesTx_ = value; + } + } + + /// Field number for the "jsonBytesRx" field. + public const int JsonBytesRxFieldNumber = 64; + private ulong jsonBytesRx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong JsonBytesRx { + get { return jsonBytesRx_; } + set { + jsonBytesRx_ = value; + } + } + + /// Field number for the "grpcP2pBytesTx" field. + public const int GrpcP2PBytesTxFieldNumber = 65; + private ulong grpcP2PBytesTx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong GrpcP2PBytesTx { + get { return grpcP2PBytesTx_; } + set { + grpcP2PBytesTx_ = value; + } + } + + /// Field number for the "grpcP2pBytesRx" field. + public const int GrpcP2PBytesRxFieldNumber = 66; + private ulong grpcP2PBytesRx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong GrpcP2PBytesRx { + get { return grpcP2PBytesRx_; } + set { + grpcP2PBytesRx_ = value; + } + } + + /// Field number for the "grpcUserBytesTx" field. + public const int GrpcUserBytesTxFieldNumber = 67; + private ulong grpcUserBytesTx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong GrpcUserBytesTx { + get { return grpcUserBytesTx_; } + set { + grpcUserBytesTx_ = value; + } + } + + /// Field number for the "grpcUserBytesRx" field. + public const int GrpcUserBytesRxFieldNumber = 68; + private ulong grpcUserBytesRx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong GrpcUserBytesRx { + get { return grpcUserBytesRx_; } + set { + grpcUserBytesRx_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BandwidthMetrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BandwidthMetrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BorshBytesTx != other.BorshBytesTx) return false; + if (BorshBytesRx != other.BorshBytesRx) return false; + if (JsonBytesTx != other.JsonBytesTx) return false; + if (JsonBytesRx != other.JsonBytesRx) return false; + if (GrpcP2PBytesTx != other.GrpcP2PBytesTx) return false; + if (GrpcP2PBytesRx != other.GrpcP2PBytesRx) return false; + if (GrpcUserBytesTx != other.GrpcUserBytesTx) return false; + if (GrpcUserBytesRx != other.GrpcUserBytesRx) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BorshBytesTx != 0UL) hash ^= BorshBytesTx.GetHashCode(); + if (BorshBytesRx != 0UL) hash ^= BorshBytesRx.GetHashCode(); + if (JsonBytesTx != 0UL) hash ^= JsonBytesTx.GetHashCode(); + if (JsonBytesRx != 0UL) hash ^= JsonBytesRx.GetHashCode(); + if (GrpcP2PBytesTx != 0UL) hash ^= GrpcP2PBytesTx.GetHashCode(); + if (GrpcP2PBytesRx != 0UL) hash ^= GrpcP2PBytesRx.GetHashCode(); + if (GrpcUserBytesTx != 0UL) hash ^= GrpcUserBytesTx.GetHashCode(); + if (GrpcUserBytesRx != 0UL) hash ^= GrpcUserBytesRx.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BorshBytesTx != 0UL) { + output.WriteRawTag(232, 3); + output.WriteUInt64(BorshBytesTx); + } + if (BorshBytesRx != 0UL) { + output.WriteRawTag(240, 3); + output.WriteUInt64(BorshBytesRx); + } + if (JsonBytesTx != 0UL) { + output.WriteRawTag(248, 3); + output.WriteUInt64(JsonBytesTx); + } + if (JsonBytesRx != 0UL) { + output.WriteRawTag(128, 4); + output.WriteUInt64(JsonBytesRx); + } + if (GrpcP2PBytesTx != 0UL) { + output.WriteRawTag(136, 4); + output.WriteUInt64(GrpcP2PBytesTx); + } + if (GrpcP2PBytesRx != 0UL) { + output.WriteRawTag(144, 4); + output.WriteUInt64(GrpcP2PBytesRx); + } + if (GrpcUserBytesTx != 0UL) { + output.WriteRawTag(152, 4); + output.WriteUInt64(GrpcUserBytesTx); + } + if (GrpcUserBytesRx != 0UL) { + output.WriteRawTag(160, 4); + output.WriteUInt64(GrpcUserBytesRx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BorshBytesTx != 0UL) { + output.WriteRawTag(232, 3); + output.WriteUInt64(BorshBytesTx); + } + if (BorshBytesRx != 0UL) { + output.WriteRawTag(240, 3); + output.WriteUInt64(BorshBytesRx); + } + if (JsonBytesTx != 0UL) { + output.WriteRawTag(248, 3); + output.WriteUInt64(JsonBytesTx); + } + if (JsonBytesRx != 0UL) { + output.WriteRawTag(128, 4); + output.WriteUInt64(JsonBytesRx); + } + if (GrpcP2PBytesTx != 0UL) { + output.WriteRawTag(136, 4); + output.WriteUInt64(GrpcP2PBytesTx); + } + if (GrpcP2PBytesRx != 0UL) { + output.WriteRawTag(144, 4); + output.WriteUInt64(GrpcP2PBytesRx); + } + if (GrpcUserBytesTx != 0UL) { + output.WriteRawTag(152, 4); + output.WriteUInt64(GrpcUserBytesTx); + } + if (GrpcUserBytesRx != 0UL) { + output.WriteRawTag(160, 4); + output.WriteUInt64(GrpcUserBytesRx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BorshBytesTx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(BorshBytesTx); + } + if (BorshBytesRx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(BorshBytesRx); + } + if (JsonBytesTx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(JsonBytesTx); + } + if (JsonBytesRx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(JsonBytesRx); + } + if (GrpcP2PBytesTx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(GrpcP2PBytesTx); + } + if (GrpcP2PBytesRx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(GrpcP2PBytesRx); + } + if (GrpcUserBytesTx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(GrpcUserBytesTx); + } + if (GrpcUserBytesRx != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(GrpcUserBytesRx); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BandwidthMetrics other) { + if (other == null) { + return; + } + if (other.BorshBytesTx != 0UL) { + BorshBytesTx = other.BorshBytesTx; + } + if (other.BorshBytesRx != 0UL) { + BorshBytesRx = other.BorshBytesRx; + } + if (other.JsonBytesTx != 0UL) { + JsonBytesTx = other.JsonBytesTx; + } + if (other.JsonBytesRx != 0UL) { + JsonBytesRx = other.JsonBytesRx; + } + if (other.GrpcP2PBytesTx != 0UL) { + GrpcP2PBytesTx = other.GrpcP2PBytesTx; + } + if (other.GrpcP2PBytesRx != 0UL) { + GrpcP2PBytesRx = other.GrpcP2PBytesRx; + } + if (other.GrpcUserBytesTx != 0UL) { + GrpcUserBytesTx = other.GrpcUserBytesTx; + } + if (other.GrpcUserBytesRx != 0UL) { + GrpcUserBytesRx = other.GrpcUserBytesRx; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 488: { + BorshBytesTx = input.ReadUInt64(); + break; + } + case 496: { + BorshBytesRx = input.ReadUInt64(); + break; + } + case 504: { + JsonBytesTx = input.ReadUInt64(); + break; + } + case 512: { + JsonBytesRx = input.ReadUInt64(); + break; + } + case 520: { + GrpcP2PBytesTx = input.ReadUInt64(); + break; + } + case 528: { + GrpcP2PBytesRx = input.ReadUInt64(); + break; + } + case 536: { + GrpcUserBytesTx = input.ReadUInt64(); + break; + } + case 544: { + GrpcUserBytesRx = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 488: { + BorshBytesTx = input.ReadUInt64(); + break; + } + case 496: { + BorshBytesRx = input.ReadUInt64(); + break; + } + case 504: { + JsonBytesTx = input.ReadUInt64(); + break; + } + case 512: { + JsonBytesRx = input.ReadUInt64(); + break; + } + case 520: { + GrpcP2PBytesTx = input.ReadUInt64(); + break; + } + case 528: { + GrpcP2PBytesRx = input.ReadUInt64(); + break; + } + case 536: { + GrpcUserBytesTx = input.ReadUInt64(); + break; + } + case 544: { + GrpcUserBytesRx = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConsensusMetrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConsensusMetrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[115]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConsensusMetrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConsensusMetrics(ConsensusMetrics other) : this() { + blocksSubmitted_ = other.blocksSubmitted_; + headerCounts_ = other.headerCounts_; + depCounts_ = other.depCounts_; + bodyCounts_ = other.bodyCounts_; + txsCounts_ = other.txsCounts_; + chainBlockCounts_ = other.chainBlockCounts_; + massCounts_ = other.massCounts_; + blockCount_ = other.blockCount_; + headerCount_ = other.headerCount_; + mempoolSize_ = other.mempoolSize_; + tipHashesCount_ = other.tipHashesCount_; + difficulty_ = other.difficulty_; + pastMedianTime_ = other.pastMedianTime_; + virtualParentHashesCount_ = other.virtualParentHashesCount_; + virtualDaaScore_ = other.virtualDaaScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConsensusMetrics Clone() { + return new ConsensusMetrics(this); + } + + /// Field number for the "blocksSubmitted" field. + public const int BlocksSubmittedFieldNumber = 1; + private ulong blocksSubmitted_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BlocksSubmitted { + get { return blocksSubmitted_; } + set { + blocksSubmitted_ = value; + } + } + + /// Field number for the "headerCounts" field. + public const int HeaderCountsFieldNumber = 2; + private ulong headerCounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong HeaderCounts { + get { return headerCounts_; } + set { + headerCounts_ = value; + } + } + + /// Field number for the "depCounts" field. + public const int DepCountsFieldNumber = 3; + private ulong depCounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong DepCounts { + get { return depCounts_; } + set { + depCounts_ = value; + } + } + + /// Field number for the "bodyCounts" field. + public const int BodyCountsFieldNumber = 4; + private ulong bodyCounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BodyCounts { + get { return bodyCounts_; } + set { + bodyCounts_ = value; + } + } + + /// Field number for the "txsCounts" field. + public const int TxsCountsFieldNumber = 5; + private ulong txsCounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong TxsCounts { + get { return txsCounts_; } + set { + txsCounts_ = value; + } + } + + /// Field number for the "chainBlockCounts" field. + public const int ChainBlockCountsFieldNumber = 6; + private ulong chainBlockCounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ChainBlockCounts { + get { return chainBlockCounts_; } + set { + chainBlockCounts_ = value; + } + } + + /// Field number for the "massCounts" field. + public const int MassCountsFieldNumber = 7; + private ulong massCounts_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MassCounts { + get { return massCounts_; } + set { + massCounts_ = value; + } + } + + /// Field number for the "blockCount" field. + public const int BlockCountFieldNumber = 11; + private ulong blockCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BlockCount { + get { return blockCount_; } + set { + blockCount_ = value; + } + } + + /// Field number for the "headerCount" field. + public const int HeaderCountFieldNumber = 12; + private ulong headerCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong HeaderCount { + get { return headerCount_; } + set { + headerCount_ = value; + } + } + + /// Field number for the "mempoolSize" field. + public const int MempoolSizeFieldNumber = 13; + private ulong mempoolSize_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MempoolSize { + get { return mempoolSize_; } + set { + mempoolSize_ = value; + } + } + + /// Field number for the "tipHashesCount" field. + public const int TipHashesCountFieldNumber = 14; + private uint tipHashesCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TipHashesCount { + get { return tipHashesCount_; } + set { + tipHashesCount_ = value; + } + } + + /// Field number for the "difficulty" field. + public const int DifficultyFieldNumber = 15; + private double difficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; + } + } + + /// Field number for the "pastMedianTime" field. + public const int PastMedianTimeFieldNumber = 16; + private ulong pastMedianTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PastMedianTime { + get { return pastMedianTime_; } + set { + pastMedianTime_ = value; + } + } + + /// Field number for the "virtualParentHashesCount" field. + public const int VirtualParentHashesCountFieldNumber = 17; + private uint virtualParentHashesCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint VirtualParentHashesCount { + get { return virtualParentHashesCount_; } + set { + virtualParentHashesCount_ = value; + } + } + + /// Field number for the "virtualDaaScore" field. + public const int VirtualDaaScoreFieldNumber = 18; + private ulong virtualDaaScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong VirtualDaaScore { + get { return virtualDaaScore_; } + set { + virtualDaaScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConsensusMetrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConsensusMetrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BlocksSubmitted != other.BlocksSubmitted) return false; + if (HeaderCounts != other.HeaderCounts) return false; + if (DepCounts != other.DepCounts) return false; + if (BodyCounts != other.BodyCounts) return false; + if (TxsCounts != other.TxsCounts) return false; + if (ChainBlockCounts != other.ChainBlockCounts) return false; + if (MassCounts != other.MassCounts) return false; + if (BlockCount != other.BlockCount) return false; + if (HeaderCount != other.HeaderCount) return false; + if (MempoolSize != other.MempoolSize) return false; + if (TipHashesCount != other.TipHashesCount) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Difficulty, other.Difficulty)) return false; + if (PastMedianTime != other.PastMedianTime) return false; + if (VirtualParentHashesCount != other.VirtualParentHashesCount) return false; + if (VirtualDaaScore != other.VirtualDaaScore) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BlocksSubmitted != 0UL) hash ^= BlocksSubmitted.GetHashCode(); + if (HeaderCounts != 0UL) hash ^= HeaderCounts.GetHashCode(); + if (DepCounts != 0UL) hash ^= DepCounts.GetHashCode(); + if (BodyCounts != 0UL) hash ^= BodyCounts.GetHashCode(); + if (TxsCounts != 0UL) hash ^= TxsCounts.GetHashCode(); + if (ChainBlockCounts != 0UL) hash ^= ChainBlockCounts.GetHashCode(); + if (MassCounts != 0UL) hash ^= MassCounts.GetHashCode(); + if (BlockCount != 0UL) hash ^= BlockCount.GetHashCode(); + if (HeaderCount != 0UL) hash ^= HeaderCount.GetHashCode(); + if (MempoolSize != 0UL) hash ^= MempoolSize.GetHashCode(); + if (TipHashesCount != 0) hash ^= TipHashesCount.GetHashCode(); + if (Difficulty != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Difficulty); + if (PastMedianTime != 0UL) hash ^= PastMedianTime.GetHashCode(); + if (VirtualParentHashesCount != 0) hash ^= VirtualParentHashesCount.GetHashCode(); + if (VirtualDaaScore != 0UL) hash ^= VirtualDaaScore.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BlocksSubmitted != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BlocksSubmitted); + } + if (HeaderCounts != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(HeaderCounts); + } + if (DepCounts != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(DepCounts); + } + if (BodyCounts != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(BodyCounts); + } + if (TxsCounts != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(TxsCounts); + } + if (ChainBlockCounts != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(ChainBlockCounts); + } + if (MassCounts != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(MassCounts); + } + if (BlockCount != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(BlockCount); + } + if (HeaderCount != 0UL) { + output.WriteRawTag(96); + output.WriteUInt64(HeaderCount); + } + if (MempoolSize != 0UL) { + output.WriteRawTag(104); + output.WriteUInt64(MempoolSize); + } + if (TipHashesCount != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TipHashesCount); + } + if (Difficulty != 0D) { + output.WriteRawTag(121); + output.WriteDouble(Difficulty); + } + if (PastMedianTime != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(PastMedianTime); + } + if (VirtualParentHashesCount != 0) { + output.WriteRawTag(136, 1); + output.WriteUInt32(VirtualParentHashesCount); + } + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(144, 1); + output.WriteUInt64(VirtualDaaScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BlocksSubmitted != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BlocksSubmitted); + } + if (HeaderCounts != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(HeaderCounts); + } + if (DepCounts != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(DepCounts); + } + if (BodyCounts != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(BodyCounts); + } + if (TxsCounts != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(TxsCounts); + } + if (ChainBlockCounts != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(ChainBlockCounts); + } + if (MassCounts != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(MassCounts); + } + if (BlockCount != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(BlockCount); + } + if (HeaderCount != 0UL) { + output.WriteRawTag(96); + output.WriteUInt64(HeaderCount); + } + if (MempoolSize != 0UL) { + output.WriteRawTag(104); + output.WriteUInt64(MempoolSize); + } + if (TipHashesCount != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TipHashesCount); + } + if (Difficulty != 0D) { + output.WriteRawTag(121); + output.WriteDouble(Difficulty); + } + if (PastMedianTime != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(PastMedianTime); + } + if (VirtualParentHashesCount != 0) { + output.WriteRawTag(136, 1); + output.WriteUInt32(VirtualParentHashesCount); + } + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(144, 1); + output.WriteUInt64(VirtualDaaScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BlocksSubmitted != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlocksSubmitted); + } + if (HeaderCounts != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(HeaderCounts); + } + if (DepCounts != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(DepCounts); + } + if (BodyCounts != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BodyCounts); + } + if (TxsCounts != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TxsCounts); + } + if (ChainBlockCounts != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ChainBlockCounts); + } + if (MassCounts != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MassCounts); + } + if (BlockCount != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlockCount); + } + if (HeaderCount != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(HeaderCount); + } + if (MempoolSize != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MempoolSize); + } + if (TipHashesCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TipHashesCount); + } + if (Difficulty != 0D) { + size += 1 + 8; + } + if (PastMedianTime != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(PastMedianTime); + } + if (VirtualParentHashesCount != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(VirtualParentHashesCount); + } + if (VirtualDaaScore != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(VirtualDaaScore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConsensusMetrics other) { + if (other == null) { + return; + } + if (other.BlocksSubmitted != 0UL) { + BlocksSubmitted = other.BlocksSubmitted; + } + if (other.HeaderCounts != 0UL) { + HeaderCounts = other.HeaderCounts; + } + if (other.DepCounts != 0UL) { + DepCounts = other.DepCounts; + } + if (other.BodyCounts != 0UL) { + BodyCounts = other.BodyCounts; + } + if (other.TxsCounts != 0UL) { + TxsCounts = other.TxsCounts; + } + if (other.ChainBlockCounts != 0UL) { + ChainBlockCounts = other.ChainBlockCounts; + } + if (other.MassCounts != 0UL) { + MassCounts = other.MassCounts; + } + if (other.BlockCount != 0UL) { + BlockCount = other.BlockCount; + } + if (other.HeaderCount != 0UL) { + HeaderCount = other.HeaderCount; + } + if (other.MempoolSize != 0UL) { + MempoolSize = other.MempoolSize; + } + if (other.TipHashesCount != 0) { + TipHashesCount = other.TipHashesCount; + } + if (other.Difficulty != 0D) { + Difficulty = other.Difficulty; + } + if (other.PastMedianTime != 0UL) { + PastMedianTime = other.PastMedianTime; + } + if (other.VirtualParentHashesCount != 0) { + VirtualParentHashesCount = other.VirtualParentHashesCount; + } + if (other.VirtualDaaScore != 0UL) { + VirtualDaaScore = other.VirtualDaaScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + BlocksSubmitted = input.ReadUInt64(); + break; + } + case 16: { + HeaderCounts = input.ReadUInt64(); + break; + } + case 24: { + DepCounts = input.ReadUInt64(); + break; + } + case 32: { + BodyCounts = input.ReadUInt64(); + break; + } + case 40: { + TxsCounts = input.ReadUInt64(); + break; + } + case 48: { + ChainBlockCounts = input.ReadUInt64(); + break; + } + case 56: { + MassCounts = input.ReadUInt64(); + break; + } + case 88: { + BlockCount = input.ReadUInt64(); + break; + } + case 96: { + HeaderCount = input.ReadUInt64(); + break; + } + case 104: { + MempoolSize = input.ReadUInt64(); + break; + } + case 112: { + TipHashesCount = input.ReadUInt32(); + break; + } + case 121: { + Difficulty = input.ReadDouble(); + break; + } + case 128: { + PastMedianTime = input.ReadUInt64(); + break; + } + case 136: { + VirtualParentHashesCount = input.ReadUInt32(); + break; + } + case 144: { + VirtualDaaScore = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + BlocksSubmitted = input.ReadUInt64(); + break; + } + case 16: { + HeaderCounts = input.ReadUInt64(); + break; + } + case 24: { + DepCounts = input.ReadUInt64(); + break; + } + case 32: { + BodyCounts = input.ReadUInt64(); + break; + } + case 40: { + TxsCounts = input.ReadUInt64(); + break; + } + case 48: { + ChainBlockCounts = input.ReadUInt64(); + break; + } + case 56: { + MassCounts = input.ReadUInt64(); + break; + } + case 88: { + BlockCount = input.ReadUInt64(); + break; + } + case 96: { + HeaderCount = input.ReadUInt64(); + break; + } + case 104: { + MempoolSize = input.ReadUInt64(); + break; + } + case 112: { + TipHashesCount = input.ReadUInt32(); + break; + } + case 121: { + Difficulty = input.ReadDouble(); + break; + } + case 128: { + PastMedianTime = input.ReadUInt64(); + break; + } + case 136: { + VirtualParentHashesCount = input.ReadUInt32(); + break; + } + case 144: { + VirtualDaaScore = input.ReadUInt64(); + break; + } } } } + #endif } - public sealed partial class GetVirtualSelectedParentBlueScoreResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVirtualSelectedParentBlueScoreResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StorageMetrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StorageMetrics()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[80]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[116]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentBlueScoreResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorageMetrics() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentBlueScoreResponseMessage(GetVirtualSelectedParentBlueScoreResponseMessage other) : this() { - blueScore_ = other.blueScore_; - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorageMetrics(StorageMetrics other) : this() { + storageSizeBytes_ = other.storageSizeBytes_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetVirtualSelectedParentBlueScoreResponseMessage Clone() { - return new GetVirtualSelectedParentBlueScoreResponseMessage(this); - } - - /// Field number for the "blueScore" field. - public const int BlueScoreFieldNumber = 1; - private ulong blueScore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong BlueScore { - get { return blueScore_; } - set { - blueScore_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorageMetrics Clone() { + return new StorageMetrics(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "storageSizeBytes" field. + public const int StorageSizeBytesFieldNumber = 1; + private ulong storageSizeBytes_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong StorageSizeBytes { + get { return storageSizeBytes_; } set { - error_ = value; + storageSizeBytes_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetVirtualSelectedParentBlueScoreResponseMessage); + return Equals(other as StorageMetrics); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetVirtualSelectedParentBlueScoreResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StorageMetrics other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (BlueScore != other.BlueScore) return false; - if (!object.Equals(Error, other.Error)) return false; + if (StorageSizeBytes != other.StorageSizeBytes) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (BlueScore != 0UL) hash ^= BlueScore.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + if (StorageSizeBytes != 0UL) hash ^= StorageSizeBytes.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13739,33 +29693,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (BlueScore != 0UL) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (StorageSizeBytes != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(BlueScore); - } - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + output.WriteUInt64(StorageSizeBytes); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StorageSizeBytes != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(StorageSizeBytes); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (BlueScore != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BlueScore); - } - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (StorageSizeBytes != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StorageSizeBytes); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -13774,220 +29742,148 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetVirtualSelectedParentBlueScoreResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StorageMetrics other) { if (other == null) { return; } - if (other.BlueScore != 0UL) { - BlueScore = other.BlueScore; - } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.StorageSizeBytes != 0UL) { + StorageSizeBytes = other.StorageSizeBytes; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - BlueScore = input.ReadUInt64(); - break; - } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + StorageSizeBytes = input.ReadUInt64(); break; } } } + #endif } - } - - /// - /// NotifyVirtualSelectedParentBlueScoreChangedRequestMessage registers this connection for - /// virtualSelectedParentBlueScoreChanged notifications. - /// - /// See: VirtualSelectedParentBlueScoreChangedNotificationMessage - /// - public sealed partial class NotifyVirtualSelectedParentBlueScoreChangedRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualSelectedParentBlueScoreChangedRequestMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[81]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentBlueScoreChangedRequestMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentBlueScoreChangedRequestMessage(NotifyVirtualSelectedParentBlueScoreChangedRequestMessage other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentBlueScoreChangedRequestMessage Clone() { - return new NotifyVirtualSelectedParentBlueScoreChangedRequestMessage(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as NotifyVirtualSelectedParentBlueScoreChangedRequestMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyVirtualSelectedParentBlueScoreChangedRequestMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyVirtualSelectedParentBlueScoreChangedRequestMessage other) { - if (other == null) { - return; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StorageSizeBytes = input.ReadUInt64(); break; + } } } } + #endif } - public sealed partial class NotifyVirtualSelectedParentBlueScoreChangedResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualSelectedParentBlueScoreChangedResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetConnectionsRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetConnectionsRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[82]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[117]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentBlueScoreChangedResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConnectionsRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentBlueScoreChangedResponseMessage(NotifyVirtualSelectedParentBlueScoreChangedResponseMessage other) : this() { - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConnectionsRequestMessage(GetConnectionsRequestMessage other) : this() { + includeProfileData_ = other.includeProfileData_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualSelectedParentBlueScoreChangedResponseMessage Clone() { - return new NotifyVirtualSelectedParentBlueScoreChangedResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConnectionsRequestMessage Clone() { + return new GetConnectionsRequestMessage(this); } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "includeProfileData" field. + public const int IncludeProfileDataFieldNumber = 1; + private bool includeProfileData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeProfileData { + get { return includeProfileData_; } set { - error_ = value; + includeProfileData_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyVirtualSelectedParentBlueScoreChangedResponseMessage); + return Equals(other as GetConnectionsRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyVirtualSelectedParentBlueScoreChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetConnectionsRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Error, other.Error)) return false; + if (IncludeProfileData != other.IncludeProfileData) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (error_ != null) hash ^= Error.GetHashCode(); + if (IncludeProfileData != false) hash ^= IncludeProfileData.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13995,26 +29891,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IncludeProfileData != false) { + output.WriteRawTag(8); + output.WriteBool(IncludeProfileData); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IncludeProfileData != false) { + output.WriteRawTag(8); + output.WriteBool(IncludeProfileData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (IncludeProfileData != false) { + size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -14023,112 +29940,163 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyVirtualSelectedParentBlueScoreChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetConnectionsRequestMessage other) { if (other == null) { return; } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.IncludeProfileData != false) { + IncludeProfileData = other.IncludeProfileData; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + case 8: { + IncludeProfileData = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IncludeProfileData = input.ReadBool(); break; } } } } + #endif } - /// - /// VirtualSelectedParentBlueScoreChangedNotificationMessage is sent whenever the blue score - /// of the virtual's selected parent changes. - /// - /// See NotifyVirtualSelectedParentBlueScoreChangedRequestMessage - /// - public sealed partial class VirtualSelectedParentBlueScoreChangedNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VirtualSelectedParentBlueScoreChangedNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConnectionsProfileData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionsProfileData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[83]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[118]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualSelectedParentBlueScoreChangedNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionsProfileData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualSelectedParentBlueScoreChangedNotificationMessage(VirtualSelectedParentBlueScoreChangedNotificationMessage other) : this() { - virtualSelectedParentBlueScore_ = other.virtualSelectedParentBlueScore_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionsProfileData(ConnectionsProfileData other) : this() { + cpuUsage_ = other.cpuUsage_; + memoryUsage_ = other.memoryUsage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualSelectedParentBlueScoreChangedNotificationMessage Clone() { - return new VirtualSelectedParentBlueScoreChangedNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionsProfileData Clone() { + return new ConnectionsProfileData(this); + } + + /// Field number for the "cpuUsage" field. + public const int CpuUsageFieldNumber = 1; + private double cpuUsage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double CpuUsage { + get { return cpuUsage_; } + set { + cpuUsage_ = value; + } } - /// Field number for the "virtualSelectedParentBlueScore" field. - public const int VirtualSelectedParentBlueScoreFieldNumber = 1; - private ulong virtualSelectedParentBlueScore_; + /// Field number for the "memoryUsage" field. + public const int MemoryUsageFieldNumber = 2; + private ulong memoryUsage_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong VirtualSelectedParentBlueScore { - get { return virtualSelectedParentBlueScore_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MemoryUsage { + get { return memoryUsage_; } set { - virtualSelectedParentBlueScore_ = value; + memoryUsage_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as VirtualSelectedParentBlueScoreChangedNotificationMessage); + return Equals(other as ConnectionsProfileData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(VirtualSelectedParentBlueScoreChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectionsProfileData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (VirtualSelectedParentBlueScore != other.VirtualSelectedParentBlueScore) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CpuUsage, other.CpuUsage)) return false; + if (MemoryUsage != other.MemoryUsage) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (VirtualSelectedParentBlueScore != 0UL) hash ^= VirtualSelectedParentBlueScore.GetHashCode(); + if (CpuUsage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CpuUsage); + if (MemoryUsage != 0UL) hash ^= MemoryUsage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14136,26 +30104,58 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (VirtualSelectedParentBlueScore != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(VirtualSelectedParentBlueScore); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CpuUsage != 0D) { + output.WriteRawTag(9); + output.WriteDouble(CpuUsage); + } + if (MemoryUsage != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(MemoryUsage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CpuUsage != 0D) { + output.WriteRawTag(9); + output.WriteDouble(CpuUsage); + } + if (MemoryUsage != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(MemoryUsage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (VirtualSelectedParentBlueScore != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualSelectedParentBlueScore); + if (CpuUsage != 0D) { + size += 1 + 8; + } + if (MemoryUsage != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MemoryUsage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -14164,92 +30164,204 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(VirtualSelectedParentBlueScoreChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectionsProfileData other) { if (other == null) { return; } - if (other.VirtualSelectedParentBlueScore != 0UL) { - VirtualSelectedParentBlueScore = other.VirtualSelectedParentBlueScore; + if (other.CpuUsage != 0D) { + CpuUsage = other.CpuUsage; + } + if (other.MemoryUsage != 0UL) { + MemoryUsage = other.MemoryUsage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - VirtualSelectedParentBlueScore = input.ReadUInt64(); + case 9: { + CpuUsage = input.ReadDouble(); + break; + } + case 16: { + MemoryUsage = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + CpuUsage = input.ReadDouble(); + break; + } + case 16: { + MemoryUsage = input.ReadUInt64(); break; } } } } + #endif } - /// - /// NotifyVirtualDaaScoreChangedRequestMessage registers this connection for - /// virtualDaaScoreChanged notifications. - /// - /// See: VirtualDaaScoreChangedNotificationMessage - /// - public sealed partial class NotifyVirtualDaaScoreChangedRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualDaaScoreChangedRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetConnectionsResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetConnectionsResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[84]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[119]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualDaaScoreChangedRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConnectionsResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualDaaScoreChangedRequestMessage(NotifyVirtualDaaScoreChangedRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConnectionsResponseMessage(GetConnectionsResponseMessage other) : this() { + clients_ = other.clients_; + peers_ = other.peers_; + profileData_ = other.profileData_ != null ? other.profileData_.Clone() : null; + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualDaaScoreChangedRequestMessage Clone() { - return new NotifyVirtualDaaScoreChangedRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConnectionsResponseMessage Clone() { + return new GetConnectionsResponseMessage(this); + } + + /// Field number for the "clients" field. + public const int ClientsFieldNumber = 1; + private uint clients_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Clients { + get { return clients_; } + set { + clients_ = value; + } + } + + /// Field number for the "peers" field. + public const int PeersFieldNumber = 2; + private uint peers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Peers { + get { return peers_; } + set { + peers_ = value; + } + } + + /// Field number for the "profileData" field. + public const int ProfileDataFieldNumber = 3; + private global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData profileData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData ProfileData { + get { return profileData_; } + set { + profileData_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyVirtualDaaScoreChangedRequestMessage); + return Equals(other as GetConnectionsResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyVirtualDaaScoreChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetConnectionsResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (Clients != other.Clients) return false; + if (Peers != other.Peers) return false; + if (!object.Equals(ProfileData, other.ProfileData)) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (Clients != 0) hash ^= Clients.GetHashCode(); + if (Peers != 0) hash ^= Peers.GetHashCode(); + if (profileData_ != null) hash ^= ProfileData.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14257,20 +30369,81 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Clients != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Clients); + } + if (Peers != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Peers); + } + if (profileData_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ProfileData); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Clients != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Clients); + } + if (Peers != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Peers); + } + if (profileData_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ProfileData); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (Clients != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Clients); + } + if (Peers != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Peers); + } + if (profileData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProfileData); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -14278,93 +30451,184 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyVirtualDaaScoreChangedRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetConnectionsResponseMessage other) { if (other == null) { return; } + if (other.Clients != 0) { + Clients = other.Clients; + } + if (other.Peers != 0) { + Peers = other.Peers; + } + if (other.profileData_ != null) { + if (profileData_ == null) { + ProfileData = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData(); + } + ProfileData.MergeFrom(other.ProfileData); + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + Clients = input.ReadUInt32(); + break; + } + case 16: { + Peers = input.ReadUInt32(); + break; + } + case 26: { + if (profileData_ == null) { + ProfileData = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData(); + } + input.ReadMessage(ProfileData); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Clients = input.ReadUInt32(); + break; + } + case 16: { + Peers = input.ReadUInt32(); + break; + } + case 26: { + if (profileData_ == null) { + ProfileData = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionsProfileData(); + } + input.ReadMessage(ProfileData); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } } } } + #endif } - public sealed partial class NotifyVirtualDaaScoreChangedResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyVirtualDaaScoreChangedResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSystemInfoRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSystemInfoRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[85]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[120]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualDaaScoreChangedResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSystemInfoRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualDaaScoreChangedResponseMessage(NotifyVirtualDaaScoreChangedResponseMessage other) : this() { - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSystemInfoRequestMessage(GetSystemInfoRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyVirtualDaaScoreChangedResponseMessage Clone() { - return new NotifyVirtualDaaScoreChangedResponseMessage(this); - } - - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } - set { - error_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSystemInfoRequestMessage Clone() { + return new GetSystemInfoRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyVirtualDaaScoreChangedResponseMessage); + return Equals(other as GetSystemInfoRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyVirtualDaaScoreChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSystemInfoRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14372,27 +30636,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -14400,112 +30674,242 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyVirtualDaaScoreChangedResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSystemInfoRequestMessage other) { if (other == null) { return; } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } } } } + #endif } - /// - /// VirtualDaaScoreChangedNotificationMessage is sent whenever the DAA score - /// of the virtual changes. - /// - /// See NotifyVirtualDaaScoreChangedRequestMessage - /// - public sealed partial class VirtualDaaScoreChangedNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VirtualDaaScoreChangedNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSystemInfoResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSystemInfoResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[86]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[121]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualDaaScoreChangedNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSystemInfoResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualDaaScoreChangedNotificationMessage(VirtualDaaScoreChangedNotificationMessage other) : this() { - virtualDaaScore_ = other.virtualDaaScore_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSystemInfoResponseMessage(GetSystemInfoResponseMessage other) : this() { + version_ = other.version_; + systemId_ = other.systemId_; + gitHash_ = other.gitHash_; + coreNum_ = other.coreNum_; + totalMemory_ = other.totalMemory_; + fdLimit_ = other.fdLimit_; + proxySocketLimitPerCpuCore_ = other.proxySocketLimitPerCpuCore_; + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public VirtualDaaScoreChangedNotificationMessage Clone() { - return new VirtualDaaScoreChangedNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSystemInfoResponseMessage Clone() { + return new GetSystemInfoResponseMessage(this); } - /// Field number for the "virtualDaaScore" field. - public const int VirtualDaaScoreFieldNumber = 1; - private ulong virtualDaaScore_; + /// Field number for the "version" field. + public const int VersionFieldNumber = 1; + private string version_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong VirtualDaaScore { - get { return virtualDaaScore_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Version { + get { return version_; } set { - virtualDaaScore_ = value; + version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "systemId" field. + public const int SystemIdFieldNumber = 2; + private string systemId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SystemId { + get { return systemId_; } + set { + systemId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "gitHash" field. + public const int GitHashFieldNumber = 3; + private string gitHash_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GitHash { + get { return gitHash_; } + set { + gitHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "coreNum" field. + public const int CoreNumFieldNumber = 4; + private uint coreNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CoreNum { + get { return coreNum_; } + set { + coreNum_ = value; + } + } + + /// Field number for the "totalMemory" field. + public const int TotalMemoryFieldNumber = 5; + private ulong totalMemory_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong TotalMemory { + get { return totalMemory_; } + set { + totalMemory_ = value; + } + } + + /// Field number for the "fdLimit" field. + public const int FdLimitFieldNumber = 6; + private uint fdLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FdLimit { + get { return fdLimit_; } + set { + fdLimit_ = value; + } + } + + /// Field number for the "proxySocketLimitPerCpuCore" field. + public const int ProxySocketLimitPerCpuCoreFieldNumber = 7; + private uint proxySocketLimitPerCpuCore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ProxySocketLimitPerCpuCore { + get { return proxySocketLimitPerCpuCore_; } + set { + proxySocketLimitPerCpuCore_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as VirtualDaaScoreChangedNotificationMessage); + return Equals(other as GetSystemInfoResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(VirtualDaaScoreChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSystemInfoResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (VirtualDaaScore != other.VirtualDaaScore) return false; + if (Version != other.Version) return false; + if (SystemId != other.SystemId) return false; + if (GitHash != other.GitHash) return false; + if (CoreNum != other.CoreNum) return false; + if (TotalMemory != other.TotalMemory) return false; + if (FdLimit != other.FdLimit) return false; + if (ProxySocketLimitPerCpuCore != other.ProxySocketLimitPerCpuCore) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (VirtualDaaScore != 0UL) hash ^= VirtualDaaScore.GetHashCode(); + if (Version.Length != 0) hash ^= Version.GetHashCode(); + if (SystemId.Length != 0) hash ^= SystemId.GetHashCode(); + if (GitHash.Length != 0) hash ^= GitHash.GetHashCode(); + if (CoreNum != 0) hash ^= CoreNum.GetHashCode(); + if (TotalMemory != 0UL) hash ^= TotalMemory.GetHashCode(); + if (FdLimit != 0) hash ^= FdLimit.GetHashCode(); + if (ProxySocketLimitPerCpuCore != 0) hash ^= ProxySocketLimitPerCpuCore.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14513,26 +30917,124 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (VirtualDaaScore != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(VirtualDaaScore); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Version.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Version); + } + if (SystemId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SystemId); + } + if (GitHash.Length != 0) { + output.WriteRawTag(26); + output.WriteString(GitHash); + } + if (CoreNum != 0) { + output.WriteRawTag(32); + output.WriteUInt32(CoreNum); + } + if (TotalMemory != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(TotalMemory); + } + if (FdLimit != 0) { + output.WriteRawTag(48); + output.WriteUInt32(FdLimit); + } + if (ProxySocketLimitPerCpuCore != 0) { + output.WriteRawTag(56); + output.WriteUInt32(ProxySocketLimitPerCpuCore); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Version.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Version); + } + if (SystemId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SystemId); + } + if (GitHash.Length != 0) { + output.WriteRawTag(26); + output.WriteString(GitHash); + } + if (CoreNum != 0) { + output.WriteRawTag(32); + output.WriteUInt32(CoreNum); + } + if (TotalMemory != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(TotalMemory); + } + if (FdLimit != 0) { + output.WriteRawTag(48); + output.WriteUInt32(FdLimit); + } + if (ProxySocketLimitPerCpuCore != 0) { + output.WriteRawTag(56); + output.WriteUInt32(ProxySocketLimitPerCpuCore); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (VirtualDaaScore != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualDaaScore); + if (Version.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); + } + if (SystemId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SystemId); + } + if (GitHash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GitHash); + } + if (CoreNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoreNum); + } + if (TotalMemory != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TotalMemory); + } + if (FdLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FdLimit); + } + if (ProxySocketLimitPerCpuCore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProxySocketLimitPerCpuCore); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -14541,94 +31043,309 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(VirtualDaaScoreChangedNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSystemInfoResponseMessage other) { if (other == null) { return; } - if (other.VirtualDaaScore != 0UL) { - VirtualDaaScore = other.VirtualDaaScore; + if (other.Version.Length != 0) { + Version = other.Version; + } + if (other.SystemId.Length != 0) { + SystemId = other.SystemId; + } + if (other.GitHash.Length != 0) { + GitHash = other.GitHash; + } + if (other.CoreNum != 0) { + CoreNum = other.CoreNum; + } + if (other.TotalMemory != 0UL) { + TotalMemory = other.TotalMemory; + } + if (other.FdLimit != 0) { + FdLimit = other.FdLimit; + } + if (other.ProxySocketLimitPerCpuCore != 0) { + ProxySocketLimitPerCpuCore = other.ProxySocketLimitPerCpuCore; + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - VirtualDaaScore = input.ReadUInt64(); + case 10: { + Version = input.ReadString(); + break; + } + case 18: { + SystemId = input.ReadString(); + break; + } + case 26: { + GitHash = input.ReadString(); + break; + } + case 32: { + CoreNum = input.ReadUInt32(); + break; + } + case 40: { + TotalMemory = input.ReadUInt64(); + break; + } + case 48: { + FdLimit = input.ReadUInt32(); + break; + } + case 56: { + ProxySocketLimitPerCpuCore = input.ReadUInt32(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Version = input.ReadString(); + break; + } + case 18: { + SystemId = input.ReadString(); + break; + } + case 26: { + GitHash = input.ReadString(); + break; + } + case 32: { + CoreNum = input.ReadUInt32(); + break; + } + case 40: { + TotalMemory = input.ReadUInt64(); + break; + } + case 48: { + FdLimit = input.ReadUInt32(); + break; + } + case 56: { + ProxySocketLimitPerCpuCore = input.ReadUInt32(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } } } } + #endif } - /// - /// NotifyPruningPointUTXOSetOverrideRequestMessage registers this connection for - /// pruning point UTXO set override notifications. - /// - /// This call is only available when this kaspad was started with `--utxoindex` - /// - /// See: NotifyPruningPointUTXOSetOverrideResponseMessage - /// - public sealed partial class NotifyPruningPointUTXOSetOverrideRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyPruningPointUTXOSetOverrideRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMetricsRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMetricsRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[87]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[122]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyPruningPointUTXOSetOverrideRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMetricsRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyPruningPointUTXOSetOverrideRequestMessage(NotifyPruningPointUTXOSetOverrideRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMetricsRequestMessage(GetMetricsRequestMessage other) : this() { + processMetrics_ = other.processMetrics_; + connectionMetrics_ = other.connectionMetrics_; + bandwidthMetrics_ = other.bandwidthMetrics_; + consensusMetrics_ = other.consensusMetrics_; + storageMetrics_ = other.storageMetrics_; + customMetrics_ = other.customMetrics_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyPruningPointUTXOSetOverrideRequestMessage Clone() { - return new NotifyPruningPointUTXOSetOverrideRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMetricsRequestMessage Clone() { + return new GetMetricsRequestMessage(this); + } + + /// Field number for the "processMetrics" field. + public const int ProcessMetricsFieldNumber = 1; + private bool processMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ProcessMetrics { + get { return processMetrics_; } + set { + processMetrics_ = value; + } + } + + /// Field number for the "connectionMetrics" field. + public const int ConnectionMetricsFieldNumber = 2; + private bool connectionMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ConnectionMetrics { + get { return connectionMetrics_; } + set { + connectionMetrics_ = value; + } + } + + /// Field number for the "bandwidthMetrics" field. + public const int BandwidthMetricsFieldNumber = 3; + private bool bandwidthMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BandwidthMetrics { + get { return bandwidthMetrics_; } + set { + bandwidthMetrics_ = value; + } + } + + /// Field number for the "consensusMetrics" field. + public const int ConsensusMetricsFieldNumber = 4; + private bool consensusMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ConsensusMetrics { + get { return consensusMetrics_; } + set { + consensusMetrics_ = value; + } + } + + /// Field number for the "storageMetrics" field. + public const int StorageMetricsFieldNumber = 5; + private bool storageMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool StorageMetrics { + get { return storageMetrics_; } + set { + storageMetrics_ = value; + } + } + + /// Field number for the "customMetrics" field. + public const int CustomMetricsFieldNumber = 6; + private bool customMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CustomMetrics { + get { return customMetrics_; } + set { + customMetrics_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyPruningPointUTXOSetOverrideRequestMessage); + return Equals(other as GetMetricsRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyPruningPointUTXOSetOverrideRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMetricsRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (ProcessMetrics != other.ProcessMetrics) return false; + if (ConnectionMetrics != other.ConnectionMetrics) return false; + if (BandwidthMetrics != other.BandwidthMetrics) return false; + if (ConsensusMetrics != other.ConsensusMetrics) return false; + if (StorageMetrics != other.StorageMetrics) return false; + if (CustomMetrics != other.CustomMetrics) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (ProcessMetrics != false) hash ^= ProcessMetrics.GetHashCode(); + if (ConnectionMetrics != false) hash ^= ConnectionMetrics.GetHashCode(); + if (BandwidthMetrics != false) hash ^= BandwidthMetrics.GetHashCode(); + if (ConsensusMetrics != false) hash ^= ConsensusMetrics.GetHashCode(); + if (StorageMetrics != false) hash ^= StorageMetrics.GetHashCode(); + if (CustomMetrics != false) hash ^= CustomMetrics.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14636,20 +31353,103 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProcessMetrics != false) { + output.WriteRawTag(8); + output.WriteBool(ProcessMetrics); + } + if (ConnectionMetrics != false) { + output.WriteRawTag(16); + output.WriteBool(ConnectionMetrics); + } + if (BandwidthMetrics != false) { + output.WriteRawTag(24); + output.WriteBool(BandwidthMetrics); + } + if (ConsensusMetrics != false) { + output.WriteRawTag(32); + output.WriteBool(ConsensusMetrics); + } + if (StorageMetrics != false) { + output.WriteRawTag(40); + output.WriteBool(StorageMetrics); + } + if (CustomMetrics != false) { + output.WriteRawTag(48); + output.WriteBool(CustomMetrics); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProcessMetrics != false) { + output.WriteRawTag(8); + output.WriteBool(ProcessMetrics); + } + if (ConnectionMetrics != false) { + output.WriteRawTag(16); + output.WriteBool(ConnectionMetrics); + } + if (BandwidthMetrics != false) { + output.WriteRawTag(24); + output.WriteBool(BandwidthMetrics); + } + if (ConsensusMetrics != false) { + output.WriteRawTag(32); + output.WriteBool(ConsensusMetrics); + } + if (StorageMetrics != false) { + output.WriteRawTag(40); + output.WriteBool(StorageMetrics); + } + if (CustomMetrics != false) { + output.WriteRawTag(48); + output.WriteBool(CustomMetrics); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (ProcessMetrics != false) { + size += 1 + 1; + } + if (ConnectionMetrics != false) { + size += 1 + 1; + } + if (BandwidthMetrics != false) { + size += 1 + 1; + } + if (ConsensusMetrics != false) { + size += 1 + 1; + } + if (StorageMetrics != false) { + size += 1 + 1; + } + if (CustomMetrics != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -14657,65 +31457,250 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyPruningPointUTXOSetOverrideRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMetricsRequestMessage other) { if (other == null) { return; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + if (other.ProcessMetrics != false) { + ProcessMetrics = other.ProcessMetrics; + } + if (other.ConnectionMetrics != false) { + ConnectionMetrics = other.ConnectionMetrics; + } + if (other.BandwidthMetrics != false) { + BandwidthMetrics = other.BandwidthMetrics; + } + if (other.ConsensusMetrics != false) { + ConsensusMetrics = other.ConsensusMetrics; + } + if (other.StorageMetrics != false) { + StorageMetrics = other.StorageMetrics; + } + if (other.CustomMetrics != false) { + CustomMetrics = other.CustomMetrics; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ProcessMetrics = input.ReadBool(); + break; + } + case 16: { + ConnectionMetrics = input.ReadBool(); + break; + } + case 24: { + BandwidthMetrics = input.ReadBool(); + break; + } + case 32: { + ConsensusMetrics = input.ReadBool(); + break; + } + case 40: { + StorageMetrics = input.ReadBool(); + break; + } + case 48: { + CustomMetrics = input.ReadBool(); + break; + } + } + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ProcessMetrics = input.ReadBool(); + break; + } + case 16: { + ConnectionMetrics = input.ReadBool(); + break; + } + case 24: { + BandwidthMetrics = input.ReadBool(); + break; + } + case 32: { + ConsensusMetrics = input.ReadBool(); + break; + } + case 40: { + StorageMetrics = input.ReadBool(); + break; + } + case 48: { + CustomMetrics = input.ReadBool(); break; + } } } } + #endif } - public sealed partial class NotifyPruningPointUTXOSetOverrideResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyPruningPointUTXOSetOverrideResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetMetricsResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMetricsResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[88]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[123]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyPruningPointUTXOSetOverrideResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMetricsResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyPruningPointUTXOSetOverrideResponseMessage(NotifyPruningPointUTXOSetOverrideResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMetricsResponseMessage(GetMetricsResponseMessage other) : this() { + serverTime_ = other.serverTime_; + processMetrics_ = other.processMetrics_ != null ? other.processMetrics_.Clone() : null; + connectionMetrics_ = other.connectionMetrics_ != null ? other.connectionMetrics_.Clone() : null; + bandwidthMetrics_ = other.bandwidthMetrics_ != null ? other.bandwidthMetrics_.Clone() : null; + consensusMetrics_ = other.consensusMetrics_ != null ? other.consensusMetrics_.Clone() : null; + storageMetrics_ = other.storageMetrics_ != null ? other.storageMetrics_.Clone() : null; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyPruningPointUTXOSetOverrideResponseMessage Clone() { - return new NotifyPruningPointUTXOSetOverrideResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetMetricsResponseMessage Clone() { + return new GetMetricsResponseMessage(this); + } + + /// Field number for the "serverTime" field. + public const int ServerTimeFieldNumber = 1; + private ulong serverTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ServerTime { + get { return serverTime_; } + set { + serverTime_ = value; + } + } + + /// Field number for the "processMetrics" field. + public const int ProcessMetricsFieldNumber = 11; + private global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics processMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics ProcessMetrics { + get { return processMetrics_; } + set { + processMetrics_ = value; + } + } + + /// Field number for the "connectionMetrics" field. + public const int ConnectionMetricsFieldNumber = 12; + private global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics connectionMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics ConnectionMetrics { + get { return connectionMetrics_; } + set { + connectionMetrics_ = value; + } + } + + /// Field number for the "bandwidthMetrics" field. + public const int BandwidthMetricsFieldNumber = 13; + private global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics bandwidthMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics BandwidthMetrics { + get { return bandwidthMetrics_; } + set { + bandwidthMetrics_ = value; + } + } + + /// Field number for the "consensusMetrics" field. + public const int ConsensusMetricsFieldNumber = 14; + private global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics consensusMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics ConsensusMetrics { + get { return consensusMetrics_; } + set { + consensusMetrics_ = value; + } + } + + /// Field number for the "storageMetrics" field. + public const int StorageMetricsFieldNumber = 15; + private global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics storageMetrics_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics StorageMetrics { + get { return storageMetrics_; } + set { + storageMetrics_ = value; + } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -14724,25 +31709,40 @@ public NotifyPruningPointUTXOSetOverrideResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyPruningPointUTXOSetOverrideResponseMessage); + return Equals(other as GetMetricsResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyPruningPointUTXOSetOverrideResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetMetricsResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (ServerTime != other.ServerTime) return false; + if (!object.Equals(ProcessMetrics, other.ProcessMetrics)) return false; + if (!object.Equals(ConnectionMetrics, other.ConnectionMetrics)) return false; + if (!object.Equals(BandwidthMetrics, other.BandwidthMetrics)) return false; + if (!object.Equals(ConsensusMetrics, other.ConsensusMetrics)) return false; + if (!object.Equals(StorageMetrics, other.StorageMetrics)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (ServerTime != 0UL) hash ^= ServerTime.GetHashCode(); + if (processMetrics_ != null) hash ^= ProcessMetrics.GetHashCode(); + if (connectionMetrics_ != null) hash ^= ConnectionMetrics.GetHashCode(); + if (bandwidthMetrics_ != null) hash ^= BandwidthMetrics.GetHashCode(); + if (consensusMetrics_ != null) hash ^= ConsensusMetrics.GetHashCode(); + if (storageMetrics_ != null) hash ^= StorageMetrics.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -14751,12 +31751,41 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ServerTime != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(ServerTime); + } + if (processMetrics_ != null) { + output.WriteRawTag(90); + output.WriteMessage(ProcessMetrics); + } + if (connectionMetrics_ != null) { + output.WriteRawTag(98); + output.WriteMessage(ConnectionMetrics); + } + if (bandwidthMetrics_ != null) { + output.WriteRawTag(106); + output.WriteMessage(BandwidthMetrics); + } + if (consensusMetrics_ != null) { + output.WriteRawTag(114); + output.WriteMessage(ConsensusMetrics); + } + if (storageMetrics_ != null) { + output.WriteRawTag(122); + output.WriteMessage(StorageMetrics); + } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -14764,11 +31793,69 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ServerTime != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(ServerTime); + } + if (processMetrics_ != null) { + output.WriteRawTag(90); + output.WriteMessage(ProcessMetrics); + } + if (connectionMetrics_ != null) { + output.WriteRawTag(98); + output.WriteMessage(ConnectionMetrics); + } + if (bandwidthMetrics_ != null) { + output.WriteRawTag(106); + output.WriteMessage(BandwidthMetrics); + } + if (consensusMetrics_ != null) { + output.WriteRawTag(114); + output.WriteMessage(ConsensusMetrics); + } + if (storageMetrics_ != null) { + output.WriteRawTag(122); + output.WriteMessage(StorageMetrics); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (ServerTime != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ServerTime); + } + if (processMetrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProcessMetrics); + } + if (connectionMetrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConnectionMetrics); + } + if (bandwidthMetrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BandwidthMetrics); + } + if (consensusMetrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConsensusMetrics); + } + if (storageMetrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StorageMetrics); + } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -14779,10 +31866,44 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyPruningPointUTXOSetOverrideResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetMetricsResponseMessage other) { if (other == null) { return; } + if (other.ServerTime != 0UL) { + ServerTime = other.ServerTime; + } + if (other.processMetrics_ != null) { + if (processMetrics_ == null) { + ProcessMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics(); + } + ProcessMetrics.MergeFrom(other.ProcessMetrics); + } + if (other.connectionMetrics_ != null) { + if (connectionMetrics_ == null) { + ConnectionMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics(); + } + ConnectionMetrics.MergeFrom(other.ConnectionMetrics); + } + if (other.bandwidthMetrics_ != null) { + if (bandwidthMetrics_ == null) { + BandwidthMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics(); + } + BandwidthMetrics.MergeFrom(other.BandwidthMetrics); + } + if (other.consensusMetrics_ != null) { + if (consensusMetrics_ == null) { + ConsensusMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics(); + } + ConsensusMetrics.MergeFrom(other.ConsensusMetrics); + } + if (other.storageMetrics_ != null) { + if (storageMetrics_ == null) { + StorageMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics(); + } + StorageMetrics.MergeFrom(other.StorageMetrics); + } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -14793,13 +31914,125 @@ public void MergeFrom(NotifyPruningPointUTXOSetOverrideResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + ServerTime = input.ReadUInt64(); + break; + } + case 90: { + if (processMetrics_ == null) { + ProcessMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics(); + } + input.ReadMessage(ProcessMetrics); + break; + } + case 98: { + if (connectionMetrics_ == null) { + ConnectionMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics(); + } + input.ReadMessage(ConnectionMetrics); + break; + } + case 106: { + if (bandwidthMetrics_ == null) { + BandwidthMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics(); + } + input.ReadMessage(BandwidthMetrics); + break; + } + case 114: { + if (consensusMetrics_ == null) { + ConsensusMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics(); + } + input.ReadMessage(ConsensusMetrics); + break; + } + case 122: { + if (storageMetrics_ == null) { + StorageMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics(); + } + input.ReadMessage(StorageMetrics); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ServerTime = input.ReadUInt64(); + break; + } + case 90: { + if (processMetrics_ == null) { + ProcessMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ProcessMetrics(); + } + input.ReadMessage(ProcessMetrics); + break; + } + case 98: { + if (connectionMetrics_ == null) { + ConnectionMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConnectionMetrics(); + } + input.ReadMessage(ConnectionMetrics); + break; + } + case 106: { + if (bandwidthMetrics_ == null) { + BandwidthMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.BandwidthMetrics(); + } + input.ReadMessage(BandwidthMetrics); + break; + } + case 114: { + if (consensusMetrics_ == null) { + ConsensusMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.ConsensusMetrics(); + } + input.ReadMessage(ConsensusMetrics); + break; + } + case 122: { + if (storageMetrics_ == null) { + StorageMetrics = new global::Miningcore.Blockchain.Kaspa.Kaspad.StorageMetrics(); + } + input.ReadMessage(StorageMetrics); + break; + } case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -14810,55 +32043,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - /// - /// PruningPointUTXOSetOverrideNotificationMessage is sent whenever the UTXO index - /// resets due to pruning point change via IBD. - /// - /// See NotifyPruningPointUTXOSetOverrideRequestMessage - /// - public sealed partial class PruningPointUTXOSetOverrideNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PruningPointUTXOSetOverrideNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetServerInfoRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetServerInfoRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[89]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[124]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PruningPointUTXOSetOverrideNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetServerInfoRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PruningPointUTXOSetOverrideNotificationMessage(PruningPointUTXOSetOverrideNotificationMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetServerInfoRequestMessage(GetServerInfoRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PruningPointUTXOSetOverrideNotificationMessage Clone() { - return new PruningPointUTXOSetOverrideNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetServerInfoRequestMessage Clone() { + return new GetServerInfoRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PruningPointUTXOSetOverrideNotificationMessage); + return Equals(other as GetServerInfoRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PruningPointUTXOSetOverrideNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetServerInfoRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -14869,6 +32110,7 @@ public bool Equals(PruningPointUTXOSetOverrideNotificationMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -14878,18 +32120,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -14899,7 +32158,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PruningPointUTXOSetOverrideNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetServerInfoRequestMessage other) { if (other == null) { return; } @@ -14907,166 +32167,188 @@ public void MergeFrom(PruningPointUTXOSetOverrideNotificationMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + } - /// - /// StopNotifyingPruningPointUTXOSetOverrideRequestMessage unregisters this connection for - /// pruning point UTXO set override notifications. - /// - /// This call is only available when this kaspad was started with `--utxoindex` - /// - /// See: PruningPointUTXOSetOverrideNotificationMessage - /// - public sealed partial class StopNotifyingPruningPointUTXOSetOverrideRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingPruningPointUTXOSetOverrideRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetServerInfoResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetServerInfoResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[90]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[125]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingPruningPointUTXOSetOverrideRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetServerInfoResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingPruningPointUTXOSetOverrideRequestMessage(StopNotifyingPruningPointUTXOSetOverrideRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetServerInfoResponseMessage(GetServerInfoResponseMessage other) : this() { + rpcApiVersion_ = other.rpcApiVersion_; + rpcApiRevision_ = other.rpcApiRevision_; + serverVersion_ = other.serverVersion_; + networkId_ = other.networkId_; + hasUtxoIndex_ = other.hasUtxoIndex_; + isSynced_ = other.isSynced_; + virtualDaaScore_ = other.virtualDaaScore_; + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingPruningPointUTXOSetOverrideRequestMessage Clone() { - return new StopNotifyingPruningPointUTXOSetOverrideRequestMessage(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StopNotifyingPruningPointUTXOSetOverrideRequestMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StopNotifyingPruningPointUTXOSetOverrideRequestMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StopNotifyingPruningPointUTXOSetOverrideRequestMessage other) { - if (other == null) { - return; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetServerInfoResponseMessage Clone() { + return new GetServerInfoResponseMessage(this); } + /// Field number for the "rpcApiVersion" field. + public const int RpcApiVersionFieldNumber = 1; + private uint rpcApiVersion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RpcApiVersion { + get { return rpcApiVersion_; } + set { + rpcApiVersion_ = value; } } - } - - public sealed partial class StopNotifyingPruningPointUTXOSetOverrideResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StopNotifyingPruningPointUTXOSetOverrideResponseMessage()); - private pb::UnknownFieldSet _unknownFields; + /// Field number for the "rpcApiRevision" field. + public const int RpcApiRevisionFieldNumber = 2; + private uint rpcApiRevision_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RpcApiRevision { + get { return rpcApiRevision_; } + set { + rpcApiRevision_ = value; + } + } + /// Field number for the "serverVersion" field. + public const int ServerVersionFieldNumber = 3; + private string serverVersion_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[91]; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServerVersion { + get { return serverVersion_; } + set { + serverVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } + /// Field number for the "networkId" field. + public const int NetworkIdFieldNumber = 4; + private string networkId_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NetworkId { + get { return networkId_; } + set { + networkId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } + /// Field number for the "hasUtxoIndex" field. + public const int HasUtxoIndexFieldNumber = 5; + private bool hasUtxoIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingPruningPointUTXOSetOverrideResponseMessage() { - OnConstruction(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUtxoIndex { + get { return hasUtxoIndex_; } + set { + hasUtxoIndex_ = value; + } } - partial void OnConstruction(); - + /// Field number for the "isSynced" field. + public const int IsSyncedFieldNumber = 6; + private bool isSynced_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingPruningPointUTXOSetOverrideResponseMessage(StopNotifyingPruningPointUTXOSetOverrideResponseMessage other) : this() { - error_ = other.error_ != null ? other.error_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSynced { + get { return isSynced_; } + set { + isSynced_ = value; + } } + /// Field number for the "virtualDaaScore" field. + public const int VirtualDaaScoreFieldNumber = 7; + private ulong virtualDaaScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopNotifyingPruningPointUTXOSetOverrideResponseMessage Clone() { - return new StopNotifyingPruningPointUTXOSetOverrideResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong VirtualDaaScore { + get { return virtualDaaScore_; } + set { + virtualDaaScore_ = value; + } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -15075,25 +32357,42 @@ public StopNotifyingPruningPointUTXOSetOverrideResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as StopNotifyingPruningPointUTXOSetOverrideResponseMessage); + return Equals(other as GetServerInfoResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StopNotifyingPruningPointUTXOSetOverrideResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetServerInfoResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (RpcApiVersion != other.RpcApiVersion) return false; + if (RpcApiRevision != other.RpcApiRevision) return false; + if (ServerVersion != other.ServerVersion) return false; + if (NetworkId != other.NetworkId) return false; + if (HasUtxoIndex != other.HasUtxoIndex) return false; + if (IsSynced != other.IsSynced) return false; + if (VirtualDaaScore != other.VirtualDaaScore) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (RpcApiVersion != 0) hash ^= RpcApiVersion.GetHashCode(); + if (RpcApiRevision != 0) hash ^= RpcApiRevision.GetHashCode(); + if (ServerVersion.Length != 0) hash ^= ServerVersion.GetHashCode(); + if (NetworkId.Length != 0) hash ^= NetworkId.GetHashCode(); + if (HasUtxoIndex != false) hash ^= HasUtxoIndex.GetHashCode(); + if (IsSynced != false) hash ^= IsSynced.GetHashCode(); + if (VirtualDaaScore != 0UL) hash ^= VirtualDaaScore.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -15102,12 +32401,45 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (RpcApiVersion != 0) { + output.WriteRawTag(8); + output.WriteUInt32(RpcApiVersion); + } + if (RpcApiRevision != 0) { + output.WriteRawTag(16); + output.WriteUInt32(RpcApiRevision); + } + if (ServerVersion.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ServerVersion); + } + if (NetworkId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NetworkId); + } + if (HasUtxoIndex != false) { + output.WriteRawTag(40); + output.WriteBool(HasUtxoIndex); + } + if (IsSynced != false) { + output.WriteRawTag(48); + output.WriteBool(IsSynced); + } + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(VirtualDaaScore); + } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -15115,11 +32447,76 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (RpcApiVersion != 0) { + output.WriteRawTag(8); + output.WriteUInt32(RpcApiVersion); + } + if (RpcApiRevision != 0) { + output.WriteRawTag(16); + output.WriteUInt32(RpcApiRevision); + } + if (ServerVersion.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ServerVersion); + } + if (NetworkId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NetworkId); + } + if (HasUtxoIndex != false) { + output.WriteRawTag(40); + output.WriteBool(HasUtxoIndex); + } + if (IsSynced != false) { + output.WriteRawTag(48); + output.WriteBool(IsSynced); + } + if (VirtualDaaScore != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(VirtualDaaScore); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (RpcApiVersion != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RpcApiVersion); + } + if (RpcApiRevision != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RpcApiRevision); + } + if (ServerVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServerVersion); + } + if (NetworkId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NetworkId); + } + if (HasUtxoIndex != false) { + size += 1 + 1; + } + if (IsSynced != false) { + size += 1 + 1; + } + if (VirtualDaaScore != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(VirtualDaaScore); + } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -15130,10 +32527,32 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StopNotifyingPruningPointUTXOSetOverrideResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetServerInfoResponseMessage other) { if (other == null) { return; } + if (other.RpcApiVersion != 0) { + RpcApiVersion = other.RpcApiVersion; + } + if (other.RpcApiRevision != 0) { + RpcApiRevision = other.RpcApiRevision; + } + if (other.ServerVersion.Length != 0) { + ServerVersion = other.ServerVersion; + } + if (other.NetworkId.Length != 0) { + NetworkId = other.NetworkId; + } + if (other.HasUtxoIndex != false) { + HasUtxoIndex = other.HasUtxoIndex; + } + if (other.IsSynced != false) { + IsSynced = other.IsSynced; + } + if (other.VirtualDaaScore != 0UL) { + VirtualDaaScore = other.VirtualDaaScore; + } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -15144,13 +32563,103 @@ public void MergeFrom(StopNotifyingPruningPointUTXOSetOverrideResponseMessage ot } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + RpcApiVersion = input.ReadUInt32(); + break; + } + case 16: { + RpcApiRevision = input.ReadUInt32(); + break; + } + case 26: { + ServerVersion = input.ReadString(); + break; + } + case 34: { + NetworkId = input.ReadString(); + break; + } + case 40: { + HasUtxoIndex = input.ReadBool(); + break; + } + case 48: { + IsSynced = input.ReadBool(); + break; + } + case 56: { + VirtualDaaScore = input.ReadUInt64(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RpcApiVersion = input.ReadUInt32(); + break; + } + case 16: { + RpcApiRevision = input.ReadUInt32(); + break; + } + case 26: { + ServerVersion = input.ReadString(); + break; + } + case 34: { + NetworkId = input.ReadString(); + break; + } + case 40: { + HasUtxoIndex = input.ReadBool(); + break; + } + case 48: { + IsSynced = input.ReadBool(); + break; + } + case 56: { + VirtualDaaScore = input.ReadUInt64(); + break; + } case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -15161,78 +32670,76 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - /// - /// BanRequestMessage bans the given ip. - /// - public sealed partial class BanRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BanRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSyncStatusRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSyncStatusRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[92]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[126]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BanRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSyncStatusRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BanRequestMessage(BanRequestMessage other) : this() { - ip_ = other.ip_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSyncStatusRequestMessage(GetSyncStatusRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BanRequestMessage Clone() { - return new BanRequestMessage(this); - } - - /// Field number for the "ip" field. - public const int IpFieldNumber = 1; - private string ip_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Ip { - get { return ip_; } - set { - ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSyncStatusRequestMessage Clone() { + return new GetSyncStatusRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as BanRequestMessage); + return Equals(other as GetSyncStatusRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(BanRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSyncStatusRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Ip != other.Ip) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Ip.Length != 0) hash ^= Ip.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -15240,27 +32747,37 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Ip.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Ip); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Ip.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -15268,72 +32785,119 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(BanRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSyncStatusRequestMessage other) { if (other == null) { return; } - if (other.Ip.Length != 0) { - Ip = other.Ip; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - Ip = input.ReadString(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } } } } + #endif } - public sealed partial class BanResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BanResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSyncStatusResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSyncStatusResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[93]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[127]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BanResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSyncStatusResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BanResponseMessage(BanResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSyncStatusResponseMessage(GetSyncStatusResponseMessage other) : this() { + isSynced_ = other.isSynced_; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BanResponseMessage Clone() { - return new BanResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSyncStatusResponseMessage Clone() { + return new GetSyncStatusResponseMessage(this); + } + + /// Field number for the "isSynced" field. + public const int IsSyncedFieldNumber = 1; + private bool isSynced_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSynced { + get { return isSynced_; } + set { + isSynced_ = value; + } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -15342,25 +32906,30 @@ public BanResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as BanResponseMessage); + return Equals(other as GetSyncStatusResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(BanResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSyncStatusResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (IsSynced != other.IsSynced) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (IsSynced != false) hash ^= IsSynced.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -15369,12 +32938,21 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IsSynced != false) { + output.WriteRawTag(8); + output.WriteBool(IsSynced); + } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -15382,11 +32960,34 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IsSynced != false) { + output.WriteRawTag(8); + output.WriteBool(IsSynced); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (IsSynced != false) { + size += 1 + 1; + } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -15397,10 +32998,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(BanResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSyncStatusResponseMessage other) { if (other == null) { return; } + if (other.IsSynced != false) { + IsSynced = other.IsSynced; + } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -15411,13 +33016,55 @@ public void MergeFrom(BanResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + IsSynced = input.ReadBool(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IsSynced = input.ReadBool(); + break; + } case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -15428,78 +33075,90 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - /// - /// UnbanRequestMessage unbans the given ip. - /// - public sealed partial class UnbanRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnbanRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetDaaScoreTimestampEstimateRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDaaScoreTimestampEstimateRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[94]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[128]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnbanRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDaaScoreTimestampEstimateRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnbanRequestMessage(UnbanRequestMessage other) : this() { - ip_ = other.ip_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDaaScoreTimestampEstimateRequestMessage(GetDaaScoreTimestampEstimateRequestMessage other) : this() { + daaScores_ = other.daaScores_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnbanRequestMessage Clone() { - return new UnbanRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDaaScoreTimestampEstimateRequestMessage Clone() { + return new GetDaaScoreTimestampEstimateRequestMessage(this); } - /// Field number for the "ip" field. - public const int IpFieldNumber = 1; - private string ip_ = ""; + /// Field number for the "daaScores" field. + public const int DaaScoresFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_daaScores_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField daaScores_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Ip { - get { return ip_; } - set { - ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DaaScores { + get { return daaScores_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UnbanRequestMessage); + return Equals(other as GetDaaScoreTimestampEstimateRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UnbanRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetDaaScoreTimestampEstimateRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Ip != other.Ip) return false; + if(!daaScores_.Equals(other.daaScores_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Ip.Length != 0) hash ^= Ip.GetHashCode(); + hash ^= daaScores_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -15507,27 +33166,40 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Ip.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Ip); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + daaScores_.WriteTo(output, _repeated_daaScores_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + daaScores_.WriteTo(ref output, _repeated_daaScores_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Ip.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip); - } + size += daaScores_.CalculateSize(_repeated_daaScores_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -15535,72 +33207,129 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UnbanRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetDaaScoreTimestampEstimateRequestMessage other) { if (other == null) { return; } - if (other.Ip.Length != 0) { - Ip = other.Ip; - } + daaScores_.Add(other.daaScores_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - Ip = input.ReadString(); + case 10: + case 8: { + daaScores_.AddEntriesFrom(input, _repeated_daaScores_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + daaScores_.AddEntriesFrom(ref input, _repeated_daaScores_codec); break; } } } } + #endif } - public sealed partial class UnbanResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnbanResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetDaaScoreTimestampEstimateResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDaaScoreTimestampEstimateResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[95]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[129]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnbanResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDaaScoreTimestampEstimateResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnbanResponseMessage(UnbanResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDaaScoreTimestampEstimateResponseMessage(GetDaaScoreTimestampEstimateResponseMessage other) : this() { + timestamps_ = other.timestamps_.Clone(); error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public UnbanResponseMessage Clone() { - return new UnbanResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetDaaScoreTimestampEstimateResponseMessage Clone() { + return new GetDaaScoreTimestampEstimateResponseMessage(this); + } + + /// Field number for the "timestamps" field. + public const int TimestampsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_timestamps_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField timestamps_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Timestamps { + get { return timestamps_; } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -15609,25 +33338,30 @@ public UnbanResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UnbanResponseMessage); + return Equals(other as GetDaaScoreTimestampEstimateResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(UnbanResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetDaaScoreTimestampEstimateResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if(!timestamps_.Equals(other.timestamps_)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + hash ^= timestamps_.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -15636,12 +33370,18 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + timestamps_.WriteTo(output, _repeated_timestamps_codec); if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -15649,11 +33389,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + timestamps_.WriteTo(ref output, _repeated_timestamps_codec); + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + size += timestamps_.CalculateSize(_repeated_timestamps_codec); if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -15664,10 +33422,12 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(UnbanResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetDaaScoreTimestampEstimateResponseMessage other) { if (other == null) { return; } + timestamps_.Add(other.timestamps_); if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -15678,13 +33438,26 @@ public void MergeFrom(UnbanResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: + case 8: { + timestamps_.AddEntriesFrom(input, _repeated_timestamps_codec); + break; + } case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -15694,250 +33467,141 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - /// - /// GetInfoRequestMessage returns info about the node. - /// - public sealed partial class GetInfoRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInfoRequestMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[96]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetInfoRequestMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetInfoRequestMessage(GetInfoRequestMessage other) : this() { - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetInfoRequestMessage Clone() { - return new GetInfoRequestMessage(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as GetInfoRequestMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetInfoRequestMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetInfoRequestMessage other) { - if (other == null) { - return; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + timestamps_.AddEntriesFrom(ref input, _repeated_timestamps_codec); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; + } } } } + #endif } - public sealed partial class GetInfoResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInfoResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcFeerateBucket : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcFeerateBucket()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[97]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[130]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetInfoResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeerateBucket() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetInfoResponseMessage(GetInfoResponseMessage other) : this() { - p2PId_ = other.p2PId_; - mempoolSize_ = other.mempoolSize_; - serverVersion_ = other.serverVersion_; - isUtxoIndexed_ = other.isUtxoIndexed_; - isSynced_ = other.isSynced_; - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeerateBucket(RpcFeerateBucket other) : this() { + feerate_ = other.feerate_; + estimatedSeconds_ = other.estimatedSeconds_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetInfoResponseMessage Clone() { - return new GetInfoResponseMessage(this); - } - - /// Field number for the "p2pId" field. - public const int P2PIdFieldNumber = 1; - private string p2PId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string P2PId { - get { return p2PId_; } - set { - p2PId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "mempoolSize" field. - public const int MempoolSizeFieldNumber = 2; - private ulong mempoolSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong MempoolSize { - get { return mempoolSize_; } - set { - mempoolSize_ = value; - } - } - - /// Field number for the "serverVersion" field. - public const int ServerVersionFieldNumber = 3; - private string serverVersion_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string ServerVersion { - get { return serverVersion_; } - set { - serverVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "isUtxoIndexed" field. - public const int IsUtxoIndexedFieldNumber = 4; - private bool isUtxoIndexed_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IsUtxoIndexed { - get { return isUtxoIndexed_; } - set { - isUtxoIndexed_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeerateBucket Clone() { + return new RpcFeerateBucket(this); } - /// Field number for the "isSynced" field. - public const int IsSyncedFieldNumber = 5; - private bool isSynced_; + /// Field number for the "feerate" field. + public const int FeerateFieldNumber = 1; + private double feerate_; + /// + /// Fee/mass of a transaction in `sompi/gram` units + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IsSynced { - get { return isSynced_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Feerate { + get { return feerate_; } set { - isSynced_ = value; + feerate_ = value; } } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "estimatedSeconds" field. + public const int EstimatedSecondsFieldNumber = 2; + private double estimatedSeconds_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double EstimatedSeconds { + get { return estimatedSeconds_; } set { - error_ = value; + estimatedSeconds_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetInfoResponseMessage); + return Equals(other as RpcFeerateBucket); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetInfoResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcFeerateBucket other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (P2PId != other.P2PId) return false; - if (MempoolSize != other.MempoolSize) return false; - if (ServerVersion != other.ServerVersion) return false; - if (IsUtxoIndexed != other.IsUtxoIndexed) return false; - if (IsSynced != other.IsSynced) return false; - if (!object.Equals(Error, other.Error)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Feerate, other.Feerate)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(EstimatedSeconds, other.EstimatedSeconds)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (P2PId.Length != 0) hash ^= P2PId.GetHashCode(); - if (MempoolSize != 0UL) hash ^= MempoolSize.GetHashCode(); - if (ServerVersion.Length != 0) hash ^= ServerVersion.GetHashCode(); - if (IsUtxoIndexed != false) hash ^= IsUtxoIndexed.GetHashCode(); - if (IsSynced != false) hash ^= IsSynced.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + if (Feerate != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Feerate); + if (EstimatedSeconds != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(EstimatedSeconds); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -15945,61 +33609,58 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (P2PId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(P2PId); - } - if (MempoolSize != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(MempoolSize); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Feerate != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Feerate); } - if (ServerVersion.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ServerVersion); + if (EstimatedSeconds != 0D) { + output.WriteRawTag(17); + output.WriteDouble(EstimatedSeconds); } - if (IsUtxoIndexed != false) { - output.WriteRawTag(32); - output.WriteBool(IsUtxoIndexed); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - if (IsSynced != false) { - output.WriteRawTag(40); - output.WriteBool(IsSynced); + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Feerate != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Feerate); } - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + if (EstimatedSeconds != 0D) { + output.WriteRawTag(17); + output.WriteDouble(EstimatedSeconds); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (P2PId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(P2PId); - } - if (MempoolSize != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MempoolSize); - } - if (ServerVersion.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ServerVersion); - } - if (IsUtxoIndexed != false) { - size += 1 + 1; - } - if (IsSynced != false) { - size += 1 + 1; + if (Feerate != 0D) { + size += 1 + 8; } - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (EstimatedSeconds != 0D) { + size += 1 + 8; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -16008,155 +33669,208 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetInfoResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcFeerateBucket other) { if (other == null) { return; } - if (other.P2PId.Length != 0) { - P2PId = other.P2PId; - } - if (other.MempoolSize != 0UL) { - MempoolSize = other.MempoolSize; - } - if (other.ServerVersion.Length != 0) { - ServerVersion = other.ServerVersion; - } - if (other.IsUtxoIndexed != false) { - IsUtxoIndexed = other.IsUtxoIndexed; - } - if (other.IsSynced != false) { - IsSynced = other.IsSynced; + if (other.Feerate != 0D) { + Feerate = other.Feerate; } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.EstimatedSeconds != 0D) { + EstimatedSeconds = other.EstimatedSeconds; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - P2PId = input.ReadString(); - break; - } - case 16: { - MempoolSize = input.ReadUInt64(); + case 9: { + Feerate = input.ReadDouble(); break; } - case 26: { - ServerVersion = input.ReadString(); + case 17: { + EstimatedSeconds = input.ReadDouble(); break; } - case 32: { - IsUtxoIndexed = input.ReadBool(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } - case 40: { - IsSynced = input.ReadBool(); + case 9: { + Feerate = input.ReadDouble(); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + case 17: { + EstimatedSeconds = input.ReadDouble(); break; } } } } + #endif } - public sealed partial class EstimateNetworkHashesPerSecondRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EstimateNetworkHashesPerSecondRequestMessage()); + /// + /// Data required for making fee estimates. + /// + /// Feerate values represent fee/mass of a transaction in `sompi/gram` units. + /// Given a feerate value recommendation, calculate the required fee by + /// taking the transaction mass and multiplying it by feerate: `fee = feerate * mass(tx)` + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcFeeEstimate : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcFeeEstimate()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[98]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[131]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EstimateNetworkHashesPerSecondRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeeEstimate() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EstimateNetworkHashesPerSecondRequestMessage(EstimateNetworkHashesPerSecondRequestMessage other) : this() { - windowSize_ = other.windowSize_; - startHash_ = other.startHash_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeeEstimate(RpcFeeEstimate other) : this() { + priorityBucket_ = other.priorityBucket_ != null ? other.priorityBucket_.Clone() : null; + normalBuckets_ = other.normalBuckets_.Clone(); + lowBuckets_ = other.lowBuckets_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EstimateNetworkHashesPerSecondRequestMessage Clone() { - return new EstimateNetworkHashesPerSecondRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeeEstimate Clone() { + return new RpcFeeEstimate(this); } - /// Field number for the "windowSize" field. - public const int WindowSizeFieldNumber = 1; - private uint windowSize_; + /// Field number for the "priorityBucket" field. + public const int PriorityBucketFieldNumber = 1; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket priorityBucket_; + /// + /// Top-priority feerate bucket. Provides an estimation of the feerate required for sub-second DAG inclusion. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint WindowSize { - get { return windowSize_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket PriorityBucket { + get { return priorityBucket_; } set { - windowSize_ = value; + priorityBucket_ = value; } } - /// Field number for the "startHash" field. - public const int StartHashFieldNumber = 2; - private string startHash_ = ""; + /// Field number for the "normalBuckets" field. + public const int NormalBucketsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_normalBuckets_codec + = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket.Parser); + private readonly pbc::RepeatedField normalBuckets_ = new pbc::RepeatedField(); + /// + /// A vector of *normal* priority feerate values. The first value of this vector is guaranteed to exist and + /// provide an estimation for sub-*minute* DAG inclusion. All other values will have shorter estimation + /// times than all `lowBucket` values. Therefor by chaining `[priority] | normal | low` and interpolating + /// between them, one can compose a complete feerate function on the client side. The API makes an effort + /// to sample enough "interesting" points on the feerate-to-time curve, so that the interpolation is meaningful. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string StartHash { - get { return startHash_; } - set { - startHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField NormalBuckets { + get { return normalBuckets_; } + } + + /// Field number for the "lowBuckets" field. + public const int LowBucketsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_lowBuckets_codec + = pb::FieldCodec.ForMessage(26, global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket.Parser); + private readonly pbc::RepeatedField lowBuckets_ = new pbc::RepeatedField(); + /// + /// A vector of *low* priority feerate values. The first value of this vector is guaranteed to + /// exist and provide an estimation for sub-*hour* DAG inclusion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField LowBuckets { + get { return lowBuckets_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as EstimateNetworkHashesPerSecondRequestMessage); + return Equals(other as RpcFeeEstimate); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(EstimateNetworkHashesPerSecondRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcFeeEstimate other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (WindowSize != other.WindowSize) return false; - if (StartHash != other.StartHash) return false; + if (!object.Equals(PriorityBucket, other.PriorityBucket)) return false; + if(!normalBuckets_.Equals(other.normalBuckets_)) return false; + if(!lowBuckets_.Equals(other.lowBuckets_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (WindowSize != 0) hash ^= WindowSize.GetHashCode(); - if (StartHash.Length != 0) hash ^= StartHash.GetHashCode(); + if (priorityBucket_ != null) hash ^= PriorityBucket.GetHashCode(); + hash ^= normalBuckets_.GetHashCode(); + hash ^= lowBuckets_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -16164,34 +33878,54 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (WindowSize != 0) { - output.WriteRawTag(8); - output.WriteUInt32(WindowSize); - } - if (StartHash.Length != 0) { - output.WriteRawTag(18); - output.WriteString(StartHash); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (priorityBucket_ != null) { + output.WriteRawTag(10); + output.WriteMessage(PriorityBucket); } + normalBuckets_.WriteTo(output, _repeated_normalBuckets_codec); + lowBuckets_.WriteTo(output, _repeated_lowBuckets_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (priorityBucket_ != null) { + output.WriteRawTag(10); + output.WriteMessage(PriorityBucket); + } + normalBuckets_.WriteTo(ref output, _repeated_normalBuckets_codec); + lowBuckets_.WriteTo(ref output, _repeated_lowBuckets_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (WindowSize != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WindowSize); - } - if (StartHash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StartHash); + if (priorityBucket_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PriorityBucket); } + size += normalBuckets_.CalculateSize(_repeated_normalBuckets_codec); + size += lowBuckets_.CalculateSize(_repeated_lowBuckets_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -16199,121 +33933,250 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(EstimateNetworkHashesPerSecondRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcFeeEstimate other) { if (other == null) { return; } - if (other.WindowSize != 0) { - WindowSize = other.WindowSize; + if (other.priorityBucket_ != null) { + if (priorityBucket_ == null) { + PriorityBucket = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket(); + } + PriorityBucket.MergeFrom(other.PriorityBucket); } - if (other.StartHash.Length != 0) { - StartHash = other.StartHash; + normalBuckets_.Add(other.normalBuckets_); + lowBuckets_.Add(other.lowBuckets_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (priorityBucket_ == null) { + PriorityBucket = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket(); + } + input.ReadMessage(PriorityBucket); + break; + } + case 18: { + normalBuckets_.AddEntriesFrom(input, _repeated_normalBuckets_codec); + break; + } + case 26: { + lowBuckets_.AddEntriesFrom(input, _repeated_lowBuckets_codec); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - WindowSize = input.ReadUInt32(); + case 10: { + if (priorityBucket_ == null) { + PriorityBucket = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeerateBucket(); + } + input.ReadMessage(PriorityBucket); break; } case 18: { - StartHash = input.ReadString(); + normalBuckets_.AddEntriesFrom(ref input, _repeated_normalBuckets_codec); + break; + } + case 26: { + lowBuckets_.AddEntriesFrom(ref input, _repeated_lowBuckets_codec); break; } } } } + #endif } - public sealed partial class EstimateNetworkHashesPerSecondResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EstimateNetworkHashesPerSecondResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RpcFeeEstimateVerboseExperimentalData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcFeeEstimateVerboseExperimentalData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[99]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[132]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EstimateNetworkHashesPerSecondResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeeEstimateVerboseExperimentalData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EstimateNetworkHashesPerSecondResponseMessage(EstimateNetworkHashesPerSecondResponseMessage other) : this() { - networkHashesPerSecond_ = other.networkHashesPerSecond_; - error_ = other.error_ != null ? other.error_.Clone() : null; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeeEstimateVerboseExperimentalData(RpcFeeEstimateVerboseExperimentalData other) : this() { + mempoolReadyTransactionsCount_ = other.mempoolReadyTransactionsCount_; + mempoolReadyTransactionsTotalMass_ = other.mempoolReadyTransactionsTotalMass_; + networkMassPerSecond_ = other.networkMassPerSecond_; + nextBlockTemplateFeerateMin_ = other.nextBlockTemplateFeerateMin_; + nextBlockTemplateFeerateMedian_ = other.nextBlockTemplateFeerateMedian_; + nextBlockTemplateFeerateMax_ = other.nextBlockTemplateFeerateMax_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public EstimateNetworkHashesPerSecondResponseMessage Clone() { - return new EstimateNetworkHashesPerSecondResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcFeeEstimateVerboseExperimentalData Clone() { + return new RpcFeeEstimateVerboseExperimentalData(this); } - /// Field number for the "networkHashesPerSecond" field. - public const int NetworkHashesPerSecondFieldNumber = 1; - private ulong networkHashesPerSecond_; + /// Field number for the "mempoolReadyTransactionsCount" field. + public const int MempoolReadyTransactionsCountFieldNumber = 1; + private ulong mempoolReadyTransactionsCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong NetworkHashesPerSecond { - get { return networkHashesPerSecond_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MempoolReadyTransactionsCount { + get { return mempoolReadyTransactionsCount_; } set { - networkHashesPerSecond_ = value; + mempoolReadyTransactionsCount_ = value; } } - /// Field number for the "error" field. - public const int ErrorFieldNumber = 1000; - private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; + /// Field number for the "mempoolReadyTransactionsTotalMass" field. + public const int MempoolReadyTransactionsTotalMassFieldNumber = 2; + private ulong mempoolReadyTransactionsTotalMass_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { - get { return error_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong MempoolReadyTransactionsTotalMass { + get { return mempoolReadyTransactionsTotalMass_; } set { - error_ = value; + mempoolReadyTransactionsTotalMass_ = value; + } + } + + /// Field number for the "networkMassPerSecond" field. + public const int NetworkMassPerSecondFieldNumber = 3; + private ulong networkMassPerSecond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong NetworkMassPerSecond { + get { return networkMassPerSecond_; } + set { + networkMassPerSecond_ = value; + } + } + + /// Field number for the "nextBlockTemplateFeerateMin" field. + public const int NextBlockTemplateFeerateMinFieldNumber = 11; + private double nextBlockTemplateFeerateMin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NextBlockTemplateFeerateMin { + get { return nextBlockTemplateFeerateMin_; } + set { + nextBlockTemplateFeerateMin_ = value; + } + } + + /// Field number for the "nextBlockTemplateFeerateMedian" field. + public const int NextBlockTemplateFeerateMedianFieldNumber = 12; + private double nextBlockTemplateFeerateMedian_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NextBlockTemplateFeerateMedian { + get { return nextBlockTemplateFeerateMedian_; } + set { + nextBlockTemplateFeerateMedian_ = value; + } + } + + /// Field number for the "nextBlockTemplateFeerateMax" field. + public const int NextBlockTemplateFeerateMaxFieldNumber = 13; + private double nextBlockTemplateFeerateMax_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NextBlockTemplateFeerateMax { + get { return nextBlockTemplateFeerateMax_; } + set { + nextBlockTemplateFeerateMax_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as EstimateNetworkHashesPerSecondResponseMessage); + return Equals(other as RpcFeeEstimateVerboseExperimentalData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(EstimateNetworkHashesPerSecondResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcFeeEstimateVerboseExperimentalData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (NetworkHashesPerSecond != other.NetworkHashesPerSecond) return false; - if (!object.Equals(Error, other.Error)) return false; + if (MempoolReadyTransactionsCount != other.MempoolReadyTransactionsCount) return false; + if (MempoolReadyTransactionsTotalMass != other.MempoolReadyTransactionsTotalMass) return false; + if (NetworkMassPerSecond != other.NetworkMassPerSecond) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NextBlockTemplateFeerateMin, other.NextBlockTemplateFeerateMin)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NextBlockTemplateFeerateMedian, other.NextBlockTemplateFeerateMedian)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NextBlockTemplateFeerateMax, other.NextBlockTemplateFeerateMax)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (NetworkHashesPerSecond != 0UL) hash ^= NetworkHashesPerSecond.GetHashCode(); - if (error_ != null) hash ^= Error.GetHashCode(); + if (MempoolReadyTransactionsCount != 0UL) hash ^= MempoolReadyTransactionsCount.GetHashCode(); + if (MempoolReadyTransactionsTotalMass != 0UL) hash ^= MempoolReadyTransactionsTotalMass.GetHashCode(); + if (NetworkMassPerSecond != 0UL) hash ^= NetworkMassPerSecond.GetHashCode(); + if (NextBlockTemplateFeerateMin != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NextBlockTemplateFeerateMin); + if (NextBlockTemplateFeerateMedian != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NextBlockTemplateFeerateMedian); + if (NextBlockTemplateFeerateMax != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NextBlockTemplateFeerateMax); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -16321,33 +34184,102 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (NetworkHashesPerSecond != 0UL) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (MempoolReadyTransactionsCount != 0UL) { output.WriteRawTag(8); - output.WriteUInt64(NetworkHashesPerSecond); + output.WriteUInt64(MempoolReadyTransactionsCount); } - if (error_ != null) { - output.WriteRawTag(194, 62); - output.WriteMessage(Error); + if (MempoolReadyTransactionsTotalMass != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(MempoolReadyTransactionsTotalMass); + } + if (NetworkMassPerSecond != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(NetworkMassPerSecond); + } + if (NextBlockTemplateFeerateMin != 0D) { + output.WriteRawTag(89); + output.WriteDouble(NextBlockTemplateFeerateMin); + } + if (NextBlockTemplateFeerateMedian != 0D) { + output.WriteRawTag(97); + output.WriteDouble(NextBlockTemplateFeerateMedian); + } + if (NextBlockTemplateFeerateMax != 0D) { + output.WriteRawTag(105); + output.WriteDouble(NextBlockTemplateFeerateMax); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MempoolReadyTransactionsCount != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(MempoolReadyTransactionsCount); + } + if (MempoolReadyTransactionsTotalMass != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(MempoolReadyTransactionsTotalMass); + } + if (NetworkMassPerSecond != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(NetworkMassPerSecond); + } + if (NextBlockTemplateFeerateMin != 0D) { + output.WriteRawTag(89); + output.WriteDouble(NextBlockTemplateFeerateMin); + } + if (NextBlockTemplateFeerateMedian != 0D) { + output.WriteRawTag(97); + output.WriteDouble(NextBlockTemplateFeerateMedian); + } + if (NextBlockTemplateFeerateMax != 0D) { + output.WriteRawTag(105); + output.WriteDouble(NextBlockTemplateFeerateMax); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (NetworkHashesPerSecond != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(NetworkHashesPerSecond); + if (MempoolReadyTransactionsCount != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MempoolReadyTransactionsCount); } - if (error_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); + if (MempoolReadyTransactionsTotalMass != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MempoolReadyTransactionsTotalMass); + } + if (NetworkMassPerSecond != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(NetworkMassPerSecond); + } + if (NextBlockTemplateFeerateMin != 0D) { + size += 1 + 8; + } + if (NextBlockTemplateFeerateMedian != 0D) { + size += 1 + 8; + } + if (NextBlockTemplateFeerateMax != 0D) { + size += 1 + 8; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -16356,93 +34288,175 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(EstimateNetworkHashesPerSecondResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcFeeEstimateVerboseExperimentalData other) { if (other == null) { return; } - if (other.NetworkHashesPerSecond != 0UL) { - NetworkHashesPerSecond = other.NetworkHashesPerSecond; + if (other.MempoolReadyTransactionsCount != 0UL) { + MempoolReadyTransactionsCount = other.MempoolReadyTransactionsCount; } - if (other.error_ != null) { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - Error.MergeFrom(other.Error); + if (other.MempoolReadyTransactionsTotalMass != 0UL) { + MempoolReadyTransactionsTotalMass = other.MempoolReadyTransactionsTotalMass; + } + if (other.NetworkMassPerSecond != 0UL) { + NetworkMassPerSecond = other.NetworkMassPerSecond; + } + if (other.NextBlockTemplateFeerateMin != 0D) { + NextBlockTemplateFeerateMin = other.NextBlockTemplateFeerateMin; + } + if (other.NextBlockTemplateFeerateMedian != 0D) { + NextBlockTemplateFeerateMedian = other.NextBlockTemplateFeerateMedian; + } + if (other.NextBlockTemplateFeerateMax != 0D) { + NextBlockTemplateFeerateMax = other.NextBlockTemplateFeerateMax; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - NetworkHashesPerSecond = input.ReadUInt64(); + MempoolReadyTransactionsCount = input.ReadUInt64(); break; } - case 8002: { - if (error_ == null) { - Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); - } - input.ReadMessage(Error); + case 16: { + MempoolReadyTransactionsTotalMass = input.ReadUInt64(); + break; + } + case 24: { + NetworkMassPerSecond = input.ReadUInt64(); + break; + } + case 89: { + NextBlockTemplateFeerateMin = input.ReadDouble(); + break; + } + case 97: { + NextBlockTemplateFeerateMedian = input.ReadDouble(); + break; + } + case 105: { + NextBlockTemplateFeerateMax = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + MempoolReadyTransactionsCount = input.ReadUInt64(); + break; + } + case 16: { + MempoolReadyTransactionsTotalMass = input.ReadUInt64(); + break; + } + case 24: { + NetworkMassPerSecond = input.ReadUInt64(); + break; + } + case 89: { + NextBlockTemplateFeerateMin = input.ReadDouble(); + break; + } + case 97: { + NextBlockTemplateFeerateMedian = input.ReadDouble(); + break; + } + case 105: { + NextBlockTemplateFeerateMax = input.ReadDouble(); break; } } } } + #endif } - /// - /// NotifyNewBlockTemplateRequestMessage registers this connection for - /// NewBlockTemplate notifications. - /// - /// See: NewBlockTemplateNotificationMessage - /// - public sealed partial class NotifyNewBlockTemplateRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyNewBlockTemplateRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFeeEstimateRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFeeEstimateRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[100]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[133]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyNewBlockTemplateRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyNewBlockTemplateRequestMessage(NotifyNewBlockTemplateRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateRequestMessage(GetFeeEstimateRequestMessage other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyNewBlockTemplateRequestMessage Clone() { - return new NotifyNewBlockTemplateRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateRequestMessage Clone() { + return new GetFeeEstimateRequestMessage(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyNewBlockTemplateRequestMessage); + return Equals(other as GetFeeEstimateRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyNewBlockTemplateRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFeeEstimateRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } @@ -16453,6 +34467,7 @@ public bool Equals(NotifyNewBlockTemplateRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { @@ -16462,18 +34477,35 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { @@ -16483,7 +34515,8 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyNewBlockTemplateRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFeeEstimateRequestMessage other) { if (other == null) { return; } @@ -16491,57 +34524,110 @@ public void MergeFrom(NotifyNewBlockTemplateRequestMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + } - public sealed partial class NotifyNewBlockTemplateResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotifyNewBlockTemplateResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFeeEstimateResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFeeEstimateResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[101]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[134]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyNewBlockTemplateResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyNewBlockTemplateResponseMessage(NotifyNewBlockTemplateResponseMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateResponseMessage(GetFeeEstimateResponseMessage other) : this() { + estimate_ = other.estimate_ != null ? other.estimate_.Clone() : null; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NotifyNewBlockTemplateResponseMessage Clone() { - return new NotifyNewBlockTemplateResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateResponseMessage Clone() { + return new GetFeeEstimateResponseMessage(this); + } + + /// Field number for the "estimate" field. + public const int EstimateFieldNumber = 1; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate estimate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate Estimate { + get { return estimate_; } + set { + estimate_ = value; + } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -16550,25 +34636,30 @@ public NotifyNewBlockTemplateResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NotifyNewBlockTemplateResponseMessage); + return Equals(other as GetFeeEstimateResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NotifyNewBlockTemplateResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFeeEstimateResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (!object.Equals(Estimate, other.Estimate)) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (estimate_ != null) hash ^= Estimate.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -16577,12 +34668,21 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (estimate_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Estimate); + } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -16590,11 +34690,34 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (estimate_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Estimate); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (estimate_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Estimate); + } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -16605,27 +34728,82 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NotifyNewBlockTemplateResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFeeEstimateResponseMessage other) { if (other == null) { return; } + if (other.estimate_ != null) { + if (estimate_ == null) { + Estimate = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate(); + } + Estimate.MergeFrom(other.Estimate); + } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); } - Error.MergeFrom(other.Error); + Error.MergeFrom(other.Error); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (estimate_ == null) { + Estimate = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate(); + } + input.ReadMessage(Estimate); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (estimate_ == null) { + Estimate = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate(); + } + input.ReadMessage(Estimate); break; + } case 8002: { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -16636,67 +34814,91 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - /// - /// NewBlockTemplateNotificationMessage is sent whenever a new updated block template is - /// available for miners. - /// - /// See NotifyNewBlockTemplateRequestMessage - /// - public sealed partial class NewBlockTemplateNotificationMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NewBlockTemplateNotificationMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFeeEstimateExperimentalRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFeeEstimateExperimentalRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[102]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[135]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewBlockTemplateNotificationMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateExperimentalRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewBlockTemplateNotificationMessage(NewBlockTemplateNotificationMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateExperimentalRequestMessage(GetFeeEstimateExperimentalRequestMessage other) : this() { + verbose_ = other.verbose_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewBlockTemplateNotificationMessage Clone() { - return new NewBlockTemplateNotificationMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateExperimentalRequestMessage Clone() { + return new GetFeeEstimateExperimentalRequestMessage(this); + } + + /// Field number for the "verbose" field. + public const int VerboseFieldNumber = 1; + private bool verbose_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Verbose { + get { return verbose_; } + set { + verbose_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as NewBlockTemplateNotificationMessage); + return Equals(other as GetFeeEstimateExperimentalRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NewBlockTemplateNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFeeEstimateExperimentalRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (Verbose != other.Verbose) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (Verbose != false) hash ^= Verbose.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -16704,20 +34906,48 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Verbose != false) { + output.WriteRawTag(8); + output.WriteBool(Verbose); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Verbose != false) { + output.WriteRawTag(8); + output.WriteBool(Verbose); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (Verbose != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -16725,119 +34955,178 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NewBlockTemplateNotificationMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFeeEstimateExperimentalRequestMessage other) { if (other == null) { return; } + if (other.Verbose != false) { + Verbose = other.Verbose; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + Verbose = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Verbose = input.ReadBool(); + break; + } } } } + #endif } - public sealed partial class MempoolEntryByAddress : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MempoolEntryByAddress()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFeeEstimateExperimentalResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFeeEstimateExperimentalResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[103]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[136]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MempoolEntryByAddress() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateExperimentalResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MempoolEntryByAddress(MempoolEntryByAddress other) : this() { - address_ = other.address_; - sending_ = other.sending_.Clone(); - receiving_ = other.receiving_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateExperimentalResponseMessage(GetFeeEstimateExperimentalResponseMessage other) : this() { + estimate_ = other.estimate_ != null ? other.estimate_.Clone() : null; + verbose_ = other.verbose_ != null ? other.verbose_.Clone() : null; + error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public MempoolEntryByAddress Clone() { - return new MempoolEntryByAddress(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeeEstimateExperimentalResponseMessage Clone() { + return new GetFeeEstimateExperimentalResponseMessage(this); } - /// Field number for the "address" field. - public const int AddressFieldNumber = 1; - private string address_ = ""; + /// Field number for the "estimate" field. + public const int EstimateFieldNumber = 1; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate estimate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Address { - get { return address_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate Estimate { + get { return estimate_; } set { - address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + estimate_ = value; } } - /// Field number for the "sending" field. - public const int SendingFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_sending_codec - = pb::FieldCodec.ForMessage(18, global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry.Parser); - private readonly pbc::RepeatedField sending_ = new pbc::RepeatedField(); + /// Field number for the "verbose" field. + public const int VerboseFieldNumber = 2; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData verbose_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Sending { - get { return sending_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData Verbose { + get { return verbose_; } + set { + verbose_ = value; + } } - /// Field number for the "receiving" field. - public const int ReceivingFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_receiving_codec - = pb::FieldCodec.ForMessage(26, global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntry.Parser); - private readonly pbc::RepeatedField receiving_ = new pbc::RepeatedField(); + /// Field number for the "error" field. + public const int ErrorFieldNumber = 1000; + private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Receiving { - get { return receiving_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { + get { return error_; } + set { + error_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as MempoolEntryByAddress); + return Equals(other as GetFeeEstimateExperimentalResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(MempoolEntryByAddress other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFeeEstimateExperimentalResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Address != other.Address) return false; - if(!sending_.Equals(other.sending_)) return false; - if(!receiving_.Equals(other.receiving_)) return false; + if (!object.Equals(Estimate, other.Estimate)) return false; + if (!object.Equals(Verbose, other.Verbose)) return false; + if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Address.Length != 0) hash ^= Address.GetHashCode(); - hash ^= sending_.GetHashCode(); - hash ^= receiving_.GetHashCode(); + if (estimate_ != null) hash ^= Estimate.GetHashCode(); + if (verbose_ != null) hash ^= Verbose.GetHashCode(); + if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -16845,31 +35134,70 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (Address.Length != 0) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (estimate_ != null) { output.WriteRawTag(10); - output.WriteString(Address); + output.WriteMessage(Estimate); + } + if (verbose_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Verbose); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); } - sending_.WriteTo(output, _repeated_sending_codec); - receiving_.WriteTo(output, _repeated_receiving_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (estimate_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Estimate); + } + if (verbose_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Verbose); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Address.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + if (estimate_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Estimate); + } + if (verbose_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Verbose); + } + if (error_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } - size += sending_.CalculateSize(_repeated_sending_codec); - size += receiving_.CalculateSize(_repeated_receiving_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -16877,137 +35205,197 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(MempoolEntryByAddress other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFeeEstimateExperimentalResponseMessage other) { if (other == null) { return; } - if (other.Address.Length != 0) { - Address = other.Address; + if (other.estimate_ != null) { + if (estimate_ == null) { + Estimate = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate(); + } + Estimate.MergeFrom(other.Estimate); + } + if (other.verbose_ != null) { + if (verbose_ == null) { + Verbose = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData(); + } + Verbose.MergeFrom(other.Verbose); + } + if (other.error_ != null) { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + Error.MergeFrom(other.Error); } - sending_.Add(other.sending_); - receiving_.Add(other.receiving_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Address = input.ReadString(); + if (estimate_ == null) { + Estimate = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate(); + } + input.ReadMessage(Estimate); break; } case 18: { - sending_.AddEntriesFrom(input, _repeated_sending_codec); + if (verbose_ == null) { + Verbose = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData(); + } + input.ReadMessage(Verbose); break; } - case 26: { - receiving_.AddEntriesFrom(input, _repeated_receiving_codec); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (estimate_ == null) { + Estimate = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimate(); + } + input.ReadMessage(Estimate); + break; + } + case 18: { + if (verbose_ == null) { + Verbose = new global::Miningcore.Blockchain.Kaspa.Kaspad.RpcFeeEstimateVerboseExperimentalData(); + } + input.ReadMessage(Verbose); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); break; } } } } + #endif } - public sealed partial class GetMempoolEntriesByAddressesRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntriesByAddressesRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCurrentBlockColorRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCurrentBlockColorRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[104]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[137]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntriesByAddressesRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCurrentBlockColorRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntriesByAddressesRequestMessage(GetMempoolEntriesByAddressesRequestMessage other) : this() { - addresses_ = other.addresses_.Clone(); - includeOrphanPool_ = other.includeOrphanPool_; - filterTransactionPool_ = other.filterTransactionPool_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCurrentBlockColorRequestMessage(GetCurrentBlockColorRequestMessage other) : this() { + hash_ = other.hash_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntriesByAddressesRequestMessage Clone() { - return new GetMempoolEntriesByAddressesRequestMessage(this); - } - - /// Field number for the "addresses" field. - public const int AddressesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_addresses_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField addresses_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Addresses { - get { return addresses_; } - } - - /// Field number for the "includeOrphanPool" field. - public const int IncludeOrphanPoolFieldNumber = 2; - private bool includeOrphanPool_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool IncludeOrphanPool { - get { return includeOrphanPool_; } - set { - includeOrphanPool_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCurrentBlockColorRequestMessage Clone() { + return new GetCurrentBlockColorRequestMessage(this); } - /// Field number for the "filterTransactionPool" field. - public const int FilterTransactionPoolFieldNumber = 3; - private bool filterTransactionPool_; + /// Field number for the "hash" field. + public const int HashFieldNumber = 1; + private string hash_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool FilterTransactionPool { - get { return filterTransactionPool_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Hash { + get { return hash_; } set { - filterTransactionPool_ = value; + hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetMempoolEntriesByAddressesRequestMessage); + return Equals(other as GetCurrentBlockColorRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetMempoolEntriesByAddressesRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCurrentBlockColorRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!addresses_.Equals(other.addresses_)) return false; - if (IncludeOrphanPool != other.IncludeOrphanPool) return false; - if (FilterTransactionPool != other.FilterTransactionPool) return false; + if (Hash != other.Hash) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= addresses_.GetHashCode(); - if (IncludeOrphanPool != false) hash ^= IncludeOrphanPool.GetHashCode(); - if (FilterTransactionPool != false) hash ^= FilterTransactionPool.GetHashCode(); + if (Hash.Length != 0) hash ^= Hash.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -17015,35 +35403,47 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - addresses_.WriteTo(output, _repeated_addresses_codec); - if (IncludeOrphanPool != false) { - output.WriteRawTag(16); - output.WriteBool(IncludeOrphanPool); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Hash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Hash); } - if (FilterTransactionPool != false) { - output.WriteRawTag(24); - output.WriteBool(FilterTransactionPool); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Hash.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Hash); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += addresses_.CalculateSize(_repeated_addresses_codec); - if (IncludeOrphanPool != false) { - size += 1 + 1; - } - if (FilterTransactionPool != false) { - size += 1 + 1; + if (Hash.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -17052,95 +35452,130 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetMempoolEntriesByAddressesRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCurrentBlockColorRequestMessage other) { if (other == null) { return; } - addresses_.Add(other.addresses_); - if (other.IncludeOrphanPool != false) { - IncludeOrphanPool = other.IncludeOrphanPool; - } - if (other.FilterTransactionPool != false) { - FilterTransactionPool = other.FilterTransactionPool; + if (other.Hash.Length != 0) { + Hash = other.Hash; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - addresses_.AddEntriesFrom(input, _repeated_addresses_codec); + Hash = input.ReadString(); break; } - case 16: { - IncludeOrphanPool = input.ReadBool(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - } - case 24: { - FilterTransactionPool = input.ReadBool(); + case 10: { + Hash = input.ReadString(); break; } } } } + #endif } - public sealed partial class GetMempoolEntriesByAddressesResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMempoolEntriesByAddressesResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCurrentBlockColorResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCurrentBlockColorResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[105]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[138]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntriesByAddressesResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCurrentBlockColorResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntriesByAddressesResponseMessage(GetMempoolEntriesByAddressesResponseMessage other) : this() { - entries_ = other.entries_.Clone(); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCurrentBlockColorResponseMessage(GetCurrentBlockColorResponseMessage other) : this() { + blue_ = other.blue_; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetMempoolEntriesByAddressesResponseMessage Clone() { - return new GetMempoolEntriesByAddressesResponseMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCurrentBlockColorResponseMessage Clone() { + return new GetCurrentBlockColorResponseMessage(this); } - /// Field number for the "entries" field. - public const int EntriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_entries_codec - = pb::FieldCodec.ForMessage(10, global::Miningcore.Blockchain.Kaspa.Kaspad.MempoolEntryByAddress.Parser); - private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); + /// Field number for the "blue" field. + public const int BlueFieldNumber = 1; + private bool blue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Entries { - get { return entries_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Blue { + get { return blue_; } + set { + blue_ = value; + } } /// Field number for the "error" field. public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -17149,27 +35584,30 @@ public GetMempoolEntriesByAddressesResponseMessage Clone() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetMempoolEntriesByAddressesResponseMessage); + return Equals(other as GetCurrentBlockColorResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetMempoolEntriesByAddressesResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCurrentBlockColorResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!entries_.Equals(other.entries_)) return false; + if (Blue != other.Blue) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= entries_.GetHashCode(); + if (Blue != false) hash ^= Blue.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -17178,13 +35616,21 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - entries_.WriteTo(output, _repeated_entries_codec); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Blue != false) { + output.WriteRawTag(8); + output.WriteBool(Blue); + } if (error_ != null) { output.WriteRawTag(194, 62); output.WriteMessage(Error); @@ -17192,12 +35638,34 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Blue != false) { + output.WriteRawTag(8); + output.WriteBool(Blue); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += entries_.CalculateSize(_repeated_entries_codec); + if (Blue != false) { + size += 1 + 1; + } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); } @@ -17208,11 +35676,14 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetMempoolEntriesByAddressesResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCurrentBlockColorResponseMessage other) { if (other == null) { return; } - entries_.Add(other.entries_); + if (other.Blue != false) { + Blue = other.Blue; + } if (other.error_ != null) { if (error_ == null) { Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); @@ -17223,15 +35694,53 @@ public void MergeFrom(GetMempoolEntriesByAddressesResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - entries_.AddEntriesFrom(input, _repeated_entries_codec); + case 8: { + Blue = input.ReadBool(); + break; + } + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Blue = input.ReadBool(); break; } case 8002: { @@ -17244,61 +35753,106 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class GetCoinSupplyRequestMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCoinSupplyRequestMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetUtxoReturnAddressRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUtxoReturnAddressRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[106]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[139]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetCoinSupplyRequestMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxoReturnAddressRequestMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetCoinSupplyRequestMessage(GetCoinSupplyRequestMessage other) : this() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxoReturnAddressRequestMessage(GetUtxoReturnAddressRequestMessage other) : this() { + txid_ = other.txid_; + acceptingBlockDaaScore_ = other.acceptingBlockDaaScore_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetCoinSupplyRequestMessage Clone() { - return new GetCoinSupplyRequestMessage(this); + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxoReturnAddressRequestMessage Clone() { + return new GetUtxoReturnAddressRequestMessage(this); + } + + /// Field number for the "txid" field. + public const int TxidFieldNumber = 1; + private string txid_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Txid { + get { return txid_; } + set { + txid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "accepting_block_daa_score" field. + public const int AcceptingBlockDaaScoreFieldNumber = 2; + private ulong acceptingBlockDaaScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong AcceptingBlockDaaScore { + get { return acceptingBlockDaaScore_; } + set { + acceptingBlockDaaScore_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetCoinSupplyRequestMessage); + return Equals(other as GetUtxoReturnAddressRequestMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetCoinSupplyRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetUtxoReturnAddressRequestMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (Txid != other.Txid) return false; + if (AcceptingBlockDaaScore != other.AcceptingBlockDaaScore) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (Txid.Length != 0) hash ^= Txid.GetHashCode(); + if (AcceptingBlockDaaScore != 0UL) hash ^= AcceptingBlockDaaScore.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -17306,20 +35860,59 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Txid.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Txid); + } + if (AcceptingBlockDaaScore != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(AcceptingBlockDaaScore); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Txid.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Txid); + } + if (AcceptingBlockDaaScore != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(AcceptingBlockDaaScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (Txid.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Txid); + } + if (AcceptingBlockDaaScore != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AcceptingBlockDaaScore); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -17327,85 +35920,133 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetCoinSupplyRequestMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetUtxoReturnAddressRequestMessage other) { if (other == null) { return; } + if (other.Txid.Length != 0) { + Txid = other.Txid; + } + if (other.AcceptingBlockDaaScore != 0UL) { + AcceptingBlockDaaScore = other.AcceptingBlockDaaScore; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: { + Txid = input.ReadString(); + break; + } + case 16: { + AcceptingBlockDaaScore = input.ReadUInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Txid = input.ReadString(); + break; + } + case 16: { + AcceptingBlockDaaScore = input.ReadUInt64(); + break; + } } } } + #endif } - public sealed partial class GetCoinSupplyResponseMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCoinSupplyResponseMessage()); + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetUtxoReturnAddressResponseMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUtxoReturnAddressResponseMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[107]; } + get { return global::Miningcore.Blockchain.Kaspa.Kaspad.RpcReflection.Descriptor.MessageTypes[140]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetCoinSupplyResponseMessage() { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxoReturnAddressResponseMessage() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetCoinSupplyResponseMessage(GetCoinSupplyResponseMessage other) : this() { - maxSompi_ = other.maxSompi_; - circulatingSompi_ = other.circulatingSompi_; + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxoReturnAddressResponseMessage(GetUtxoReturnAddressResponseMessage other) : this() { + returnAddress_ = other.returnAddress_; error_ = other.error_ != null ? other.error_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GetCoinSupplyResponseMessage Clone() { - return new GetCoinSupplyResponseMessage(this); - } - - /// Field number for the "maxSompi" field. - public const int MaxSompiFieldNumber = 1; - private ulong maxSompi_; - /// - /// note: this is a hard coded maxSupply, actual maxSupply is expected to deviate by upto -5%, but cannot be measured exactly. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong MaxSompi { - get { return maxSompi_; } - set { - maxSompi_ = value; - } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUtxoReturnAddressResponseMessage Clone() { + return new GetUtxoReturnAddressResponseMessage(this); } - /// Field number for the "circulatingSompi" field. - public const int CirculatingSompiFieldNumber = 2; - private ulong circulatingSompi_; + /// Field number for the "return_address" field. + public const int ReturnAddressFieldNumber = 1; + private string returnAddress_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ulong CirculatingSompi { - get { return circulatingSompi_; } + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ReturnAddress { + get { return returnAddress_; } set { - circulatingSompi_ = value; + returnAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } @@ -17413,6 +36054,7 @@ public ulong CirculatingSompi { public const int ErrorFieldNumber = 1000; private global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError error_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError Error { get { return error_; } set { @@ -17421,29 +36063,30 @@ public ulong CirculatingSompi { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetCoinSupplyResponseMessage); + return Equals(other as GetUtxoReturnAddressResponseMessage); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GetCoinSupplyResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetUtxoReturnAddressResponseMessage other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (MaxSompi != other.MaxSompi) return false; - if (CirculatingSompi != other.CirculatingSompi) return false; + if (ReturnAddress != other.ReturnAddress) return false; if (!object.Equals(Error, other.Error)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (MaxSompi != 0UL) hash ^= MaxSompi.GetHashCode(); - if (CirculatingSompi != 0UL) hash ^= CirculatingSompi.GetHashCode(); + if (ReturnAddress.Length != 0) hash ^= ReturnAddress.GetHashCode(); if (error_ != null) hash ^= Error.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -17452,19 +36095,20 @@ public override int GetHashCode() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { - if (MaxSompi != 0UL) { - output.WriteRawTag(8); - output.WriteUInt64(MaxSompi); - } - if (CirculatingSompi != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(CirculatingSompi); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ReturnAddress.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ReturnAddress); } if (error_ != null) { output.WriteRawTag(194, 62); @@ -17473,16 +36117,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ReturnAddress.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ReturnAddress); + } + if (error_ != null) { + output.WriteRawTag(194, 62); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (MaxSompi != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MaxSompi); - } - if (CirculatingSompi != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CirculatingSompi); + if (ReturnAddress.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ReturnAddress); } if (error_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Error); @@ -17494,15 +36155,13 @@ public int CalculateSize() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GetCoinSupplyResponseMessage other) { + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetUtxoReturnAddressResponseMessage other) { if (other == null) { return; } - if (other.MaxSompi != 0UL) { - MaxSompi = other.MaxSompi; - } - if (other.CirculatingSompi != 0UL) { - CirculatingSompi = other.CirculatingSompi; + if (other.ReturnAddress.Length != 0) { + ReturnAddress = other.ReturnAddress; } if (other.error_ != null) { if (error_ == null) { @@ -17514,19 +36173,53 @@ public void MergeFrom(GetCoinSupplyResponseMessage other) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { - switch(tag) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - MaxSompi = input.ReadUInt64(); + case 10: { + ReturnAddress = input.ReadString(); break; } - case 16: { - CirculatingSompi = input.ReadUInt64(); + case 8002: { + if (error_ == null) { + Error = new global::Miningcore.Blockchain.Kaspa.Kaspad.RPCError(); + } + input.ReadMessage(Error); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ReturnAddress = input.ReadString(); break; } case 8002: { @@ -17539,6 +36232,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } diff --git a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/messages.proto b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/messages.proto index 84c6961de..c941b8df6 100644 --- a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/messages.proto +++ b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/messages.proto @@ -1,152 +1,142 @@ -// https://raw.githubusercontent.com/kaspanet/kaspad/master/infrastructure/network/netadapter/server/grpcserver/protowire/messages.proto syntax = "proto3"; +package protowire; option csharp_namespace = "Miningcore.Blockchain.Kaspa.Kaspad"; -package protowire; -import "p2p.proto"; import "rpc.proto"; -message KaspadMessage { +message KaspadRequest { + uint64 id = 101; oneof payload { - AddressesMessage addresses = 1; - BlockMessage block = 2; - TransactionMessage transaction = 3; - BlockLocatorMessage blockLocator = 5; - RequestAddressesMessage requestAddresses = 6; - RequestRelayBlocksMessage requestRelayBlocks = 10; - RequestTransactionsMessage requestTransactions = 12; - BlockMessage ibdBlock = 13; - InvRelayBlockMessage invRelayBlock = 14; - InvTransactionsMessage invTransactions = 15; - PingMessage ping = 16; - PongMessage pong = 17; - VerackMessage verack = 19; - VersionMessage version = 20; - TransactionNotFoundMessage transactionNotFound = 21; - RejectMessage reject = 22; - PruningPointUtxoSetChunkMessage pruningPointUtxoSetChunk = 25; - RequestIBDBlocksMessage requestIBDBlocks = 26; - UnexpectedPruningPointMessage unexpectedPruningPoint = 27; - IbdBlockLocatorMessage ibdBlockLocator = 30; - IbdBlockLocatorHighestHashMessage ibdBlockLocatorHighestHash = 31; - RequestNextPruningPointUtxoSetChunkMessage requestNextPruningPointUtxoSetChunk = 33; - DonePruningPointUtxoSetChunksMessage donePruningPointUtxoSetChunks = 34; - IbdBlockLocatorHighestHashNotFoundMessage ibdBlockLocatorHighestHashNotFound = 35; - BlockWithTrustedDataMessage blockWithTrustedData = 36; - DoneBlocksWithTrustedDataMessage doneBlocksWithTrustedData = 37; - RequestPruningPointAndItsAnticoneMessage requestPruningPointAndItsAnticone = 40; - BlockHeadersMessage blockHeaders = 41; - RequestNextHeadersMessage requestNextHeaders = 42; - DoneHeadersMessage DoneHeaders = 43; - RequestPruningPointUTXOSetMessage requestPruningPointUTXOSet = 44; - RequestHeadersMessage requestHeaders = 45; - RequestBlockLocatorMessage requestBlockLocator = 46; - PruningPointsMessage pruningPoints = 47; - RequestPruningPointProofMessage requestPruningPointProof = 48; - PruningPointProofMessage pruningPointProof = 49; - ReadyMessage ready = 50; - BlockWithTrustedDataV4Message blockWithTrustedDataV4 = 51; - TrustedDataMessage trustedData = 52; - RequestIBDChainBlockLocatorMessage requestIBDChainBlockLocator = 53; - IbdChainBlockLocatorMessage ibdChainBlockLocator = 54; - RequestAnticoneMessage requestAnticone = 55; - RequestNextPruningPointAndItsAnticoneBlocksMessage requestNextPruningPointAndItsAnticoneBlocks = 56; - GetCurrentNetworkRequestMessage getCurrentNetworkRequest = 1001; - GetCurrentNetworkResponseMessage getCurrentNetworkResponse = 1002; SubmitBlockRequestMessage submitBlockRequest = 1003; - SubmitBlockResponseMessage submitBlockResponse = 1004; GetBlockTemplateRequestMessage getBlockTemplateRequest = 1005; - GetBlockTemplateResponseMessage getBlockTemplateResponse = 1006; NotifyBlockAddedRequestMessage notifyBlockAddedRequest = 1007; + // BlockAddedNotificationMessage blockAddedNotification = 1009; + GetPeerAddressesRequestMessage getPeerAddressesRequest = 1010; + GetSinkRequestMessage GetSinkRequest = 1012; + GetMempoolEntryRequestMessage getMempoolEntryRequest = 1014; + GetConnectedPeerInfoRequestMessage getConnectedPeerInfoRequest = 1016; + AddPeerRequestMessage addPeerRequest = 1018; + SubmitTransactionRequestMessage submitTransactionRequest = 1020; + NotifyVirtualChainChangedRequestMessage notifyVirtualChainChangedRequest = 1022; + // VirtualChainChangedNotificationMessage virtualChainChangedNotification = 1024; + GetBlockRequestMessage getBlockRequest = 1025; + GetSubnetworkRequestMessage getSubnetworkRequest = 1027; + GetVirtualChainFromBlockRequestMessage getVirtualChainFromBlockRequest = 1029; + GetBlocksRequestMessage getBlocksRequest = 1031; + GetBlockCountRequestMessage getBlockCountRequest = 1033; + GetBlockDagInfoRequestMessage getBlockDagInfoRequest = 1035; + ResolveFinalityConflictRequestMessage resolveFinalityConflictRequest = 1037; + NotifyFinalityConflictRequestMessage notifyFinalityConflictRequest = 1039; + // FinalityConflictNotificationMessage finalityConflictNotification = 1041; + // FinalityConflictResolvedNotificationMessage finalityConflictResolvedNotification = 1042; + GetMempoolEntriesRequestMessage getMempoolEntriesRequest = 1043; + ShutdownRequestMessage shutdownRequest = 1045; + GetHeadersRequestMessage getHeadersRequest = 1047; + NotifyUtxosChangedRequestMessage notifyUtxosChangedRequest = 1049; + // UtxosChangedNotificationMessage utxosChangedNotification = 1051; + GetUtxosByAddressesRequestMessage getUtxosByAddressesRequest = 1052; + GetSinkBlueScoreRequestMessage getSinkBlueScoreRequest = 1054; + NotifySinkBlueScoreChangedRequestMessage notifySinkBlueScoreChangedRequest = 1056; + // SinkBlueScoreChangedNotificationMessage sinkBlueScoreChangedNotification = 1058; + BanRequestMessage banRequest = 1059; + UnbanRequestMessage unbanRequest = 1061; + GetInfoRequestMessage getInfoRequest = 1063; + StopNotifyingUtxosChangedRequestMessage stopNotifyingUtxosChangedRequest = 1065; + NotifyPruningPointUtxoSetOverrideRequestMessage notifyPruningPointUtxoSetOverrideRequest = 1067; + // PruningPointUtxoSetOverrideNotificationMessage pruningPointUtxoSetOverrideNotification = 1069; + StopNotifyingPruningPointUtxoSetOverrideRequestMessage stopNotifyingPruningPointUtxoSetOverrideRequest = 1070; + EstimateNetworkHashesPerSecondRequestMessage estimateNetworkHashesPerSecondRequest = 1072; + NotifyVirtualDaaScoreChangedRequestMessage notifyVirtualDaaScoreChangedRequest = 1074; + // VirtualDaaScoreChangedNotificationMessage virtualDaaScoreChangedNotification = 1076; + GetBalanceByAddressRequestMessage getBalanceByAddressRequest = 1077; + GetBalancesByAddressesRequestMessage getBalancesByAddressesRequest = 1079; + NotifyNewBlockTemplateRequestMessage notifyNewBlockTemplateRequest = 1081; + // NewBlockTemplateNotificationMessage newBlockTemplateNotification = 1083; + GetMempoolEntriesByAddressesRequestMessage getMempoolEntriesByAddressesRequest = 1084; + GetCoinSupplyRequestMessage getCoinSupplyRequest = 1086; + PingRequestMessage pingRequest = 1088; + GetMetricsRequestMessage getMetricsRequest = 1090; + GetServerInfoRequestMessage getServerInfoRequest = 1092; + GetSyncStatusRequestMessage getSyncStatusRequest = 1094; + GetDaaScoreTimestampEstimateRequestMessage getDaaScoreTimestampEstimateRequest = 1096; + SubmitTransactionReplacementRequestMessage submitTransactionReplacementRequest = 1100; + GetConnectionsRequestMessage getConnectionsRequest = 1102; + GetSystemInfoRequestMessage getSystemInfoRequest = 1104; + GetFeeEstimateRequestMessage getFeeEstimateRequest = 1106; + GetFeeEstimateExperimentalRequestMessage getFeeEstimateExperimentalRequest = 1108; + GetCurrentBlockColorRequestMessage getCurrentBlockColorRequest = 1110; + GetUtxoReturnAddressRequestMessage GetUtxoReturnAddressRequest = 1112; + } +} + +message KaspadResponse { + uint64 id = 101; + oneof payload { + GetCurrentNetworkResponseMessage getCurrentNetworkResponse = 1002; + SubmitBlockResponseMessage submitBlockResponse = 1004; + GetBlockTemplateResponseMessage getBlockTemplateResponse = 1006; NotifyBlockAddedResponseMessage notifyBlockAddedResponse = 1008; BlockAddedNotificationMessage blockAddedNotification = 1009; - GetPeerAddressesRequestMessage getPeerAddressesRequest = 1010; GetPeerAddressesResponseMessage getPeerAddressesResponse = 1011; - GetSelectedTipHashRequestMessage getSelectedTipHashRequest = 1012; - GetSelectedTipHashResponseMessage getSelectedTipHashResponse = 1013; - GetMempoolEntryRequestMessage getMempoolEntryRequest = 1014; + GetSinkResponseMessage GetSinkResponse = 1013; GetMempoolEntryResponseMessage getMempoolEntryResponse = 1015; - GetConnectedPeerInfoRequestMessage getConnectedPeerInfoRequest = 1016; GetConnectedPeerInfoResponseMessage getConnectedPeerInfoResponse = 1017; - AddPeerRequestMessage addPeerRequest = 1018; AddPeerResponseMessage addPeerResponse = 1019; - SubmitTransactionRequestMessage submitTransactionRequest = 1020; SubmitTransactionResponseMessage submitTransactionResponse = 1021; - NotifyVirtualSelectedParentChainChangedRequestMessage notifyVirtualSelectedParentChainChangedRequest = 1022; - NotifyVirtualSelectedParentChainChangedResponseMessage notifyVirtualSelectedParentChainChangedResponse = 1023; - VirtualSelectedParentChainChangedNotificationMessage virtualSelectedParentChainChangedNotification = 1024; - GetBlockRequestMessage getBlockRequest = 1025; + NotifyVirtualChainChangedResponseMessage notifyVirtualChainChangedResponse = 1023; + VirtualChainChangedNotificationMessage virtualChainChangedNotification = 1024; GetBlockResponseMessage getBlockResponse = 1026; - GetSubnetworkRequestMessage getSubnetworkRequest = 1027; GetSubnetworkResponseMessage getSubnetworkResponse = 1028; - GetVirtualSelectedParentChainFromBlockRequestMessage getVirtualSelectedParentChainFromBlockRequest = 1029; - GetVirtualSelectedParentChainFromBlockResponseMessage getVirtualSelectedParentChainFromBlockResponse = 1030; - GetBlocksRequestMessage getBlocksRequest = 1031; + GetVirtualChainFromBlockResponseMessage getVirtualChainFromBlockResponse = 1030; GetBlocksResponseMessage getBlocksResponse = 1032; - GetBlockCountRequestMessage getBlockCountRequest = 1033; GetBlockCountResponseMessage getBlockCountResponse = 1034; - GetBlockDagInfoRequestMessage getBlockDagInfoRequest = 1035; GetBlockDagInfoResponseMessage getBlockDagInfoResponse = 1036; - ResolveFinalityConflictRequestMessage resolveFinalityConflictRequest = 1037; ResolveFinalityConflictResponseMessage resolveFinalityConflictResponse = 1038; - NotifyFinalityConflictsRequestMessage notifyFinalityConflictsRequest = 1039; - NotifyFinalityConflictsResponseMessage notifyFinalityConflictsResponse = 1040; + NotifyFinalityConflictResponseMessage notifyFinalityConflictResponse = 1040; FinalityConflictNotificationMessage finalityConflictNotification = 1041; FinalityConflictResolvedNotificationMessage finalityConflictResolvedNotification = 1042; - GetMempoolEntriesRequestMessage getMempoolEntriesRequest = 1043; GetMempoolEntriesResponseMessage getMempoolEntriesResponse = 1044; - ShutDownRequestMessage shutDownRequest = 1045; - ShutDownResponseMessage shutDownResponse = 1046; - GetHeadersRequestMessage getHeadersRequest = 1047; + ShutdownResponseMessage shutdownResponse = 1046; GetHeadersResponseMessage getHeadersResponse = 1048; - NotifyUtxosChangedRequestMessage notifyUtxosChangedRequest = 1049; NotifyUtxosChangedResponseMessage notifyUtxosChangedResponse = 1050; UtxosChangedNotificationMessage utxosChangedNotification = 1051; - GetUtxosByAddressesRequestMessage getUtxosByAddressesRequest = 1052; GetUtxosByAddressesResponseMessage getUtxosByAddressesResponse = 1053; - GetVirtualSelectedParentBlueScoreRequestMessage getVirtualSelectedParentBlueScoreRequest = 1054; - GetVirtualSelectedParentBlueScoreResponseMessage getVirtualSelectedParentBlueScoreResponse = 1055; - NotifyVirtualSelectedParentBlueScoreChangedRequestMessage notifyVirtualSelectedParentBlueScoreChangedRequest = 1056; - NotifyVirtualSelectedParentBlueScoreChangedResponseMessage notifyVirtualSelectedParentBlueScoreChangedResponse = 1057; - VirtualSelectedParentBlueScoreChangedNotificationMessage virtualSelectedParentBlueScoreChangedNotification = 1058; - BanRequestMessage banRequest = 1059; + GetSinkBlueScoreResponseMessage getSinkBlueScoreResponse = 1055; + NotifySinkBlueScoreChangedResponseMessage notifySinkBlueScoreChangedResponse = 1057; + SinkBlueScoreChangedNotificationMessage sinkBlueScoreChangedNotification = 1058; BanResponseMessage banResponse = 1060; - UnbanRequestMessage unbanRequest = 1061; UnbanResponseMessage unbanResponse = 1062; - GetInfoRequestMessage getInfoRequest = 1063; GetInfoResponseMessage getInfoResponse = 1064; - StopNotifyingUtxosChangedRequestMessage stopNotifyingUtxosChangedRequest = 1065; StopNotifyingUtxosChangedResponseMessage stopNotifyingUtxosChangedResponse = 1066; - NotifyPruningPointUTXOSetOverrideRequestMessage notifyPruningPointUTXOSetOverrideRequest = 1067; - NotifyPruningPointUTXOSetOverrideResponseMessage notifyPruningPointUTXOSetOverrideResponse = 1068; - PruningPointUTXOSetOverrideNotificationMessage pruningPointUTXOSetOverrideNotification = 1069; - StopNotifyingPruningPointUTXOSetOverrideRequestMessage stopNotifyingPruningPointUTXOSetOverrideRequest = 1070; - StopNotifyingPruningPointUTXOSetOverrideResponseMessage stopNotifyingPruningPointUTXOSetOverrideResponse = 1071; - EstimateNetworkHashesPerSecondRequestMessage estimateNetworkHashesPerSecondRequest = 1072; + NotifyPruningPointUtxoSetOverrideResponseMessage notifyPruningPointUtxoSetOverrideResponse = 1068; + PruningPointUtxoSetOverrideNotificationMessage pruningPointUtxoSetOverrideNotification = 1069; + StopNotifyingPruningPointUtxoSetOverrideResponseMessage stopNotifyingPruningPointUtxoSetOverrideResponse = 1071; EstimateNetworkHashesPerSecondResponseMessage estimateNetworkHashesPerSecondResponse = 1073; - NotifyVirtualDaaScoreChangedRequestMessage notifyVirtualDaaScoreChangedRequest = 1074; NotifyVirtualDaaScoreChangedResponseMessage notifyVirtualDaaScoreChangedResponse = 1075; VirtualDaaScoreChangedNotificationMessage virtualDaaScoreChangedNotification = 1076; - GetBalanceByAddressRequestMessage getBalanceByAddressRequest = 1077; GetBalanceByAddressResponseMessage getBalanceByAddressResponse = 1078; - GetBalancesByAddressesRequestMessage getBalancesByAddressesRequest = 1079; GetBalancesByAddressesResponseMessage getBalancesByAddressesResponse = 1080; - NotifyNewBlockTemplateRequestMessage notifyNewBlockTemplateRequest = 1081; NotifyNewBlockTemplateResponseMessage notifyNewBlockTemplateResponse = 1082; NewBlockTemplateNotificationMessage newBlockTemplateNotification = 1083; - GetMempoolEntriesByAddressesRequestMessage getMempoolEntriesByAddressesRequest = 1084; GetMempoolEntriesByAddressesResponseMessage getMempoolEntriesByAddressesResponse = 1085; - GetCoinSupplyRequestMessage getCoinSupplyRequest = 1086; GetCoinSupplyResponseMessage getCoinSupplyResponse= 1087; + PingResponseMessage pingResponse= 1089; + GetMetricsResponseMessage getMetricsResponse= 1091; + GetServerInfoResponseMessage getServerInfoResponse = 1093; + GetSyncStatusResponseMessage getSyncStatusResponse = 1095; + GetDaaScoreTimestampEstimateResponseMessage getDaaScoreTimestampEstimateResponse = 1097; + SubmitTransactionReplacementResponseMessage submitTransactionReplacementResponse = 1101; + GetConnectionsResponseMessage getConnectionsResponse= 1103; + GetSystemInfoResponseMessage getSystemInfoResponse= 1105; + GetFeeEstimateResponseMessage getFeeEstimateResponse = 1107; + GetFeeEstimateExperimentalResponseMessage getFeeEstimateExperimentalResponse = 1109; + GetCurrentBlockColorResponseMessage getCurrentBlockColorResponse = 1111; + GetUtxoReturnAddressResponseMessage GetUtxoReturnAddressResponse = 1113; } } -service P2P { - rpc MessageStream (stream KaspadMessage) returns (stream KaspadMessage) {} -} - service RPC { - rpc MessageStream (stream KaspadMessage) returns (stream KaspadMessage) {} -} \ No newline at end of file + rpc MessageStream (stream KaspadRequest) returns (stream KaspadResponse) {} +} diff --git a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/rpc.proto b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/rpc.proto index 91eeb6f5a..b7e3c4477 100644 --- a/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/rpc.proto +++ b/src/Miningcore/Blockchain/Kaspa/RPC/Kaspad/rpc.proto @@ -1,4 +1,3 @@ -// https://raw.githubusercontent.com/kaspanet/kaspad/master/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.proto // RPC-related types. Request messages, response messages, and dependant types. // // Clients are expected to build RequestMessages and wrap them in KaspadMessage. (see messages.proto) @@ -6,12 +5,11 @@ // Having received a RequestMessage, (wrapped in a KaspadMessage) the RPC server will respond with a // ResponseMessage (likewise wrapped in a KaspadMessage) respective to the original RequestMessage. // -// **IMPORTANT:** This API is a work in progress and is subject to break between versions. // syntax = "proto3"; +package protowire; option csharp_namespace = "Miningcore.Blockchain.Kaspa.Kaspad"; -package protowire; // RPCError represents a generic non-internal error. // @@ -67,6 +65,7 @@ message RpcTransaction { uint64 gas = 6; string payload = 8; RpcTransactionVerboseData verboseData = 9; + uint64 mass = 10; } message RpcTransactionInput { @@ -103,7 +102,7 @@ message RpcUtxoEntry { message RpcTransactionVerboseData{ string transactionId = 1; string hash = 2; - uint64 mass = 4; + uint64 computeMass = 4; string blockHash = 12; uint64 blockTime = 14; } @@ -116,6 +115,11 @@ message RpcTransactionOutputVerboseData{ string scriptPublicKeyAddress = 6; } +enum RpcNotifyCommand { + NOTIFY_START = 0; + NOTIFY_STOP = 1; +} + // GetCurrentNetworkRequestMessage requests the network kaspad is currently running against. // // Possible networks are: Mainnet, Testnet, Simnet, Devnet @@ -172,6 +176,7 @@ message GetBlockTemplateResponseMessage{ // // See: BlockAddedNotificationMessage message NotifyBlockAddedRequestMessage{ + RpcNotifyCommand command = 101; } message NotifyBlockAddedResponseMessage{ @@ -201,13 +206,13 @@ message GetPeerAddressesKnownAddressMessage { string Addr = 1; } -// GetSelectedTipHashRequestMessage requests the hash of the current virtual's +// GetSinkRequestMessage requests the hash of the current virtual's // selected parent. -message GetSelectedTipHashRequestMessage{ +message GetSinkRequestMessage{ } -message GetSelectedTipHashResponseMessage{ - string selectedTipHash = 1; +message GetSinkResponseMessage{ + string sink = 1; RPCError error = 1000; } @@ -221,7 +226,7 @@ message GetMempoolEntryRequestMessage{ } message GetMempoolEntryResponseMessage{ - MempoolEntry entry = 1; + RpcMempoolEntry entry = 1; RPCError error = 1000; } @@ -229,17 +234,17 @@ message GetMempoolEntryResponseMessage{ // GetMempoolEntriesRequestMessage requests information about all the transactions // currently in the mempool. message GetMempoolEntriesRequestMessage{ - bool includeOrphanPool = 1; - bool filterTransactionPool = 2; + bool includeOrphanPool = 1; + bool filterTransactionPool = 2; } message GetMempoolEntriesResponseMessage{ - repeated MempoolEntry entries = 1; + repeated RpcMempoolEntry entries = 1; RPCError error = 1000; } -message MempoolEntry{ +message RpcMempoolEntry{ uint64 fee = 1; RpcTransaction transaction = 3; bool isOrphan = 4; @@ -303,22 +308,38 @@ message SubmitTransactionResponseMessage{ RPCError error = 1000; } -// NotifyVirtualSelectedParentChainChangedRequestMessage registers this connection for virtualSelectedParentChainChanged notifications. +// SubmitTransactionReplacementRequestMessage submits a transaction to the mempool, applying a mandatory Replace by Fee policy +message SubmitTransactionReplacementRequestMessage{ + RpcTransaction transaction = 1; +} + +message SubmitTransactionReplacementResponseMessage{ + // The transaction ID of the submitted transaction + string transactionId = 1; + + // The previous transaction replaced in the mempool by the newly submitted one + RpcTransaction replacedTransaction = 2; + + RPCError error = 1000; +} + +// NotifyVirtualChainChangedRequestMessage registers this connection for virtualChainChanged notifications. // -// See: VirtualSelectedParentChainChangedNotificationMessage -message NotifyVirtualSelectedParentChainChangedRequestMessage{ +// See: VirtualChainChangedNotificationMessage +message NotifyVirtualChainChangedRequestMessage{ bool includeAcceptedTransactionIds = 1; + RpcNotifyCommand command = 101; } -message NotifyVirtualSelectedParentChainChangedResponseMessage{ +message NotifyVirtualChainChangedResponseMessage{ RPCError error = 1000; } -// VirtualSelectedParentChainChangedNotificationMessage is sent whenever the DAG's selected parent +// VirtualChainChangedNotificationMessage is sent whenever the DAG's selected parent // chain had changed. // -// See: NotifyVirtualSelectedParentChainChangedRequestMessage -message VirtualSelectedParentChainChangedNotificationMessage{ +// See: NotifyVirtualChainChangedRequestMessage +message VirtualChainChangedNotificationMessage{ // The chain blocks that were removed, in high-to-low order repeated string removedChainBlockHashes = 1; @@ -326,7 +347,7 @@ message VirtualSelectedParentChainChangedNotificationMessage{ repeated string addedChainBlockHashes = 3; // Will be filled only if `includeAcceptedTransactionIds = true` in the notify request. - repeated AcceptedTransactionIds acceptedTransactionIds = 2; + repeated RpcAcceptedTransactionIds acceptedTransactionIds = 2; } // GetBlockRequestMessage requests information about a specific block @@ -355,19 +376,25 @@ message GetSubnetworkResponseMessage{ RPCError error = 1000; } -// GetVirtualSelectedParentChainFromBlockRequestMessage requests the virtual selected -// parent chain from some startHash to this kaspad's current virtual -message GetVirtualSelectedParentChainFromBlockRequestMessage{ +/// GetVirtualChainFromBlockRequestMessage requests the virtual selected +/// parent chain from some startHash to this kaspad's current virtual +/// Note: +/// this call batches the response to: +/// a. the network's `mergeset size limit * 10` amount of added chain blocks, if `includeAcceptedTransactionIds = false` +/// b. or `mergeset size limit * 10` amount of merged blocks, if `includeAcceptedTransactionIds = true` +/// c. it does not batch the removed chain blocks, only the added ones. +message GetVirtualChainFromBlockRequestMessage{ string startHash = 1; bool includeAcceptedTransactionIds = 2; + optional uint64 minConfirmationCount = 3; } -message AcceptedTransactionIds{ +message RpcAcceptedTransactionIds{ string acceptingBlockHash = 1; repeated string acceptedTransactionIds = 2; } -message GetVirtualSelectedParentChainFromBlockResponseMessage{ +message GetVirtualChainFromBlockResponseMessage{ // The chain blocks that were removed, in high-to-low order repeated string removedChainBlockHashes = 1; @@ -376,7 +403,7 @@ message GetVirtualSelectedParentChainFromBlockResponseMessage{ // The transactions accepted by each block in addedChainBlockHashes. // Will be filled only if `includeAcceptedTransactionIds = true` in the request. - repeated AcceptedTransactionIds acceptedTransactionIds = 2; + repeated RpcAcceptedTransactionIds acceptedTransactionIds = 2; RPCError error = 1000; } @@ -421,6 +448,7 @@ message GetBlockDagInfoResponseMessage{ repeated string virtualParentHashes = 7; string pruningPointHash = 8; uint64 virtualDaaScore = 9; + string sink = 10; RPCError error = 1000; } @@ -432,10 +460,11 @@ message ResolveFinalityConflictResponseMessage{ RPCError error = 1000; } -message NotifyFinalityConflictsRequestMessage{ +message NotifyFinalityConflictRequestMessage{ + RpcNotifyCommand command = 101; } -message NotifyFinalityConflictsResponseMessage{ +message NotifyFinalityConflictResponseMessage{ RPCError error = 1000; } @@ -447,11 +476,11 @@ message FinalityConflictResolvedNotificationMessage{ string finalityBlockHash = 1; } -// ShutDownRequestMessage shuts down this kaspad. -message ShutDownRequestMessage{ +// ShutdownRequestMessage shuts down this kaspad. +message ShutdownRequestMessage{ } -message ShutDownResponseMessage{ +message ShutdownResponseMessage{ RPCError error = 1000; } @@ -475,7 +504,10 @@ message GetHeadersResponseMessage{ // // See: UtxosChangedNotificationMessage message NotifyUtxosChangedRequestMessage { - repeated string addresses = 1; // Leave empty to get all updates + // UTXOs addresses to start/stop getting notified about + // Leave empty to start/stop all updates + repeated string addresses = 1; + RpcNotifyCommand command = 101; } message NotifyUtxosChangedResponseMessage { @@ -486,11 +518,11 @@ message NotifyUtxosChangedResponseMessage { // // See: NotifyUtxosChangedRequestMessage message UtxosChangedNotificationMessage { - repeated UtxosByAddressesEntry added = 1; - repeated UtxosByAddressesEntry removed = 2; + repeated RpcUtxosByAddressesEntry added = 1; + repeated RpcUtxosByAddressesEntry removed = 2; } -message UtxosByAddressesEntry { +message RpcUtxosByAddressesEntry { string address = 1; RpcOutpoint outpoint = 2; RpcUtxoEntry utxoEntry = 3; @@ -502,6 +534,9 @@ message UtxosByAddressesEntry { // This call is only available when this kaspad was started with `--utxoindex` // // See: UtxosChangedNotificationMessage +// +// This message only exists for backward compatibility reason with kaspad and is deprecated. +// Use instead UtxosChangedNotificationMessage with command = NOTIFY_STOP. message StopNotifyingUtxosChangedRequestMessage { repeated string addresses = 1; } @@ -518,7 +553,7 @@ message GetUtxosByAddressesRequestMessage { } message GetUtxosByAddressesResponseMessage { - repeated UtxosByAddressesEntry entries = 1; + repeated RpcUtxosByAddressesEntry entries = 1; RPCError error = 1000; } @@ -540,7 +575,7 @@ message GetBalancesByAddressesRequestMessage { repeated string addresses = 1; } -message BalancesByAddressEntry{ +message RpcBalancesByAddressesEntry{ string address = 1; uint64 balance = 2; @@ -548,39 +583,40 @@ message BalancesByAddressEntry{ } message GetBalancesByAddressesResponseMessage { - repeated BalancesByAddressEntry entries = 1; + repeated RpcBalancesByAddressesEntry entries = 1; RPCError error = 1000; } -// GetVirtualSelectedParentBlueScoreRequestMessage requests the blue score of the current selected parent +// GetSinkBlueScoreRequestMessage requests the blue score of the current selected parent // of the virtual block. -message GetVirtualSelectedParentBlueScoreRequestMessage { +message GetSinkBlueScoreRequestMessage { } -message GetVirtualSelectedParentBlueScoreResponseMessage { +message GetSinkBlueScoreResponseMessage { uint64 blueScore = 1; RPCError error = 1000; } -// NotifyVirtualSelectedParentBlueScoreChangedRequestMessage registers this connection for -// virtualSelectedParentBlueScoreChanged notifications. +// NotifySinkBlueScoreChangedRequestMessage registers this connection for +// sinkBlueScoreChanged notifications. // -// See: VirtualSelectedParentBlueScoreChangedNotificationMessage -message NotifyVirtualSelectedParentBlueScoreChangedRequestMessage { +// See: SinkBlueScoreChangedNotificationMessage +message NotifySinkBlueScoreChangedRequestMessage { + RpcNotifyCommand command = 101; } -message NotifyVirtualSelectedParentBlueScoreChangedResponseMessage { +message NotifySinkBlueScoreChangedResponseMessage { RPCError error = 1000; } -// VirtualSelectedParentBlueScoreChangedNotificationMessage is sent whenever the blue score +// SinkBlueScoreChangedNotificationMessage is sent whenever the blue score // of the virtual's selected parent changes. // -// See NotifyVirtualSelectedParentBlueScoreChangedRequestMessage -message VirtualSelectedParentBlueScoreChangedNotificationMessage { - uint64 virtualSelectedParentBlueScore = 1; +// See NotifySinkBlueScoreChangedRequestMessage +message SinkBlueScoreChangedNotificationMessage { + uint64 sinkBlueScore = 1; } // NotifyVirtualDaaScoreChangedRequestMessage registers this connection for @@ -588,6 +624,7 @@ message VirtualSelectedParentBlueScoreChangedNotificationMessage { // // See: VirtualDaaScoreChangedNotificationMessage message NotifyVirtualDaaScoreChangedRequestMessage { + RpcNotifyCommand command = 101; } message NotifyVirtualDaaScoreChangedResponseMessage { @@ -602,37 +639,41 @@ message VirtualDaaScoreChangedNotificationMessage { uint64 virtualDaaScore = 1; } -// NotifyPruningPointUTXOSetOverrideRequestMessage registers this connection for +// NotifyPruningPointUtxoSetOverrideRequestMessage registers this connection for // pruning point UTXO set override notifications. // // This call is only available when this kaspad was started with `--utxoindex` // -// See: NotifyPruningPointUTXOSetOverrideResponseMessage -message NotifyPruningPointUTXOSetOverrideRequestMessage { +// See: NotifyPruningPointUtxoSetOverrideResponseMessage +message NotifyPruningPointUtxoSetOverrideRequestMessage { + RpcNotifyCommand command = 101; } -message NotifyPruningPointUTXOSetOverrideResponseMessage { +message NotifyPruningPointUtxoSetOverrideResponseMessage { RPCError error = 1000; } -// PruningPointUTXOSetOverrideNotificationMessage is sent whenever the UTXO index +// PruningPointUtxoSetOverrideNotificationMessage is sent whenever the UTXO index // resets due to pruning point change via IBD. // -// See NotifyPruningPointUTXOSetOverrideRequestMessage -message PruningPointUTXOSetOverrideNotificationMessage { +// See NotifyPruningPointUtxoSetOverrideRequestMessage +message PruningPointUtxoSetOverrideNotificationMessage { } -// StopNotifyingPruningPointUTXOSetOverrideRequestMessage unregisters this connection for +// StopNotifyingPruningPointUtxoSetOverrideRequestMessage unregisters this connection for // pruning point UTXO set override notifications. // // This call is only available when this kaspad was started with `--utxoindex` // -// See: PruningPointUTXOSetOverrideNotificationMessage -message StopNotifyingPruningPointUTXOSetOverrideRequestMessage { +// See: PruningPointUtxoSetOverrideNotificationMessage +// +// This message only exists for backward compatibility reason with kaspad and is deprecated. +// Use instead NotifyPruningPointUtxoSetOverrideRequestMessage with command = NOTIFY_STOP. +message StopNotifyingPruningPointUtxoSetOverrideRequestMessage { } -message StopNotifyingPruningPointUTXOSetOverrideResponseMessage { +message StopNotifyingPruningPointUtxoSetOverrideResponseMessage { RPCError error = 1000; } @@ -664,6 +705,8 @@ message GetInfoResponseMessage{ string serverVersion = 3; bool isUtxoIndexed = 4; bool isSynced = 5; + bool hasNotifyCommand = 11; + bool hasMessageId = 12; RPCError error = 1000; } @@ -682,6 +725,7 @@ message EstimateNetworkHashesPerSecondResponseMessage{ // // See: NewBlockTemplateNotificationMessage message NotifyNewBlockTemplateRequestMessage { + RpcNotifyCommand command = 101; } message NotifyNewBlockTemplateResponseMessage { @@ -695,10 +739,10 @@ message NotifyNewBlockTemplateResponseMessage { message NewBlockTemplateNotificationMessage { } -message MempoolEntryByAddress{ +message RpcMempoolEntryByAddress{ string address = 1; - repeated MempoolEntry sending = 2; - repeated MempoolEntry receiving = 3; + repeated RpcMempoolEntry sending = 2; + repeated RpcMempoolEntry receiving = 3; } message GetMempoolEntriesByAddressesRequestMessage{ @@ -708,7 +752,7 @@ message GetMempoolEntriesByAddressesRequestMessage{ } message GetMempoolEntriesByAddressesResponseMessage{ - repeated MempoolEntryByAddress entries = 1; + repeated RpcMempoolEntryByAddress entries = 1; RPCError error = 1000; } @@ -717,8 +761,229 @@ message GetCoinSupplyRequestMessage{ } message GetCoinSupplyResponseMessage{ - uint64 maxSompi = 1; // note: this is a hard coded maxSupply, actual maxSupply is expected to deviate by upto -5%, but cannot be measured exactly. - uint64 circulatingSompi = 2; + uint64 maxSompi = 1; // note: this is a hard coded maxSupply, actual maxSupply is expected to deviate by upto -5%, but cannot be measured exactly. + uint64 circulatingSompi = 2; + + RPCError error = 1000; +} - RPCError error = 1000; -} \ No newline at end of file +message PingRequestMessage{ +} + +message PingResponseMessage{ + RPCError error = 1000; +} + +message ProcessMetrics{ + uint64 residentSetSize = 1; + uint64 virtualMemorySize = 2; + uint32 coreNum = 3; + float cpuUsage = 4; + uint32 fdNum = 5; + uint64 diskIoReadBytes = 6; + uint64 diskIoWriteBytes = 7; + float diskIoReadPerSec = 8; + float diskIoWritePerSec = 9; +} + +message ConnectionMetrics { + uint32 borshLiveConnections = 31; + uint64 borshConnectionAttempts = 32; + uint64 borshHandshakeFailures = 33; + + uint32 jsonLiveConnections = 41; + uint64 jsonConnectionAttempts = 42; + uint64 jsonHandshakeFailures = 43; + + uint32 activePeers = 51; +} + +message BandwidthMetrics { + uint64 borshBytesTx = 61; + uint64 borshBytesRx = 62; + uint64 jsonBytesTx = 63; + uint64 jsonBytesRx = 64; + uint64 grpcP2pBytesTx = 65; + uint64 grpcP2pBytesRx = 66; + uint64 grpcUserBytesTx = 67; + uint64 grpcUserBytesRx = 68; +} + +message ConsensusMetrics{ + uint64 blocksSubmitted = 1; + uint64 headerCounts = 2; + uint64 depCounts = 3; + uint64 bodyCounts = 4; + uint64 txsCounts = 5; + uint64 chainBlockCounts = 6; + uint64 massCounts = 7; + + uint64 blockCount = 11; + uint64 headerCount = 12; + uint64 mempoolSize = 13; + uint32 tipHashesCount = 14; + double difficulty = 15; + uint64 pastMedianTime = 16; + uint32 virtualParentHashesCount = 17; + uint64 virtualDaaScore = 18; +} + +message StorageMetrics{ + uint64 storageSizeBytes = 1; +} + +message GetConnectionsRequestMessage{ + bool includeProfileData = 1; +} + +message ConnectionsProfileData { + double cpuUsage = 1; + uint64 memoryUsage = 2; +} + +message GetConnectionsResponseMessage{ + uint32 clients = 1; + uint32 peers = 2; + ConnectionsProfileData profileData = 3; + RPCError error = 1000; +} + +message GetSystemInfoRequestMessage{ +} + +message GetSystemInfoResponseMessage{ + string version = 1; + string systemId = 2; + string gitHash = 3; + uint32 coreNum = 4; + uint64 totalMemory = 5; + uint32 fdLimit = 6; + uint32 proxySocketLimitPerCpuCore = 7; + RPCError error = 1000; +} + +message GetMetricsRequestMessage{ + bool processMetrics = 1; + bool connectionMetrics = 2; + bool bandwidthMetrics = 3; + bool consensusMetrics = 4; + bool storageMetrics = 5; + bool customMetrics = 6; +} + +message GetMetricsResponseMessage{ + uint64 serverTime = 1; + ProcessMetrics processMetrics = 11; + ConnectionMetrics connectionMetrics = 12; + BandwidthMetrics bandwidthMetrics = 13; + ConsensusMetrics consensusMetrics = 14; + StorageMetrics storageMetrics = 15; + RPCError error = 1000; +} + +message GetServerInfoRequestMessage{ +} + +message GetServerInfoResponseMessage{ + uint32 rpcApiVersion = 1; + uint32 rpcApiRevision = 2; + string serverVersion = 3; + string networkId = 4; + bool hasUtxoIndex = 5; + bool isSynced = 6; + uint64 virtualDaaScore = 7; + RPCError error = 1000; +} + +message GetSyncStatusRequestMessage{ +} + +message GetSyncStatusResponseMessage{ + bool isSynced = 1; + RPCError error = 1000; +} + +message GetDaaScoreTimestampEstimateRequestMessage { + repeated uint64 daaScores = 1; +} + +message GetDaaScoreTimestampEstimateResponseMessage { + repeated uint64 timestamps = 1; + RPCError error = 1000; +} + +message RpcFeerateBucket { + // Fee/mass of a transaction in `sompi/gram` units + double feerate = 1; + double estimatedSeconds = 2; +} + +// Data required for making fee estimates. +// +// Feerate values represent fee/mass of a transaction in `sompi/gram` units. +// Given a feerate value recommendation, calculate the required fee by +// taking the transaction mass and multiplying it by feerate: `fee = feerate * mass(tx)` +message RpcFeeEstimate { + // Top-priority feerate bucket. Provides an estimation of the feerate required for sub-second DAG inclusion. + RpcFeerateBucket priorityBucket = 1; + + // A vector of *normal* priority feerate values. The first value of this vector is guaranteed to exist and + // provide an estimation for sub-*minute* DAG inclusion. All other values will have shorter estimation + // times than all `lowBucket` values. Therefor by chaining `[priority] | normal | low` and interpolating + // between them, one can compose a complete feerate function on the client side. The API makes an effort + // to sample enough "interesting" points on the feerate-to-time curve, so that the interpolation is meaningful. + repeated RpcFeerateBucket normalBuckets = 2; + + // A vector of *low* priority feerate values. The first value of this vector is guaranteed to + // exist and provide an estimation for sub-*hour* DAG inclusion. + repeated RpcFeerateBucket lowBuckets = 3; +} + +message RpcFeeEstimateVerboseExperimentalData { + uint64 mempoolReadyTransactionsCount = 1; + uint64 mempoolReadyTransactionsTotalMass = 2; + uint64 networkMassPerSecond = 3; + + double nextBlockTemplateFeerateMin = 11; + double nextBlockTemplateFeerateMedian = 12; + double nextBlockTemplateFeerateMax = 13; +} + +message GetFeeEstimateRequestMessage { +} + +message GetFeeEstimateResponseMessage { + RpcFeeEstimate estimate = 1; + RPCError error = 1000; +} + +message GetFeeEstimateExperimentalRequestMessage { + bool verbose = 1; +} + +message GetFeeEstimateExperimentalResponseMessage { + RpcFeeEstimate estimate = 1; + RpcFeeEstimateVerboseExperimentalData verbose = 2; + + RPCError error = 1000; +} + +message GetCurrentBlockColorRequestMessage { + string hash = 1; +} + +message GetCurrentBlockColorResponseMessage { + bool blue = 1; + + RPCError error = 1000; +} + +message GetUtxoReturnAddressRequestMessage { + string txid = 1; + uint64 accepting_block_daa_score = 2; +} + +message GetUtxoReturnAddressResponseMessage { + string return_address = 1; + RPCError error = 1000; +}