Add fee priority setting for XMR.

This commit is contained in:
tecnovert
2020-12-22 13:21:25 +02:00
parent 31bf80f579
commit 2f47fd0d5c
8 changed files with 62 additions and 40 deletions

View File

@@ -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 = {}