Skip to main content

SOURCE

Constant SOURCE 

Source
pub const SOURCE: &str = ";; -*- mode: lisp -*-\n;; Host-dependent nomiscript prelude (ADR-0029). Loaded ONLY on the rpc\n;; Session path, AFTER register_host_fns \u{2014} these helpers call RPC host fns\n;; (list-splits-by-transaction, transaction-id, ...) that do not exist in a\n;; bare SymbolTable, so they cannot live in the universal prelude. DEFUN-only.\n;;\n;; split:list-for-transaction is the ergonomic, entity-taking wrapper the\n;; Metro tagging sample uses: it takes a transaction ENTITY and returns that\n;; transaction\'s splits, hiding the transaction-id string plumbing.\n\n(defun split:list-for-transaction (tx)\n  (list-splits-by-transaction (transaction-id tx)))\n";
Expand description

The host-prelude nomiscript source (DEFUN-only).