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
{{ message }}
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
If you run a node that is not receiving any transactions, the tip cache (TipsViewModel) is not populated. so getTips api call will return an empty array.
Not sure whether the solution is to persist tips, or maybe scan for them upon starting IRI.
Why does it even matter?
If you would persist the tips at shutdown, and spin up your node again... the tips are lazy.
A fullnode has to wait some seconds to receive new tips after startup. Even that makes no sense, because for consensus you need solid tips. So spin up the node and let it sync first.
IMHO the API call "getTips" is an old debug API call. Its just nonsense and confusing. I would remove it and we will not implement it in HORNET.
Bug description
If you run a node that is not receiving any transactions, the tip cache (
TipsViewModel
) is not populated. sogetTips
api call will return an empty array.Not sure whether the solution is to persist tips, or maybe scan for them upon starting IRI.
IRI version
1.8.1
Steps To Reproduce
getTips
:Expected behaviour
List of tips should be retruned
Actual behaviour
An empty list is returned:
"hashes": [],
The text was updated successfully, but these errors were encountered: