Modules§
- timeout 🔒
Structs§
Constants§
- DEFAULT_
CHANNEL_ SIZE - DEPOSIT_
FINALIZATION_ TIMEOUT - DEPOSIT_
FINALIZE_ STREAM_ CREATION_ TIMEOUT - ENTITY_
COMP_ DATA_ POLL_ TIMEOUT - ENTITY_
STATUS_ POLL_ TIMEOUT - KEY_
DISTRIBUTION_ TIMEOUT - MAX_
ALL_ SESSIONS_ BYTES - The maximum number of bytes that can be used by all nonce sessions. If it exceeds this limit, the verifier will delete the oldest nonce sessions. This limit is approximate, because it doesn’t take into account the internal extra bytes used in HashMap and VecDeque used in the AllSessions. It only takes into account bytes used for the secnonces.
- MAX_
BYTES_ PER_ WINTERNITZ_ KEY - The maximum number of bytes per Winternitz key.
- MAX_
EXTRA_ WATCHTOWERS - Maximum extra watchtowers that can be added to the deposit (in addition to verifiers). It is limited because each extra watchtower requires 2 additional utxos in the kickoff tx.
- MAX_
NUM_ SESSIONS - The maximum number of nonce sessions that can be stored in the verifier. It is used so that the allsessions do not store too many small (1 nonce) sessions.
- MAX_
SCRIPT_ REPLACEMENT_ OPERATIONS - The maximum number of script replacement operations allowed in a single BitVM operation. This is a safeguard to prevent excessive resource usage and ensure that the BitVM protocol remains efficient and manageable. The limit is set to 100,000 operations, which is a reasonable upper bound for script replacement operations in the context of BitVM, which is normally a constant equal to 47544.
- MAX_
WINTERNITZ_ DIGITS_ PER_ KEY - The maximum number of Winternitz digits per key. This is used to limit the size of the Winternitz public keys in the protocol to prevent excessive memory usage and ensure efficient processing. This value is achieved when signing a 32-byte message with a Winternitz key, resulting in a maximum of 64 + 4 digits per key, where the last 4 digits are used for the sum-check operation.
- MIN_
TAPROOT_ AMOUNT - The minimum possible amount that a UTXO can have when created into a Taproot address.
- NONCE_
STREAM_ CREATION_ TIMEOUT - NON_
EPHEMERAL_ ANCHOR_ AMOUNT - The amount of the non-ephemeral P2A anchor output.
- NON_
STANDARD_ V3 - NUM_
NONCES_ LIMIT - The maximum number of nonces that can be generated in a single nonce generation session. A single nonce takes 132 (musig2 secret nonce) bytes. We calculate NUM_NONCES so that a nonce session takes at maximum 150MB.
- OPERATOR_
GET_ KEYS_ TIMEOUT - OPERATOR_
SIGS_ STREAM_ CREATION_ TIMEOUT - OPERATOR_
SIGS_ TIMEOUT - OPTIMISTIC_
PAYOUT_ TIMEOUT - OVERALL_
DEPOSIT_ TIMEOUT - PARTIAL_
SIG_ STREAM_ CREATION_ TIMEOUT - PIPELINE_
COMPLETION_ TIMEOUT - PUBLIC_
KEY_ COLLECTION_ TIMEOUT - RESTART_
BACKGROUND_ TASKS_ TIMEOUT - SEND_
OPERATOR_ SIGS_ TIMEOUT - SETUP_
COMPLETION_ TIMEOUT - TEN_
MINUTES_ IN_ SECS - VERIFIER_
SEND_ KEYS_ TIMEOUT - WITHDRAWAL_
TIMEOUT