-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add address to GetAvailableUtxos in NodeguardService #377
Conversation
8fed50f
to
db25290
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RodriFS can you explain to me what is considered an AvailableUTXO? I imagine that is something like "your utxo is not spent but is being used (i,e lightning channel)". Are unavailablesUTXO marked as locked? how are they marked?
That's exactly right. Avaliable utxos are locked in a request or frozen.
You can see the implementation here:
|
@RodriFS I feel that what you clarify to me today, the difference between |
@daliclovr please review the PR again. We removed the IsFrozen flag on the utxos, and now we just use the tags to know the status of a utxo. So we don't have to register utxos in the table at all, we just tag utxos comming from the nbxplorer |
db235f1
to
2a8498b
Compare
2a8498b
to
cda116f
Compare
@RodriFS how can you tag the utxos in advance without knowing the score? What is the status to consider them |
No description provided.