mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Add fee priority setting for XMR.
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
node1 send_ping - With a version field
|
||||
node0 recv_ping
|
||||
Both nodes are initialised
|
||||
|
||||
XChaCha20_Poly1305 mac is 16bytes
|
||||
'''
|
||||
|
||||
import time
|
||||
@@ -33,7 +35,7 @@ from enum import IntEnum, auto
|
||||
from collections import OrderedDict
|
||||
from Crypto.Cipher import ChaCha20_Poly1305 # TODO: Add to libsecp256k1/coincurve fork
|
||||
from coincurve.keys import PrivateKey, PublicKey
|
||||
from basicswap.rfc6979 import (
|
||||
from basicswap.contrib.rfc6979 import (
|
||||
rfc6979_hmac_sha256_initialize,
|
||||
rfc6979_hmac_sha256_generate)
|
||||
|
||||
@@ -55,6 +57,7 @@ class NetMessageTypes(IntEnum):
|
||||
PING = auto()
|
||||
PONG = auto()
|
||||
DATA = auto()
|
||||
ONION_PACKET = auto()
|
||||
|
||||
@classmethod
|
||||
def has_value(cls, value):
|
||||
@@ -580,8 +583,6 @@ class Network:
|
||||
def test_onion(self, path):
|
||||
self._sc.log.debug('test_onion packet')
|
||||
|
||||
plaintext = 'test'
|
||||
|
||||
def get_info(self):
|
||||
rv = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user