I confirm reproducible build of LND v0.17.4 on linux-amd64.
Go version: 1.21.0.
```
make release tag=v0.17.4-beta sys="linux-amd64"
6efa226be3db5e8675c369c5d71fae5156142ec3f728f43191efa2ccd70d9fe6 lnd-linux-amd64-v0.17.4-beta.tar.gz
```
The binary with the same hash can be downloaded from https://github.com/lightningnetwork/lnd/releases/download/v0.17.4-beta/lnd-linux-amd64-v0.17.4-beta.tar.gz
Boris
boris@nostrcheck.me
npub1ceqz...y6rr
Bitcoiner, programmer, lightning and nostr enthusiast. Favorite game: Heroes of Might and Magic III
## How to open a channel in LND using combined funds from LND and external wallet
1. Select utxos to spend from output of `lncli listunspent`. Copy-paste involved addresses to a text file.
2. Add external addresses to the file.
3. Run recent Electrum version in watch-only mode and select "Import Bitcoin addresses or provate keys". Put the list of addresses there.
4. `lncli openchannel --psbt node_id amount_in_sats`
5. Copy the address and amount from the output and put them in Electrum's Send tab. Press Pay -> Advanced -> Finalize -> Export -> Copy to clipboard.
6. Save the PSBT to a file on the machine where LND is running (e.g. `/tmp/my.psbt`)
7. Write the file name to LND's prompt. Make sure it prints "PSBT verified by lnd"
8. Sign the PSBT on the external wallet. Copy second PSBT.
9. Complete signing on LND's side: `lncli wallet psbt finalize "Second PSBT"`
10. Copy-paste "final_tx" hex string to LND's prompt and press Enter.
More complex path, working if addresses are taproot or you know public keys of them. Use bitcoin-cli and descriptors.
Import your addresses to bitcoin core as watch-only wallet.
1. `bitcoin-cli -named createwallet wallet_name=testpsbt avoid_reuse=true descriptors=true load_on_startup=true disable_private_keys=true` where `testpsbt` is the name of the wallet used in commands below.
2. Write descriptors of your addresses. See
For example, for taproot address, use `rawtr(public_key)` where `public_key` are the 32 bytes pushed in ScriptPubKey.
For pay-to-witness-pubkey-hash, use `wpkh(public_key)` and you need to know the public key (e.g. from xpub or from the wallet).
3. Add checksums to your descriptors: `bitcoin-cli getdescriptorinfo 'rawtr(xxx)'` and copy the version of descriptor with hash tag
4. Import descriptors into the wallet: `bitcoin-cli -rpcwallet=testpsbt importdescriptors '[{ "desc": "rawtr(xxx)#yyy", "timestamp":1700000000}, { "desc": "wpkh(xxx)#yyy", "timestamp":1700000000}]'` where timestamp must be before the first UTXO you want to add to the wallet.
5. Make sure bitcoin core sees all the utxos you need: `bitcoin-cli -rpcwallet=testpsbt listunspent`
6. Use LND to open a channel as described above. Copy the `walletcreatefundedpsbt` that LND provides for bitcoin-cli and modify it like this: `bitcoin-cli -named -rpcwallet=testpsbt walletcreatefundedpsbt outputs='[{"xxx":0.01000000}]' changeAddress=<yourChangeAddress>` Make sure to put a valid change address there.
7. Other steps are the same.
GitHub
bitcoin/doc/descriptors.md at master · bitcoin/bitcoin
Bitcoin Core integration/staging tree. Contribute to bitcoin/bitcoin development by creating an account on GitHub.
I confirm reproducible build of Bitcoin Core 26.0 on x86_64-linux-gnu.
```
sudo apt-get install guix
git clone
cd bitcoin/
git checkout -b my v26.0
git log # must show commit 44d8b13c81e5276eb610c99f227a4d090cc532f6
env HOSTS='x86_64-linux-gnu' ./contrib/guix/guix-build
```
... wait for a while ...
```
$ sha256sum guix-build-26.0/output/x86_64-linux-gnu/bitcoin-26.0-x86_64-linux-gnu.tar.gz
23e5ab226d9e01ffaadef5ffabe8868d0db23db952b90b0593652993680bb8ab
```
The binary with the same hash can be downloaded from https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-x86_64-linux-gnu.tar.gz
GitHub
GitHub - bitcoin/bitcoin: Bitcoin Core integration/staging tree
Bitcoin Core integration/staging tree. Contribute to bitcoin/bitcoin development by creating an account on GitHub.
I confirm reproducible build of LND v0.17.3 on linux-amd64.
Go version: 1.21.0.
```
make release tag=v0.17.3-beta sys="linux-amd64"
908adc1ae7f0d8b5fd549d1d7956ca5a091a7bed5a03485369f5288dd96e7f54 lnd-linux-amd64-v0.17.3-beta.tar.gz
```
The binary with the same hash can be downloaded from https://github.com/lightningnetwork/lnd/releases/download/v0.17.3-beta/lnd-linux-amd64-v0.17.3-beta.tar.gz