You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two methods do the same thing, or at least, you can call ListHeaders with a single height to get one header, but GetHeadersByHeight returns extra information, such as confirmations and rewards.
I suggest removing the single call and adding the extra fields to the ListHeader call
The text was updated successfully, but these errors were encountered:
stringhandler
changed the title
[CleanUp]
GRPC[base node]: ListHeaders and GetHeadersByHeight do the same thing
Aug 1, 2022
Description
---
The GRPC server has 2 methods, `getHeaderByHeight` and `getHeaderByHeight`.
These 2 methods are especially duplicated, this removes `getHeaderByHeight` method and adds the additional fields that this method had to `getHeaderByHeight`
Fixes: #4372
In the BaseNode GRPC, there are two methods:
These two methods do the same thing, or at least, you can call ListHeaders with a single height to get one header, but GetHeadersByHeight returns extra information, such as confirmations and rewards.
I suggest removing the single call and adding the extra fields to the ListHeader call
The text was updated successfully, but these errors were encountered: