Skip to content
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

[WIP] add wallet creation date #942

Closed
wants to merge 40 commits into from

Conversation

pythcoiner
Copy link
Collaborator

address #805

pythcoiner and others added 30 commits January 29, 2024 17:03
This change updates the GUI to support the latest lianad config
file with the user/password option for bitcoind RPC authentication.

The settings have been updated to set either cookie file path
or user and password.

The installer still only supports the cookie file and has only
been updated with the changes required to compile.

When starting, the internal bitcoind now looks for the cookie file
in the usual location rather than relying on the config file.
If using a self-managed node, this adds the option to authenticate
with the RPC server using user and password.
1.63 is the latest version supported by Debian. It's also now almost a
year and a half old (August 2023). We start getting way behind on our
dependency updates, and sometimes even missing some security updates
(nothing which affects us but still..).

Asking to support a less than 2.5yo compiler shouldn't be that much to
ask, but hey. 1.63 is now a better balance between support for upstream
updates and support for a not recklessly new compiler.
Took care of keeping dirs pinned to avoid the dirs license shitshow. See
dirs-dev/dirs-sys-rs@e169da7#r111303146
for more.
This gives us bundled SQLite 3.44.0. Notably this patches CVE-2022-35737
but it shouldn't affect us.
It now finally accepts an option as argument.
The most notable change is rust-bitcoin's change in the serialization of
transaction with no input. It now accounts for the segwit marker even
for those. The base tx weight in coin selection had to be adapted to
handle this.

See https://gnusha.org/bitcoin-rust/2024-01-04.log for details.
Bump clippy in CI to latest stable.
Minor formatting fix

Text change to specify 'Bitcoin Core' during installation download
This function is now called many times from the GUI via
`create_spend` and we expect this log message to be generated
multiple times.
While signing in parallele, only new signatures should
be appended without race condition.
edouardparis and others added 10 commits January 29, 2024 17:03
The GUI uses the InsufficientFunds error to get the missing
amount when the user is creating a new spend.

It is not straightforward to extract this information in a
general way from the RPC error. Instead, this missing amount
will be included in the command response.

These changes are based on suggestions from darosior
and edouardparis.
This commit also fix handling of create_spend result while
updating liana:master

close wizardsardine#841
@pythcoiner pythcoiner closed this Jan 29, 2024
@pythcoiner pythcoiner deleted the wallet_birthday_gui branch March 26, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants