Database Migrations
Note that downgrading from v0.7.0 to previous tapd versions is not presently supported. You should create backups of tapd database state before upgrading to tapd v0.7.0.
Verifying the Release
In order to verify the release, you'll need to have gpg or gpg2 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.7.0.sig and manifest-v0.7.0.txt are in the current directory) with:
gpg --verify manifest-roasbeef-v0.7.0.sig manifest-v0.7.0.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 with shasum -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.7.0.sig.ots and manifest-v0.7.0.txt.ots.
Assuming you have the opentimestamps client installed locally, the timestamps can be verified with the following commands:
ots verify manifest-roasbeef-v0.7.0.sig.ots -f manifest-roasbeef-v0.7.0.sig
ots verify manifest-v0.7.0.txt.ots -f manifest-v0.7.0.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.24.9, 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, then make 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.7.0
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 and tapcli 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):
$ docker run --rm --entrypoint="" lightninglabs/taproot-assets:v0.7.0 /verify-install.sh v0.7.0
$ 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 and tapd-source-v0.7.0.tar.gz are in the current directory, follow these steps:
tar -xvzf vendor.tar.gz
tar -xvzf tapd-source-v0.7.0.tar.gz
go install -v -mod=vendor -ldflags "-X github.com/lightninglabs/taproot-assets/build.Commit=v0.7.0" ./cmd/tapd
go install -v -mod=vendor -ldflags "-X github.com/lightninglabs/taproot-assets/build.Commit=v0.7.0" ./cmd/tapcli
The -mod=vendor flag tells the go 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 (curated)
See the in-repo release notes for a detailed list of high-level changes made since v0.6.1.
Release Notes (auto-generated)
What's Changed
- [group key addrs 1/?]: add new authmailbox RPC server and client by @guggero in #1502
- universe: use correct ID comparison for sync config by @guggero in #1610
- Improve robustness of
GenGroupAnchorVerifierwith anchor checks by @ffranr in #1602 - universe/supplycommit: create new state machine responsible for maintaining the supply commitment for an asset by @Roasbeef in #1464
- Refactor: Split Pre-Commitment Logic to Support New Asset Groups by @ffranr in #1589
- [group key addrs 3/5]: misc refactor by @guggero in #1611
- tapdb: retroactively insert old asset burns into burn table by @guggero in #1612
- CI: fix litd itest by @guggero in #1615
- [group key addrs 2/5]: internal/ecies: add encrypt/decrypt with ECIES by @guggero in #1512
- tapdb: add implementation of supplycommit.SupplyTreeView by @Roasbeef in #1507
- [group key addrs 4/5]: implement mailbox server and message store database by @guggero in #1614
- ecies: add version byte prefix to encoding format by @ffranr in #1619
- tapfreighter+itest: store change script key to DB by @guggero in #1620
- tapdb: add implementation of supplycommit.CommitmentTracker and supplycommit.StateMachineStore by @Roasbeef in #1508
- build(deps): bump the go_modules group across 4 directories with 1 update by @dependabot[bot] in #1624
- tapdb: sanitize db errors before returning by @Roasbeef in #1630
- tapdb: support delegation key and universe commitment flag in seedlings by @ffranr in #1638
- [group key addrs 5/6]: Add Pedersen unique script key type by @guggero in #1621
- mod+server: update to lnd v0.19.2-beta.rc2, taprpc to v1.0.9 by @guggero in #1644
- itest: run in parallel, fix local flake by @guggero in #1641
- itest: convert AssertBalanceByID to eventually-style call by @ffranr in #1651
- universe: fix asset stats being extremely slow by @guggero in #1650
- server+tapchannel: fix deadlock potential, queue msgs by @guggero in #1652
- tapchannel: add a one unit extra tolerance to invoice acceptor by @GeorgeTsagk in #1639
AddInvoicecorrectly handles existing route hints by @GeorgeTsagk in #1627- supplycommit: add MultiStateMachineManager for managing group state machines by @ffranr in #1643
- Bump LND out of RC and fix CLI short name by @ffranr in #1657
- Bugfix supply commit state machine by @ffranr in #1655
- Refactor: move LND-related services into new
lndservicespackage by @ffranr in #1668 - [group key addrs 6/7]: bug fixes and refactors by @guggero in #1658
- RPC: Add Ignore Tree Endpoints by @ffranr in #1554
- ci: fix litd itest by @guggero in #1671
- universe+tapdb: add new
block_heightfield touniverse_leavesuse that to implement block height based supply tree queries by @Roasbeef in #1596 - docs: add release notes template, add entries for v0.6.1 and v0.7.0 by @guggero in #1679
- mint: rename universe commit terminology to supply commit for consistency by @ffranr in #1682
- Fix AuxInvoiceManager prop tests by @GeorgeTsagk in #1672
- multi: allow supply commit state machine to accept pending updates during state transition by @Roasbeef in #1609
- Add Multi-RFQ Send by @GeorgeTsagk in #1613
- rpc+tapdb+tapfreighter: Add historical send event streaming with database-level filtering by @bhandras in #1685
- proof: return early if mailbox is nil. by @guggero in #1689
- taprpc: update API documentation by @guggero in #1688
- cli: add missing
assets removeleasecommand, fix default value for balances by @guggero in #1690 - Improve grouped asset UX for onchain and offchain balances by @guggero in #1691
- tapfreighter: simplify ChainPorter state machine and fix itest flake by @ffranr in #1696
- universe: improve robustness of proof leaf sync by @ffranr in #1698
- itest: fix flakes by @guggero in #1705
- scripts: update ffranr release signing key by @ffranr in #1709
- [group key addrs 7/7]: send and receive support for V2 addresses by @guggero in #1587
- Use nonce as HKDF salt and protocol name as info in ECIES encryption by @ffranr in #1669
- universerpc: add FetchSupplyLeaves RPC for verifier sync by @ffranr in #1693
- universe: emit SyncDiffEvent and add event subscription support to SimpleSyncer by @ffranr in #1702
- mod: update Golang version to v1.23.12 to fix potential SQL bug by @guggero in #1713
- itest: fix flake in address v2 test by @guggero in #1715
- itest: increase proof courier timeout by @guggero in #1711
- address: clean up code, don't encode asset ID if all zeroes by @guggero in #1719
- itest: add test case for chain re-org with V2 addresses by @guggero in #1718
- cmd: asset list to correctly filter on and display anchor txid by @bhandras in #1734
- rpcserver: return early on rejected quote by @GeorgeTsagk in #1640
- universe/supplycommit: add done channel to enable sync processing of events by @Roasbeef in #1729
- Use new NoopAddHtlc TLV when sending assets with default above-dust anchor amt by @GeorgeTsagk in #1567
- Rename RPCS subsystem to TRPC by @jtobin in #1744
- price oracle: add intent, optional peer_id and metadata to
QueryAssetRatesRPC by @guggero in #1677 - bugfix: fix two long-existing edge case bugs by @guggero in #1741
- internal/test: don't use dns for mock servers by @jtobin in #1747
- proof: implement and hook up ignore checker by @guggero in #1716
- docs/debug-handbook: create new debug run books for developers to help pattern match common issues and knowledge by @Roasbeef in #1739
- tapgarden: reduce flakiness in TestBatchedAssetIssuance by @ffranr in #1771
- fn: fix loop var capture and clarify naming in
ParSliceErrCollectby @ffranr in #1772 - rfqrpc+rpcserver: fix peer_pub_key doc and simplify comments by @ffranr in #1774
- multi: hook up burn and mint events to the supply commit state machine by @Roasbeef in #1675
- Invoice manager tolerance tweaks by @GeorgeTsagk in #1673
- multi: increase commitment v0/v1/v2 unit test coverage by @guggero in #1755
- build(deps): bump the go_modules group across 4 directories with 1 update by @dependabot[bot] in #1756
- docs: add generated and reviewed developer deep-dive docs by @guggero in #1759
- server: enable ExtraBudgetForInputs to be called before full server start up by @Roasbeef in #1780
- supplyverifier: add push syncer and universe server verification by @ffranr in #1674
- supplyverifier: store and verify non-issuer supply pre-commitments by @ffranr in #1784
- supplyverifier: add pull syncer and non-universe node verification by @ffranr in #1777
- universe/supplyverifier: add logging and readme by @Roasbeef in #1792
- build: bump version to v0.7.0 rc1 by @Roasbeef in #1793
- rpc: update new supply commit calls to use the global universe server rate limiter by @Roasbeef in #1785
- tapd: add universe.disable-supply-verifier-chain-watch config flag by @ffranr in #1796
- tools: migrate linter config to v2 by @jtobin in #1790
- tapd: bump maxFeeRatio for funded psbts by @GeorgeTsagk in #1545
- scripts: add jtobin release signing key by @jtobin in #1798
- Mark pre-commit outputs spent on supply insert in
supplyverifierby @ffranr in #1797 - scripts: add darioanongba signing key by @darioAnongba in #1803
- scripts: signing key maintenance by @jtobin in #1806
- supplycommit+rpcserver: move ignore asset logic from RPC server to supplycommit pkg by @ffranr in #1801
- rfq+taprpc: add asset ID and group key to
PeerAccepted[Buy/Sell]Quoteby @ffranr in #1805 - allow building taprpc by itself by @ZZiigguurraatt in #1789
- gemini: add config and style guidelines by @Roasbeef in #1804
- Bump go to v1.24.6 by @GeorgeTsagk in #1815
- cmd: add locator args to supplycommit fetch by @jtobin in #1819
- tapdb: fix flaky
TestQueryMessagesdue to close timestamps by @ffranr in #1816 - itest: introduce
rpcassertpackage with RPC helpers to reduce flakes by @ffranr in #1799 - cli: include unset and zero-valued proto fields in JSON output by @ffranr in #1821
- Filter AddrReceives by timestamp by @darioAnongba in #1794
- Add support for fetching latest supply commitment via new locator type by @ffranr in #1823
- itest: fix address receives test: timestamp in the future by @darioAnongba in #1828
- taprpc: upgrade falafel to v0.9.2 by @darioAnongba in #1827
- Full asset burn by @darioAnongba in #1791
- tapgarden: harden
MockKeyRingand fix flakyqueueSeedlingsInBatchtest by @ffranr in #1824 - universerpc+itest: add and verify string outpoint in SupplyCommitChainData by @ffranr in #1822
- Extract supply pre-commits from mint leaves during supply verifier sync by @ffranr in #1820
- docs: add docs that detail the asset chan funding process by @Roasbeef in #1783
- docs: add docs on e2e RFQ arch by @Roasbeef in #1787
- taprpc+itest: whitelist
FetchSupplyLeavesRPC and add integration test by @ffranr in #1829 - Add block header support to supply RPCs and related integration tests by @ffranr in #1839
- tapdb: error on dirty database versions by @ViktorT-11 in #1826
- proof+tapsend: sanity-check STXO proof structure at creation time by @ffranr in #1836
- rfq+server: properly configure gRPC keep alive settings for client+server by @Roasbeef in #1834
- Feature bits by @GeorgeTsagk in #1748
- Prepare tap channels for v1 proofs by @GeorgeTsagk in #1779
- githubci: update Litd itest branch by @GeorgeTsagk in #1852
- Improve troubleshooting logs for bug reports 1845 and 1850 by @ffranr in #1853
- rpcserver: NewAddr universal courier connectivity check, offline skip, and local asset precheck by @ffranr in #1854
- build: bump version to v0.7.0-rc2 by @jtobin in #1851
- scripts/keys: update roasbeef keys with new expiry by @Roasbeef in #1856
- itest: limit asset lists when minting and asserting mints by @jtobin in #1842
- proof: expand validation logging for inclusion/exclusion proofs by @ffranr in #1866
- Improve proof transfer logging and adjust log levels for clearer diagnostics by @ffranr in #1871
- go.mod: bump lnd@v0.20.0-beta; bump lndclient@v0.20.0-5 by @ffranr in #1861
- build: bump version to v0.7.0 by @ffranr in #1873
New Contributors
- @jtobin made their first contribution in #1744
- @ZZiigguurraatt made their first contribution in #1789
- @darioAnongba make their first contribution in #1794
Full Changelog: v0.6.0...v0.7.0