Skip to content

A few issues #4

@OxMarco

Description

@OxMarco

Nice job but I think there's still a few limitations.

First of all, can JSON config files use a similar structure?
Something like this:

{
  "daemon_url": "",
  "rpc_url": "",
  "user": "",
  "pass": "",
  "destination": "",
  "refund": ""
}

Apparently, it only supports BTC as scripted coin.
I tried with two machines
vm1: $ ./asmr --scripted-config ../../config_example/monero.json host IP:port btc-xmr
vm2: $ ./asmr --scripted-config ../../config_example/bitcoin.json client IP:port btc-xmr

I get two errors. On vm1
thread 'main' panicked at 'Failed to create unscripted verifier: No such file or directory (os error 2)', src/main.rs:59:7
and on vm2
thread 'main' panicked at 'Failed to create scripted host: missing field urlat line 8 column 1', src/main.rs:54:7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions