Commit Graph
57 Commits
Author SHA1 Message Date
pythcoiner 54679343ec replace minisafe by liana 2023-05-13 18:59:49 +02:00
Antoine Poinsot 664a9b6cf5 Documentation updates for v1.0 2023-05-11 11:44:56 +02:00
Antoine Poinsot c6c312a011 commands: allow to create send-to-self transactions with 'createspend' 2023-05-04 16:15:09 +02:00
Antoine Poinsot e8a0d39cd6 Merge #404: Release notes for 0.3.1 and 0.4
df5c4ee85d doc: remove mentions of experimental Ledger apps (Antoine Poinsot)
c3d7039d91 CHANGELOG: 0.4 release notes (Antoine Poinsot)
b6f13932d1 CHANGELOG: 0.3.1 release notes (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK df5c4ee85d

Tree-SHA512: 4d0a91ba7af42ed48e2217f10ef11299bb4cb49977c44d80ff0c838596e0c1b8150ff14ef062dd00cabeecba06108c0bb264446ed70ad221b8cf2bf5c6058528
2023-04-10 11:18:23 +02:00
Antoine Poinsot df5c4ee85d doc: remove mentions of experimental Ledger apps
It's not needed anymore
2023-04-10 11:17:20 +02:00
Antoine Poinsot 104c6e1a09 commands: add an 'updated_at' field to listspendtxs entries 2023-04-05 12:41:03 +02:00
Antoine Poinsot d68d0e1134 commands: adapt 'createrecovery' to multiple recovery paths 2023-04-04 11:53:22 +02:00
Antoine Poinsot 3ed255f117 doc: clearer build documentation 2023-04-03 18:13:18 +02:00
Antoine Poinsot 87f54e1479 doc: cleanup GUI dependencies instructions 2023-03-07 14:19:18 +01:00
Antoine Poinsot 1d989301f0 Merge #361: Add dependencies for ubuntu
12050a3cc5 add link to TRY.md for dependencies (cc1)

Pull request description:

  I got few errors while building liana-gui with Ubuntu Mate 22.10, then try on a  fresh install with ubuntu 22.04 server (minimal install):

  ```
   running: "cmake" "/home/pythcoiner/.cargo/registry/src/github.com-1ecc6299db9ec823/freetype-sys-0.13.1/freetype2" "-DWITH_BZip2=OFF" "-DWITH_HarfBuzz=OFF" "-DWITH_PNG=OFF" "-DWITH_ZLIB=OFF" "-DCMAKE_INSTALL_PREFIX=/home/pythcoiner/liana/gui/target/release/build/freetype-sys-952a2cbdb10ff868/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release"

    --- stderr
    thread 'main' panicked at '
    failed to execute command: No such file or directory (os error 2)
    is `cmake` not installed?

    build script failed, must exit now', /home/pythcoiner/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.49/src/lib.rs:1104:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  ```

  fixed by

  ```
  sudo apt install cmake.
  ```

  then:

  ```
  --- stderr
    CMake Deprecation Warning at CMakeLists.txt:78 (cmake_minimum_required):
      Compatibility with CMake < 2.8.12 will be removed from a future version of
      CMake.

      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.

    CMake Error at CMakeLists.txt:119 (project):
      The CMAKE_CXX_COMPILER:

        c++

      is not a full path and was not found in the PATH.

      Tell CMake where to find the compiler by setting either the environment
      variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
      to the compiler, or to the compiler name if it is in the PATH.

    thread 'main' panicked at '
    command did not execute successfully, got: exit status: 1

    build script failed, must exit now', /home/pythcoiner/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.49/src/lib.rs:1104:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  ```

  fix by:

  ```
  sudo apt install build-essential
  ```

  then:

  ```
  --- stderr
    thread 'main' panicked at 'Could not run `"pkg-config" "--libs" "--cflags" "fontconfig" "fontconfig >= 2.11.1"`
    The pkg-config command could not be found.

    Most likely, you need to install a pkg-config package for your OS.
    Try `apt install pkg-config`, or `yum install pkg-config`,
    or `pkg install pkg-config` depending on your distribution.

    If you've already installed it, ensure the pkg-config command is one of the
    directories in the PATH environment variable.

    If you did not expect this build to link to a pre-installed system library,
    then check documentation of the servo-fontconfig-sys crate for an option to
    build the library from source, or disable features or dependencies
    that require pkg-config.', /home/pythcoiner/.cargo/registry/src/github.com-1ecc6299db9ec823/servo-fontconfig-sys-5.1.0/build.rs:34:17
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  ```

  fix by:

  ```
  sudo apt install libfontconfig1-dev

  ```

  then:

  ```
  --- stderr
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit status: 1\nerror: could not find system library 'libudev' required by the 'libudev-sys' crate\n\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libudev' found\n"', /home/pythcoiner/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  ```

  fix by:

  ```
  sudo apt install librust-libudev-dev
  ```

ACKs for top commit:
  darosior:
    Thanks! ACK 12050a3

Tree-SHA512: 547768c2b71e4cfa23ce7681f0420bb19e57a8bf4ac2e3a05ad1eb415c4e2935fb32afd1363bb74a3736938d23fdbdae108d058aaa83a72a67d434b9fe7a686a
2023-03-07 14:17:01 +01:00
cc1 12050a3cc5 add link to TRY.md for dependencies 2023-03-07 14:08:29 +01:00
MarcoFalke bf02236239 Update TRY.md: Resolve dead link 2023-03-02 12:45:08 +01:00
Antoine Poinsot 8b990a86ef doc: some tiny additions to TRY.md
After feedback from Kevin
2023-02-28 11:31:54 +01:00
Antoine Poinsot d24dc06d96 doc: adapt the try-out guide to non-Linux platforms
It's not a first-class support but it should be usable on other
platforms now that we don't require running a HW simulator anymore.
2023-02-27 17:58:22 +01:00
Antoine Poinsot c66eb430a8 doc: update the TRY.md tutorial to use hot keys 2023-02-27 16:57:50 +01:00
Antoine Poinsot 7231635748 doc: clearer instructions re Speculos 2023-02-07 16:05:57 +01:00
edouard c52660a107 Add link to signing devices documentation 2023-02-07 14:38:46 +01:00
edouard 548a4d807a doc: make reference to 0.2 2023-02-07 13:10:17 +01:00
Antoine Poinsot 0bd3bd4d2e Update Github links to wizardsardine/liana 2023-02-03 16:52:06 +01:00
Antoine Poinsot f4755ff803 doc: add some warning re provider 4 to the Ledger doc 2023-02-03 15:00:36 +01:00
Antoine Poinsot a2c584f603 doc: add a document about signing devices and specifically the Ledger app 2023-01-23 17:42:20 +01:00
Antoine Poinsot c8f94cbc88 Merge #257: doc: add 2 missing dependencies to the quicktry document
fab61d9eeb doc: add 2 missing dependencies to the quicktry document (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK fab61d9eeb

Tree-SHA512: 2cdb43fa9de5766c2b92fe83408f8a49935371699900c55332a8886cc4831c5f496f62a370577725c223b90020fc28dd01f0f0abf1b4e7628821a95cc4d63371
2022-12-20 15:24:59 +01:00
edouard 103c1950ba Remove change_index from listspendtxs response
Multiple change indexes may be present in a spend
draft transaction and can be detected instead
in the response psbt with the bip32_derivation
outputs fields.
2022-12-20 14:00:16 +01:00
Antoine Poinsot fab61d9eeb doc: add 2 missing dependencies to the quicktry document 2022-12-19 10:16:07 +01:00
Antoine Poinsot 361367a75a doc: document the download of Liana binaries 2022-12-18 10:54:20 +01:00
Antoine Poinsot 87fac3bcea Merge #221: just put the whole gpg key
52341db41d just put the whole gpg key (Kevin Loaec)

Pull request description:

  I'm quite sure it does the check for you. So i also removed the extra comment. If i'm doing something wrong plz educate me :D

ACKs for top commit:
  darosior:
    I wouldn't be surprised if gpg was doing something surprising like transforming the key into a fingerprint before pulling from the keyserver. On the other hand it's the only bit of additional information re: checking GPG signatures in this document so being consistent is probably better. ACK 52341db41d

Tree-SHA512: 95cadf5a6d93b63dbf7072cc61129feb2d5a229442ba6a4eaa6f741228d5404b929ba262b3550759edef230baa3aa09e469017362e37103de0a6eed5e4331a90
2022-12-14 18:31:32 +01:00
Kevin LoaecandAntoine Poinsot 3388ab9140 Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 15:46:02 -01:00
Kevin LoaecandAntoine Poinsot e327104a0f Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 15:45:20 -01:00
Kevin Loaec d24bf43237 Update TRY.md 2022-12-14 15:43:33 -01:00
Kevin LoaecandAntoine Poinsot 7ae4992d88 Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 15:28:15 -01:00
Kevin Loaec 52341db41d just put the whole gpg key
I'm quite sure it does the check for you. So i also removed the extra comment. If i'm doing something wrong plz educate me :D
2022-12-13 20:17:20 -01:00
Kevin Loaec f6e1437695 Made it more user friendly. Also, ARCH <3
Replaced the confusing Recovery section with a detailed Ian Coleman keygen.
2022-12-13 20:09:30 -01:00
Antoine Poinsot ad1f0e20b1 Merge #182: Recovery command to sweep "expired" coins
ba994ff8ff commands: do not underestimate the size of created transactions (Antoine Poinsot)
46a94d6c8e qa: test recovery 'sweep' transaction creation (Antoine Poinsot)
3b5cbd5122 qa: introduce a sign_and_broadcast utility (Antoine Poinsot)
d362885b85 qa: record the recovery xpub too (Antoine Poinsot)
a69fb625ea qa: use a CSV of 10 for recovery (Antoine Poinsot)
a78f46fa2f [refactoring] jsonrpc: sort command names alphabetically (Antoine Poinsot)
c09ae3f87b commands, jsonrpc: add a new 'createrecovery' command (Antoine Poinsot)
3d5d0134b4 commands: fix the capacity of input vectors in create_spend (Antoine Poinsot)
f2312593da commands: check for dust outputs in the PSBT sanity checks (Antoine Poinsot)
9f23161a53 commands: correct the max feerate value (Antoine Poinsot)
54410cd9c4 database: allow to query coins by their spending status (Antoine Poinsot)

Pull request description:

  A new command that provides a simple way for a user to sweep all the coins whose timelocked recovery path is available.

  The first part of #180. Note this also contains a number of drive-by fixes that i noticed while coding this up.

ACKs for top commit:
  darosior:
    self-ACK ba994ff8ff -- tested by Edouard on the GUI

Tree-SHA512: 002cb8602370fe3bec0692fe7bbe9e7af494b43756d3092da99b37e4ce2837bcdfcfb3afe7043900eb41c70de12e2129e19363b9efe41cee91c7f1f7c2824fb0
2022-12-13 18:17:14 +01:00
Antoine Poinsot acd6929831 doc: update for bitcoind 24.0.1 release
Technically the minimum we support is 24.0 but let's not nudge people to
install a version with a buggy wallet.

Fixes #210
2022-12-13 16:37:52 +01:00
Antoine Poinsot c09ae3f87b commands, jsonrpc: add a new 'createrecovery' command
This is a new command dedicated to the recovery usecase. For now it's
dead simple: sweep all coins that are available through the recovery
path to a given address.
2022-12-09 12:27:47 +01:00
Antoine Poinsot 801efa3440 Merge #160: commands: remove discrepancy between blockheight and block_height
dc61a1c3bd commands: remove discrepancy between blockheight and block_height (Antoine Poinsot)

Pull request description:

  This removes one inconsistencies. Quickly skimming through the doc i didn't find any other.

  Fixes #64.

ACKs for top commit:
  edouardparis:
    utACK dc61a1c3bd

Tree-SHA512: dccff594673ffe34048ab5ad931005c7927e0835501b8377e0b0c8fac9a8d3e5a5f8b3372bd89b3ec33b5f377aecd47164f54ee1a622c9cb375227f4c2009f1b
2022-12-08 10:09:10 +01:00
Antoine Poinsot f48ae69a9b doc: quicktry: pkg-config isn't a runtime dependency!
Sigh.. I just copied what was in gui/README.md
2022-12-07 12:09:03 +01:00
Antoine Poinsot dc61a1c3bd commands: remove discrepancy between blockheight and block_height 2022-12-07 11:42:17 +01:00
Antoine Poinsot 8c9ce67aa4 doc: small improvements to the quicktry document 2022-12-07 11:28:23 +01:00
Antoine Poinsot 2cfcae286c doc: add a guide for quickly trying out Liana 2022-12-06 15:47:47 +01:00
Antoine Poinsot 9b29c2e0aa doc: document how to build the project from source 2022-12-06 15:25:25 +01:00
edouard 774f969594 Add listtransaction command 2022-11-22 19:31:02 +01:00
edouard 3cd709697b Add listconfirmed command 2022-11-22 19:31:02 +01:00
edouard 873a697ba4 fix: doc/API.md 2022-11-19 11:00:49 +01:00
Antoine Poinsot 073cdd0a89 commands: add a 'rescan_progress' field to 'getinfo'
We make sure to return a value as long as it was not wiped from
database, that's useful in functional tests.
2022-11-14 09:20:27 +01:00
Antoine Poinsot 7866ff46cf commands: add a new 'startrescan' command 2022-11-14 09:20:27 +01:00
Antoine Poinsot eff39ee35a rpc: a new 'broadcastspend' command 2022-10-18 19:54:03 +02:00
Antoine Poinsot 99ab0d7add commands: add a 'spend_info' field to the 'listcoins' entries 2022-10-17 11:47:42 +02:00
Antoine Poinsot 57add1d86b commands: return the DB's block height in 'getinfo'
It makes more sense than to return the Bitcoin backend's. And it's helpful to wait for sync in functional tests.
2022-10-17 11:47:41 +02:00
Antoine Poinsot 92f7ef1225 commands: make listcoins return all coins by default
We'll add some parameters to filter by status and/or outpoints later on.
But for now also list coins that were spent or are being spent.
2022-10-17 11:47:41 +02:00