[#40] Client: Add memory optimization for hash
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
32a7e64538
commit
809bd90352
17 changed files with 170 additions and 64 deletions
|
@ -50,7 +50,7 @@ internal sealed class NetmapServiceProvider : ContextAccessor
|
|||
};
|
||||
|
||||
request.AddMetaHeader([]);
|
||||
request.Sign(ClientContext.Key.ECDsaKey);
|
||||
request.Sign(ClientContext.Key);
|
||||
|
||||
var response = await netmapServiceClient.LocalNodeInfoAsync(request, null, ctx.GetDeadline(), ctx.CancellationToken);
|
||||
|
||||
|
@ -64,7 +64,7 @@ internal sealed class NetmapServiceProvider : ContextAccessor
|
|||
var request = new NetworkInfoRequest();
|
||||
|
||||
request.AddMetaHeader([]);
|
||||
request.Sign(ClientContext.Key.ECDsaKey);
|
||||
request.Sign(ClientContext.Key);
|
||||
|
||||
var response = await netmapServiceClient.NetworkInfoAsync(request, null, ctx.GetDeadline(), ctx.CancellationToken)
|
||||
.ConfigureAwait(false);
|
||||
|
@ -79,7 +79,7 @@ internal sealed class NetmapServiceProvider : ContextAccessor
|
|||
var request = new NetmapSnapshotRequest();
|
||||
|
||||
request.AddMetaHeader([]);
|
||||
request.Sign(ClientContext.Key.ECDsaKey);
|
||||
request.Sign(ClientContext.Key);
|
||||
|
||||
var response = await netmapServiceClient.NetmapSnapshotAsync(request, null, ctx.GetDeadline(), ctx.CancellationToken);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue