Buckets:

download
raw
991 Bytes
import pytest
from .helpers import (
get_hold_invoice,
get_real_invoice,
get_real_invoice_noroute,
is_boltz_wallet,
sync_boltz_liquid_chain,
)
@pytest.fixture
def sync_boltz_wallet():
if is_boltz_wallet:
sync_boltz_liquid_chain()
@pytest.fixture(scope="function")
async def hold_invoice(sync_boltz_wallet):
invoice = get_hold_invoice(100)
yield invoice
del invoice
@pytest.fixture(scope="function")
async def real_invoice(sync_boltz_wallet):
invoice = get_real_invoice(100)
yield {"bolt11": invoice["payment_request"]}
del invoice
@pytest.fixture(scope="function")
async def real_amountless_invoice():
invoice = get_real_invoice(0)
yield invoice["payment_request"]
del invoice
@pytest.fixture(scope="function")
async def real_invoice_noroute():
invoice = get_real_invoice_noroute(100)
yield {
"bolt11": invoice["payment_request"],
"payment_hash": invoice["r_hash"],
}
del invoice

Xet Storage Details

Size:
991 Bytes
·
Xet hash:
580bc4a6cd9a945dc07bc46aab117305fc39dee96a03795bd400d68b89e362f7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.