From a0141fd3c0bba89be78877898e28119127876e9a Mon Sep 17 00:00:00 2001 From: ai-bot Date: Mon, 16 Nov 2026 19:03:20 +0000 Subject: [PATCH] Require a destination and say the bank is a side --- docs/spec.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/spec.md b/docs/spec.md index ca02118..2c48cb0 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -708,9 +708,9 @@ For `admin_cost`, the amount is sent as `leg_out_ore`, `market_id` must be absen `lot_picks` are rejected, and a fee is rejected; the server stores the bank of §3.11 and the matching `leg_in_ore` itself. -For a `transfer_out`, exactly one of `leg_out_sats` and `leg_out_ore` is sent. `to_market_id` is -required when the amount is in sats; it may be absent when the amount is in kroner, which is a -withdrawal, and then no `transfer_in` is generated. +For a `transfer_out`, exactly one of `leg_out_sats` and `leg_out_ore` is sent, and `to_market_id` +is always required. With sats both sides are real accounts; with kroner the bank of §3.11 is +either the `market_id` or the `to_market_id`. Every transaction object carries `btc_price_ore`: the price of §7.3 in øre per whole BTC, or null when the type has no price. For a `transfer_out` it is worked out from the consumed lots