basicswap_miserver/basicswap/interface_nmc.py

19 lines
538 B
Python
Raw Normal View History

2020-11-07 11:08:07 +00:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2020-2021 tecnovert
2020-11-07 11:08:07 +00:00
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
from .interface_btc import BTCInterface
from .chainparams import Coins
2020-11-07 11:08:07 +00:00
2020-11-30 14:29:40 +00:00
2020-11-07 11:08:07 +00:00
class NMCInterface(BTCInterface):
@staticmethod
def coin_type():
return Coins.NMC
def getLockTxHeight(self, txid, dest_address, bid_amount, rescan_from, find_index=False):
raise ValueError('TODO: Use scantxoutset')