Latest Release
- Repository: lightninglabs/taproot-assets
- Published on: 2025-02-12 19:50:45 UTC
- Version Tag: v0.5.1
- By: github-actions[bot]
- On GitHub: lightninglabs/taproot-assets/releases
Database Migrations
tapd
v0.5.1
contains non-revertible database migrations. After runningtapd
v0.5.1
, these database migrations prevent downgradingtapd
to a previous release. Create backups oftapd
database state, before upgrading totapd
v0.5.1
. Please report any database migration issues.Breaking changes between 0.4.x and 0.5.x
Downstream Projects -
litd
litd
v0.14.x-alpha
enhancements require both channel peers to upgrade to alitd
version>= v0.14.0-alpha
to continue Lightning Channel functionality. See upgrade instructions below if you opened Asset channels with such an experimental version.
tapd
v0.5.x
changesOracle RPC: The RPC protobuf definitions for the Price Oracle have changed. Asset exchange rates are now expressed as
FixedPoint
to achieve better precision. The rationale for the change and the new math behind it are described in the new RFQ document. Code examples for a Price Oracle server are available here.Configuration changes: The configuration value (
universe.public-access
) and command line flag (--universe.public-access
) now needs a value and is no longer a boolean. The value now controls whether the node's universe database can be accessed over RPC and either read (valuer
) or written to (valuew
) or both (valuerw
). So existing nodes with the configuration file valueuniverse.public-access=true
need to change the value touniverse.public-access=rw
. Users specifying the command line flag--universe.public-access
just need to append a value, for example--universe.public-access=rw
.⚠️ CRITICAL INSTRUCTIONS ⚠️:
Required-upgrade path for existing
litd
installations:To avoid loss of channel funds: Any
litd
node which ran Taproot Asset channels using anylitd
v0.13.9xx-experimental
versions MUST FOLLOW all of the following procedures:litd
v0.14.0-alpha
enhancements require both channel peers to upgrade to alitd
version>= v0.14.0-alpha
to continue Lightning Channel functionality. If one channel peer is runninglitd
version<= v0.13.9xx-experimental
channel operations are are NOT forwards compatible with litdv0.14.x-alpha
versions. * All Taproot-Asset Lightning channels created usinglitd
version <=,v0.13.9xx-experimental
must be cooperatively closed before upgrading tov0.14.x-alpha
. * Channel Closure instructions * Monitor status oflncli pendingchannels
: Ensure pending_htlcs response is empty before progressing Example:lncli listchannels | jq '.channels[] | select(.pending_htlcs != [])'
* Avoid force closing the channels. If there are pending/in-flight HTLCs, wait for HTLCs to be resolved. * Once all channels are fully closed (e.g.lncli pendingchannels
is empty), both nodes must be upgraded to the newv0.14.0-alpha
version before new channels can be opened. Please coordinate the upgrade with your peer if you're not operating both nodes. * Daemon installations which exclusively contain Taproot Assets on-chain outputs that are not contained within lightning channels, are not required to follow this upgrade path. Anything mentioned above only relates to assets in channels. Normal on-chain assets are not affected.Verifying the Release
In order to verify the release, you'll need to have
gpg
orgpg2
installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
curl https://raw.githubusercontent.com/lightninglabs/taproot-assets/main/scripts/keys/roasbeef.asc | gpg --import
Once you have the required PGP keys, you can verify the release (assuming
manifest-roasbeef-v0.5.1.sig
andmanifest-v0.5.1.txt
are in the current directory) with:
gpg --verify manifest-roasbeef-v0.5.1.sig manifest-v0.5.1.txt
You should see the following if the verification was successful:
gpg: Signature made Wed Sep 30 17:35:20 2020 PDT gpg: using RSA key 60A1FA7DA5BFF08BDCBBE7903BBD59E99B280306 gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]
That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the
sha256
hash of the archive withshasum -a 256 <filename>
, compare it with the corresponding one in the manifest file, and ensure they match exactly.Verifying the Release Timestamp
In addition to time-stamping the git tag with OpenTimestamps, we also timestamp the manifest file along with its signature. Two files are included in our release artifacts:
manifest-roasbeef-v0.5.1.sig.ots
andmanifest-v0.5.1.txt.ots
.Assuming you have the opentimestamps client installed locally, the timestamps can be verified with the following commands:
ots verify manifest-roasbeef-v0.5.1.sig.ots -f manifest-roasbeef-v0.5.1.sig ots verify manifest-v0.5.1.txt.ots -f manifest-v0.5.1.txt
Alternatively, the OpenTimestamps website can be used to verify these timestamps if one doesn't have a
bitcoind
instance accessible locally.Assuming you are using the OpenTimestamps
ots-git-gpg-wrapper
you can verify the timestamp of the git tag by verifying the tag as explained in Verifying the Release Binaries.These timestamps should give users confidence in the integrity of this release even after the key that signed the release expires.
Verifying the Release Binaries
Our release binaries are fully reproducible. Third parties are able to verify that the release binaries were produced properly without having to trust the release manager(s). See our reproducible builds guide for how this can be achieved. The release binaries are compiled with
go1.22.6
, which is required by verifiers to arrive at the same ones.The
make release
command can be used to ensure one rebuilds with all the same flags used for the release. If one wishes to build for only a single platform, thenmake release sys=<OS-ARCH> tag=<tag>
can be used.Finally, you can also verify the tag itself with the following command:
$ git verify-tag v0.5.1 gpg: Signature made Tue Sep 15 18:55:00 2020 PDT gpg: using RSA key 60A1FA7DA5BFF08BDCBBE7903BBD59E99B280306 gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]
Verifying the Docker Images
To verify the
tapd
andtapcli
binaries inside the docker images against the signed, reproducible release binaries, there is a verification script in the image that can be called (before starting the container for example):
shell $ docker run --rm --entrypoint="" lightninglabs/taproot-assets:v0.5.1 /verify-install.sh v0.5.1 $ OK=$? $ if [ "$OK" -ne "0" ]; then echo "Verification failed!"; exit 1; done $ docker run lightninglabs/taproot-assets [command-line options]
Building the Contained Release
Users are able to rebuild the target release themselves without having to fetch any of the dependencies. In order to do so, assuming that
vendor.tar.gz
andtapd-source-v0.5.1.tar.gz
are in the current directory, follow these steps:
tar -xvzf vendor.tar.gz tar -xvzf tapd-source-v0.5.1.tar.gz GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/lightninglabs/taproot-assets/build.Commit=v0.5.1" ./cmd/tapd GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/lightninglabs/taproot-assets/build.Commit=v0.5.1" ./cmd/tapcli
The
-mod=vendor
flag tells thego build
command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.Additionally, it's now possible to use the enclosed
release.sh
script to bundle a release for a specific system like so:
make release sys="linux-arm64 darwin-amd64"
⚡️⚡️⚡️ OK, now to the rest of the release notes! ⚡️⚡️⚡️
Release Notes (auto generated)
What's Changed
- Improve logging by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1269
- refactor: using slices.Contains to simplify the code by @zhoufanjin in https://github.com/lightninglabs/taproot-assets/pull/1283
- GitHub: update tapd's CI litd branch to testing target by @dstadulis in https://github.com/lightninglabs/taproot-assets/pull/1291
- tapdb: thread through enabled flag correctly by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1296
- build(deps): bump the go_modules group across 2 directories with 1 update by @dependabot in https://github.com/lightninglabs/taproot-assets/pull/1292
- universe: improve logging for single asset sync attempt by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1294
- tapcfg: read multiverse cache from cfg instead of using default by @Roasbeef in https://github.com/lightninglabs/taproot-assets/pull/1297
- chore: fix some function names in comment by @crystalstall in https://github.com/lightninglabs/taproot-assets/pull/1273
- Part 1: Asset Minting with V1 Asset Group Key and Chantools Cold Storage Support by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1272
- Add unit test for method ExternalKey.PubKey by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1284
- multi: add new v2 version of GKR based on Pedersen commitments by @Roasbeef in https://github.com/lightninglabs/taproot-assets/pull/1290
- github-ci: bump upload-artifact@v3 to @v4 by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1303
- Remove
.fail
files and update.gitignore
by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1307 - Add Logging to Diagnose Flaky CI PostgreSQL Integration Test by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1308
- SealBatch RPC endpoint accepts signed group PSBT by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1295
- Support minting on Ledger signing device by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1301
- tapdb: fix performance of aggregate stats by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1310
- monitoring: export collector timeout as prometheus config by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1300
- Aggregate Universe Stats: always store result of querySyncStats by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1302
- version: bump version to v0.5.1-alpha.rc1 by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1314
- PoC: CLI parsing for itest tapd harness queries by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1311
- Invoice Acceptor: ensure asset ID match between RFQ and HTLC by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1299
- gitignore: add rule to ignore btcd-itest log files by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1320
- Cleanup Asset Minting Code in Preparation for Universe Commitments by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1324
- Consolidate RPC Client Interfaces by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1323
- rfqmsg: detect asset related custom records correctly by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1322
- universe: sync "missing universe id" when syncing unknown asset ID by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1316
- tapchannel: detect asset related custom records correctly by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1330
- tapchannel: add new IsCustomHTLC method to aux traffic shaper by @Roasbeef in https://github.com/lightninglabs/taproot-assets/pull/1334
- server+tapchannel: move IsCustomHTLC method by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1336
- build: bump version to v0.5.1-rc2 by @Roasbeef in https://github.com/lightninglabs/taproot-assets/pull/1333
- proof+tapdb: refactor and fix TLV unknown odd types bug for backward compatibility by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1337
- tapd: fix mutex deadlock in universe cache by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1338
- tapchannel: add specifier in property test rfq generator by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1339
- version: bump version to v0.5.1-rc3 by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1340
- tapdb: fixes another issue with the syncer cache by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1345
- Add
mintV2
loadtest by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1285 - Fee calculation rounding in wallet anchor by @gijswijs in https://github.com/lightninglabs/taproot-assets/pull/1354
- rfq: reduce min expiry to 10 seconds by @Roasbeef in https://github.com/lightninglabs/taproot-assets/pull/1353
- Refactor GroupKey unit tests. by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1350
- Add loadtest
sendV2
by @GeorgeTsagk in https://github.com/lightninglabs/taproot-assets/pull/1331 - make+itest: don't use locally installed chantools by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1371
- proof: add new universe commitment TLV fields to asset meta reveal by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1335
- taprpc: Add new taprpc.RegisterTransfer RPC as a safe alternative to devrpc.ImportProof by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1364
- scripts: exclude ./itest/chantools from YAML Go version linter by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1375
- RFQ accept price qualify bug by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1365
- rfqmath: Improve WithinTolerance doc and handle zero coefficient edge case by @ffranr in https://github.com/lightninglabs/taproot-assets/pull/1377
- version: bump version to v0.5.1 final by @guggero in https://github.com/lightninglabs/taproot-assets/pull/1379
New Contributors
- @zhoufanjin made their first contribution in https://github.com/lightninglabs/taproot-assets/pull/1283
- @crystalstall made their first contribution in https://github.com/lightninglabs/taproot-assets/pull/1273
Full Changelog: https://github.com/lightninglabs/taproot-assets/compare/v0.5.0...v0.5.1
Data updated on: 2025-04-24 22:33 UTC