squeaknode/squeakserver/core/offer.py
2020-09-26 01:51:41 -07:00

21 lines
392 B
Python

from collections import namedtuple
Offer = namedtuple(
"Offer",
[
"offer_id",
"squeak_hash",
"key_cipher",
"iv",
"price_msat",
"payment_hash",
"invoice_timestamp",
"invoice_expiry",
"payment_request",
"destination",
"node_host",
"node_port",
"proof",
"peer_id",
],
)