Repository navigation
What's Changed
- Handle allocations the main transition cannot move: state of the paid contract which the transition type being built cannot carry, and additional rights on the same seal beyond the single one a void invoice asks for, are now moved by extra transitions instead of being dropped. Composing a payment returns those leftovers alongside the main transition
- Add
RgbPsbt::push_rgb_transitions, which checks a whole batch of transitions in memory before writing it.push_rgb_transitionset each input's consumer separately, deserializing and re-serializing the contract's entire consumer map every time, which is quadratic in the number of inputs and takes hours withu16inputs. Pushing transitions one at a time is quadratic in their number too, so spending a UTXO holdingu16allocations, each moved by its own single-input transition, took well over 15 minutes. AddRgbPsbtError::DoubleSpendfor a batch that spends the same opout twice - Decode each transition only once when building PSBT bundles:
rgb_bundlesdecoded a transition from the PSBT once per input it spends, which is quadratic in the number of inputs, so committing a transition withu16inputs took hours - CLI: drop terminals from consignment inspection, following their removal in
rgb-ops, and rewrite the NIA transfer test fixture without them - Update
rgb-strict-encodingandrgb-strict-typesto 1.0.6, andrgb-opsto 0.11.2-rc.2 - Replace the retired
macos-14CI runner withmacos-15
Full Changelog: 0.11.2-rc.1...0.11.2-rc.2