Update to latest engine. Add sync-v2. Various fixes.

This commit is contained in:
2026-09-07 03:33:44 +00:00
parent 051fc0c9ac
commit f01f9bc56b
31 changed files with 5977 additions and 1392 deletions
@@ -14,9 +14,6 @@ import { useSatoshisConversion } from '../../../../hooks/useSatoshisConversion.j
import { useLayeredInput } from '../../../../hooks/useInputLayer.js';
import type { ReviewStepProps, SelectableUTXO } from '../types.js';
/** Default fee estimate in satoshis. */
const DEFAULT_FEE = 500n;
/** Dust threshold — outputs below this are unspendable. */
const DUST_THRESHOLD = 546n;
@@ -27,6 +24,7 @@ export function ReviewStep({
selectedInputs,
requiredAmount,
changeAmount,
fee,
onComplete,
onCancel,
isActive,
@@ -35,7 +33,6 @@ export function ReviewStep({
const [error, setError] = useState<string | null>(null);
const { formatSatoshisToFiat } = useSatoshisConversion();
const fee = DEFAULT_FEE;
const action = template?.actions?.[invitation.data.actionIdentifier];
// Compute totals from selected inputs