All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- support for
no-std
- option to skip channel checks
- possibility to pass oracle announcements when offering a contract
- possibility to manually close contract
- possibility to manally handle counter party closing of contract
get_new_change_address
forWallet
trait- ability to reject channel offers
- reject contract and channel offers when the id already exists
- implement
std::error::Error
forError
structs - update bitcoin, lightning and secp256k1_zkp dependencies
fee_rate
parameter is not optional anymore inget_utxo_for_amount
ofWallet
traitSigner::sign_tx_input
changed toSigner::sign_psbt_input
- Use a
ContractSignerProvider
for generating signers for contracts - Remove usage of
global-context
feature of secp256k1_zkp
- validation of hyperbola parameters
- ensure that payouts are not rounded up above the collateral
- load channel monitor from storage when it exists
- floating point arithmetic triggering payout computation errors
- overflow bug in payout curve
- added timeout on
RenewOffer
state - issue with channel protocol
- support for DLC channels
- remove event maturity from
ContractInput
. The maturity is now computed from the oracle event information. - closed contract data is now pruned geatly reducing storage usage.
- better validation of rounding intervals
- better validation of
ContractInput
and contract offers.
Contract
enum now has aPre-Closed
state.dlc
crate version update.
parallel
feature for computing anticipation points in parallel.- signing of transaction inputs was added to the
Wallet
trait. - support for contracts with multi oracle with varying number of digits.
- serialization format was changed according to update of the DLC specifications.
- improved validation of payout curves.
- validation of node id on manager callbacks.
- validation of received contract offers.
- computation of contract id according to the DLC specifications.
- conversion of hyperbola curves.