-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improve the performace of LeaseOutput
#8961
Improve the performace of LeaseOutput
#8961
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8f35612 - Browse repository at this point
Copy the full SHA 8f35612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9801ee0 - Browse repository at this point
Copy the full SHA 9801ee0View commit details -
lnrpc+lnwallet: replace
FetchInputInfo
with new methodsThis commit replaces the usage of `FetchInputInfo` with `FetchOutpointInfo` and `FetchDerivationInfo` to remove unncessary fetching of the derivation path.
Configuration menu - View commit details
-
Copy full SHA for aba8507 - Browse repository at this point
Copy the full SHA aba8507View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7381ce - Browse repository at this point
Copy the full SHA d7381ceView commit details -
lntest+lnwallet: remove the method
FetchInputInfo
This method is no longer used. In addition, the `Derivation` field on the `Utxo` is also removed to avoid nil dereference.
Configuration menu - View commit details
-
Copy full SHA for b17db4a - Browse repository at this point
Copy the full SHA b17db4aView commit details -
lnrpc: fetch utxo info in
lockInputs
This commit prepares the following commit where we change the `LeaseOutput` to be more efficient.
Configuration menu - View commit details
-
Copy full SHA for f70c919 - Browse repository at this point
Copy the full SHA f70c919View commit details -
mulit: remove
ListLeasedOutputs
inLeaseOutput
This commit removes the call toe `ListLeasedOutputs` in `LeaseOutput` - the returned info from `ListLeasedOutputs` can easily be accessed via `FetchInputInfo` and this info is only used at one callsite. `ListLeasedOutputs` then becomes unnecessary here, plus it's very slow and needs to be refactored in `btcwallet` instead.
Configuration menu - View commit details
-
Copy full SHA for 3e36adf - Browse repository at this point
Copy the full SHA 3e36adfView commit details -
itest: remove redundant call to
ht.WaitForBlockchainSync
This check has already been done when mining blocks.
Configuration menu - View commit details
-
Copy full SHA for 8259e0f - Browse repository at this point
Copy the full SHA 8259e0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 363e529 - Browse repository at this point
Copy the full SHA 363e529View commit details