/** * Bitcoin Network Protocol Constants * * These constants define Bitcoin network parameters used by the protocol * for UTXO validation and security. * * CRITICAL: Changes to these values affect Bitcoin security guarantees. */ /** * Maximum BTC Amount Validation * * Maximum reasonable BTC amount in satoshis. * Value: 25,000,000 BTC * 1e8 satoshis = 2.5e15 satoshis * * Bitcoin total supply is 21M BTC. Setting to 25M provides safety margin * to account for future protocol needs while preventing overflow attacks. * * This validation prevents: * - Malicious/corrupted data from oracle manipulation * - Integer overflow attacks * - Unrealistic balance claims * * Governance-adjustable: YES (requires contract upgrade) */ export declare const MAX_BTC_AMOUNT: number; /** * BTC/USD Price Validation Bounds * * Acceptable range for BTC price in oracle 8-decimal format. * Values outside this range indicate oracle manipulation or stale data. * * MIN: $10,000 (protective floor — BTC has never traded below this in protocol's lifetime) * MAX: $1,000,000 (protective ceiling — safeguard against oracle inflation attacks) * * Governance-adjustable: YES (requires review of oracle security model) */ export declare const BTC_PRICE_MIN_USD = 1000000000000n; export declare const BTC_PRICE_MAX_USD = 100000000000000n; /** * Bitcoin Dust Limit (satoshis) * * Standard dust threshold for P2PKH outputs (546 satoshis). * Outputs below this amount are non-standard and may be rejected by the Bitcoin network. * * Governance-adjustable: NO (Bitcoin network protocol rule) */ export declare const BITCOIN_DUST_LIMIT_SATS = 546n; /** * Bitcoin Transaction Fee Bounds (satoshis) * * MIN is the floor for any protocol Bitcoin transaction. MAX_BTC_FEE_SATS is a * FLAT absolute ceiling still used by the fixed-size single-purpose actions * (btc-utxo-invalidator, stale-spend-recovery-validator). The variable-size * WITHDRAWAL path does NOT use MAX_BTC_FEE_SATS — a flat cap is an implicit * fee-rate ceiling that shrinks as inputs grow, blocking large consolidations; * it uses the size-aware bound in `modules/bitcoin/fee.ts` instead. * * Adjustability: these are Lit Action constants — changing a value requires a * bundle rebundle + CID rotation ceremony (NOT a runtime/governance toggle). */ export declare const MIN_BTC_FEE_SATS = 100; export declare const MAX_BTC_FEE_SATS = 100000; /** * UTXO Query Retry Parameters * * Number of attempts and delay between retries when querying UTXOs from * the Bitcoin data provider. Applied uniformly across all retry loops. * * Governance-adjustable: NO (operational tuning constant) */ export declare const UTXO_QUERY_MAX_RETRIES = 3; export declare const UTXO_QUERY_RETRY_DELAY_MS = 500; //# sourceMappingURL=bitcoin.d.ts.map