mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
Call setLastHeightChecked() in watchXmrSwap()
Remove old notes and config. New html template for XMR bids. Check the mempool for lock spend txid. Retry sepnding coin B lock tx.
This commit is contained in:
@@ -12,7 +12,7 @@ from sqlalchemy.ext.declarative import declarative_base
|
||||
from enum import IntEnum, auto
|
||||
|
||||
|
||||
CURRENT_DB_VERSION = 3
|
||||
CURRENT_DB_VERSION = 4
|
||||
Base = declarative_base()
|
||||
|
||||
|
||||
@@ -317,7 +317,8 @@ class XmrSwap(Base):
|
||||
|
||||
b_lock_tx_id = sa.Column(sa.LargeBinary)
|
||||
|
||||
b_restore_height = sa.Column(sa.Integer) # Height of xmr chain before the swap
|
||||
start_chain_a_height = sa.Column(sa.Integer) # Height of script chain before the swap
|
||||
b_restore_height = sa.Column(sa.Integer) # Height of scriptless chain before the swap
|
||||
|
||||
|
||||
class XmrSplitData(Base):
|
||||
@@ -331,6 +332,16 @@ class XmrSplitData(Base):
|
||||
created_at = sa.Column(sa.BigInteger)
|
||||
|
||||
|
||||
class RevokedMessage(Base):
|
||||
__tablename__ = 'revoked_messages'
|
||||
|
||||
record_id = sa.Column(sa.Integer, primary_key=True, autoincrement=True)
|
||||
active_ind = sa.Column(sa.Integer)
|
||||
msg_id = sa.Column(sa.LargeBinary)
|
||||
created_at = sa.Column(sa.BigInteger)
|
||||
expires_at = sa.Column(sa.BigInteger)
|
||||
|
||||
|
||||
class TableTypes(IntEnum):
|
||||
OFFER = auto()
|
||||
BID = auto()
|
||||
|
||||
Reference in New Issue
Block a user