Skip to content

v0.52.0

Compare
Choose a tag to compare
@digorithm digorithm released this 28 Nov 00:55
· 176 commits to master since this release
721d0f5

What's Changed

Full Changelog: v0.51.0...v0.52.0

Breaking changes

  • ScriptTransactionBuilder and CreateTransactionBuilder do not have with_maturity and with_gas_price, (with_gas_limit). They are set through the with_tx_policies method;
  • Maturity is not set to 0 by default - instead, we use an Option<u64> and None if it was not set. This saves bytes as it is not serialized if None;
  • WitnessLimit is set to the size of all witnesses in the builder. If the user uses append_witnesses after finalizing the transaction, a new error will be returned that helps the user set the witness limit manually.